2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="move-if-change"
555 enable_option_checking
=no
556 ac_subst_vars
='LTLIBOBJS
563 MAINTAINER_MODE_FALSE
565 COMPILER_NM_FOR_TARGET
566 COMPILER_LD_FOR_TARGET
567 COMPILER_AS_FOR_TARGET
638 DEBUG_PREFIX_CFLAGS_FOR_TARGET
639 SYSROOT_CFLAGS_FOR_TARGET
641 extra_host_libiberty_configure_flags
650 extra_mpc_mpfr_configure_flags
651 extra_mpc_gmp_configure_flags
652 extra_mpfr_configure_flags
694 TOPLEVEL_CONFIGURE_ARGUMENTS
722 program_transform_name
733 ac_subst_files
='serialization_dependencies
739 enable_option_checking
744 enable_build_with_cxx
764 enable_ppl_version_check
769 enable_cloog_version_check
771 enable_stage1_languages
774 with_debug_prefix_map
777 enable_serial_configure
778 with_build_time_tools
779 enable_maintainer_mode
780 enable_stage1_checking
783 ac_precious_vars
='build_alias
827 # Initialize some variables set by options.
829 ac_init_version
=false
830 ac_unrecognized_opts
=
832 # The variables have the same names as the options, with
833 # dashes changed to underlines.
841 program_transform_name
=s
,x
,x
,
849 # Installation directory options.
850 # These are left unexpanded so users can "make install exec_prefix=/foo"
851 # and all the variables that are supposed to be based on exec_prefix
852 # by default will actually change.
853 # Use braces instead of parens because sh, perl, etc. also accept them.
854 # (The list follows the same order as the GNU Coding Standards.)
855 bindir
='${exec_prefix}/bin'
856 sbindir
='${exec_prefix}/sbin'
857 libexecdir
='${exec_prefix}/libexec'
858 datarootdir
='${prefix}/share'
859 datadir
='${datarootdir}'
860 sysconfdir
='${prefix}/etc'
861 sharedstatedir
='${prefix}/com'
862 localstatedir
='${prefix}/var'
863 includedir
='${prefix}/include'
864 oldincludedir
='/usr/include'
865 docdir
='${datarootdir}/doc/${PACKAGE}'
866 infodir
='${datarootdir}/info'
871 libdir
='${exec_prefix}/lib'
872 localedir
='${datarootdir}/locale'
873 mandir
='${datarootdir}/man'
879 # If the previous option needs an argument, assign it.
880 if test -n "$ac_prev"; then
881 eval $ac_prev=\
$ac_option
887 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
891 # Accept the important Cygnus configure options, so we can diagnose typos.
893 case $ac_dashdash$ac_option in
897 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
899 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
902 -build |
--build |
--buil |
--bui |
--bu)
903 ac_prev
=build_alias
;;
904 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
905 build_alias
=$ac_optarg ;;
907 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
908 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
909 ac_prev
=cache_file
;;
910 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
911 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
912 cache_file
=$ac_optarg ;;
915 cache_file
=config.cache
;;
917 -datadir |
--datadir |
--datadi |
--datad)
919 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
920 datadir
=$ac_optarg ;;
922 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
923 |
--dataroo |
--dataro |
--datar)
924 ac_prev
=datarootdir
;;
925 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
926 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
927 datarootdir
=$ac_optarg ;;
929 -disable-* |
--disable-*)
930 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
931 # Reject names that are not valid shell variable names.
932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
933 as_fn_error
"invalid feature name: $ac_useropt"
934 ac_useropt_orig
=$ac_useropt
935 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
936 case $ac_user_opts in
940 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
941 ac_unrecognized_sep
=', ';;
943 eval enable_
$ac_useropt=no
;;
945 -docdir |
--docdir |
--docdi |
--doc |
--do)
947 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
950 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
952 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
955 -enable-* |
--enable-*)
956 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
957 # Reject names that are not valid shell variable names.
958 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
959 as_fn_error
"invalid feature name: $ac_useropt"
960 ac_useropt_orig
=$ac_useropt
961 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
962 case $ac_user_opts in
966 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
967 ac_unrecognized_sep
=', ';;
969 eval enable_
$ac_useropt=\
$ac_optarg ;;
971 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
972 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
973 |
--exec |
--exe |
--ex)
974 ac_prev
=exec_prefix
;;
975 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
976 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
977 |
--exec=* |
--exe=* |
--ex=*)
978 exec_prefix
=$ac_optarg ;;
980 -gas |
--gas |
--ga |
--g)
981 # Obsolete; use --with-gas.
984 -help |
--help |
--hel |
--he |
-h)
986 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
987 ac_init_help
=recursive
;;
988 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
989 ac_init_help
=short
;;
991 -host |
--host |
--hos |
--ho)
992 ac_prev
=host_alias
;;
993 -host=* |
--host=* |
--hos=* |
--ho=*)
994 host_alias
=$ac_optarg ;;
996 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
998 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1000 htmldir
=$ac_optarg ;;
1002 -includedir |
--includedir |
--includedi |
--included |
--include \
1003 |
--includ |
--inclu |
--incl |
--inc)
1004 ac_prev
=includedir
;;
1005 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1006 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1007 includedir
=$ac_optarg ;;
1009 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1011 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1012 infodir
=$ac_optarg ;;
1014 -libdir |
--libdir |
--libdi |
--libd)
1016 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1017 libdir
=$ac_optarg ;;
1019 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1020 |
--libexe |
--libex |
--libe)
1021 ac_prev
=libexecdir
;;
1022 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1023 |
--libexe=* |
--libex=* |
--libe=*)
1024 libexecdir
=$ac_optarg ;;
1026 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1027 ac_prev
=localedir
;;
1028 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1029 localedir
=$ac_optarg ;;
1031 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1032 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1033 ac_prev
=localstatedir
;;
1034 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1035 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1036 localstatedir
=$ac_optarg ;;
1038 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1040 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1041 mandir
=$ac_optarg ;;
1043 -nfp |
--nfp |
--nf)
1044 # Obsolete; use --without-fp.
1047 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1048 |
--no-cr |
--no-c |
-n)
1051 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1052 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1055 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1056 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1057 |
--oldin |
--oldi |
--old |
--ol |
--o)
1058 ac_prev
=oldincludedir
;;
1059 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1060 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1061 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1062 oldincludedir
=$ac_optarg ;;
1064 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1066 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1067 prefix
=$ac_optarg ;;
1069 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1070 |
--program-pre |
--program-pr |
--program-p)
1071 ac_prev
=program_prefix
;;
1072 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1073 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1074 program_prefix
=$ac_optarg ;;
1076 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1077 |
--program-suf |
--program-su |
--program-s)
1078 ac_prev
=program_suffix
;;
1079 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1080 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1081 program_suffix
=$ac_optarg ;;
1083 -program-transform-name |
--program-transform-name \
1084 |
--program-transform-nam |
--program-transform-na \
1085 |
--program-transform-n |
--program-transform- \
1086 |
--program-transform |
--program-transfor \
1087 |
--program-transfo |
--program-transf \
1088 |
--program-trans |
--program-tran \
1089 |
--progr-tra |
--program-tr |
--program-t)
1090 ac_prev
=program_transform_name
;;
1091 -program-transform-name=* |
--program-transform-name=* \
1092 |
--program-transform-nam=* |
--program-transform-na=* \
1093 |
--program-transform-n=* |
--program-transform-=* \
1094 |
--program-transform=* |
--program-transfor=* \
1095 |
--program-transfo=* |
--program-transf=* \
1096 |
--program-trans=* |
--program-tran=* \
1097 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1098 program_transform_name
=$ac_optarg ;;
1100 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1102 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1103 pdfdir
=$ac_optarg ;;
1105 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1107 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1110 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1111 |
-silent |
--silent |
--silen |
--sile |
--sil)
1114 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1116 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1118 sbindir
=$ac_optarg ;;
1120 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1121 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1122 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1124 ac_prev
=sharedstatedir
;;
1125 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1126 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1127 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1129 sharedstatedir
=$ac_optarg ;;
1131 -site |
--site |
--sit)
1133 -site=* |
--site=* |
--sit=*)
1136 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1138 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1139 srcdir
=$ac_optarg ;;
1141 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1142 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1143 ac_prev
=sysconfdir
;;
1144 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1145 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1146 sysconfdir
=$ac_optarg ;;
1148 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1149 ac_prev
=target_alias
;;
1150 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1151 target_alias
=$ac_optarg ;;
1153 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1156 -version |
--version |
--versio |
--versi |
--vers |
-V)
1157 ac_init_version
=: ;;
1160 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1163 as_fn_error
"invalid package name: $ac_useropt"
1164 ac_useropt_orig
=$ac_useropt
1165 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1166 case $ac_user_opts in
1170 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1171 ac_unrecognized_sep
=', ';;
1173 eval with_
$ac_useropt=\
$ac_optarg ;;
1175 -without-* |
--without-*)
1176 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1179 as_fn_error
"invalid package name: $ac_useropt"
1180 ac_useropt_orig
=$ac_useropt
1181 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1186 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1187 ac_unrecognized_sep
=', ';;
1189 eval with_
$ac_useropt=no
;;
1192 # Obsolete; use --with-x.
1195 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1196 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1197 ac_prev
=x_includes
;;
1198 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1199 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1200 x_includes
=$ac_optarg ;;
1202 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1203 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1204 ac_prev
=x_libraries
;;
1205 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1206 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1207 x_libraries
=$ac_optarg ;;
1209 -*) as_fn_error
"unrecognized option: \`$ac_option'
1210 Try \`$0 --help' for more information."
1214 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1215 # Reject names that are not valid shell variable names.
1216 case $ac_envvar in #(
1217 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1218 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1220 eval $ac_envvar=\
$ac_optarg
1221 export $ac_envvar ;;
1224 # FIXME: should be removed in autoconf 3.0.
1225 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1226 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1227 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1228 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1234 if test -n "$ac_prev"; then
1235 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1236 as_fn_error
"missing argument to $ac_option"
1239 if test -n "$ac_unrecognized_opts"; then
1240 case $enable_option_checking in
1242 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1243 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1247 # Check all directory arguments for consistency.
1248 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1249 datadir sysconfdir sharedstatedir localstatedir includedir \
1250 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1251 libdir localedir mandir
1253 eval ac_val
=\$
$ac_var
1254 # Remove trailing slashes.
1257 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1258 eval $ac_var=\
$ac_val;;
1260 # Be sure to have absolute directory names.
1262 [\\/$
]* | ?
:[\\/]* ) continue;;
1263 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1265 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1268 # There might be people who depend on the old broken behavior: `$host'
1269 # used to hold the argument of --host etc.
1270 # FIXME: To remove some day.
1273 target
=$target_alias
1275 # FIXME: To remove some day.
1276 if test "x$host_alias" != x
; then
1277 if test "x$build_alias" = x
; then
1278 cross_compiling
=maybe
1279 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1280 If a cross compiler is detected then cross compile mode will be used." >&2
1281 elif test "x$build_alias" != "x$host_alias"; then
1287 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1289 test "$silent" = yes && exec 6>/dev
/null
1292 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1293 ac_ls_di
=`ls -di .` &&
1294 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1295 as_fn_error
"working directory cannot be determined"
1296 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1297 as_fn_error
"pwd does not report name of working directory"
1300 # Find the source files, if location was not specified.
1301 if test -z "$srcdir"; then
1302 ac_srcdir_defaulted
=yes
1303 # Try the directory containing this script, then the parent directory.
1304 ac_confdir
=`$as_dirname -- "$as_myself" ||
1305 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1306 X"$as_myself" : 'X\(//\)[^/]' \| \
1307 X"$as_myself" : 'X\(//\)$' \| \
1308 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1309 $as_echo X"$as_myself" |
1310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1328 if test ! -r "$srcdir/$ac_unique_file"; then
1332 ac_srcdir_defaulted
=no
1334 if test ! -r "$srcdir/$ac_unique_file"; then
1335 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1336 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1338 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1340 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1342 # When building in place, set srcdir=.
1343 if test "$ac_abs_confdir" = "$ac_pwd"; then
1346 # Remove unnecessary trailing slashes from srcdir.
1347 # Double slashes in file names in object file debugging info
1348 # mess up M-x gdb in Emacs.
1350 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1354 as_fn_error
"path to source, $srcdir, contains spaces"
1357 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1359 for ac_var
in $ac_precious_vars; do
1360 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1361 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1362 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1363 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1367 # Report the --help message.
1369 if test "$ac_init_help" = "long"; then
1370 # Omit some internal or obsolete options to make the list less imposing.
1371 # This message is too long to be a string in the A/UX 3.1 sh.
1373 \`configure' configures this package to adapt to many kinds of systems.
1375 Usage: $0 [OPTION]... [VAR=VALUE]...
1377 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1378 VAR=VALUE. See below for descriptions of some of the useful variables.
1380 Defaults for the options are specified in brackets.
1383 -h, --help display this help and exit
1384 --help=short display options specific to this package
1385 --help=recursive display the short help of all the included packages
1386 -V, --version display version information and exit
1387 -q, --quiet, --silent do not print \`checking...' messages
1388 --cache-file=FILE cache test results in FILE [disabled]
1389 -C, --config-cache alias for \`--cache-file=config.cache'
1390 -n, --no-create do not create output files
1391 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1393 Installation directories:
1394 --prefix=PREFIX install architecture-independent files in PREFIX
1395 [$ac_default_prefix]
1396 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1399 By default, \`make install' will install all the files in
1400 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1401 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1402 for instance \`--prefix=\$HOME'.
1404 For better control, use the options below.
1406 Fine tuning of the installation directories:
1407 --bindir=DIR user executables [EPREFIX/bin]
1408 --sbindir=DIR system admin executables [EPREFIX/sbin]
1409 --libexecdir=DIR program executables [EPREFIX/libexec]
1410 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1411 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1412 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1413 --libdir=DIR object code libraries [EPREFIX/lib]
1414 --includedir=DIR C header files [PREFIX/include]
1415 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1416 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1417 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1418 --infodir=DIR info documentation [DATAROOTDIR/info]
1419 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1420 --mandir=DIR man documentation [DATAROOTDIR/man]
1421 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1422 --htmldir=DIR html documentation [DOCDIR]
1423 --dvidir=DIR dvi documentation [DOCDIR]
1424 --pdfdir=DIR pdf documentation [DOCDIR]
1425 --psdir=DIR ps documentation [DOCDIR]
1431 --program-prefix=PREFIX prepend PREFIX to installed program names
1432 --program-suffix=SUFFIX append SUFFIX to installed program names
1433 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1436 --build=BUILD configure
for building on BUILD
[guessed
]
1437 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1438 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1442 if test -n "$ac_init_help"; then
1447 --disable-option-checking ignore unrecognized
--enable/--with options
1448 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1449 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1450 --enable-gold[=ARG
] build gold
[ARG
={both
}[/{gold
,ld
}]]
1451 --enable-libada build libada directory
1452 --enable-libssp build libssp directory
1453 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1454 --disable-ppl-version-check disable check
for PPL version
1455 --enable-cloog-backend=backend
1456 isl
: The cloog.org isl backend
1457 ppl-legacy
: The legacy ppl backend
- default
1458 ppl
: The cloog.org ppl backend
1459 --disable-cloog-version-check
1460 disable check
for CLooG version
1461 --enable-lto enable link
time optimization support
1462 --enable-stage1-languages[=all
] choose additional languages to build during
1463 stage1. Mostly useful
for compiler development.
1464 --enable-objc-gc enable use of Boehm
's garbage collector with the
1465 GNU Objective-C runtime
1466 --enable-bootstrap enable bootstrapping [yes if native build]
1467 --enable-serial-[{host,target,build}-]configure
1468 force sequential configuration of
1469 sub-packages for the host, target or build
1470 machine, or all sub-packages
1471 --enable-maintainer-mode enable make rules and dependencies not useful
1472 (and sometimes confusing) to the casual installer
1473 --enable-stage1-checking[=all] choose additional checking for stage1
1475 --enable-werror enable -Werror in bootstrap stage2 and later
1478 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1479 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1480 --with-build-libsubdir=DIR Directory where to find libraries for build system
1481 --with-mpc=PATH specify prefix directory for installed MPC package.
1482 Equivalent to --with-mpc-include=PATH/include
1483 plus --with-mpc-lib=PATH/lib
1484 --with-mpc-include=PATH
1485 specify directory for installed MPC include files
1486 --with-mpc-lib=PATH specify directory for the installed MPC library
1487 --with-mpfr-dir=PATH this option has been REMOVED
1488 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1489 Equivalent to --with-mpfr-include=PATH/include
1490 plus --with-mpfr-lib=PATH/lib
1491 --with-mpfr-include=PATH
1492 specify directory for installed MPFR include files
1493 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1494 --with-gmp-dir=PATH this option has been REMOVED
1495 --with-gmp=PATH specify prefix directory for the installed GMP package.
1496 Equivalent to --with-gmp-include=PATH/include
1497 plus --with-gmp-lib=PATH/lib
1498 --with-gmp-include=PATH specify directory for installed GMP include files
1499 --with-gmp-lib=PATH specify directory for the installed GMP library
1500 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
1501 when linking with PPL
1502 --with-stage1-ldflags=FLAGS Linker flags for stage1
1503 -with-stage1-libs=LIBS Libraries for stage1
1504 --with-boot-libs=LIBS Libraries for stage2 and later
1505 --with-boot-ldflags=FLAGS Linker flags for stage2 and later
1506 --with-ppl=PATH Specify prefix directory for the installed PPL package
1507 Equivalent to --with-ppl-include=PATH/include
1508 plus --with-ppl-lib=PATH/lib
1509 --with-ppl-include=PATH Specify directory for installed PPL include files
1510 --with-ppl-lib=PATH Specify the directory for the installed PPL library
1511 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
1512 package. Equivalent to
1513 --with-cloog-include=PATH/include plus
1514 --with-cloog-lib=PATH/lib
1515 --with-cloog-include=PATH
1516 Specify directory for installed CLooG include files
1517 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1519 --with-build-sysroot=SYSROOT
1520 use sysroot as the system root during the build
1521 --with-debug-prefix-map='A
=B C
=D ...
'
1522 map A to B, C to D ... in debug information
1523 --with-build-config='NAME NAME2...
'
1524 Use config/NAME.mk build configuration
1525 --with-build-time-tools=PATH
1526 use given path to find target tools during the build
1528 Some influential environment variables:
1529 CC C compiler command
1530 CFLAGS C compiler flags
1531 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1532 nonstandard directory <lib dir>
1533 LIBS libraries to pass to the linker, e.g. -l<library>
1534 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1535 you have headers in a nonstandard directory <include dir>
1536 CXX C++ compiler command
1537 CXXFLAGS C++ compiler flags
1539 additional configure arguments for build directories
1541 additional configure arguments for host directories
1543 additional configure arguments for target directories
1546 DLLTOOL DLLTOOL for the host
1548 LIPO LIPO for the host
1550 RANLIB RANLIB for the host
1551 STRIP STRIP for the host
1552 WINDRES WINDRES for the host
1553 WINDMC WINDMC for the host
1554 OBJCOPY OBJCOPY for the host
1555 OBJDUMP OBJDUMP for the host
1565 GFORTRAN for the target
1571 DLLTOOL for the target
1579 OBJDUMP for the target
1581 RANLIB for the target
1583 STRIP for the target
1585 WINDRES for the target
1587 WINDMC for the target
1589 Use these variables to override the choices made by `configure' or to
help
1590 it to
find libraries and programs with nonstandard names
/locations.
1592 Report bugs to the package provider.
1597 if test "$ac_init_help" = "recursive"; then
1598 # If there are subdirs, report their specific --help.
1599 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1600 test -d "$ac_dir" ||
1601 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1606 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1608 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1609 # A ".." for each directory in $ac_dir_suffix.
1610 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1611 case $ac_top_builddir_sub in
1612 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1613 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1616 ac_abs_top_builddir
=$ac_pwd
1617 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1618 # for backward compatibility:
1619 ac_top_builddir
=$ac_top_build_prefix
1622 .
) # We are building in place.
1624 ac_top_srcdir
=$ac_top_builddir_sub
1625 ac_abs_top_srcdir
=$ac_pwd ;;
1626 [\\/]* | ?
:[\\/]* ) # Absolute name.
1627 ac_srcdir
=$srcdir$ac_dir_suffix;
1628 ac_top_srcdir
=$srcdir
1629 ac_abs_top_srcdir
=$srcdir ;;
1631 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1632 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1633 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1635 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1637 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1638 # Check for guested configure.
1639 if test -f "$ac_srcdir/configure.gnu"; then
1641 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1642 elif test -f "$ac_srcdir/configure"; then
1644 $SHELL "$ac_srcdir/configure" --help=recursive
1646 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1648 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1652 test -n "$ac_init_help" && exit $ac_status
1653 if $ac_init_version; then
1656 generated by GNU Autoconf
2.64
1658 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1659 This configure
script is free software
; the Free Software Foundation
1660 gives unlimited permission to copy
, distribute and modify it.
1665 ## ------------------------ ##
1666 ## Autoconf initialization. ##
1667 ## ------------------------ ##
1669 # ac_fn_c_try_compile LINENO
1670 # --------------------------
1671 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1672 ac_fn_c_try_compile
()
1674 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1675 rm -f conftest.
$ac_objext
1676 if { { ac_try
="$ac_compile"
1678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1679 *) ac_try_echo=$ac_try;;
1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683 (eval "$ac_compile") 2>conftest.err
1685 if test -s conftest.err; then
1686 grep -v '^ *+' conftest.err >conftest.er1
1687 cat conftest.er1 >&5
1688 mv -f conftest.er1 conftest.err
1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691 test $ac_status = 0; } && {
1692 test -z "$ac_c_werror_flag" ||
1693 test ! -s conftest.err
1694 } && test -s conftest.$ac_objext; then :
1697 $as_echo "$as_me: failed program was:" >&5
1698 sed 's/^/| /' conftest.$ac_ext >&5
1702 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1705 } # ac_fn_c_try_compile
1707 # ac_fn_cxx_try_compile LINENO
1708 # ----------------------------
1709 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1710 ac_fn_cxx_try_compile ()
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 rm -f conftest.$ac_objext
1714 if { { ac_try="$ac_compile"
1716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1717 *) ac_try_echo
=$ac_try;;
1719 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_compile") 2>conftest.err
1723 if test -s conftest.err
; then
1724 grep -v '^ *+' conftest.err
>conftest.er1
1725 cat conftest.er1
>&5
1726 mv -f conftest.er1 conftest.err
1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729 test $ac_status = 0; } && {
1730 test -z "$ac_cxx_werror_flag" ||
1731 test ! -s conftest.err
1732 } && test -s conftest.
$ac_objext; then :
1735 $as_echo "$as_me: failed program was:" >&5
1736 sed 's/^/| /' conftest.
$ac_ext >&5
1740 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1743 } # ac_fn_cxx_try_compile
1745 # ac_fn_c_try_link LINENO
1746 # -----------------------
1747 # Try to link conftest.$ac_ext, and return whether this succeeded.
1750 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1751 rm -f conftest.
$ac_objext conftest
$ac_exeext
1752 if { { ac_try
="$ac_link"
1754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1755 *) ac_try_echo=$ac_try;;
1757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5
1759 (eval "$ac_link") 2>conftest.err
1761 if test -s conftest.err; then
1762 grep -v '^ *+' conftest.err >conftest.er1
1763 cat conftest.er1 >&5
1764 mv -f conftest.er1 conftest.err
1766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767 test $ac_status = 0; } && {
1768 test -z "$ac_c_werror_flag" ||
1769 test ! -s conftest.err
1770 } && test -s conftest$ac_exeext && {
1771 test "$cross_compiling" = yes ||
1772 $as_test_x conftest$ac_exeext
1776 $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1781 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1782 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1783 # interfere with the next link command; also delete a directory that is
1784 # left behind by Apple's compiler. We do this before executing the actions.
1785 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1786 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1789 } # ac_fn_c_try_link
1790 cat >config.log <<_ACEOF
1791 This file contains any messages produced by compilers while
1792 running configure, to aid debugging if configure makes a mistake.
1794 It was created by $as_me, which was
1795 generated by GNU Autoconf 2.64. Invocation command line was
1807 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1808 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1809 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1810 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1811 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1813 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1814 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1816 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1817 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1818 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1819 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1820 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1821 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1822 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1830 test -z "$as_dir" && as_dir=.
1831 $as_echo "PATH: $as_dir"
1847 # Keep a trace of the command line.
1848 # Strip out --no-create and --no-recursion so they do not pile up.
1849 # Strip out --silent because we don't want to record it for future runs.
1850 # Also quote any args containing shell meta-characters.
1851 # Make two passes to allow for proper duplicate-argument suppression.
1855 ac_must_keep_next=false
1861 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1862 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1863 | -silent | --silent | --silen | --sile | --sil)
1866 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1869 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1871 as_fn_append ac_configure_args1 " '$ac_arg'"
1872 if test $ac_must_keep_next = true; then
1873 ac_must_keep_next=false # Got value, back to normal.
1876 *=* | --config-cache | -C | -disable-* | --disable-* \
1877 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1878 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1879 | -with-* | --with-* | -without-* | --without-* | --x)
1880 case "$ac_configure_args0 " in
1881 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1884 -* ) ac_must_keep_next=true ;;
1887 as_fn_append ac_configure_args " '$ac_arg'"
1892 { ac_configure_args0=; unset ac_configure_args0;}
1893 { ac_configure_args1=; unset ac_configure_args1;}
1895 # When interrupted or exit'd, cleanup temporary files, and complete
1896 # config.log. We remove comments because anyway the quotes in there
1897 # would cause problems or look ugly.
1898 # WARNING: Use '\'' to represent an apostrophe within the trap.
1899 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1900 trap 'exit_status=$?
1901 # Save into config.log some information that might help in debugging.
1906 ## ---------------- ##
1907 ## Cache variables. ##
1908 ## ---------------- ##
1911 # The following way of writing the cache mishandles newlines in values,
1913 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1914 eval ac_val=\$$ac_var
1918 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1919 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1922 _ | IFS | as_nl) ;; #(
1923 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1924 *) { eval $ac_var=; unset $ac_var;} ;;
1929 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1930 *${as_nl}ac_space=\ *)
1932 "s/'\''/'\''\\\\'\'''\''/g;
1933 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1936 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1944 ## ----------------- ##
1945 ## Output variables. ##
1946 ## ----------------- ##
1949 for ac_var in $ac_subst_vars
1951 eval ac_val=\$$ac_var
1953 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1955 $as_echo "$ac_var='\''$ac_val'\''"
1959 if test -n "$ac_subst_files"; then
1961 ## ------------------- ##
1962 ## File substitutions. ##
1963 ## ------------------- ##
1966 for ac_var in $ac_subst_files
1968 eval ac_val=\$$ac_var
1970 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1972 $as_echo "$ac_var='\''$ac_val'\''"
1977 if test -s confdefs.h; then
1987 test "$ac_signal" != 0 &&
1988 $as_echo "$as_me: caught signal $ac_signal"
1989 $as_echo "$as_me: exit $exit_status"
1991 rm -f core *.core core.conftest.* &&
1992 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1995 for ac_signal in 1 2 13 15; do
1996 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2000 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2001 rm -f -r conftest* confdefs.h
2003 $as_echo "/* confdefs.h */" > confdefs.h
2005 # Predefined preprocessor variables.
2007 cat >>confdefs.h <<_ACEOF
2008 #define PACKAGE_NAME "$PACKAGE_NAME"
2011 cat >>confdefs.h <<_ACEOF
2012 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2015 cat >>confdefs.h <<_ACEOF
2016 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2019 cat >>confdefs.h <<_ACEOF
2020 #define PACKAGE_STRING "$PACKAGE_STRING"
2023 cat >>confdefs.h <<_ACEOF
2024 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2027 cat >>confdefs.h <<_ACEOF
2028 #define PACKAGE_URL "$PACKAGE_URL"
2032 # Let the site file select an alternate cache file if it wants to.
2033 # Prefer an explicitly selected file to automatically selected ones.
2036 if test -n "$CONFIG_SITE"; then
2037 ac_site_file1=$CONFIG_SITE
2038 elif test "x$prefix" != xNONE; then
2039 ac_site_file1=$prefix/share/config.site
2040 ac_site_file2=$prefix/etc/config.site
2042 ac_site_file1=$ac_default_prefix/share/config.site
2043 ac_site_file2=$ac_default_prefix/etc/config.site
2045 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2047 test "x$ac_site_file" = xNONE && continue
2048 if test -r "$ac_site_file"; then
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2050 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2051 sed 's/^/| /' "$ac_site_file" >&5
2056 if test -r "$cache_file"; then
2057 # Some versions of bash will fail to source /dev/null (special
2058 # files actually), so we avoid doing that.
2059 if test -f "$cache_file"; then
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2061 $as_echo "$as_me: loading cache $cache_file" >&6;}
2063 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2064 *) . "./$cache_file";;
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2069 $as_echo "$as_me: creating cache $cache_file" >&6;}
2073 # Check that the precious variables saved in the cache have kept the same
2075 ac_cache_corrupted=false
2076 for ac_var in $ac_precious_vars; do
2077 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2078 eval ac_new_set=\$ac_env_${ac_var}_set
2079 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2080 eval ac_new_val=\$ac_env_${ac_var}_value
2081 case $ac_old_set,$ac_new_set in
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2084 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2085 ac_cache_corrupted=: ;;
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2088 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2089 ac_cache_corrupted=: ;;
2092 if test "x$ac_old_val" != "x$ac_new_val"; then
2093 # differences in whitespace do not lead to failure.
2094 ac_old_val_w=`echo x
$ac_old_val`
2095 ac_new_val_w=`echo x
$ac_new_val`
2096 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2098 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2099 ac_cache_corrupted=:
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2102 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2103 eval $ac_var=\$ac_old_val
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2106 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2108 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2111 # Pass precious variables to config.status.
2112 if test "$ac_new_set" = set; then
2114 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2115 *) ac_arg=$ac_var=$ac_new_val ;;
2117 case " $ac_configure_args " in
2118 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2119 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2123 if $ac_cache_corrupted; then
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2127 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2128 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2130 ## -------------------- ##
2131 ## Main body of script. ##
2132 ## -------------------- ##
2135 ac_cpp='$CPP $CPPFLAGS'
2136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2149 # if PWD already has a value, it is probably wrong.
2150 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2152 # Export original configure arguments for use by sub-configures.
2153 # Quote arguments with shell meta charatcers.
2154 TOPLEVEL_CONFIGURE_ARGUMENTS=
2155 set -- "$progname" "$@"
2159 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2160 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2161 # if the argument is of the form -foo=baz, quote the baz part only
2162 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2165 # Add the quoted argument to the list.
2166 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2168 if test "$silent" = yes; then
2169 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2171 # Remove the initial space we just introduced and, as these will be
2172 # expanded by make, quote '$'.
2173 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2176 # Find the build, host, and target systems.
2178 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2179 for ac_t in install-sh install.sh shtool; do
2180 if test -f "$ac_dir/$ac_t"; then
2182 ac_install_sh="$ac_aux_dir/$ac_t -c"
2187 if test -z "$ac_aux_dir"; then
2188 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2191 # These three variables are undocumented and unsupported,
2192 # and are intended to be withdrawn in a future Autoconf release.
2193 # They can cause serious problems if a builder's source tree is in a directory
2194 # whose full name contains unusual characters.
2195 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2196 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2197 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2200 # Make sure we can run config.sub.
2201 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2202 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2205 $as_echo_n "checking build system type... " >&6; }
2206 if test "${ac_cv_build+set}" = set; then :
2207 $as_echo_n "(cached) " >&6
2209 ac_build_alias=$build_alias
2210 test "x$ac_build_alias" = x &&
2211 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2212 test "x$ac_build_alias" = x &&
2213 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2214 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2215 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2219 $as_echo "$ac_cv_build" >&6; }
2220 case $ac_cv_build in
2222 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2225 ac_save_IFS=$IFS; IFS='-'
2231 # Remember, the first character of IFS is used to create $*,
2232 # except with old shells:
2235 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2238 case ${build_alias} in
2239 "") build_noncanonical=${build} ;;
2240 *) build_noncanonical=${build_alias} ;;
2245 case ${host_alias} in
2246 "") host_noncanonical=${build_noncanonical} ;;
2247 *) host_noncanonical=${host_alias} ;;
2252 case ${target_alias} in
2253 "") target_noncanonical=${host_noncanonical} ;;
2254 *) target_noncanonical=${target_alias} ;;
2260 test "$host_noncanonical" = "$target_noncanonical" &&
2261 test "$program_prefix$program_suffix$program_transform_name" = \
2263 program_transform_name=s,y,y,
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2266 $as_echo_n "checking host system type... " >&6; }
2267 if test "${ac_cv_host+set}" = set; then :
2268 $as_echo_n "(cached) " >&6
2270 if test "x$host_alias" = x; then
2271 ac_cv_host=$ac_cv_build
2273 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2274 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2279 $as_echo "$ac_cv_host" >&6; }
2282 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2285 ac_save_IFS=$IFS; IFS='-'
2291 # Remember, the first character of IFS is used to create $*,
2292 # except with old shells:
2295 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2299 $as_echo_n "checking target system type... " >&6; }
2300 if test "${ac_cv_target+set}" = set; then :
2301 $as_echo_n "(cached) " >&6
2303 if test "x$target_alias" = x; then
2304 ac_cv_target=$ac_cv_host
2306 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2307 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2312 $as_echo "$ac_cv_target" >&6; }
2313 case $ac_cv_target in
2315 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2317 target=$ac_cv_target
2318 ac_save_IFS=$IFS; IFS='-'
2324 # Remember, the first character of IFS is used to create $*,
2325 # except with old shells:
2328 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2331 # The aliases save the names the user supplied, while $host etc.
2332 # will get canonicalized.
2333 test -n "$target_alias" &&
2334 test "$program_prefix$program_suffix$program_transform_name" = \
2336 program_prefix=${target_alias}-
2338 test "$program_prefix" != NONE &&
2339 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2340 # Use a double $ so make ignores it.
2341 test "$program_suffix" != NONE &&
2342 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2343 # Double any \ or $.
2344 # By default was `s
,x
,x
', remove it if useless.
2345 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2346 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2350 # Get 'install' or 'install-sh
' and its variants.
2351 # Find a good install program. We prefer a C program (faster),
2352 # so one script is as good as another. But avoid the broken or
2353 # incompatible versions:
2354 # SysV /etc/install, /usr/sbin/install
2355 # SunOS /usr/etc/install
2356 # IRIX /sbin/install
2358 # AmigaOS /C/install, which installs bootblocks on floppy discs
2359 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2360 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2361 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2362 # OS/2's system install, which has a completely different semantic
2363 # ./install, which can be erroneously created by make from ./install.sh.
2364 # Reject install programs that cannot install multiple files.
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2366 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2367 if test -z "$INSTALL"; then
2368 if test "${ac_cv_path_install+set}" = set; then :
2369 $as_echo_n "(cached) " >&6
2371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2375 test -z "$as_dir" && as_dir
=.
2376 # Account for people who put trailing slashes in PATH elements.
2377 case $as_dir/ in #((
2378 .
/ | .
// |
/[cC
]/* | \
2379 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2380 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2383 # OSF1 and SCO ODT 3.0 have their own names for install.
2384 # Don't use installbsd from OSF since it installs stuff as root
2386 for ac_prog
in ginstall scoinst
install; do
2387 for ac_exec_ext
in '' $ac_executable_extensions; do
2388 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2389 if test $ac_prog = install &&
2390 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2391 # AIX install. It has an incompatible calling convention.
2393 elif test $ac_prog = install &&
2394 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2395 # program-specific install script used by HP pwplus--don't use.
2398 rm -rf conftest.one conftest.two conftest.dir
2399 echo one
> conftest.one
2400 echo two
> conftest.two
2402 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2403 test -s conftest.one
&& test -s conftest.two
&&
2404 test -s conftest.dir
/conftest.one
&&
2405 test -s conftest.dir
/conftest.two
2407 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2420 rm -rf conftest.one conftest.two conftest.dir
2423 if test "${ac_cv_path_install+set}" = set; then
2424 INSTALL
=$ac_cv_path_install
2426 # As a last resort, use the slow shell script. Don't cache a
2427 # value for INSTALL within a source directory, because that will
2428 # break other packages using the cache if that directory is
2429 # removed, or if the value is a relative name.
2430 INSTALL
=$ac_install_sh
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2434 $as_echo "$INSTALL" >&6; }
2436 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2437 # It thinks the first close brace ends the variable substitution.
2438 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2440 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2442 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2445 $as_echo_n "checking whether ln works... " >&6; }
2446 if test "${acx_cv_prog_LN+set}" = set; then :
2447 $as_echo_n "(cached) " >&6
2449 rm -f conftestdata_t
2450 echo >conftestdata_f
2451 if ln conftestdata_f conftestdata_t
2>/dev
/null
2457 rm -f conftestdata_f conftestdata_t
2460 if test $acx_cv_prog_LN = no
; then
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2463 $as_echo "no, using $LN" >&6; }
2465 LN
="$acx_cv_prog_LN"
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2467 $as_echo "yes" >&6; }
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2471 $as_echo_n "checking whether ln -s works... " >&6; }
2473 if test "$LN_S" = "ln -s"; then
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2475 $as_echo "yes" >&6; }
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2478 $as_echo "no, using $LN_S" >&6; }
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2482 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2483 if test "${ac_cv_path_SED+set}" = set; then :
2484 $as_echo_n "(cached) " >&6
2486 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2487 for ac_i
in 1 2 3 4 5 6 7; do
2488 ac_script
="$ac_script$as_nl$ac_script"
2490 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2491 { ac_script
=; unset ac_script
;}
2492 if test -z "$SED"; then
2493 ac_path_SED_found
=false
2494 # Loop through the user's path and test for each of PROGNAME-LIST
2495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2499 test -z "$as_dir" && as_dir
=.
2500 for ac_prog
in sed gsed
; do
2501 for ac_exec_ext
in '' $ac_executable_extensions; do
2502 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2503 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2504 # Check for GNU ac_path_SED and select it if it is found.
2505 # Check for GNU $ac_path_SED
2506 case `"$ac_path_SED" --version 2>&1` in
2508 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2511 $as_echo_n 0123456789 >"conftest.in"
2514 cat "conftest.in" "conftest.in" >"conftest.tmp"
2515 mv "conftest.tmp" "conftest.in"
2516 cp "conftest.in" "conftest.nl"
2517 $as_echo '' >> "conftest.nl"
2518 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2519 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2520 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2521 if test $ac_count -gt ${ac_path_SED_max-0}; then
2522 # Best one so far, save it but keep looking for a better one
2523 ac_cv_path_SED
="$ac_path_SED"
2524 ac_path_SED_max
=$ac_count
2526 # 10*(2^10) chars as input seems more than enough
2527 test $ac_count -gt 10 && break
2529 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2532 $ac_path_SED_found && break 3
2537 if test -z "$ac_cv_path_SED"; then
2538 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2546 $as_echo "$ac_cv_path_SED" >&6; }
2547 SED
="$ac_cv_path_SED"
2550 for ac_prog
in gawk mawk nawk
awk
2552 # Extract the first word of "$ac_prog", so it can be a program name with args.
2553 set dummy
$ac_prog; ac_word
=$2
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2555 $as_echo_n "checking for $ac_word... " >&6; }
2556 if test "${ac_cv_prog_AWK+set}" = set; then :
2557 $as_echo_n "(cached) " >&6
2559 if test -n "$AWK"; then
2560 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2566 test -z "$as_dir" && as_dir
=.
2567 for ac_exec_ext
in '' $ac_executable_extensions; do
2568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2569 ac_cv_prog_AWK
="$ac_prog"
2570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2580 if test -n "$AWK"; then
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2582 $as_echo "$AWK" >&6; }
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2585 $as_echo "no" >&6; }
2589 test -n "$AWK" && break
2593 ### we might need to use some other shell than /bin/sh for running subshells
2594 ### If we are on Windows, search for the shell. This will permit people
2595 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
2596 ### without also having to set CONFIG_SHELL. This code will work when
2597 ### using bash, which sets OSTYPE.
2600 if test x
${CONFIG_SHELL} = x
; then
2601 if test ! -f /bin
/sh
; then
2602 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
2603 CONFIG_SHELL
=${SHELL}
2606 for prog
in sh sh.exe bash bash.exe
; do
2607 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2608 for dir
in $PATH; do
2609 test -z "$dir" && dir
=.
2610 if test -f $dir/$prog; then
2611 CONFIG_SHELL
=$dir/$prog
2617 test -n "${CONFIG_SHELL}" && break
2625 config_shell
=${CONFIG_SHELL-/bin/sh}
2627 moveifchange
=${srcdir}/move-if-change
2629 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2631 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2633 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2634 INSTALL
="${srcpwd}/install-sh -c"
2637 # Set srcdir to "." if that's what it is.
2638 # This is important for multilib support.
2640 if test "${pwd}" = "${srcpwd}" ; then
2648 ### To add a new directory to the tree, first choose whether it is a target
2649 ### or a host dependent tool. Then put it into the appropriate list
2650 ### (library or tools, host or target), doing a dependency sort.
2652 # Subdirs will be configured in the order listed in build_configdirs,
2653 # configdirs, or target_configdirs; see the serialization section below.
2655 # Dependency sorting is only needed when *configuration* must be done in
2656 # a particular order. In all cases a dependency should be specified in
2657 # the Makefile, whether or not it's implicitly specified here.
2659 # Double entries in build_configdirs, configdirs, or target_configdirs may
2660 # cause circular dependencies and break everything horribly.
2662 # these library is used by various programs built for the build
2665 build_libs
="build-libiberty"
2667 # these tools are built for the build environment
2668 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
2670 # these libraries are used by various programs built for the host environment
2672 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2674 # these tools are built for the host environment
2675 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2676 # know that we are building the simulator.
2677 # binutils, gas and ld appear in that order because it makes sense to run
2678 # "make check" in that particular order.
2679 # If --enable-gold is used, "gold" may replace "ld".
2680 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"
2682 # libgcj represents the runtime libraries only used by gcj.
2683 libgcj
="target-libffi \
2688 # these libraries are built for the target environment, and are built after
2689 # the host libraries and the host tools (which may be a cross compiler)
2691 target_libraries
="target-libgcc \
2696 target-libstdc++-v3 \
2699 target-libquadmath \
2700 target-libgfortran \
2706 # these tools are built using the target libraries, and are intended to
2707 # run only in the target environment
2709 # note: any program that *uses* libraries that are in the "target_libraries"
2710 # list belongs in this list. those programs are also very likely
2711 # candidates for the "native_only" list which follows
2713 target_tools
="target-examples target-groff target-gperf target-rda"
2715 ################################################################################
2717 ## All tools belong in one of the four categories, and are assigned above
2718 ## We assign ${configdirs} this way to remove all embedded newlines. This
2719 ## is important because configure will choke if they ever get through.
2720 ## ${configdirs} is directories we build using the host tools.
2721 ## ${target_configdirs} is directories we build using the target tools.
2722 configdirs
=`echo ${host_libs} ${host_tools}`
2723 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2724 build_configdirs
=`echo ${build_libs} ${build_tools}`
2728 ################################################################################
2730 srcname
="gnu development package"
2732 # This gets set non-empty for some net releases of packages.
2735 # Define is_cross_compiler to save on calls to 'test'.
2737 if test x
"${host}" = x
"${target}" ; then
2738 is_cross_compiler
=no
2740 is_cross_compiler
=yes
2743 # Find the build and target subdir names.
2745 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2746 # have matching libraries, they should use host libraries: Makefile.tpl
2747 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2748 # However, they still use the build modules, because the corresponding
2749 # host modules (e.g. bison) are only built for the host when bootstrap
2751 # - build_subdir is where we find build modules, and never changes.
2752 # - build_libsubdir is where we find build libraries, and can be overridden.
2754 # Prefix 'build-' so this never conflicts with target_subdir.
2755 build_subdir
="build-${build_noncanonical}"
2757 # Check whether --with-build-libsubdir was given.
2758 if test "${with_build_libsubdir+set}" = set; then :
2759 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2761 build_libsubdir
="$build_subdir"
2764 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2765 if ( test $srcdir = .
&& test -d gcc
) \
2766 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2767 host_subdir
="host-${host_noncanonical}"
2772 target_subdir
=${target_noncanonical}
2774 # Be sure to cover against remnants of an in-tree build.
2775 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2776 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2777 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2780 # Skipdirs are removed silently.
2782 # Noconfigdirs are removed loudly.
2786 # Make sure we don't let GNU ld be added if we didn't want it.
2787 if test x
$with_gnu_ld = xno
; then
2789 noconfigdirs
="$noconfigdirs ld gold"
2793 # Make sure we don't let GNU as be added if we didn't want it.
2794 if test x
$with_gnu_as = xno
; then
2796 noconfigdirs
="$noconfigdirs gas"
2800 # Make sure we don't let ZLIB be added if we didn't want it.
2801 if test x
$with_system_zlib = xyes
; then
2802 use_included_zlib
=no
2803 noconfigdirs
="$noconfigdirs zlib"
2806 # some tools are so dependent upon X11 that if we're not building with X,
2807 # it's not even worth trying to configure, much less build, that tool.
2810 yes |
"") ;; # the default value for this tree is that X11 is available
2812 skipdirs
="${skipdirs} tk itcl libgui"
2813 # We won't be able to build gdbtk without X.
2816 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2819 # Some tools are only suitable for building in a "native" situation.
2820 # Remove these if host!=target.
2821 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"
2823 # Similarly, some are only suitable for cross toolchains.
2824 # Remove these if host=target.
2825 cross_only
="target-libgloss target-newlib target-opcodes"
2827 case $is_cross_compiler in
2828 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2829 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2832 # If both --with-headers and --with-libs are specified, default to
2834 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2835 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2836 if test x
"${with_newlib}" = x
; then
2841 # Recognize --with-newlib/--without-newlib.
2842 case ${with_newlib} in
2843 no
) skipdirs
="${skipdirs} target-newlib" ;;
2844 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2847 # Handle --enable-gold.
2848 # --enable-gold Build only gold
2849 # --disable-gold [default] Build only ld
2850 # --enable-gold=both Build both gold and ld, ld is default
2851 # --enable-gold=both/ld Same
2852 # --enable-gold=both/gold Build both gold and ld, gold is default, ld is renamed ld.bfd
2854 # Check whether --enable-gold was given.
2855 if test "${enable_gold+set}" = set; then :
2856 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2861 case "${ENABLE_GOLD}" in
2862 yes|both|both
/gold|both
/ld
)
2863 # Check for ELF target.
2866 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2867 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2868 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2* |
*-*-nto*)
2870 *-*-linux*aout
* |
*-*-linux*oldld
*)
2878 if test "$is_elf" = "yes"; then
2879 # Check for target supported by gold.
2881 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2882 case "${ENABLE_GOLD}" in
2884 configdirs
="$configdirs gold"
2887 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / gold /'`
2898 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2902 # Configure extra directories which are host specific
2906 configdirs
="$configdirs libtermcap" ;;
2909 # A target can indicate whether a language isn't supported for some reason.
2910 # Only spaces may be used in this macro; not newlines or tabs.
2911 unsupported_languages
=
2913 # Remove more programs from consideration, based on the host or
2914 # target this usually means that a port of the program doesn't
2919 noconfigdirs
="$noconfigdirs byacc"
2921 i
[3456789]86-*-vsta)
2922 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2924 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2925 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2928 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2930 i
[3456789]86-*-mingw32*)
2931 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2932 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2934 i
[3456789]86-*-beos*)
2935 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2938 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2941 noconfigdirs
="$noconfigdirs rcs"
2944 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2947 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2952 # Check whether --enable-libada was given.
2953 if test "${enable_libada+set}" = set; then :
2954 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
2959 if test "${ENABLE_LIBADA}" != "yes" ; then
2960 noconfigdirs
="$noconfigdirs gnattools"
2963 # Check whether --enable-libssp was given.
2964 if test "${enable_libssp+set}" = set; then :
2965 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
2971 # Save it here so that, even in case of --enable-libgcj, if the Java
2972 # front-end isn't enabled, we still get libgcj disabled.
2973 libgcj_saved
=$libgcj
2974 case $enable_libgcj in
2976 # If we reset it here, it won't get added to noconfigdirs in the
2977 # target-specific build rules, so it will be forcibly enabled
2978 # (unless the Java language itself isn't enabled).
2982 # Make sure we get it printed in the list of not supported target libs.
2983 noconfigdirs
="$noconfigdirs ${libgcj}"
2988 # Disable libmudflap on some systems.
2989 if test x
$enable_libmudflap = x
; then
2991 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
2992 # Enable libmudflap by default in GNU and friends.
2995 # Enable libmudflap by default in FreeBSD.
2998 # Disable it by default everywhere else.
2999 noconfigdirs
="$noconfigdirs target-libmudflap"
3004 # Disable libgomp on non POSIX hosted systems.
3005 if test x
$enable_libgomp = x
; then
3006 # Enable libgomp by default on hosted POSIX systems.
3008 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3010 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
3012 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
3014 *-*-darwin* |
*-*-aix*)
3017 noconfigdirs
="$noconfigdirs target-libgomp"
3022 # Default libgloss CPU subdirectory.
3023 libgloss_dir
="$target_cpu"
3027 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3030 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3031 noconfigdirs
="$noconfigdirs sim target-rda"
3033 i
[3456789]86-*-darwin*)
3034 noconfigdirs
="$noconfigdirs ld gprof"
3035 noconfigdirs
="$noconfigdirs sim target-rda"
3037 x86_64-
*-darwin[912]*)
3038 noconfigdirs
="$noconfigdirs ld gas gprof"
3039 noconfigdirs
="$noconfigdirs sim target-rda"
3042 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3043 noconfigdirs
="$noconfigdirs sim target-rda"
3044 noconfigdirs
="$noconfigdirs ${libgcj}"
3046 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
3047 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3050 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3051 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3052 && test -f /usr
/local
/include
/gmp.h
; then
3056 # Skip some stuff that's unsupported on some FreeBSD configurations.
3062 noconfigdirs
="$noconfigdirs ${libgcj}"
3067 # Remove unsupported stuff on all kaOS configurations.
3068 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
3069 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
3070 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
3071 noconfigdirs
="$noconfigdirs target-libgloss"
3074 # Skip some stuff on all NetBSD configurations.
3075 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
3077 # Skip some stuff that's unsupported on some NetBSD configurations.
3079 i
*86-*-netbsdelf*) ;;
3080 arm
*-*-netbsdelf*) ;;
3082 noconfigdirs
="$noconfigdirs ${libgcj}"
3087 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
3090 skipdirs
="${skipdirs} target-libiberty"
3091 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3093 # The tpf target doesn't support gdb yet.
3095 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
3098 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
3101 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
3104 # ld works, but does not support shared libraries.
3105 # newlib is not 64 bit ready. I'm not sure about fileutils.
3106 # gas doesn't generate exception information.
3107 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
3110 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3113 # newlib is not 64 bit ready
3114 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3117 # newlib is not 64 bit ready
3118 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3121 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3124 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3126 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3127 noconfigdirs
="$noconfigdirs ${libgcj}"
3128 noconfigdirs
="$noconfigdirs target-examples"
3129 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
3130 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3131 noconfigdirs
="$noconfigdirs expect dejagnu"
3132 # the C++ libraries don't build on top of CE's C libraries
3133 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3134 noconfigdirs
="$noconfigdirs target-newlib"
3136 *-*-cygwin*) ;; # keep gdb and readline
3137 *) noconfigdirs
="$noconfigdirs gdb readline"
3143 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3147 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
3148 noconfigdirs
="$noconfigdirs ${libgcj}"
3151 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
3152 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
3155 arm
*-*-linux-gnueabi)
3156 noconfigdirs
="$noconfigdirs target-qthreads"
3157 case ${with_newlib} in
3158 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3163 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
3167 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3170 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3173 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3176 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3179 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3182 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
3185 unsupported_languages
="$unsupported_languages java"
3186 noconfigdirs
="$noconfigdirs target-boehm-gc gdb"
3187 if test x
${is_cross_compiler} != xno
; then
3188 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
3191 c4x-
*-* | tic4x-
*-*)
3192 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3194 c54x
*-*-* | tic54x-
*-*)
3195 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
3198 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3200 cris-
*-* | crisv32-
*-*)
3201 unsupported_languages
="$unsupported_languages java"
3204 unsupported_languages
="$unsupported_languages fortran"
3205 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3207 noconfigdirs
="$noconfigdirs target-boehm-gc";;
3209 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
3211 unsupported_languages
="$unsupported_languages fortran"
3212 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
3217 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
3220 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3223 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3225 ep9312-
*-elf | ep9312-
*-coff)
3229 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3232 noconfigdirs
="$noconfigdirs ${libgcj}"
3235 noconfigdirs
="$noconfigdirs ${libgcj}"
3236 noconfigdirs
="$noconfigdirs gprof"
3239 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3242 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3244 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3246 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
3247 # In this case, it's because the hppa64-linux target is for
3248 # the kernel only at this point and has no libc, and thus no
3249 # headers, crt*.o, etc., all of which are needed by these.
3250 noconfigdirs
="$noconfigdirs target-zlib"
3252 parisc
*-*-linux* | hppa
*-*-linux*)
3256 hppa
*-*-openbsd* | \
3258 noconfigdirs
="$noconfigdirs ${libgcj}"
3261 noconfigdirs
="$noconfigdirs ld shellutils"
3267 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3268 # build on HP-UX 10.20.
3269 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
3272 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3275 # No gdb support yet.
3276 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
3279 # No gdb or ld support yet.
3280 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
3283 # No gdb or ld support yet.
3284 noconfigdirs
="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
3288 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
3289 noconfigdirs
="$noconfigdirs ${libgcj}"
3292 i
[3456789]86-*-linux*)
3293 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
3294 # not build java stuff by default.
3297 noconfigdirs
="$noconfigdirs ${libgcj}";;
3300 # This section makes it possible to build newlib natively on linux.
3301 # If we are using a cross compiler then don't configure newlib.
3302 if test x
${is_cross_compiler} != xno
; then
3303 noconfigdirs
="$noconfigdirs target-newlib"
3305 noconfigdirs
="$noconfigdirs target-libgloss"
3306 # If we are not using a cross compiler, do configure newlib.
3307 # Note however, that newlib will only be configured in this situation
3308 # if the --with-newlib option has been given, because otherwise
3309 # 'target-newlib' will appear in skipdirs.
3311 i
[3456789]86-w64-mingw*)
3312 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3314 i
[3456789]86-*-mingw*)
3315 target_configdirs
="$target_configdirs target-winsup"
3316 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3319 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3322 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3323 noconfigdirs
="$noconfigdirs target-gperf target-libgloss"
3324 # always build newlib if winsup directory is present.
3325 if test -d "$srcdir/winsup/cygwin"; then
3326 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3327 elif test -d "$srcdir/newlib"; then
3328 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3331 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
3332 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
3335 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3337 i
[3456789]86-*-sco3.2v5
*)
3338 # The linker does not yet know about weak symbols in COFF,
3339 # and is not configured to handle mixed ELF and COFF.
3340 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3342 i
[3456789]86-*-sco*)
3343 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3345 i
[3456789]86-*-solaris2*)
3346 noconfigdirs
="$noconfigdirs target-libgloss"
3348 i
[3456789]86-*-sysv4*)
3349 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3351 i
[3456789]86-*-beos*)
3352 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3354 i
[3456789]86-*-rdos*)
3355 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3358 noconfigdirs
="$noconfigdirs ${libgcj}"
3360 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3361 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3362 libgloss_dir
=m68hc11
3365 noconfigdirs
="$noconfigdirs ${libgcj}"
3368 noconfigdirs
="$noconfigdirs ${libgcj}"
3370 m68
*-*-* | fido-
*-*)
3374 # The EPOC C++ environment does not support exceptions or rtti,
3375 # and so building libstdc++-v3 tends not to always work.
3376 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3379 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
3380 unsupported_languages
="$unsupported_languages fortran java"
3383 noconfigdirs
="$noconfigdirs ${libgcj}"
3386 noconfigdirs
="$noconfigdirs ${libgcj}"
3389 noconfigdirs
="$noconfigdirs sim"
3392 # copied from rs6000-*-* entry
3393 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3395 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
3396 target_configdirs
="$target_configdirs target-winsup"
3397 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
3398 # always build newlib.
3399 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3401 # This is temporary until we can link against shared libraries
3402 powerpcle-
*-solaris*)
3403 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
3407 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3410 noconfigdirs
="$noconfigdirs ${libgcj}"
3413 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
3417 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
3420 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3423 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3426 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
3429 noconfigdirs
="$noconfigdirs gprof target-libssp ${libgcj}"
3432 skipdirs
="$skipdirs target-libiberty"
3433 noconfigdirs
="$noconfigdirs ${libgcj}"
3434 if test x
$with_newlib = xyes
; then
3435 noconfigdirs
="$noconfigdirs gprof"
3440 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3443 # Linking libjava exceeds command-line length limits on at least
3444 # IRIX 6.2, but not on IRIX 6.5.
3445 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3446 # <oldham@codesourcery.com>
3447 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3450 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3453 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3456 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3460 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
3464 i
[3456789]86-*-vsta) ;; # don't add gprof back in
3465 i
[3456789]86-*-go32*) ;; # don't add gprof back in
3466 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
3467 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
3471 noconfigdirs
="$noconfigdirs ${libgcj}" ;;
3473 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}" ;;
3476 sparclet-
*-aout* | sparc86x-
*-*)
3480 noconfigdirs
="$noconfigdirs ${libgcj}"
3483 noconfigdirs
="$noconfigdirs ${libgcj}"
3487 noconfigdirs
="$noconfigdirs ${libgcj}"
3491 noconfigdirs
="$noconfigdirs ${libgcj}"
3492 if test x
${is_cross_compiler} != xno
; then
3493 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3498 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
3499 noconfigdirs
="$noconfigdirs ${libgcj}"
3501 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
3504 noconfigdirs
="$noconfigdirs gdb sim ${libgcj}"
3507 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
3510 noconfigdirs
="$noconfigdirs ${libgcj}"
3513 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
3516 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3519 noconfigdirs
="$noconfigdirs ${libgcj}"
3522 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3524 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3525 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3528 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3531 noconfigdirs
="$noconfigdirs ${libgcj}"
3535 # If we aren't building newlib, then don't build libgloss, since libgloss
3536 # depends upon some newlib header files.
3537 case "${noconfigdirs}" in
3538 *target-libgloss
*) ;;
3539 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3542 # Work in distributions that contain no compiler tools, like Autoconf.
3544 host_makefile_frag
=/dev
/null
3545 if test -d ${srcdir}/config
; then
3548 # Avoid "too much defining" errors from HPUX compiler.
3549 tentative_cc
="cc -Wp,-H256000"
3550 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
3551 # If it's HP/UX ar, this should be harmless.
3555 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
3558 #None of the Apollo compilers can compile gas or binutils. The preprocessor
3559 # chokes on bfd, the compiler won't let you assign integers to enums, and
3560 # other problems. Defining CC to gcc is a questionable way to say "don't use
3561 # the apollo compiler" (the preferred version of GCC could be called cc,
3562 # or whatever), but I'm not sure leaving CC as cc is any better...
3563 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
3564 # Used to have BISON=yacc.
3568 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3571 # Under CX/UX, we want to tell the compiler to use ANSI mode.
3572 tentative_cc
="cc -Xa"
3573 host_makefile_frag
="config/mh-cxux"
3575 m88k-motorola-sysv
*)
3578 tentative_cc
="cc -Wf,-XNg1000"
3579 host_makefile_frag
="config/mh-decstation"
3582 # The C compiler on NEC MIPS SVR4 needs bigger tables.
3583 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
3584 host_makefile_frag
="config/mh-necv4"
3587 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
3588 # environment. Also bump switch table size so that cp-parse will
3589 # compile. Bump string length limit so linker builds.
3590 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
3593 host_makefile_frag
="config/mh-sysv4"
3596 # This is for a MIPS running RISC/os 4.52C.
3598 # This is needed for GDB, but needs to be in the top-level make because
3599 # if a library is compiled with the bsd headers and gets linked with the
3600 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
3601 # a different size).
3602 # ptrace(2) apparently has problems in the BSD environment. No workaround is
3603 # known except to select the sysv environment. Could we use /proc instead?
3604 # These "sysv environments" and "bsd environments" often end up being a pain.
3606 # This is not part of CFLAGS because perhaps not all C compilers have this
3608 tentative_cc
="cc -systype sysv"
3613 i
[3456789]86-*-sysv5*)
3614 host_makefile_frag
="config/mh-sysv5"
3616 i
[3456789]86-*-dgux*)
3617 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3618 host_makefile_frag
="config/mh-dgux386"
3620 i
[3456789]86-ncr-sysv4.3
*)
3621 # The MetaWare compiler will generate a copyright message unless you
3622 # turn it off by adding the -Hnocopyr flag.
3623 tentative_cc
="cc -Hnocopyr"
3625 i
[3456789]86-ncr-sysv4*)
3626 # for an NCR 3000 (i486/SVR4) system.
3627 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
3628 # This compiler not only emits obnoxious copyright messages every time
3629 # you run it, but it chokes and dies on a whole bunch of GNU source
3630 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
3631 tentative_cc
="/usr/ccs/ATT/cc"
3632 host_makefile_frag
="config/mh-ncr3000"
3634 i
[3456789]86-*-sco3.2v5
*)
3636 i
[3456789]86-*-sco*)
3637 # The native C compiler botches some simple uses of const. Unfortunately,
3638 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
3639 tentative_cc
="cc -Dconst="
3640 host_makefile_frag
="config/mh-sco"
3642 i
[3456789]86-*-udk*)
3643 host_makefile_frag
="config/mh-sysv5"
3645 i
[3456789]86-*-solaris2*)
3646 host_makefile_frag
="config/mh-sysv4"
3648 i
[3456789]86-*-msdosdjgpp*)
3649 host_makefile_frag
="config/mh-djgpp"
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3654 $as_echo_n "checking to see if cat works as expected... " >&6; }
3655 echo a
>cygwin-cat-check
3656 if test `cat cygwin-cat-check` = a
; then
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3659 $as_echo "yes" >&6; }
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3663 $as_echo "no" >&6; }
3664 as_fn_error
"The cat command does not ignore carriage return characters.
3665 Please either mount the build directory in binary mode or run the following
3666 commands before running any configure script:
3672 host_makefile_frag
="config/mh-cygwin"
3675 host_makefile_frag
="config/mh-mingw"
3678 host_makefile_frag
="config/mh-interix"
3681 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
3685 host_makefile_frag
="config/mh-solaris"
3688 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
3689 # without overflowing the jump tables (-J says to use a 32 bit table)
3690 tentative_cc
="cc -J"
3693 tentative_cc
="cc -Wp,-H256000"
3694 host_makefile_frag
="config/mh-pa-hpux10"
3696 hppa
*-hp-hpux* | hppa
*-*-hiux*)
3697 tentative_cc
="cc -Wp,-H256000"
3698 host_makefile_frag
="config/mh-pa"
3701 host_makefile_frag
="config/mh-pa"
3703 *-hp-hpux* |
*-*-hiux*)
3704 tentative_cc
="cc -Wp,-H256000"
3707 # /bin/cc is less than useful for our purposes. Always use GCC
3708 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
3709 host_makefile_frag
="config/mh-lynxrs6k"
3712 host_makefile_frag
="config/mh-darwin"
3715 host_makefile_frag
="config/mh-ppc-aix"
3718 host_makefile_frag
="config/mh-ppc-aix"
3721 # /bin/cc is less than useful for our purposes. Always use GCC
3722 tentative_cc
="/bin/gcc"
3725 host_makefile_frag
="config/mh-sysv4"
3727 # This is placed last to prevent interfering with the cases above.
3729 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
3730 host_makefile_frag
="config/mh-x86omitfp"
3735 # If we aren't going to be using gcc, see if we can extract a definition
3736 # of CC from the fragment.
3737 # Actually, use the 'pre-extracted' version above.
3738 if test -z "${CC}" && test "${build}" = "${host}" ; then
3739 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
3741 for dir
in $PATH; do
3742 test -z "$dir" && dir
=.
3743 if test -f $dir/gcc
; then
3749 if test -z "${found}" && test -n "${tentative_cc}" ; then
3754 if test "${build}" != "${host}" ; then
3755 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3756 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3757 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3758 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3759 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3760 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3761 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3762 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3763 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3764 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3765 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3766 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3768 AR_FOR_BUILD
="\$(AR)"
3769 AS_FOR_BUILD
="\$(AS)"
3770 CC_FOR_BUILD
="\$(CC)"
3771 CXX_FOR_BUILD
="\$(CXX)"
3772 GCJ_FOR_BUILD
="\$(GCJ)"
3773 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3774 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3775 LD_FOR_BUILD
="\$(LD)"
3776 NM_FOR_BUILD
="\$(NM)"
3777 RANLIB_FOR_BUILD
="\$(RANLIB)"
3778 WINDRES_FOR_BUILD
="\$(WINDRES)"
3779 WINDMC_FOR_BUILD
="\$(WINDMC)"
3783 ac_cpp
='$CPP $CPPFLAGS'
3784 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3785 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3786 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3787 if test -n "$ac_tool_prefix"; then
3788 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3789 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791 $as_echo_n "checking for $ac_word... " >&6; }
3792 if test "${ac_cv_prog_CC+set}" = set; then :
3793 $as_echo_n "(cached) " >&6
3795 if test -n "$CC"; then
3796 ac_cv_prog_CC
="$CC" # Let the user override the test.
3798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3802 test -z "$as_dir" && as_dir
=.
3803 for ac_exec_ext
in '' $ac_executable_extensions; do
3804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3805 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3816 if test -n "$CC"; then
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3818 $as_echo "$CC" >&6; }
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 $as_echo "no" >&6; }
3826 if test -z "$ac_cv_prog_CC"; then
3828 # Extract the first word of "gcc", so it can be a program name with args.
3829 set dummy gcc
; ac_word
=$2
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3831 $as_echo_n "checking for $ac_word... " >&6; }
3832 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3833 $as_echo_n "(cached) " >&6
3835 if test -n "$ac_ct_CC"; then
3836 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3842 test -z "$as_dir" && as_dir
=.
3843 for ac_exec_ext
in '' $ac_executable_extensions; do
3844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3845 ac_cv_prog_ac_ct_CC
="gcc"
3846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3856 if test -n "$ac_ct_CC"; then
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3858 $as_echo "$ac_ct_CC" >&6; }
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3861 $as_echo "no" >&6; }
3864 if test "x$ac_ct_CC" = x
; then
3867 case $cross_compiling:$ac_tool_warned in
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3871 ac_tool_warned
=yes ;;
3879 if test -z "$CC"; then
3880 if test -n "$ac_tool_prefix"; then
3881 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3882 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3884 $as_echo_n "checking for $ac_word... " >&6; }
3885 if test "${ac_cv_prog_CC+set}" = set; then :
3886 $as_echo_n "(cached) " >&6
3888 if test -n "$CC"; then
3889 ac_cv_prog_CC
="$CC" # Let the user override the test.
3891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3895 test -z "$as_dir" && as_dir
=.
3896 for ac_exec_ext
in '' $ac_executable_extensions; do
3897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3898 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3909 if test -n "$CC"; then
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3911 $as_echo "$CC" >&6; }
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914 $as_echo "no" >&6; }
3920 if test -z "$CC"; then
3921 # Extract the first word of "cc", so it can be a program name with args.
3922 set dummy cc
; ac_word
=$2
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3924 $as_echo_n "checking for $ac_word... " >&6; }
3925 if test "${ac_cv_prog_CC+set}" = set; then :
3926 $as_echo_n "(cached) " >&6
3928 if test -n "$CC"; then
3929 ac_cv_prog_CC
="$CC" # Let the user override the test.
3932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3936 test -z "$as_dir" && as_dir
=.
3937 for ac_exec_ext
in '' $ac_executable_extensions; do
3938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3939 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3940 ac_prog_rejected
=yes
3944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3951 if test $ac_prog_rejected = yes; then
3952 # We found a bogon in the path, so make sure we never use it.
3953 set dummy
$ac_cv_prog_CC
3955 if test $# != 0; then
3956 # We chose a different compiler from the bogus one.
3957 # However, it has the same basename, so the bogon will be chosen
3958 # first if we set CC to just the basename; use the full file name.
3960 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3966 if test -n "$CC"; then
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3968 $as_echo "$CC" >&6; }
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3971 $as_echo "no" >&6; }
3976 if test -z "$CC"; then
3977 if test -n "$ac_tool_prefix"; then
3978 for ac_prog
in cl.exe
3980 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3981 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3983 $as_echo_n "checking for $ac_word... " >&6; }
3984 if test "${ac_cv_prog_CC+set}" = set; then :
3985 $as_echo_n "(cached) " >&6
3987 if test -n "$CC"; then
3988 ac_cv_prog_CC
="$CC" # Let the user override the test.
3990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3994 test -z "$as_dir" && as_dir
=.
3995 for ac_exec_ext
in '' $ac_executable_extensions; do
3996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3997 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4008 if test -n "$CC"; then
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4010 $as_echo "$CC" >&6; }
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4013 $as_echo "no" >&6; }
4017 test -n "$CC" && break
4020 if test -z "$CC"; then
4022 for ac_prog
in cl.exe
4024 # Extract the first word of "$ac_prog", so it can be a program name with args.
4025 set dummy
$ac_prog; ac_word
=$2
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4027 $as_echo_n "checking for $ac_word... " >&6; }
4028 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4029 $as_echo_n "(cached) " >&6
4031 if test -n "$ac_ct_CC"; then
4032 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4038 test -z "$as_dir" && as_dir
=.
4039 for ac_exec_ext
in '' $ac_executable_extensions; do
4040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4041 ac_cv_prog_ac_ct_CC
="$ac_prog"
4042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4051 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4052 if test -n "$ac_ct_CC"; then
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4054 $as_echo "$ac_ct_CC" >&6; }
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4057 $as_echo "no" >&6; }
4061 test -n "$ac_ct_CC" && break
4064 if test "x$ac_ct_CC" = x
; then
4067 case $cross_compiling:$ac_tool_warned in
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4071 ac_tool_warned
=yes ;;
4080 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4082 as_fn_error
"no acceptable C compiler found in \$PATH
4083 See \`config.log' for more details." "$LINENO" 5; }
4085 # Provide some information about the compiler.
4086 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4089 for ac_option
in --version -v -V -qversion; do
4090 { { ac_try
="$ac_compiler $ac_option >&5"
4092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4096 $as_echo "$ac_try_echo"; } >&5
4097 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4099 if test -s conftest.err; then
4101 ... rest of stderr output deleted ...
4102 10q' conftest.err >conftest.er1
4103 cat conftest.er1 >&5
4104 rm -f conftest.er1 conftest.err
4106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4107 test $ac_status = 0; }
4110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4111 /* end confdefs.h. */
4121 ac_clean_files_save=$ac_clean_files
4122 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4123 # Try to create an executable without -o first, disregard a.out.
4124 # It will help us diagnose broken compilers, and finding out an intuition
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4127 $as_echo_n "checking for C compiler default output file name... " >&6; }
4128 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4130 # The possible output files:
4131 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4134 for ac_file in $ac_files
4137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4138 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4143 if { { ac_try="$ac_link_default"
4145 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4146 *) ac_try_echo
=$ac_try;;
4148 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4149 $as_echo "$ac_try_echo"; } >&5
4150 (eval "$ac_link_default") 2>&5
4152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4153 test $ac_status = 0; }; then :
4154 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4155 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4156 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4157 # so that the user can short-circuit this test for compilers unknown to
4159 for ac_file
in $ac_files ''
4161 test -f "$ac_file" ||
continue
4163 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4166 # We found the default executable, but exeext='' is most
4170 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4172 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4174 # We set ac_cv_exeext here because the later test for it is not
4175 # safe: cross compilers may not add the suffix if given an `-o'
4176 # argument, so we may need to know it at that point already.
4177 # Even if this section looks crufty: it has the advantage of
4184 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4190 $as_echo "$ac_file" >&6; }
4191 if test -z "$ac_file"; then :
4192 $as_echo "$as_me: failed program was:" >&5
4193 sed 's/^/| /' conftest.
$ac_ext >&5
4195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4197 { as_fn_set_status
77
4198 as_fn_error
"C compiler cannot create executables
4199 See \`config.log' for more details." "$LINENO" 5; }; }
4201 ac_exeext
=$ac_cv_exeext
4203 # Check that the compiler produces executables we can run. If not, either
4204 # the compiler is broken, or we cross compile.
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4206 $as_echo_n "checking whether the C compiler works... " >&6; }
4207 # If not cross compiling, check that we can run a simple program.
4208 if test "$cross_compiling" != yes; then
4209 if { ac_try
='./$ac_file'
4210 { { case "(($ac_try" in
4211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4212 *) ac_try_echo=$ac_try;;
4214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4215 $as_echo "$ac_try_echo"; } >&5
4216 (eval "$ac_try") 2>&5
4218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4219 test $ac_status = 0; }; }; then
4222 if test "$cross_compiling" = maybe; then
4225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4227 as_fn_error "cannot run C compiled programs.
4228 If you meant to cross compile
, use \
`--host'.
4229 See \`config.log
' for more details." "$LINENO" 5; }
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4234 $as_echo "yes" >&6; }
4236 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4237 ac_clean_files=$ac_clean_files_save
4238 # Check that the compiler produces executables we can run. If not, either
4239 # the compiler is broken, or we cross compile.
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4241 $as_echo_n "checking whether we are cross compiling... " >&6; }
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4243 $as_echo "$cross_compiling" >&6; }
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4246 $as_echo_n "checking for suffix of executables... " >&6; }
4247 if { { ac_try="$ac_link"
4249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4250 *) ac_try_echo=$ac_try;;
4252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4253 $as_echo "$ac_try_echo"; } >&5
4254 (eval "$ac_link") 2>&5
4256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4257 test $ac_status = 0; }; then :
4258 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4259 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4260 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4262 for ac_file
in conftest.exe conftest conftest.
*; do
4263 test -f "$ac_file" ||
continue
4265 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4266 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4272 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4274 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4275 See \`config.log' for more details." "$LINENO" 5; }
4277 rm -f conftest
$ac_cv_exeext
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4279 $as_echo "$ac_cv_exeext" >&6; }
4281 rm -f conftest.
$ac_ext
4282 EXEEXT
=$ac_cv_exeext
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4285 $as_echo_n "checking for suffix of object files... " >&6; }
4286 if test "${ac_cv_objext+set}" = set; then :
4287 $as_echo_n "(cached) " >&6
4289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4290 /* end confdefs.h. */
4300 rm -f conftest.o conftest.obj
4301 if { { ac_try
="$ac_compile"
4303 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4304 *) ac_try_echo=$ac_try;;
4306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4307 $as_echo "$ac_try_echo"; } >&5
4308 (eval "$ac_compile") 2>&5
4310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4311 test $ac_status = 0; }; then :
4312 for ac_file in conftest.o conftest.obj conftest.*; do
4313 test -f "$ac_file" || continue;
4315 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4316 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4321 $as_echo "$as_me: failed program was:" >&5
4322 sed 's/^/| /' conftest.$ac_ext >&5
4324 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4326 as_fn_error "cannot compute suffix of object files
: cannot compile
4327 See \
`config.log' for more details." "$LINENO" 5; }
4329 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4332 $as_echo "$ac_cv_objext" >&6; }
4333 OBJEXT=$ac_cv_objext
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4336 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4337 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4338 $as_echo_n "(cached) " >&6
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4354 if ac_fn_c_try_compile "$LINENO"; then :
4359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4360 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4364 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4365 if test $ac_compiler_gnu = yes; then
4370 ac_test_CFLAGS=${CFLAGS+set}
4371 ac_save_CFLAGS=$CFLAGS
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4373 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4374 if test "${ac_cv_prog_cc_g+set}" = set; then :
4375 $as_echo_n "(cached) " >&6
4377 ac_save_c_werror_flag=$ac_c_werror_flag
4378 ac_c_werror_flag=yes
4381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382 /* end confdefs.h. */
4392 if ac_fn_c_try_compile "$LINENO"; then :
4396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4397 /* end confdefs.h. */
4407 if ac_fn_c_try_compile "$LINENO"; then :
4410 ac_c_werror_flag=$ac_save_c_werror_flag
4412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4413 /* end confdefs.h. */
4423 if ac_fn_c_try_compile "$LINENO"; then :
4426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4431 ac_c_werror_flag=$ac_save_c_werror_flag
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4434 $as_echo "$ac_cv_prog_cc_g" >&6; }
4435 if test "$ac_test_CFLAGS" = set; then
4436 CFLAGS=$ac_save_CFLAGS
4437 elif test $ac_cv_prog_cc_g = yes; then
4438 if test "$GCC" = yes; then
4444 if test "$GCC" = yes; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4451 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4452 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4453 $as_echo_n "(cached) " >&6
4455 ac_cv_prog_cc_c89=no
4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4458 /* end confdefs.h. */
4461 #include <sys/types.h>
4462 #include <sys/stat.h>
4463 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4464 struct buf { int x; };
4465 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4466 static char *e (p, i)
4472 static char *f (char * (*g) (char **, int), char **p, ...)
4477 s = g (p, va_arg (v,int));
4482 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4483 function prototypes and stuff, but not '\xHH' hex character constants.
4484 These don't provoke an error unfortunately, instead are silently treated
4485 as 'x'. The following induces an error, until -std is added to get
4486 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4487 array size at least. It's necessary to write '\x00'==0 to get something
4488 that's true only with -std. */
4489 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4491 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4492 inside strings and character constants. */
4494 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4496 int test (int i, double x);
4497 struct s1 {int (*f) (int a);};
4498 struct s2 {int (*f) (double a);};
4499 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4505 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4510 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4511 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4513 CC="$ac_save_CC $ac_arg"
4514 if ac_fn_c_try_compile "$LINENO"; then :
4515 ac_cv_prog_cc_c89=$ac_arg
4517 rm -f core conftest.err conftest.$ac_objext
4518 test "x$ac_cv_prog_cc_c89" != "xno" && break
4520 rm -f conftest.$ac_ext
4525 case "x$ac_cv_prog_cc_c89" in
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4528 $as_echo "none needed" >&6; } ;;
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4531 $as_echo "unsupported" >&6; } ;;
4533 CC="$CC $ac_cv_prog_cc_c89"
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4535 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4537 if test "x$ac_cv_prog_cc_c89" != xno; then :
4542 ac_cpp='$CPP $CPPFLAGS'
4543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4548 ac_cpp='$CXXCPP $CPPFLAGS'
4549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4552 if test -z "$CXX"; then
4553 if test -n "$CCC"; then
4556 if test -n "$ac_tool_prefix"; then
4557 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4559 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4560 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4562 $as_echo_n "checking for $ac_word... " >&6; }
4563 if test "${ac_cv_prog_CXX+set}" = set; then :
4564 $as_echo_n "(cached) " >&6
4566 if test -n "$CXX"; then
4567 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4573 test -z "$as_dir" && as_dir=.
4574 for ac_exec_ext in '' $ac_executable_extensions; do
4575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4576 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4587 if test -n "$CXX"; then
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4589 $as_echo "$CXX" >&6; }
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4592 $as_echo "no" >&6; }
4596 test -n "$CXX" && break
4599 if test -z "$CXX"; then
4601 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4603 # Extract the first word of "$ac_prog", so it can be a program name with args.
4604 set dummy $ac_prog; ac_word=$2
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4606 $as_echo_n "checking for $ac_word... " >&6; }
4607 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4608 $as_echo_n "(cached) " >&6
4610 if test -n "$ac_ct_CXX"; then
4611 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4617 test -z "$as_dir" && as_dir=.
4618 for ac_exec_ext in '' $ac_executable_extensions; do
4619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4620 ac_cv_prog_ac_ct_CXX="$ac_prog"
4621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4630 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4631 if test -n "$ac_ct_CXX"; then
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4633 $as_echo "$ac_ct_CXX" >&6; }
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4636 $as_echo "no" >&6; }
4640 test -n "$ac_ct_CXX" && break
4643 if test "x$ac_ct_CXX" = x; then
4646 case $cross_compiling:$ac_tool_warned in
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4650 ac_tool_warned=yes ;;
4658 # Provide some information about the compiler.
4659 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4662 for ac_option in --version -v -V -qversion; do
4663 { { ac_try="$ac_compiler $ac_option >&5"
4665 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4666 *) ac_try_echo
=$ac_try;;
4668 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4669 $as_echo "$ac_try_echo"; } >&5
4670 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4672 if test -s conftest.err
; then
4674 ... rest of stderr output deleted ...
4675 10q' conftest.err
>conftest.er1
4676 cat conftest.er1
>&5
4677 rm -f conftest.er1 conftest.err
4679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4680 test $ac_status = 0; }
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4684 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4685 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4686 $as_echo_n "(cached) " >&6
4688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4689 /* end confdefs.h. */
4702 if ac_fn_cxx_try_compile
"$LINENO"; then :
4707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4708 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4712 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4713 if test $ac_compiler_gnu = yes; then
4718 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4719 ac_save_CXXFLAGS
=$CXXFLAGS
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4721 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4722 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4723 $as_echo_n "(cached) " >&6
4725 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4726 ac_cxx_werror_flag
=yes
4729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4730 /* end confdefs.h. */
4740 if ac_fn_cxx_try_compile
"$LINENO"; then :
4741 ac_cv_prog_cxx_g
=yes
4744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4755 if ac_fn_cxx_try_compile
"$LINENO"; then :
4758 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4771 if ac_fn_cxx_try_compile
"$LINENO"; then :
4772 ac_cv_prog_cxx_g
=yes
4774 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4779 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4782 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4783 if test "$ac_test_CXXFLAGS" = set; then
4784 CXXFLAGS
=$ac_save_CXXFLAGS
4785 elif test $ac_cv_prog_cxx_g = yes; then
4786 if test "$GXX" = yes; then
4792 if test "$GXX" = yes; then
4799 ac_cpp
='$CPP $CPPFLAGS'
4800 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4801 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4802 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4805 # We must set the default linker to the linker used by gcc for the correct
4806 # operation of libtool. If LD is not defined and we are using gcc, try to
4807 # set the LD default to the ld used by gcc.
4808 if test -z "$LD"; then
4809 if test "$GCC" = yes; then
4812 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4814 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4816 case $gcc_prog_ld in
4817 # Accept absolute paths.
4818 [\\/]* |
[A-Za-z
]:[\\/]*)
4819 LD
="$gcc_prog_ld" ;;
4827 if test -n "$ac_tool_prefix"; then
4828 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4829 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4831 $as_echo_n "checking for $ac_word... " >&6; }
4832 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4833 $as_echo_n "(cached) " >&6
4835 if test -n "$GNATBIND"; then
4836 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4842 test -z "$as_dir" && as_dir
=.
4843 for ac_exec_ext
in '' $ac_executable_extensions; do
4844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4845 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4855 GNATBIND
=$ac_cv_prog_GNATBIND
4856 if test -n "$GNATBIND"; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4858 $as_echo "$GNATBIND" >&6; }
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4861 $as_echo "no" >&6; }
4866 if test -z "$ac_cv_prog_GNATBIND"; then
4867 ac_ct_GNATBIND
=$GNATBIND
4868 # Extract the first word of "gnatbind", so it can be a program name with args.
4869 set dummy gnatbind
; ac_word
=$2
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4871 $as_echo_n "checking for $ac_word... " >&6; }
4872 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4873 $as_echo_n "(cached) " >&6
4875 if test -n "$ac_ct_GNATBIND"; then
4876 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4882 test -z "$as_dir" && as_dir
=.
4883 for ac_exec_ext
in '' $ac_executable_extensions; do
4884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4885 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4895 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4896 if test -n "$ac_ct_GNATBIND"; then
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4898 $as_echo "$ac_ct_GNATBIND" >&6; }
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4901 $as_echo "no" >&6; }
4904 if test "x$ac_ct_GNATBIND" = x
; then
4907 case $cross_compiling:$ac_tool_warned in
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4911 ac_tool_warned
=yes ;;
4913 GNATBIND
=$ac_ct_GNATBIND
4916 GNATBIND
="$ac_cv_prog_GNATBIND"
4919 if test -n "$ac_tool_prefix"; then
4920 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4921 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4925 $as_echo_n "(cached) " >&6
4927 if test -n "$GNATMAKE"; then
4928 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4934 test -z "$as_dir" && as_dir
=.
4935 for ac_exec_ext
in '' $ac_executable_extensions; do
4936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4937 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4947 GNATMAKE
=$ac_cv_prog_GNATMAKE
4948 if test -n "$GNATMAKE"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4950 $as_echo "$GNATMAKE" >&6; }
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4958 if test -z "$ac_cv_prog_GNATMAKE"; then
4959 ac_ct_GNATMAKE
=$GNATMAKE
4960 # Extract the first word of "gnatmake", so it can be a program name with args.
4961 set dummy gnatmake
; ac_word
=$2
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4963 $as_echo_n "checking for $ac_word... " >&6; }
4964 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4965 $as_echo_n "(cached) " >&6
4967 if test -n "$ac_ct_GNATMAKE"; then
4968 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4974 test -z "$as_dir" && as_dir
=.
4975 for ac_exec_ext
in '' $ac_executable_extensions; do
4976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4977 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4987 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4988 if test -n "$ac_ct_GNATMAKE"; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4990 $as_echo "$ac_ct_GNATMAKE" >&6; }
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4993 $as_echo "no" >&6; }
4996 if test "x$ac_ct_GNATMAKE" = x
; then
4999 case $cross_compiling:$ac_tool_warned in
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5003 ac_tool_warned
=yes ;;
5005 GNATMAKE
=$ac_ct_GNATMAKE
5008 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5012 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5013 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5014 $as_echo_n "(cached) " >&6
5016 cat >conftest.adb
<<EOF
5017 procedure conftest is begin null; end conftest;
5019 acx_cv_cc_gcc_supports_ada
=no
5020 # There is a bug in old released versions of GCC which causes the
5021 # driver to exit successfully when the appropriate language module
5022 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5023 # Therefore we must check for the error message as well as an
5024 # unsuccessful exit.
5025 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5026 # given a .adb file, but produce no object file. So we must check
5027 # if an object file was really produced to guard against this.
5028 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5029 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5030 acx_cv_cc_gcc_supports_ada
=yes
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5035 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5037 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5044 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5045 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5046 $as_echo_n "(cached) " >&6
5050 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5051 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5052 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5055 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5058 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5059 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5062 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5069 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5070 do_compare
="$gcc_cv_prog_cmp_skip"
5074 # See if we are building gcc with C++.
5075 # Check whether --enable-build-with-cxx was given.
5076 if test "${enable_build_with_cxx+set}" = set; then :
5077 enableval
=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX
=$enableval
5079 ENABLE_BUILD_WITH_CXX
=no
5083 # Used for setting $lt_cv_objdir
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5085 $as_echo_n "checking for objdir... " >&6; }
5086 if test "${lt_cv_objdir+set}" = set; then :
5087 $as_echo_n "(cached) " >&6
5089 rm -f .libs
2>/dev
/null
5090 mkdir .libs
2>/dev
/null
5091 if test -d .libs
; then
5094 # MS-DOS does not allow filenames that begin with a dot.
5097 rmdir .libs
2>/dev
/null
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5100 $as_echo "$lt_cv_objdir" >&6; }
5101 objdir
=$lt_cv_objdir
5107 cat >>confdefs.h
<<_ACEOF
5108 #define LT_OBJDIR "$lt_cv_objdir/"
5113 # Check for GMP, MPFR and MPC
5114 gmplibs
="-lmpc -lmpfr -lgmp"
5118 # Specify a location for mpc
5119 # check for this first so it ends up on the link line before mpfr.
5121 # Check whether --with-mpc was given.
5122 if test "${with_mpc+set}" = set; then :
5127 # Check whether --with-mpc-include was given.
5128 if test "${with_mpc_include+set}" = set; then :
5129 withval
=$with_mpc_include;
5133 # Check whether --with-mpc-lib was given.
5134 if test "${with_mpc_lib+set}" = set; then :
5135 withval
=$with_mpc_lib;
5139 if test "x$with_mpc" != x
; then
5140 gmplibs
="-L$with_mpc/lib $gmplibs"
5141 gmpinc
="-I$with_mpc/include $gmpinc"
5143 if test "x$with_mpc_include" != x
; then
5144 gmpinc
="-I$with_mpc_include $gmpinc"
5146 if test "x$with_mpc_lib" != x
; then
5147 gmplibs
="-L$with_mpc_lib $gmplibs"
5149 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5150 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5151 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5152 # Do not test the mpc version. Assume that it is sufficient, since
5153 # it is in the source tree, and the library has not been built yet
5154 # but it would be included on the link line in the version check below
5155 # hence making the test fail.
5159 # Specify a location for mpfr
5160 # check for this first so it ends up on the link line before gmp.
5162 # Check whether --with-mpfr-dir was given.
5163 if test "${with_mpfr_dir+set}" = set; then :
5164 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5165 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5170 # Check whether --with-mpfr was given.
5171 if test "${with_mpfr+set}" = set; then :
5176 # Check whether --with-mpfr-include was given.
5177 if test "${with_mpfr_include+set}" = set; then :
5178 withval
=$with_mpfr_include;
5182 # Check whether --with-mpfr-lib was given.
5183 if test "${with_mpfr_lib+set}" = set; then :
5184 withval
=$with_mpfr_lib;
5188 if test "x$with_mpfr" != x
; then
5189 gmplibs
="-L$with_mpfr/lib $gmplibs"
5190 gmpinc
="-I$with_mpfr/include $gmpinc"
5192 if test "x$with_mpfr_include" != x
; then
5193 gmpinc
="-I$with_mpfr_include $gmpinc"
5195 if test "x$with_mpfr_lib" != x
; then
5196 gmplibs
="-L$with_mpfr_lib $gmplibs"
5198 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5199 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5200 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5201 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5202 # Do not test the mpfr version. Assume that it is sufficient, since
5203 # it is in the source tree, and the library has not been built yet
5204 # but it would be included on the link line in the version check below
5205 # hence making the test fail.
5209 # Specify a location for gmp
5211 # Check whether --with-gmp-dir was given.
5212 if test "${with_gmp_dir+set}" = set; then :
5213 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5214 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5219 # Check whether --with-gmp was given.
5220 if test "${with_gmp+set}" = set; then :
5225 # Check whether --with-gmp-include was given.
5226 if test "${with_gmp_include+set}" = set; then :
5227 withval
=$with_gmp_include;
5231 # Check whether --with-gmp-lib was given.
5232 if test "${with_gmp_lib+set}" = set; then :
5233 withval
=$with_gmp_lib;
5238 if test "x$with_gmp" != x
; then
5239 gmplibs
="-L$with_gmp/lib $gmplibs"
5240 gmpinc
="-I$with_gmp/include $gmpinc"
5242 if test "x$with_gmp_include" != x
; then
5243 gmpinc
="-I$with_gmp_include $gmpinc"
5245 if test "x$with_gmp_lib" != x
; then
5246 gmplibs
="-L$with_gmp_lib $gmplibs"
5248 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5249 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5250 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5251 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5252 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5253 # Do not test the gmp version. Assume that it is sufficient, since
5254 # it is in the source tree, and the library has not been built yet
5255 # but it would be included on the link line in the version check below
5256 # hence making the test fail.
5260 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5262 saved_CFLAGS
="$CFLAGS"
5263 CFLAGS
="$CFLAGS $gmpinc"
5264 # Check for the recommended and required versions of GMP.
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5266 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5275 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5276 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5277 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5285 if ac_fn_c_try_compile
"$LINENO"; then :
5286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5287 /* end confdefs.h. */
5293 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5294 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5295 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5303 if ac_fn_c_try_compile
"$LINENO"; then :
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5305 $as_echo "yes" >&6; }
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5308 $as_echo "buggy but acceptable" >&6; }
5310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }; have_gmp
=no
5315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5317 # If we have GMP, check the MPFR version.
5318 if test x
"$have_gmp" = xyes
; then
5319 # Check for the recommended and required versions of MPFR.
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5321 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5323 /* end confdefs.h. */
5330 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5338 if ac_fn_c_try_compile
"$LINENO"; then :
5339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5347 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5355 if ac_fn_c_try_compile
"$LINENO"; then :
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5357 $as_echo "yes" >&6; }
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5360 $as_echo "buggy but acceptable" >&6; }
5362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }; have_gmp
=no
5367 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5370 # Check for the MPC header version.
5371 if test x
"$have_gmp" = xyes
; then
5372 # Check for the recommended and required versions of MPC.
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5374 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5376 /* end confdefs.h. */
5382 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5390 if ac_fn_c_try_compile
"$LINENO"; then :
5391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5392 /* end confdefs.h. */
5398 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5406 if ac_fn_c_try_compile
"$LINENO"; then :
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5408 $as_echo "yes" >&6; }
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5411 $as_echo "buggy but acceptable" >&6; }
5413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416 $as_echo "no" >&6; }; have_gmp
=no
5418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5421 # Now check the MPFR library.
5422 if test x
"$have_gmp" = xyes
; then
5424 LIBS
="$LIBS $gmplibs"
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5426 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5428 /* end confdefs.h. */
5440 mpfr_atan2 (n, n, x, GMP_RNDN);
5441 mpfr_erfc (n, x, GMP_RNDN);
5442 mpfr_subnormalize (x, t, GMP_RNDN);
5446 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5447 mpc_cosh (c, c, MPC_RNDNN);
5448 mpc_pow (c, c, c, MPC_RNDNN);
5449 mpc_acosh (c, c, MPC_RNDNN);
5456 if ac_fn_c_try_link
"$LINENO"; then :
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5458 $as_echo "yes" >&6; }
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5461 $as_echo "no" >&6; }; have_gmp
=no
5463 rm -f core conftest.err conftest.
$ac_objext \
5464 conftest
$ac_exeext conftest.
$ac_ext
5468 CFLAGS
="$saved_CFLAGS"
5470 # The library versions listed in the error message below should match
5471 # the HARD-minimums enforced above.
5472 if test x
$have_gmp != xyes
; then
5473 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
5474 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5475 their locations. Source code for these libraries can be found at
5476 their respective hosting sites as well as at
5477 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5478 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5479 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5480 make sure that you have installed both the libraries and the header
5481 files. They may be located in separate packages." "$LINENO" 5
5485 # Flags needed for both GMP, MPFR and/or MPC.
5492 # Allow host libstdc++ to be specified for static linking with PPL.
5494 # Check whether --with-host-libstdcxx was given.
5495 if test "${with_host_libstdcxx+set}" = set; then :
5496 withval
=$with_host_libstdcxx;
5500 case $with_host_libstdcxx in
5502 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5506 # Linker flags to use for stage1 or when not boostrapping.
5508 # Check whether --with-stage1-ldflags was given.
5509 if test "${with_stage1_ldflags+set}" = set; then :
5510 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5513 stage1_ldflags
=$withval
5521 # Libraries to use for stage1 or when not bootstrapping.
5523 # Check whether --with-stage1-libs was given.
5524 if test "${with_stage1_libs+set}" = set; then :
5525 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5528 stage1_libs
=$withval
5531 stage1_libs
=$with_host_libstdcxx
5536 # Libraries to use for stage2 and later builds. This defaults to the
5537 # argument passed to --with-host-libstdcxx.
5539 # Check whether --with-boot-libs was given.
5540 if test "${with_boot_libs+set}" = set; then :
5541 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5544 poststage1_libs
=$withval
5547 poststage1_libs
=$with_host_libstdcxx
5552 # Linker flags to use for stage2 and later builds.
5554 # Check whether --with-boot-ldflags was given.
5555 if test "${with_boot_ldflags+set}" = set; then :
5556 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5559 poststage1_ldflags
=$withval
5563 # With --enable-build-with-cxx, default to linking libstdc++ and
5564 # libgcc statically. But if the user explicitly specified the
5565 # libraries to use, trust that they are doing what they want.
5566 if test "$ENABLE_BUILD_WITH_CXX" = "yes" -a "$poststage1_libs" = ""; then
5567 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5574 ppllibs
=" -lppl_c -lppl -lgmpxx"
5578 # Check whether --with-ppl was given.
5579 if test "${with_ppl+set}" = set; then :
5584 # Check whether --with-ppl-include was given.
5585 if test "${with_ppl_include+set}" = set; then :
5586 withval
=$with_ppl_include;
5590 # Check whether --with-ppl-lib was given.
5591 if test "${with_ppl_lib+set}" = set; then :
5592 withval
=$with_ppl_lib;
5603 ppllibs
="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
5604 pplinc
="-I$with_ppl/include $pplinc"
5607 if test "x$with_ppl_include" != x
; then
5608 pplinc
="-I$with_ppl_include $pplinc"
5610 if test "x$with_ppl_lib" != x
; then
5611 ppllibs
="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
5613 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5614 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"' -lppl_c -lppl -lgmpxx '
5615 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5616 enable_ppl_version_check
=no
5619 # Check whether --enable-ppl-version-check was given.
5620 if test "${enable_ppl_version_check+set}" = set; then :
5621 enableval
=$enable_ppl_version_check; ENABLE_PPL_CHECK
=$enableval
5623 ENABLE_PPL_CHECK
=yes
5627 if test "x$with_ppl" != "xno" -a "${ENABLE_PPL_CHECK}" = "yes"; then
5628 saved_CFLAGS
="$CFLAGS"
5629 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 (or later revision) of PPL" >&5
5631 $as_echo_n "checking for version 0.10 (or later revision) of PPL... " >&6; }
5632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h. */
5639 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 10
5647 if ac_fn_c_try_compile
"$LINENO"; then :
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5649 $as_echo "yes" >&6; }
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5652 $as_echo "no" >&6; }; ppllibs
= ; pplinc
= ; with_ppl
=no
5654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5655 CFLAGS
="$saved_CFLAGS"
5658 # Flags needed for PPL
5667 # Check whether --with-cloog was given.
5668 if test "${with_cloog+set}" = set; then :
5669 withval
=$with_cloog;
5673 # Check whether --with-cloog-include was given.
5674 if test "${with_cloog_include+set}" = set; then :
5675 withval
=$with_cloog_include;
5679 # Check whether --with-cloog-lib was given.
5680 if test "${with_cloog_lib+set}" = set; then :
5681 withval
=$with_cloog_lib;
5685 # Check whether --enable-cloog-backend was given.
5686 if test "${enable_cloog_backend+set}" = set; then :
5687 enableval
=$enable_cloog_backend; if test "x${enableval}" = "xisl"; then
5689 elif test "x${enableval}" = "xppl"; then
5692 cloog_backend
=ppl-legacy
5695 cloog_backend
=ppl-legacy
5698 # Check whether --enable-cloog-version-check was given.
5699 if test "${enable_cloog_version_check+set}" = set; then :
5700 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5702 ENABLE_CLOOG_CHECK
=yes
5706 # Initialize clooglibs and clooginc.
5715 clooglibs
="-L$with_cloog/lib"
5716 clooginc
="-I$with_cloog/include"
5719 if test "x${with_cloog_include}" != x
; then
5720 clooginc
="-I$with_cloog_include"
5722 if test "x${with_cloog_lib}" != x
; then
5723 clooglibs
="-L$with_cloog_lib"
5730 if test "x$with_ppl" = "xno"; then
5733 if test "x${with_cloog}" = x
&& test "x${with_cloog_include}" = x \
5734 && test "x${with_cloog_lib}" = x
&& test -d ${srcdir}/cloog
; then
5735 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5736 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
5738 if test "x$with_cloog" != "xno"; then
5742 _cloog_saved_CFLAGS
=$CFLAGS
5743 _cloog_saved_CPPFLAGS
=$CPPFLAGS
5744 _cloog_saved_LDFLAGS
=$LDFLAGS
5745 _cloog_saved_LIBS
=$LIBS
5747 _cloogorginc
="-DCLOOG_INT_GMP -DCLOOG_ORG"
5749 CFLAGS
="${CFLAGS} ${clooginc} ${gmpinc}"
5750 CPPFLAGS
="${CPPFLAGS} ${_cloogorginc}"
5751 LDFLAGS
="${LDFLAGS} ${clooglibs}"
5753 case $cloog_backend in
5755 CFLAGS
="${CFLAGS} ${pplinc}"
5756 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL Legacy" >&5
5758 $as_echo_n "checking for installed CLooG PPL Legacy... " >&6; }
5759 if test "${gcc_cv_cloog_type+set}" = set; then :
5760 $as_echo_n "(cached) " >&6
5762 LIBS
="-lcloog ${_cloog_saved_LIBS}"
5763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5764 /* end confdefs.h. */
5765 #include "cloog/cloog.h"
5769 #ifndef CLOOG_PPL_BACKEND
5776 if ac_fn_c_try_link
"$LINENO"; then :
5777 gcc_cv_cloog_type
="PPL Legacy"
5779 gcc_cv_cloog_type
=no
5781 rm -f core conftest.err conftest.
$ac_objext \
5782 conftest
$ac_exeext conftest.
$ac_ext
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5785 $as_echo "$gcc_cv_cloog_type" >&6; }
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG ISL" >&5
5789 $as_echo_n "checking for installed CLooG ISL... " >&6; }
5790 if test "${gcc_cv_cloog_type+set}" = set; then :
5791 $as_echo_n "(cached) " >&6
5793 LIBS
="-lcloog-isl ${_cloog_saved_LIBS}"
5794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5795 /* end confdefs.h. */
5796 #include "cloog/cloog.h"
5805 if ac_fn_c_try_link
"$LINENO"; then :
5806 gcc_cv_cloog_type
="ISL"
5808 gcc_cv_cloog_type
=no
5810 rm -f core conftest.err conftest.
$ac_objext \
5811 conftest
$ac_exeext conftest.
$ac_ext
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5814 $as_echo "$gcc_cv_cloog_type" >&6; }
5817 CFLAGS
="${CFLAGS} ${pplinc}"
5818 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL" >&5
5820 $as_echo_n "checking for installed CLooG PPL... " >&6; }
5821 if test "${gcc_cv_cloog_type+set}" = set; then :
5822 $as_echo_n "(cached) " >&6
5824 LIBS
="-lcloog-ppl ${_cloog_saved_LIBS}"
5825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5826 /* end confdefs.h. */
5827 #include "cloog/cloog.h"
5828 #include "cloog/ppl/cloog.h"
5837 if ac_fn_c_try_link
"$LINENO"; then :
5838 gcc_cv_cloog_type
="PPL"
5840 gcc_cv_cloog_type
=no
5842 rm -f core conftest.err conftest.
$ac_objext \
5843 conftest
$ac_exeext conftest.
$ac_ext
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5846 $as_echo "$gcc_cv_cloog_type" >&6; }
5849 gcc_cv_cloog_type
=""
5852 case $gcc_cv_cloog_type in
5854 clooginc
="${clooginc}"
5855 clooglibs
="${clooglibs} -lcloog"
5859 clooginc
="${clooginc} ${_cloogorginc}"
5860 clooglibs
="${clooglibs} -lcloog-isl"
5864 clooginc
="${clooginc} ${_cloogorginc}"
5865 clooglibs
="${clooglibs} -lcloog-ppl"
5875 LIBS
=$_cloog_saved_LIBS
5876 CFLAGS
=$_cloog_saved_CFLAGS
5877 CPPFLAGS
=$_cloog_saved_CPPFLAGS
5878 LDFLAGS
=$_cloog_saved_LDFLAGS
5884 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5885 _cloog_saved_CFLAGS
=$CFLAGS
5886 _cloog_saved_LDFLAGS
=$LDFLAGS
5888 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
5889 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
5891 if test "${cloog_org}" = yes ; then
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.14.0 of CLooG" >&5
5893 $as_echo_n "checking for version 0.14.0 of CLooG... " >&6; }
5894 if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
5895 $as_echo_n "(cached) " >&6
5897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5898 /* end confdefs.h. */
5899 #include "cloog/cloog.h"
5903 #if CLOOG_VERSION_MAJOR != 0 \
5904 || CLOOG_VERSION_MINOR != 14 \
5905 || CLOOG_VERSION_REVISION < 0
5912 if ac_fn_c_try_compile
"$LINENO"; then :
5913 gcc_cv_cloog_ct_0_14_0
=yes
5915 gcc_cv_cloog_ct_0_14_0
=no
5917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_14_0" >&5
5920 $as_echo "$gcc_cv_cloog_ct_0_14_0" >&6; }
5921 elif test "${cloog_org}" = no
; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
5923 $as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
5924 if test "${gcc_cv_cloog_ct_0_15_5+set}" = set; then :
5925 $as_echo_n "(cached) " >&6
5927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5928 /* end confdefs.h. */
5929 #include "cloog/cloog.h"
5933 #if CLOOG_VERSION_MAJOR != 0 \
5934 || CLOOG_VERSION_MINOR != 15 \
5935 || CLOOG_VERSION_REVISION < 5
5942 if ac_fn_c_try_compile
"$LINENO"; then :
5943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5944 /* end confdefs.h. */
5945 #include "cloog/cloog.h"
5949 #if CLOOG_VERSION_MAJOR != 0 \
5950 || CLOOG_VERSION_MINOR != 15 \
5951 || CLOOG_VERSION_REVISION < 9
5958 if ac_fn_c_try_compile
"$LINENO"; then :
5959 gcc_cv_cloog_ct_0_15_5
=yes
5961 gcc_cv_cloog_ct_0_15_5
="buggy but acceptable"
5963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5965 gcc_cv_cloog_ct_0_15_5
=no
5967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_15_5" >&5
5970 $as_echo "$gcc_cv_cloog_ct_0_15_5" >&6; }
5973 CFLAGS
=$_cloog_saved_CFLAGS
5974 LDFLAGS
=$_cloog_saved_LDFLAGS
5983 if test "x${with_cloog}" != x \
5984 ||
test "x${with_cloog_include}" != x \
5985 ||
test "x${with_cloog_lib}" != x
; then
5986 graphite_requested
=yes
5988 graphite_requested
=no
5993 if test "${gcc_cv_cloog_ct_0_14_0}" = no \
5994 ||
test "${gcc_cv_cloog_rt_0_14_0}" = no \
5995 ||
test "${gcc_cv_cloog_ct_0_15_5}" = no
; then
6000 if test "${graphite_requested}" = yes \
6001 && test "x${clooglibs}" = x \
6002 && test "x${clooginc}" = x
; then
6004 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6010 # Check for LTO support.
6011 # Check whether --enable-lto was given.
6012 if test "${enable_lto+set}" = set; then :
6013 enableval
=$enable_lto; enable_lto
=$enableval
6015 enable_lto
=yes; default_enable_lto
=yes
6024 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6025 *-msdosdjgpp* |
*-netware* |
*-vms* |
*-wince* |
*-*-pe* | \
6026 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6034 if test $target_elf = yes; then :
6035 # ELF platforms build the lto-plugin always.
6036 build_lto_plugin
=yes
6039 if test x
"$default_enable_lto" = x
"yes" ; then
6041 *-apple-darwin* |
*-cygwin* |
*-mingw*) ;;
6042 # On other non-ELF platforms, LTO has yet to be validated.
6046 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6047 # It would also be nice to check the binutils support, but we don't
6048 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6049 # warn during gcc/ subconfigure; unless you're bootstrapping with
6050 # -flto it won't be needed until after installation anyway.
6052 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6053 *) if test x
"$enable_lto" = x
"yes"; then
6054 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6059 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6060 # Build it unless LTO was explicitly disabled.
6062 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6070 # By default, C is the only stage 1 language.
6071 stage1_languages
=,c
,
6073 # Target libraries that we bootstrap.
6074 bootstrap_target_libs
=,target-libgcc
,
6076 # Figure out what language subdirectories are present.
6077 # Look if the user specified --enable-languages="..."; if not, use
6078 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6080 # NB: embedded tabs in this IF block -- do not untabify
6081 if test -d ${srcdir}/gcc
; then
6082 if test x
"${enable_languages+set}" != xset
; then
6083 if test x
"${LANGUAGES+set}" = xset
; then
6084 enable_languages
="${LANGUAGES}"
6085 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6087 enable_languages
=all
6090 if test x
"${enable_languages}" = x ||
6091 test x
"${enable_languages}" = xyes
;
6093 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6097 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6099 # 'f95' is the old name for the 'fortran' language. We issue a warning
6100 # and make the substitution.
6101 case ,${enable_languages}, in
6103 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6104 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6108 # First scan to see if an enabled language requires some other language.
6109 # We assume that a given config-lang.in will list all the language
6110 # front ends it requires, even if some are required indirectly.
6111 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6112 case ${lang_frag} in
6114 # The odd quoting in the next line works around
6115 # an apparent bug in bash 1.12 on linux.
6116 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6118 # From the config-lang.in, get $language, $lang_requires
6122 for other
in ${lang_requires} ; do
6123 case ,${enable_languages}, in
6127 echo " \`$other' language required by \`$language'; enabling" 1>&2
6128 enable_languages
="${enable_languages},${other}"
6136 new_enable_languages
=,c
,
6138 # If LTO is enabled, add the LTO front end.
6139 extra_host_libiberty_configure_flags
=
6140 if test "$enable_lto" = "yes" ; then
6141 case ,${enable_languages}, in
6143 *) enable_languages
="${enable_languages},lto" ;;
6145 if test "${build_lto_plugin}" = "yes" ; then
6146 configdirs
="$configdirs lto-plugin"
6147 extra_host_libiberty_configure_flags
=--enable-shared
6152 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6153 potential_languages
=,c
,
6155 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6156 case ${lang_frag} in
6158 # The odd quoting in the next line works around
6159 # an apparent bug in bash 1.12 on linux.
6160 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6162 # From the config-lang.in, get $language, $target_libs,
6163 # $lang_dirs, $boot_language, and $build_by_default
6169 build_by_default
=yes
6171 if test x
${language} = x
; then
6172 echo "${lang_frag} doesn't set \$language." 1>&2
6176 if test "$language" = "c++" \
6177 && test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
6181 case ,${enable_languages}, in
6183 # Language was explicitly selected; include it.
6187 # 'all' was selected, select it if it is a default language
6188 add_this_lang
=${build_by_default}
6195 # Disable languages that need other directories if these aren't available.
6196 for i
in $subdir_requires; do
6197 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6198 case ,${enable_languages}, in
6200 # Specifically requested language; tell them.
6201 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6205 add_this_lang
=unsupported
6210 # Disable Ada if no preexisting GNAT is available.
6211 case ,${enable_languages},:${language}:${have_gnat} in
6212 *,${language},*:ada
:no
)
6213 # Specifically requested language; tell them.
6214 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6218 add_this_lang
=unsupported
6222 # Disable a language that is unsupported by the target.
6223 case " $unsupported_languages " in
6225 add_this_lang
=unsupported
6229 case $add_this_lang in
6231 # Remove language-dependent dirs.
6232 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
6235 # Remove language-dependent dirs; still show language as supported.
6236 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
6237 potential_languages
="${potential_languages}${language},"
6240 new_enable_languages
="${new_enable_languages}${language},"
6241 potential_languages
="${potential_languages}${language},"
6242 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6243 case "${boot_language}:,$enable_stage1_languages," in
6244 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6245 # Add to (comma-separated) list of stage 1 languages.
6246 case ",$stage1_languages," in
6247 *,$language,* |
,yes, |
,all
,) ;;
6248 *) stage1_languages
="${stage1_languages}${language}," ;;
6250 # We need to bootstrap any supporting libraries.
6251 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6260 # Check whether --enable-stage1-languages was given.
6261 if test "${enable_stage1_languages+set}" = set; then :
6262 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6264 # Set it to something that will have no effect in the loop below
6265 enable_stage1_languages
=c
;;
6267 enable_stage1_languages
=`echo $new_enable_languages | \
6268 sed -e "s/^,//" -e "s/,$//" ` ;;
6270 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6271 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6274 # Add "good" languages from enable_stage1_languages to stage1_languages,
6275 # while "bad" languages go in missing_languages. Leave no duplicates.
6276 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6277 case $potential_languages in
6279 case $stage1_languages in
6281 *) stage1_languages
="$stage1_languages$i," ;;
6284 case $missing_languages in
6286 *) missing_languages
="$missing_languages$i," ;;
6293 # Remove leading/trailing commas that were added for simplicity
6294 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6295 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6296 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6297 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6299 if test "x$missing_languages" != x
; then
6301 The following requested languages could not be built: ${missing_languages}
6302 Supported languages are: ${potential_languages}" "$LINENO" 5
6304 if test "x$new_enable_languages" != "x$enable_languages"; then
6305 echo The following languages will be built
: ${new_enable_languages}
6306 enable_languages
="$new_enable_languages"
6310 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6313 # Handle --disable-<component> generically.
6314 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6315 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6316 varname
=`echo $dirname | sed -e s/+/_/g`
6317 if eval test x\
${enable_${varname}} "=" xno
; then
6318 noconfigdirs
="$noconfigdirs $dir"
6322 # Check for Boehm's garbage collector
6323 # Check whether --enable-objc-gc was given.
6324 if test "${enable_objc_gc+set}" = set; then :
6325 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6326 *,objc
,*:*:yes:*target-boehm-gc
*)
6327 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6333 # Make sure we only build Boehm's garbage collector if required.
6334 case ,${enable_languages},:${enable_objc_gc} in
6336 # Keep target-boehm-gc if requested for Objective-C.
6339 # Otherwise remove target-boehm-gc depending on target-libjava.
6340 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6341 noconfigdirs
="$noconfigdirs target-boehm-gc"
6346 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6347 # $build_configdirs and $target_configdirs.
6348 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6351 for dir
in .
$skipdirs $noconfigdirs ; do
6352 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6353 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6354 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6355 if test -r $srcdir/$dirname/configure
; then
6356 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6359 notsupp
="$notsupp $dir"
6363 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6364 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6365 if test -r $srcdir/$dirname/configure
; then
6366 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6369 notsupp
="$notsupp $dir"
6373 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6374 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6375 if test -r $srcdir/$dirname/configure
; then
6376 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6379 notsupp
="$notsupp $dir"
6385 # Sometimes the tools are distributed with libiberty but with no other
6386 # libraries. In that case, we don't want to build target-libiberty.
6387 # Don't let libgcc imply libiberty either.
6388 if test -n "${target_configdirs}" ; then
6391 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
6392 if test "$i" = "libgcc"; then
6393 libgcc
=target-libgcc
6394 elif test "$i" != "libiberty" ; then
6395 if test -r $srcdir/$i/configure
; then
6401 if test -z "${others}" ; then
6402 target_configdirs
=$libgcc
6406 # Quietly strip out all directories which aren't configurable in this tree.
6407 # This relies on all configurable subdirectories being autoconfiscated, which
6409 build_configdirs_all
="$build_configdirs"
6411 for i
in ${build_configdirs_all} ; do
6412 j
=`echo $i | sed -e s/build-//g`
6413 if test -f ${srcdir}/$j/configure
; then
6414 build_configdirs
="${build_configdirs} $i"
6418 configdirs_all
="$configdirs"
6420 for i
in ${configdirs_all} ; do
6421 if test -f ${srcdir}/$i/configure
; then
6422 configdirs
="${configdirs} $i"
6426 target_configdirs_all
="$target_configdirs"
6428 for i
in ${target_configdirs_all} ; do
6429 j
=`echo $i | sed -e s/target-//g`
6430 if test -f ${srcdir}/$j/configure
; then
6431 target_configdirs
="${target_configdirs} $i"
6435 # Produce a warning message for the subdirs we can't configure.
6436 # This isn't especially interesting in the Cygnus tree, but in the individual
6437 # FSF releases, it's important to let people know when their machine isn't
6438 # supported by the one or two programs in a package.
6440 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6441 # If $appdirs is non-empty, at least one of those directories must still
6442 # be configured, or we error out. (E.g., if the gas release supports a
6443 # specified target in some subdirs but not the gas subdir, we shouldn't
6444 # pretend that all is well.)
6445 if test -n "$appdirs" ; then
6446 for dir
in $appdirs ; do
6447 if test -r $dir/Makefile.
in ; then
6448 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6452 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6458 if test -n "$appdirs" ; then
6459 echo "*** This configuration is not supported by this package." 1>&2
6463 # Okay, some application will build, or we don't care to check. Still
6464 # notify of subdirs not getting built.
6465 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6466 echo " ${notsupp}" 1>&2
6467 echo " (Any other directories should still work fine.)" 1>&2
6475 # To find our prefix, in gcc_cv_tool_prefix.
6477 # The user is always right.
6478 if test "${PATH_SEPARATOR+set}" != set; then
6479 echo "#! /bin/sh" >conf$$.sh
6480 echo "exit 0" >>conf$$.sh
6482 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6492 if test "x$exec_prefix" = xNONE
; then
6493 if test "x$prefix" = xNONE
; then
6494 gcc_cv_tool_prefix
=$ac_default_prefix
6496 gcc_cv_tool_prefix
=$prefix
6499 gcc_cv_tool_prefix
=$exec_prefix
6502 # If there is no compiler in the tree, use the PATH only. In any
6503 # case, if there is no compiler in the tree nobody should use
6504 # AS_FOR_TARGET and LD_FOR_TARGET.
6505 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6506 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6507 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6508 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6509 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6510 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6511 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6512 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6517 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6518 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6526 # Check whether --with-build-sysroot was given.
6527 if test "${with_build_sysroot+set}" = set; then :
6528 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6529 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6532 SYSROOT_CFLAGS_FOR_TARGET
=
6538 # Check whether --with-debug-prefix-map was given.
6539 if test "${with_debug_prefix_map+set}" = set; then :
6540 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6541 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6542 for debug_map
in $withval; do
6543 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6547 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6552 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6553 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6554 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6555 # We want to ensure that TARGET libraries (which we know are built with
6556 # gcc) are built with "-O2 -g", so include those options when setting
6557 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6558 if test "x$CFLAGS_FOR_TARGET" = x
; then
6559 CFLAGS_FOR_TARGET
=$CFLAGS
6562 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
6565 *" -g "* |
*" -g3 "*) ;;
6566 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
6571 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6572 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6573 case " $CXXFLAGS " in
6575 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
6577 case " $CXXFLAGS " in
6578 *" -g "* |
*" -g3 "*) ;;
6579 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
6584 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6585 # the named directory are copied to $(tooldir)/sys-include.
6586 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6587 if test x
${is_cross_compiler} = xno
; then
6588 echo 1>&2 '***' --with-headers is only supported when cross compiling
6591 if test x
"${with_headers}" != xyes
; then
6592 x
=${gcc_cv_tool_prefix}
6593 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6597 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6598 # the name directories are copied to $(tooldir)/lib. Multiple directories
6600 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6601 if test x
${is_cross_compiler} = xno
; then
6602 echo 1>&2 '***' --with-libs is only supported when cross compiling
6605 if test x
"${with_libs}" != xyes
; then
6606 # Copy the libraries in reverse order, so that files in the first named
6607 # library override files in subsequent libraries.
6608 x
=${gcc_cv_tool_prefix}
6609 for l
in ${with_libs}; do
6610 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6615 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6617 # This is done by determining whether or not the appropriate directory
6618 # is available, and by checking whether or not specific configurations
6619 # have requested that this magic not happen.
6621 # The command line options always override the explicit settings in
6622 # configure.in, and the settings in configure.in override this magic.
6624 # If the default for a toolchain is to use GNU as and ld, and you don't
6625 # want to do that, then you should use the --without-gnu-as and
6626 # --without-gnu-ld options for the configure script. Similarly, if
6627 # the default is to use the included zlib and you don't want to do that,
6628 # you should use the --with-system-zlib option for the configure script.
6630 if test x
${use_gnu_as} = x
&&
6631 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6633 extra_host_args
="$extra_host_args --with-gnu-as"
6636 if test x
${use_gnu_ld} = x
&&
6637 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6639 extra_host_args
="$extra_host_args --with-gnu-ld"
6642 if test x
${use_included_zlib} = x
&&
6643 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6646 with_system_zlib
=yes
6647 extra_host_args
="$extra_host_args --with-system-zlib"
6650 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6651 # can detect this case.
6653 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6655 extra_host_args
="$extra_host_args --with-newlib"
6658 # Handle ${copy_dirs}
6659 set fnord
${copy_dirs}
6661 while test $# != 0 ; do
6662 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6665 echo Copying
$1 to
$2
6667 # Use the install script to create the directory and all required
6668 # parent directories.
6669 if test -d $2 ; then
6673 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6676 # Copy the directory, assuming we have tar.
6677 # FIXME: Should we use B in the second tar? Not all systems support it.
6678 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6680 # It is the responsibility of the user to correctly adjust all
6681 # symlinks. If somebody can figure out how to handle them correctly
6682 # here, feel free to add the code.
6689 # Determine a target-dependent exec_prefix that the installed
6690 # gcc will search in. Keep this list sorted by triplet, with
6691 # the *-*-osname triplets last.
6695 md_exec_prefix
=/gnu
/lib
/gcc-lib
6697 i
[34567]86-pc-msdosdjgpp*)
6698 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6700 i
[34567]86-*-sco3.2v5
*)
6701 if test $with_gnu_as = yes; then
6702 md_exec_prefix
=/usr
/gnu
/bin
6704 md_exec_prefix
=/usr
/ccs
/bin
/elf
6709 powerpc-
*-chorusos* | \
6710 powerpc
*-*-eabi* | \
6711 powerpc
*-*-sysv* | \
6712 powerpc
*-*-kaos* | \
6714 md_exec_prefix
=/usr
/ccs
/bin
6719 md_exec_prefix
=/usr
/ccs
/bin
6734 md_exec_prefix
=/usr
/ccs
/bin
6738 extra_arflags_for_target
=
6739 extra_nmflags_for_target
=
6740 extra_ranlibflags_for_target
=
6741 target_makefile_frag
=/dev
/null
6744 target_makefile_frag
="config/mt-mep"
6747 target_makefile_frag
="config/mt-spu"
6750 target_makefile_frag
="config/mt-sde"
6752 mipsisa
*-*-elfoabi*)
6753 target_makefile_frag
="config/mt-mips-elfoabi"
6755 mips
*-*-*linux
* | mips
*-*-gnu*)
6756 target_makefile_frag
="config/mt-mips-gnu"
6759 target_makefile_frag
="config/mt-netware"
6761 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6762 target_makefile_frag
="config/mt-gnu"
6764 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6765 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6766 # commands to handle both 32-bit and 64-bit objects. These flags are
6767 # harmless if we're using GNU nm or ar.
6768 extra_arflags_for_target
=" -X32_64"
6769 extra_nmflags_for_target
=" -B -X32_64"
6772 # ranlib before Darwin10 requires the -c flag to look at common symbols.
6773 extra_ranlibflags_for_target
=" -c"
6775 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
6776 target_makefile_frag
="config/mt-wince"
6780 alphaieee_frag
=/dev
/null
6783 # This just makes sure to use the -mieee option to build target libs.
6784 # This should probably be set individually by each library.
6785 alphaieee_frag
="config/mt-alphaieee"
6789 # If --enable-target-optspace always use -Os instead of -O2 to build
6790 # the target libraries, similarly if it is not specified, use -Os
6791 # on selected platforms.
6792 ospace_frag
=/dev
/null
6793 case "${enable_target_optspace}:${target}" in
6795 ospace_frag
="config/mt-ospace"
6798 ospace_frag
="config/mt-d30v"
6800 :m32r-
* |
:d10v-
* |
:fr30-
*)
6801 ospace_frag
="config/mt-ospace"
6806 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6810 # Default to using --with-stabs for certain targets.
6811 if test x
${with_stabs} = x
; then
6815 mips
*-*-* | alpha
*-*-osf*)
6817 extra_host_args
="${extra_host_args} --with-stabs"
6822 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6823 # them automatically.
6826 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6830 # Some systems (e.g., one of the i386-aix systems the gas testers are
6831 # using) don't handle "\$" correctly, so don't use it here.
6832 tooldir
='${exec_prefix}'/${target_noncanonical}
6833 build_tooldir
=${tooldir}
6835 # Create a .gdbinit file which runs the one in srcdir
6836 # and tells GDB to look there for source files.
6838 if test -r ${srcdir}/.gdbinit
; then
6841 *) cat > .
/.gdbinit
<<EOF
6845 source ${srcdir}/.gdbinit
6851 # Make sure that the compiler is able to generate an executable. If it
6852 # can't, we are probably in trouble. We don't care whether we can run the
6853 # executable--we might be using a cross compiler--we only care whether it
6854 # can be created. At this point the main configure script has set CC.
6856 echo "int main () { return 0; }" > conftest.c
6857 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6858 if test $?
= 0 ; then
6859 if test -s conftest ||
test -s conftest.exe
; then
6865 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6866 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6873 # The Solaris /usr/ucb/cc compiler does not appear to work.
6875 sparc-sun-solaris2
*)
6876 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
6877 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6879 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
6880 if test -d /opt
/cygnus
/bin
; then
6881 if test "$could_use" = "" ; then
6882 could_use
="/opt/cygnus/bin"
6884 could_use
="$could_use or /opt/cygnus/bin"
6887 if test "$could_use" = "" ; then
6888 echo "Warning: compilation may fail because you're using"
6889 echo "/usr/ucb/cc. You should change your PATH or CC "
6890 echo "variable and rerun configure."
6892 echo "Warning: compilation may fail because you're using"
6893 echo "/usr/ucb/cc, when you should use the C compiler from"
6894 echo "$could_use. You should change your"
6895 echo "PATH or CC variable and rerun configure."
6901 # Decide which environment variable is used to find dynamic libraries.
6903 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6904 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6905 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6906 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6909 # On systems where the dynamic library environment variable is PATH,
6910 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6911 # built executables to PATH.
6912 if test "$RPATH_ENVVAR" = PATH
; then
6913 GCC_SHLIB_SUBDIR
=/shlib
6918 # Record target_configdirs and the configure arguments for target and
6919 # build configuration in Makefile.
6920 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6921 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6923 # If we are building libgomp, bootstrap it.
6924 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6925 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6928 # Determine whether gdb needs tk/tcl or not.
6929 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6930 # and in that case we want gdb to be built without tk. Ugh!
6931 # In fact I believe gdb is the *only* package directly dependent on tk,
6932 # so we should be able to put the 'maybe's in unconditionally and
6933 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6934 # 100% sure that that's safe though.
6936 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6937 case "$enable_gdbtk" in
6941 GDB_TK
="${gdb_tk}" ;;
6943 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6944 # distro. Eventually someone will fix this and move Insight, nee
6945 # gdbtk to a separate directory.
6946 if test -d ${srcdir}/gdb
/gdbtk
; then
6953 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6954 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6956 # Strip out unwanted targets.
6958 # While at that, we remove Makefiles if we were started for recursive
6959 # configuration, so that the top-level Makefile reconfigures them,
6960 # like we used to do when configure itself was recursive.
6962 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6963 # but now we're fixing up the Makefile ourselves with the additional
6964 # commands passed to AC_CONFIG_FILES. Use separate variables
6965 # extrasub-{build,host,target} not because there is any reason to split
6966 # the substitutions up that way, but only to remain below the limit of
6967 # 99 commands in a script, for HP-UX sed.
6968 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6970 # Check whether --enable-bootstrap was given.
6971 if test "${enable_bootstrap+set}" = set; then :
6972 enableval
=$enable_bootstrap;
6974 enable_bootstrap
=default
6978 # Issue errors and warnings for invalid/strange bootstrap combinations.
6979 case "$configdirs" in
6980 *gcc
*) have_compiler
=yes ;;
6981 *) have_compiler
=no
;;
6984 case "$have_compiler:$host:$target:$enable_bootstrap" in
6987 # Default behavior. Enable bootstrap if we have a compiler
6988 # and we are in a native configuration.
6989 yes:$build:$build:default
)
6990 enable_bootstrap
=yes ;;
6993 enable_bootstrap
=no
;;
6995 # We have a compiler and we are in a native configuration, bootstrap is ok
6996 yes:$build:$build:yes)
6999 # Other configurations, but we have a compiler. Assume the user knows
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
7003 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
7006 # No compiler: if they passed --enable-bootstrap explicitly, fail
7008 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
7010 # Fail if wrong command line
7012 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
7016 case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
7019 as_fn_error
"bootstrapping with --enable-build-with-cxx requires c++ in --enable-languages" "$LINENO" 5
7023 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7024 yes:yes:*\ gold\
*:*,c
++,*) ;;
7025 yes:yes:*\ gold\
*:*)
7026 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7030 # Adjust the toplevel makefile according to whether bootstrap was selected.
7031 case $enable_bootstrap in
7033 bootstrap_suffix
=bootstrap
7034 BUILD_CONFIG
=bootstrap-debug
7037 bootstrap_suffix
=no-bootstrap
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7043 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7046 # Check whether --with-build-config was given.
7047 if test "${with_build_config+set}" = set; then :
7048 withval
=$with_build_config; case $with_build_config in
7049 yes) with_build_config
= ;;
7050 no
) with_build_config
= BUILD_CONFIG
= ;;
7055 if test "x${with_build_config}" != x
; then
7056 BUILD_CONFIG
=$with_build_config
7058 case $BUILD_CONFIG in
7060 if echo "int f (void) { return 0; }" > conftest.c
&&
7061 ${CC} -c conftest.c
&&
7062 mv conftest.o conftest.o.g0
&&
7063 ${CC} -c -g conftest.c
&&
7064 mv conftest.o conftest.o.g
&&
7065 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7070 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7075 $as_echo "$BUILD_CONFIG" >&6; }
7079 for module
in ${build_configdirs} ; do
7080 if test -z "${no_recursion}" \
7081 && test -f ${build_subdir}/${module}/Makefile
; then
7082 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7083 rm -f ${build_subdir}/${module}/Makefile
7085 extrasub_build
="$extrasub_build
7086 /^@if build-$module\$/d
7087 /^@endif build-$module\$/d
7088 /^@if build-$module-$bootstrap_suffix\$/d
7089 /^@endif build-$module-$bootstrap_suffix\$/d"
7092 for module
in ${configdirs} ; do
7093 if test -z "${no_recursion}"; then
7094 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7095 if test -f ${file}; then
7096 echo 1>&2 "*** removing ${file} to force reconfigure"
7101 extrasub_host
="$extrasub_host
7103 /^@endif $module\$/d
7104 /^@if $module-$bootstrap_suffix\$/d
7105 /^@endif $module-$bootstrap_suffix\$/d"
7108 for module
in ${target_configdirs} ; do
7109 if test -z "${no_recursion}" \
7110 && test -f ${target_subdir}/${module}/Makefile
; then
7111 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7112 rm -f ${target_subdir}/${module}/Makefile
7115 # We only bootstrap target libraries listed in bootstrap_target_libs.
7116 case $bootstrap_target_libs in
7117 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7118 *) target_bootstrap_suffix
=no-bootstrap
;;
7121 extrasub_target
="$extrasub_target
7122 /^@if target-$module\$/d
7123 /^@endif target-$module\$/d
7124 /^@if target-$module-$target_bootstrap_suffix\$/d
7125 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7128 # Do the final fixup along with target modules.
7129 extrasub_target
="$extrasub_target
7130 /^@if /,/^@endif /d"
7132 # Create the serialization dependencies. This uses a temporary file.
7134 # Check whether --enable-serial-configure was given.
7135 if test "${enable_serial_configure+set}" = set; then :
7136 enableval
=$enable_serial_configure;
7140 case ${enable_serial_configure} in
7142 enable_serial_build_configure
=yes
7143 enable_serial_host_configure
=yes
7144 enable_serial_target_configure
=yes
7148 # These force 'configure's to be done one at a time, to avoid problems
7149 # with contention over a shared config.cache.
7151 echo '# serdep.tmp' > serdep.tmp
7153 test "x${enable_serial_build_configure}" = xyes
&&
7154 for item
in ${build_configdirs} ; do
7157 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7162 test "x${enable_serial_host_configure}" = xyes
&&
7163 for item
in ${configdirs} ; do
7166 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7171 test "x${enable_serial_target_configure}" = xyes
&&
7172 for item
in ${target_configdirs} ; do
7175 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7179 serialization_dependencies
=serdep.tmp
7182 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7183 # target, nonopt, and variable assignments. These are the ones we
7184 # might not want to pass down to subconfigures. The exception being
7185 # --cache-file=/dev/null, which is used to turn off the use of cache
7186 # files altogether, and which should be passed on to subconfigures.
7187 # Also strip program-prefix, program-suffix, and program-transform-name,
7188 # so that we can pass down a consistent program-transform-name.
7192 eval "set -- $ac_configure_args"
7195 if test X
"$skip_next" = X
"yes"; then
7199 if test X
"$keep_next" = X
"yes"; then
7202 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7204 baseargs
="$baseargs '$ac_arg'"
7209 # Handle separated arguments. Based on the logic generated by
7212 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7213 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7214 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7215 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7227 --cache-file=/dev
/null | \
7228 -cache-file=/dev
/null
)
7229 # Handled here to avoid the test to skip args below.
7230 baseargs
="$baseargs '$ac_arg'"
7231 # Assert: $separate_arg should always be no.
7232 keep_next
=$separate_arg
7248 -program-prefix* | \
7249 -program-suffix* | \
7250 -program-transform-name* )
7251 skip_next
=$separate_arg
7255 # An option. Add it.
7258 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7260 baseargs
="$baseargs '$ac_arg'"
7261 keep_next
=$separate_arg
7264 # Either a variable assignment, or a nonopt (triplet). Don't
7265 # pass it down; let the Makefile handle this.
7270 # Remove the initial space we just introduced and, as these will be
7271 # expanded by make, quote '$'.
7272 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7274 # Add in --program-transform-name, after --program-prefix and
7275 # --program-suffix have been applied to it. Autoconf has already
7276 # doubled dollar signs and backslashes in program_transform_name; we want
7277 # the backslashes un-doubled, and then the entire thing wrapped in single
7278 # quotes, because this will be expanded first by make and then by the shell.
7279 # Also, because we want to override the logic in subdir configure scripts to
7280 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7281 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7282 ${program_transform_name}
7284 gcc_transform_name
=`cat conftestsed.out`
7285 rm -f conftestsed.out
7286 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7287 if test "$silent" = yes; then
7288 baseargs
="$baseargs --silent"
7290 baseargs
="$baseargs --disable-option-checking"
7292 # Record and document user additions to sub configure arguments.
7297 # For the build-side libraries, we just need to pretend we're native,
7298 # and not use the same cache file. Multilibs are neither needed nor
7300 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7302 # For host modules, accept cache file option, or specification as blank.
7303 case "${cache_file}" in
7305 cache_file_option
="" ;;
7306 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7307 cache_file_option
="--cache-file=${cache_file}" ;;
7309 cache_file_option
="--cache-file=../${cache_file}" ;;
7312 # Host dirs don't like to share a cache file either, horribly enough.
7313 # This seems to be due to autoconf 2.5x stupidity.
7314 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7316 target_configargs
="$target_configargs ${baseargs}"
7318 # Passing a --with-cross-host argument lets the target libraries know
7319 # whether they are being built with a cross-compiler or being built
7320 # native. However, it would be better to use other mechanisms to make the
7321 # sorts of decisions they want to make on this basis. Please consider
7322 # this option to be deprecated. FIXME.
7323 if test x
${is_cross_compiler} = xyes
; then
7324 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7327 # Default to --enable-multilib.
7328 if test x
${enable_multilib} = x
; then
7329 target_configargs
="--enable-multilib ${target_configargs}"
7332 # Pass --with-newlib if appropriate. Note that target_configdirs has
7333 # changed from the earlier setting of with_newlib.
7334 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7335 target_configargs
="--with-newlib ${target_configargs}"
7338 # Different target subdirs use different values of certain variables
7339 # (notably CXX). Worse, multilibs use *lots* of different values.
7340 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7341 # it doesn't automatically accept command-line overrides of them.
7342 # This means it's not safe for target subdirs to share a cache file,
7343 # which is disgusting, but there you have it. Hopefully this can be
7344 # fixed in future. It's still worthwhile to use a cache file for each
7345 # directory. I think.
7347 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7348 # We need to pass --target, as newer autoconf's requires consistency
7349 # for target_alias and gcc doesn't manage it consistently.
7350 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7353 case " $target_configdirs " in
7355 case " $target_configargs " in
7356 *" --with-newlib "*)
7359 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'
7363 # If we're not building GCC, don't discard standard headers.
7364 if test -d ${srcdir}/gcc
; then
7365 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7367 if test "${build}" != "${host}"; then
7368 # On Canadian crosses, CC_FOR_TARGET will have already been set
7369 # by `configure', so we won't have an opportunity to add -Bgcc/
7370 # to it. This is right: we don't want to search that directory
7371 # for binaries, but we want the header files in there, so add
7373 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7375 # Someone might think of using the pre-installed headers on
7376 # Canadian crosses, in case the installed compiler is not fully
7377 # compatible with the compiler being built. In this case, it
7378 # would be better to flag an error than risking having
7379 # incompatible object files being constructed. We can't
7380 # guarantee that an error will be flagged, but let's hope the
7381 # compiler will do it, when presented with incompatible header
7386 case "${target}-${is_cross_compiler}" in
7387 i
[3456789]86-*-linux*-no)
7388 # Here host == target, so we don't need to build gcc,
7389 # so we don't want to discard standard headers.
7390 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7393 # If we're building newlib, use its generic headers last, but search
7394 # for any libc-related directories first (so make it the last -B
7396 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7398 # If we're building libgloss, find the startup file, simulator library
7399 # and linker script.
7400 case " $target_configdirs " in
7402 # Look for startup file, simulator library and maybe linker script.
7403 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7404 # Look for libnosys.a in case the target needs it.
7405 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7406 # Most targets have the linker script in the source directory.
7407 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7418 x86_64-
*mingw
* |
*-w64-mingw*)
7419 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7420 # however, use a symlink named 'mingw' in ${prefix} .
7421 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7424 # MinGW can't be handled as Cygwin above since it does not use newlib.
7425 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'
7429 # Allow the user to override the flags for
7430 # our build compiler if desired.
7431 if test x
"${build}" = x
"${host}" ; then
7432 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7433 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7434 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7437 # On Canadian crosses, we'll be searching the right directories for
7438 # the previously-installed cross compiler, so don't bother to add
7439 # flags for directories within the install tree of the compiler
7440 # being built; programs in there won't even run.
7441 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7442 # Search for pre-installed headers if nothing else fits.
7443 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7446 if test "x
${use_gnu_ld}" = x &&
7447 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7448 # Arrange for us to find uninstalled linker scripts.
7449 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7452 # Search for other target-specific linker scripts and such.
7455 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7459 # Makefile fragments.
7460 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7462 eval fragval=\$$frag
7463 if test $fragval != /dev/null; then
7464 eval $frag=${srcdir}/$fragval
7472 # Miscellanea: directories, flags, etc.
7481 # Build module lists & subconfigure args.
7485 # Host module lists & subconfigure args.
7490 # Target module lists & subconfigure args.
7512 # Generate default definitions for YACC, M4, LEX and other programs that run
7513 # on the build machine. These are used if the Makefile can't locate these
7514 # programs in objdir.
7515 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7517 for ac_prog in 'bison -y' byacc yacc
7519 # Extract the first word of "$ac_prog", so it can be a program name with args.
7520 set dummy $ac_prog; ac_word=$2
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7522 $as_echo_n "checking
for $ac_word...
" >&6; }
7523 if test "${ac_cv_prog_YACC+set}" = set; then :
7524 $as_echo_n "(cached
) " >&6
7526 if test -n "$YACC"; then
7527 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7533 test -z "$as_dir" && as_dir=.
7534 for ac_exec_ext in '' $ac_executable_extensions; do
7535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7536 ac_cv_prog_YACC="$ac_prog"
7537 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7546 YACC=$ac_cv_prog_YACC
7547 if test -n "$YACC"; then
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7549 $as_echo "$YACC" >&6; }
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7552 $as_echo "no
" >&6; }
7556 test -n "$YACC" && break
7558 test -n "$YACC" || YACC="$MISSING bison
-y"
7560 case " $build_configdirs " in
7561 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7562 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
7565 for ac_prog in bison
7567 # Extract the first word of "$ac_prog", so it can be a program name with args.
7568 set dummy $ac_prog; ac_word=$2
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7570 $as_echo_n "checking
for $ac_word...
" >&6; }
7571 if test "${ac_cv_prog_BISON+set}" = set; then :
7572 $as_echo_n "(cached
) " >&6
7574 if test -n "$BISON"; then
7575 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7581 test -z "$as_dir" && as_dir=.
7582 for ac_exec_ext in '' $ac_executable_extensions; do
7583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7584 ac_cv_prog_BISON="$ac_prog"
7585 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7594 BISON=$ac_cv_prog_BISON
7595 if test -n "$BISON"; then
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7597 $as_echo "$BISON" >&6; }
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7600 $as_echo "no
" >&6; }
7604 test -n "$BISON" && break
7606 test -n "$BISON" || BISON="$MISSING bison
"
7608 case " $build_configdirs " in
7609 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7612 for ac_prog in gm4 gnum4 m4
7614 # Extract the first word of "$ac_prog", so it can be a program name with args.
7615 set dummy $ac_prog; 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_M4+set}" = set; then :
7619 $as_echo_n "(cached
) " >&6
7621 if test -n "$M4"; then
7622 ac_cv_prog_M4="$M4" # 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_M4="$ac_prog"
7632 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7642 if test -n "$M4"; then
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7644 $as_echo "$M4" >&6; }
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7647 $as_echo "no
" >&6; }
7651 test -n "$M4" && break
7653 test -n "$M4" || M4="$MISSING m4"
7655 case " $build_configdirs " in
7656 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7659 for ac_prog in flex lex
7661 # Extract the first word of "$ac_prog", so it can be a program name with args.
7662 set dummy $ac_prog; ac_word=$2
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7664 $as_echo_n "checking
for $ac_word...
" >&6; }
7665 if test "${ac_cv_prog_LEX+set}" = set; then :
7666 $as_echo_n "(cached
) " >&6
7668 if test -n "$LEX"; then
7669 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7675 test -z "$as_dir" && as_dir=.
7676 for ac_exec_ext in '' $ac_executable_extensions; do
7677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7678 ac_cv_prog_LEX="$ac_prog"
7679 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7689 if test -n "$LEX"; then
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7691 $as_echo "$LEX" >&6; }
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7694 $as_echo "no
" >&6; }
7698 test -n "$LEX" && break
7700 test -n "$LEX" || LEX="$MISSING flex
"
7702 case " $build_configdirs " in
7703 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7704 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7709 # Extract the first word of "$ac_prog", so it can be a program name with args.
7710 set dummy $ac_prog; ac_word=$2
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7712 $as_echo_n "checking
for $ac_word...
" >&6; }
7713 if test "${ac_cv_prog_FLEX+set}" = set; then :
7714 $as_echo_n "(cached
) " >&6
7716 if test -n "$FLEX"; then
7717 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7723 test -z "$as_dir" && as_dir=.
7724 for ac_exec_ext in '' $ac_executable_extensions; do
7725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7726 ac_cv_prog_FLEX="$ac_prog"
7727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7736 FLEX=$ac_cv_prog_FLEX
7737 if test -n "$FLEX"; then
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7739 $as_echo "$FLEX" >&6; }
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7742 $as_echo "no
" >&6; }
7746 test -n "$FLEX" && break
7748 test -n "$FLEX" || FLEX="$MISSING flex
"
7750 case " $build_configdirs " in
7751 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7754 for ac_prog in makeinfo
7756 # Extract the first word of "$ac_prog", so it can be a program name with args.
7757 set dummy $ac_prog; ac_word=$2
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7759 $as_echo_n "checking
for $ac_word...
" >&6; }
7760 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7761 $as_echo_n "(cached
) " >&6
7763 if test -n "$MAKEINFO"; then
7764 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7770 test -z "$as_dir" && as_dir=.
7771 for ac_exec_ext in '' $ac_executable_extensions; do
7772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7773 ac_cv_prog_MAKEINFO="$ac_prog"
7774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7783 MAKEINFO=$ac_cv_prog_MAKEINFO
7784 if test -n "$MAKEINFO"; then
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7786 $as_echo "$MAKEINFO" >&6; }
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7789 $as_echo "no
" >&6; }
7793 test -n "$MAKEINFO" && break
7795 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7797 case " $build_configdirs " in
7798 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7801 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7802 # higher, else we use the "missing
" dummy.
7803 if ${MAKEINFO} --version \
7804 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7807 MAKEINFO="$MISSING makeinfo
"
7813 # FIXME: expect and dejagnu may become build tools?
7815 for ac_prog in expect
7817 # Extract the first word of "$ac_prog", so it can be a program name with args.
7818 set dummy $ac_prog; ac_word=$2
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7820 $as_echo_n "checking
for $ac_word...
" >&6; }
7821 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7822 $as_echo_n "(cached
) " >&6
7824 if test -n "$EXPECT"; then
7825 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7831 test -z "$as_dir" && as_dir=.
7832 for ac_exec_ext in '' $ac_executable_extensions; do
7833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7834 ac_cv_prog_EXPECT="$ac_prog"
7835 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7844 EXPECT=$ac_cv_prog_EXPECT
7845 if test -n "$EXPECT"; then
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7847 $as_echo "$EXPECT" >&6; }
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7850 $as_echo "no
" >&6; }
7854 test -n "$EXPECT" && break
7856 test -n "$EXPECT" || EXPECT="expect
"
7858 case " $configdirs " in
7860 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7864 for ac_prog in runtest
7866 # Extract the first word of "$ac_prog", so it can be a program name with args.
7867 set dummy $ac_prog; ac_word=$2
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7869 $as_echo_n "checking
for $ac_word...
" >&6; }
7870 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7871 $as_echo_n "(cached
) " >&6
7873 if test -n "$RUNTEST"; then
7874 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7880 test -z "$as_dir" && as_dir=.
7881 for ac_exec_ext in '' $ac_executable_extensions; do
7882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7883 ac_cv_prog_RUNTEST="$ac_prog"
7884 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7893 RUNTEST=$ac_cv_prog_RUNTEST
7894 if test -n "$RUNTEST"; then
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7896 $as_echo "$RUNTEST" >&6; }
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7899 $as_echo "no
" >&6; }
7903 test -n "$RUNTEST" && break
7905 test -n "$RUNTEST" || RUNTEST="runtest
"
7907 case " $configdirs " in
7909 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7916 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7917 ncn_target_tool_prefix=
7918 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7922 if test -n "$AR"; then
7924 elif test -n "$ac_cv_prog_AR"; then
7928 if test -n "$ac_cv_prog_AR"; then
7929 for ncn_progname in ar; do
7930 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7931 set dummy ${ncn_progname}; ac_word=$2
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7933 $as_echo_n "checking
for $ac_word...
" >&6; }
7934 if test "${ac_cv_prog_AR+set}" = set; then :
7935 $as_echo_n "(cached
) " >&6
7937 if test -n "$AR"; then
7938 ac_cv_prog_AR="$AR" # Let the user override the test.
7940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7944 test -z "$as_dir" && as_dir=.
7945 for ac_exec_ext in '' $ac_executable_extensions; do
7946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7947 ac_cv_prog_AR="${ncn_progname}"
7948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7958 if test -n "$AR"; then
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7960 $as_echo "$AR" >&6; }
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7963 $as_echo "no
" >&6; }
7970 for ncn_progname in ar; do
7971 if test -n "$ncn_tool_prefix"; then
7972 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7973 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7975 $as_echo_n "checking
for $ac_word...
" >&6; }
7976 if test "${ac_cv_prog_AR+set}" = set; then :
7977 $as_echo_n "(cached
) " >&6
7979 if test -n "$AR"; then
7980 ac_cv_prog_AR="$AR" # Let the user override the test.
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986 test -z "$as_dir" && as_dir=.
7987 for ac_exec_ext in '' $ac_executable_extensions; do
7988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7989 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8000 if test -n "$AR"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8002 $as_echo "$AR" >&6; }
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8005 $as_echo "no
" >&6; }
8010 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8011 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8012 set dummy ${ncn_progname}; ac_word=$2
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8014 $as_echo_n "checking
for $ac_word...
" >&6; }
8015 if test "${ac_cv_prog_AR+set}" = set; then :
8016 $as_echo_n "(cached
) " >&6
8018 if test -n "$AR"; then
8019 ac_cv_prog_AR="$AR" # Let the user override the test.
8021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8025 test -z "$as_dir" && as_dir=.
8026 for ac_exec_ext in '' $ac_executable_extensions; do
8027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8028 ac_cv_prog_AR="${ncn_progname}"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8039 if test -n "$AR"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8041 $as_echo "$AR" >&6; }
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8044 $as_echo "no
" >&6; }
8049 test -n "$ac_cv_prog_AR" && break
8052 if test -z "$ac_cv_prog_AR" ; then
8054 if test $build = $host ; then
8057 AR="${ncn_tool_prefix}$2"
8063 if test -n "$AS"; then
8065 elif test -n "$ac_cv_prog_AS"; then
8069 if test -n "$ac_cv_prog_AS"; then
8070 for ncn_progname in as; do
8071 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8072 set dummy ${ncn_progname}; ac_word=$2
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8074 $as_echo_n "checking
for $ac_word...
" >&6; }
8075 if test "${ac_cv_prog_AS+set}" = set; then :
8076 $as_echo_n "(cached
) " >&6
8078 if test -n "$AS"; then
8079 ac_cv_prog_AS="$AS" # Let the user override the test.
8081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8085 test -z "$as_dir" && as_dir=.
8086 for ac_exec_ext in '' $ac_executable_extensions; do
8087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8088 ac_cv_prog_AS="${ncn_progname}"
8089 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8099 if test -n "$AS"; then
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8101 $as_echo "$AS" >&6; }
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8104 $as_echo "no
" >&6; }
8111 for ncn_progname in as; do
8112 if test -n "$ncn_tool_prefix"; then
8113 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8114 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8116 $as_echo_n "checking
for $ac_word...
" >&6; }
8117 if test "${ac_cv_prog_AS+set}" = set; then :
8118 $as_echo_n "(cached
) " >&6
8120 if test -n "$AS"; then
8121 ac_cv_prog_AS="$AS" # Let the user override the test.
8123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8127 test -z "$as_dir" && as_dir=.
8128 for ac_exec_ext in '' $ac_executable_extensions; do
8129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8130 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8131 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8141 if test -n "$AS"; then
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8143 $as_echo "$AS" >&6; }
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8146 $as_echo "no
" >&6; }
8151 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8152 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8153 set dummy ${ncn_progname}; ac_word=$2
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8155 $as_echo_n "checking
for $ac_word...
" >&6; }
8156 if test "${ac_cv_prog_AS+set}" = set; then :
8157 $as_echo_n "(cached
) " >&6
8159 if test -n "$AS"; then
8160 ac_cv_prog_AS="$AS" # Let the user override the test.
8162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8166 test -z "$as_dir" && as_dir=.
8167 for ac_exec_ext in '' $ac_executable_extensions; do
8168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8169 ac_cv_prog_AS="${ncn_progname}"
8170 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8180 if test -n "$AS"; then
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8182 $as_echo "$AS" >&6; }
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8185 $as_echo "no
" >&6; }
8190 test -n "$ac_cv_prog_AS" && break
8193 if test -z "$ac_cv_prog_AS" ; then
8195 if test $build = $host ; then
8198 AS="${ncn_tool_prefix}$2"
8204 if test -n "$DLLTOOL"; then
8205 ac_cv_prog_DLLTOOL=$DLLTOOL
8206 elif test -n "$ac_cv_prog_DLLTOOL"; then
8207 DLLTOOL=$ac_cv_prog_DLLTOOL
8210 if test -n "$ac_cv_prog_DLLTOOL"; then
8211 for ncn_progname in dlltool; do
8212 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8213 set dummy ${ncn_progname}; ac_word=$2
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8215 $as_echo_n "checking
for $ac_word...
" >&6; }
8216 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8217 $as_echo_n "(cached
) " >&6
8219 if test -n "$DLLTOOL"; then
8220 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8226 test -z "$as_dir" && as_dir=.
8227 for ac_exec_ext in '' $ac_executable_extensions; do
8228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8229 ac_cv_prog_DLLTOOL="${ncn_progname}"
8230 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8239 DLLTOOL=$ac_cv_prog_DLLTOOL
8240 if test -n "$DLLTOOL"; then
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8242 $as_echo "$DLLTOOL" >&6; }
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8245 $as_echo "no
" >&6; }
8252 for ncn_progname in dlltool; do
8253 if test -n "$ncn_tool_prefix"; then
8254 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8255 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8257 $as_echo_n "checking
for $ac_word...
" >&6; }
8258 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8259 $as_echo_n "(cached
) " >&6
8261 if test -n "$DLLTOOL"; then
8262 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8268 test -z "$as_dir" && as_dir=.
8269 for ac_exec_ext in '' $ac_executable_extensions; do
8270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8271 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8272 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8281 DLLTOOL=$ac_cv_prog_DLLTOOL
8282 if test -n "$DLLTOOL"; then
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8284 $as_echo "$DLLTOOL" >&6; }
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8287 $as_echo "no
" >&6; }
8292 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8293 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8294 set dummy ${ncn_progname}; ac_word=$2
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8296 $as_echo_n "checking
for $ac_word...
" >&6; }
8297 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8298 $as_echo_n "(cached
) " >&6
8300 if test -n "$DLLTOOL"; then
8301 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8307 test -z "$as_dir" && as_dir=.
8308 for ac_exec_ext in '' $ac_executable_extensions; do
8309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8310 ac_cv_prog_DLLTOOL="${ncn_progname}"
8311 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8320 DLLTOOL=$ac_cv_prog_DLLTOOL
8321 if test -n "$DLLTOOL"; then
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8323 $as_echo "$DLLTOOL" >&6; }
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8326 $as_echo "no
" >&6; }
8331 test -n "$ac_cv_prog_DLLTOOL" && break
8334 if test -z "$ac_cv_prog_DLLTOOL" ; then
8336 if test $build = $host ; then
8339 DLLTOOL="${ncn_tool_prefix}$2"
8345 if test -n "$LD"; then
8347 elif test -n "$ac_cv_prog_LD"; then
8351 if test -n "$ac_cv_prog_LD"; then
8352 for ncn_progname in ld; do
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_LD+set}" = set; then :
8358 $as_echo_n "(cached
) " >&6
8360 if test -n "$LD"; then
8361 ac_cv_prog_LD="$LD" # 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_LD="${ncn_progname}"
8371 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8381 if test -n "$LD"; then
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8383 $as_echo "$LD" >&6; }
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8386 $as_echo "no
" >&6; }
8393 for ncn_progname in ld; do
8394 if test -n "$ncn_tool_prefix"; then
8395 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8396 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8398 $as_echo_n "checking
for $ac_word...
" >&6; }
8399 if test "${ac_cv_prog_LD+set}" = set; then :
8400 $as_echo_n "(cached
) " >&6
8402 if test -n "$LD"; then
8403 ac_cv_prog_LD="$LD" # Let the user override the test.
8405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8409 test -z "$as_dir" && as_dir=.
8410 for ac_exec_ext in '' $ac_executable_extensions; do
8411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8412 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8413 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8423 if test -n "$LD"; then
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8425 $as_echo "$LD" >&6; }
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8428 $as_echo "no
" >&6; }
8433 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8434 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8435 set dummy ${ncn_progname}; ac_word=$2
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8437 $as_echo_n "checking
for $ac_word...
" >&6; }
8438 if test "${ac_cv_prog_LD+set}" = set; then :
8439 $as_echo_n "(cached
) " >&6
8441 if test -n "$LD"; then
8442 ac_cv_prog_LD="$LD" # Let the user override the test.
8444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8448 test -z "$as_dir" && as_dir=.
8449 for ac_exec_ext in '' $ac_executable_extensions; do
8450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8451 ac_cv_prog_LD="${ncn_progname}"
8452 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8462 if test -n "$LD"; then
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8464 $as_echo "$LD" >&6; }
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8467 $as_echo "no
" >&6; }
8472 test -n "$ac_cv_prog_LD" && break
8475 if test -z "$ac_cv_prog_LD" ; then
8477 if test $build = $host ; then
8480 LD="${ncn_tool_prefix}$2"
8486 if test -n "$LIPO"; then
8487 ac_cv_prog_LIPO=$LIPO
8488 elif test -n "$ac_cv_prog_LIPO"; then
8489 LIPO=$ac_cv_prog_LIPO
8492 if test -n "$ac_cv_prog_LIPO"; then
8493 for ncn_progname in lipo; do
8494 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8495 set dummy ${ncn_progname}; ac_word=$2
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8497 $as_echo_n "checking
for $ac_word...
" >&6; }
8498 if test "${ac_cv_prog_LIPO+set}" = set; then :
8499 $as_echo_n "(cached
) " >&6
8501 if test -n "$LIPO"; then
8502 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8508 test -z "$as_dir" && as_dir=.
8509 for ac_exec_ext in '' $ac_executable_extensions; do
8510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8511 ac_cv_prog_LIPO="${ncn_progname}"
8512 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8521 LIPO=$ac_cv_prog_LIPO
8522 if test -n "$LIPO"; then
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8524 $as_echo "$LIPO" >&6; }
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8527 $as_echo "no
" >&6; }
8534 for ncn_progname in lipo; do
8535 if test -n "$ncn_tool_prefix"; then
8536 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8537 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8539 $as_echo_n "checking
for $ac_word...
" >&6; }
8540 if test "${ac_cv_prog_LIPO+set}" = set; then :
8541 $as_echo_n "(cached
) " >&6
8543 if test -n "$LIPO"; then
8544 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8550 test -z "$as_dir" && as_dir=.
8551 for ac_exec_ext in '' $ac_executable_extensions; do
8552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8553 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8554 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8563 LIPO=$ac_cv_prog_LIPO
8564 if test -n "$LIPO"; then
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8566 $as_echo "$LIPO" >&6; }
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8569 $as_echo "no
" >&6; }
8574 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8575 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8576 set dummy ${ncn_progname}; ac_word=$2
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8578 $as_echo_n "checking
for $ac_word...
" >&6; }
8579 if test "${ac_cv_prog_LIPO+set}" = set; then :
8580 $as_echo_n "(cached
) " >&6
8582 if test -n "$LIPO"; then
8583 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8589 test -z "$as_dir" && as_dir=.
8590 for ac_exec_ext in '' $ac_executable_extensions; do
8591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8592 ac_cv_prog_LIPO="${ncn_progname}"
8593 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8602 LIPO=$ac_cv_prog_LIPO
8603 if test -n "$LIPO"; then
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8605 $as_echo "$LIPO" >&6; }
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8608 $as_echo "no
" >&6; }
8613 test -n "$ac_cv_prog_LIPO" && break
8616 if test -z "$ac_cv_prog_LIPO" ; then
8618 if test $build = $host ; then
8621 LIPO="${ncn_tool_prefix}$2"
8627 if test -n "$NM"; then
8629 elif test -n "$ac_cv_prog_NM"; then
8633 if test -n "$ac_cv_prog_NM"; then
8634 for ncn_progname in nm; do
8635 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8636 set dummy ${ncn_progname}; ac_word=$2
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8638 $as_echo_n "checking
for $ac_word...
" >&6; }
8639 if test "${ac_cv_prog_NM+set}" = set; then :
8640 $as_echo_n "(cached
) " >&6
8642 if test -n "$NM"; then
8643 ac_cv_prog_NM="$NM" # Let the user override the test.
8645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8649 test -z "$as_dir" && as_dir=.
8650 for ac_exec_ext in '' $ac_executable_extensions; do
8651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8652 ac_cv_prog_NM="${ncn_progname}"
8653 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8663 if test -n "$NM"; then
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8665 $as_echo "$NM" >&6; }
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8668 $as_echo "no
" >&6; }
8675 for ncn_progname in nm; do
8676 if test -n "$ncn_tool_prefix"; then
8677 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8678 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8680 $as_echo_n "checking
for $ac_word...
" >&6; }
8681 if test "${ac_cv_prog_NM+set}" = set; then :
8682 $as_echo_n "(cached
) " >&6
8684 if test -n "$NM"; then
8685 ac_cv_prog_NM="$NM" # Let the user override the test.
8687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8691 test -z "$as_dir" && as_dir=.
8692 for ac_exec_ext in '' $ac_executable_extensions; do
8693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8694 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8695 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8705 if test -n "$NM"; then
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8707 $as_echo "$NM" >&6; }
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8710 $as_echo "no
" >&6; }
8715 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8716 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8717 set dummy ${ncn_progname}; ac_word=$2
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8719 $as_echo_n "checking
for $ac_word...
" >&6; }
8720 if test "${ac_cv_prog_NM+set}" = set; then :
8721 $as_echo_n "(cached
) " >&6
8723 if test -n "$NM"; then
8724 ac_cv_prog_NM="$NM" # Let the user override the test.
8726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8730 test -z "$as_dir" && as_dir=.
8731 for ac_exec_ext in '' $ac_executable_extensions; do
8732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8733 ac_cv_prog_NM="${ncn_progname}"
8734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8744 if test -n "$NM"; then
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8746 $as_echo "$NM" >&6; }
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8749 $as_echo "no
" >&6; }
8754 test -n "$ac_cv_prog_NM" && break
8757 if test -z "$ac_cv_prog_NM" ; then
8759 if test $build = $host ; then
8762 NM="${ncn_tool_prefix}$2"
8768 if test -n "$RANLIB"; then
8769 ac_cv_prog_RANLIB=$RANLIB
8770 elif test -n "$ac_cv_prog_RANLIB"; then
8771 RANLIB=$ac_cv_prog_RANLIB
8774 if test -n "$ac_cv_prog_RANLIB"; then
8775 for ncn_progname in ranlib; do
8776 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8777 set dummy ${ncn_progname}; ac_word=$2
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8779 $as_echo_n "checking
for $ac_word...
" >&6; }
8780 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8781 $as_echo_n "(cached
) " >&6
8783 if test -n "$RANLIB"; then
8784 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8790 test -z "$as_dir" && as_dir=.
8791 for ac_exec_ext in '' $ac_executable_extensions; do
8792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8793 ac_cv_prog_RANLIB="${ncn_progname}"
8794 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8803 RANLIB=$ac_cv_prog_RANLIB
8804 if test -n "$RANLIB"; then
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8806 $as_echo "$RANLIB" >&6; }
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8809 $as_echo "no
" >&6; }
8816 for ncn_progname in ranlib; do
8817 if test -n "$ncn_tool_prefix"; then
8818 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8819 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8821 $as_echo_n "checking
for $ac_word...
" >&6; }
8822 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8823 $as_echo_n "(cached
) " >&6
8825 if test -n "$RANLIB"; then
8826 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8832 test -z "$as_dir" && as_dir=.
8833 for ac_exec_ext in '' $ac_executable_extensions; do
8834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8835 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8836 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8845 RANLIB=$ac_cv_prog_RANLIB
8846 if test -n "$RANLIB"; then
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8848 $as_echo "$RANLIB" >&6; }
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8851 $as_echo "no
" >&6; }
8856 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8857 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8858 set dummy ${ncn_progname}; ac_word=$2
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8860 $as_echo_n "checking
for $ac_word...
" >&6; }
8861 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8862 $as_echo_n "(cached
) " >&6
8864 if test -n "$RANLIB"; then
8865 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8871 test -z "$as_dir" && as_dir=.
8872 for ac_exec_ext in '' $ac_executable_extensions; do
8873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8874 ac_cv_prog_RANLIB="${ncn_progname}"
8875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8884 RANLIB=$ac_cv_prog_RANLIB
8885 if test -n "$RANLIB"; then
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8887 $as_echo "$RANLIB" >&6; }
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8890 $as_echo "no
" >&6; }
8895 test -n "$ac_cv_prog_RANLIB" && break
8898 if test -z "$ac_cv_prog_RANLIB" ; then
8904 if test -n "$STRIP"; then
8905 ac_cv_prog_STRIP=$STRIP
8906 elif test -n "$ac_cv_prog_STRIP"; then
8907 STRIP=$ac_cv_prog_STRIP
8910 if test -n "$ac_cv_prog_STRIP"; then
8911 for ncn_progname in strip; do
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_STRIP+set}" = set; then :
8917 $as_echo_n "(cached
) " >&6
8919 if test -n "$STRIP"; then
8920 ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ncn_progname}"
8930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8939 STRIP=$ac_cv_prog_STRIP
8940 if test -n "$STRIP"; then
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8942 $as_echo "$STRIP" >&6; }
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8945 $as_echo "no
" >&6; }
8952 for ncn_progname in strip; do
8953 if test -n "$ncn_tool_prefix"; then
8954 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8955 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8957 $as_echo_n "checking
for $ac_word...
" >&6; }
8958 if test "${ac_cv_prog_STRIP+set}" = set; then :
8959 $as_echo_n "(cached
) " >&6
8961 if test -n "$STRIP"; then
8962 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8968 test -z "$as_dir" && as_dir=.
8969 for ac_exec_ext in '' $ac_executable_extensions; do
8970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8971 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8972 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8981 STRIP=$ac_cv_prog_STRIP
8982 if test -n "$STRIP"; then
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8984 $as_echo "$STRIP" >&6; }
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8987 $as_echo "no
" >&6; }
8992 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8993 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8994 set dummy ${ncn_progname}; ac_word=$2
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8996 $as_echo_n "checking
for $ac_word...
" >&6; }
8997 if test "${ac_cv_prog_STRIP+set}" = set; then :
8998 $as_echo_n "(cached
) " >&6
9000 if test -n "$STRIP"; then
9001 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9007 test -z "$as_dir" && as_dir=.
9008 for ac_exec_ext in '' $ac_executable_extensions; do
9009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9010 ac_cv_prog_STRIP="${ncn_progname}"
9011 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9020 STRIP=$ac_cv_prog_STRIP
9021 if test -n "$STRIP"; then
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9023 $as_echo "$STRIP" >&6; }
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9026 $as_echo "no
" >&6; }
9031 test -n "$ac_cv_prog_STRIP" && break
9034 if test -z "$ac_cv_prog_STRIP" ; then
9040 if test -n "$WINDRES"; then
9041 ac_cv_prog_WINDRES=$WINDRES
9042 elif test -n "$ac_cv_prog_WINDRES"; then
9043 WINDRES=$ac_cv_prog_WINDRES
9046 if test -n "$ac_cv_prog_WINDRES"; then
9047 for ncn_progname in windres; do
9048 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9049 set dummy ${ncn_progname}; ac_word=$2
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9051 $as_echo_n "checking
for $ac_word...
" >&6; }
9052 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9053 $as_echo_n "(cached
) " >&6
9055 if test -n "$WINDRES"; then
9056 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9062 test -z "$as_dir" && as_dir=.
9063 for ac_exec_ext in '' $ac_executable_extensions; do
9064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9065 ac_cv_prog_WINDRES="${ncn_progname}"
9066 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9075 WINDRES=$ac_cv_prog_WINDRES
9076 if test -n "$WINDRES"; then
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9078 $as_echo "$WINDRES" >&6; }
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9081 $as_echo "no
" >&6; }
9088 for ncn_progname in windres; do
9089 if test -n "$ncn_tool_prefix"; then
9090 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9091 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9093 $as_echo_n "checking
for $ac_word...
" >&6; }
9094 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9095 $as_echo_n "(cached
) " >&6
9097 if test -n "$WINDRES"; then
9098 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9104 test -z "$as_dir" && as_dir=.
9105 for ac_exec_ext in '' $ac_executable_extensions; do
9106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9107 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9108 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9117 WINDRES=$ac_cv_prog_WINDRES
9118 if test -n "$WINDRES"; then
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9120 $as_echo "$WINDRES" >&6; }
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9123 $as_echo "no
" >&6; }
9128 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9129 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9130 set dummy ${ncn_progname}; ac_word=$2
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9132 $as_echo_n "checking
for $ac_word...
" >&6; }
9133 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9134 $as_echo_n "(cached
) " >&6
9136 if test -n "$WINDRES"; then
9137 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9143 test -z "$as_dir" && as_dir=.
9144 for ac_exec_ext in '' $ac_executable_extensions; do
9145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9146 ac_cv_prog_WINDRES="${ncn_progname}"
9147 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9156 WINDRES=$ac_cv_prog_WINDRES
9157 if test -n "$WINDRES"; then
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9159 $as_echo "$WINDRES" >&6; }
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9162 $as_echo "no
" >&6; }
9167 test -n "$ac_cv_prog_WINDRES" && break
9170 if test -z "$ac_cv_prog_WINDRES" ; then
9172 if test $build = $host ; then
9175 WINDRES="${ncn_tool_prefix}$2"
9181 if test -n "$WINDMC"; then
9182 ac_cv_prog_WINDMC=$WINDMC
9183 elif test -n "$ac_cv_prog_WINDMC"; then
9184 WINDMC=$ac_cv_prog_WINDMC
9187 if test -n "$ac_cv_prog_WINDMC"; then
9188 for ncn_progname in windmc; do
9189 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9190 set dummy ${ncn_progname}; ac_word=$2
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9192 $as_echo_n "checking
for $ac_word...
" >&6; }
9193 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9194 $as_echo_n "(cached
) " >&6
9196 if test -n "$WINDMC"; then
9197 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9203 test -z "$as_dir" && as_dir=.
9204 for ac_exec_ext in '' $ac_executable_extensions; do
9205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9206 ac_cv_prog_WINDMC="${ncn_progname}"
9207 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9216 WINDMC=$ac_cv_prog_WINDMC
9217 if test -n "$WINDMC"; then
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9219 $as_echo "$WINDMC" >&6; }
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9222 $as_echo "no
" >&6; }
9229 for ncn_progname in windmc; do
9230 if test -n "$ncn_tool_prefix"; then
9231 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9232 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9234 $as_echo_n "checking
for $ac_word...
" >&6; }
9235 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9236 $as_echo_n "(cached
) " >&6
9238 if test -n "$WINDMC"; then
9239 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9245 test -z "$as_dir" && as_dir=.
9246 for ac_exec_ext in '' $ac_executable_extensions; do
9247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9248 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9249 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9258 WINDMC=$ac_cv_prog_WINDMC
9259 if test -n "$WINDMC"; then
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9261 $as_echo "$WINDMC" >&6; }
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9264 $as_echo "no
" >&6; }
9269 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9270 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9271 set dummy ${ncn_progname}; ac_word=$2
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9273 $as_echo_n "checking
for $ac_word...
" >&6; }
9274 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9275 $as_echo_n "(cached
) " >&6
9277 if test -n "$WINDMC"; then
9278 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9284 test -z "$as_dir" && as_dir=.
9285 for ac_exec_ext in '' $ac_executable_extensions; do
9286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9287 ac_cv_prog_WINDMC="${ncn_progname}"
9288 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9297 WINDMC=$ac_cv_prog_WINDMC
9298 if test -n "$WINDMC"; then
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9300 $as_echo "$WINDMC" >&6; }
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9303 $as_echo "no
" >&6; }
9308 test -n "$ac_cv_prog_WINDMC" && break
9311 if test -z "$ac_cv_prog_WINDMC" ; then
9313 if test $build = $host ; then
9316 WINDMC="${ncn_tool_prefix}$2"
9322 if test -n "$OBJCOPY"; then
9323 ac_cv_prog_OBJCOPY=$OBJCOPY
9324 elif test -n "$ac_cv_prog_OBJCOPY"; then
9325 OBJCOPY=$ac_cv_prog_OBJCOPY
9328 if test -n "$ac_cv_prog_OBJCOPY"; then
9329 for ncn_progname in objcopy; do
9330 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9331 set dummy ${ncn_progname}; ac_word=$2
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9333 $as_echo_n "checking
for $ac_word...
" >&6; }
9334 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9335 $as_echo_n "(cached
) " >&6
9337 if test -n "$OBJCOPY"; then
9338 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9344 test -z "$as_dir" && as_dir=.
9345 for ac_exec_ext in '' $ac_executable_extensions; do
9346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9347 ac_cv_prog_OBJCOPY="${ncn_progname}"
9348 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9357 OBJCOPY=$ac_cv_prog_OBJCOPY
9358 if test -n "$OBJCOPY"; then
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9360 $as_echo "$OBJCOPY" >&6; }
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9363 $as_echo "no
" >&6; }
9370 for ncn_progname in objcopy; do
9371 if test -n "$ncn_tool_prefix"; then
9372 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9373 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9375 $as_echo_n "checking
for $ac_word...
" >&6; }
9376 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9377 $as_echo_n "(cached
) " >&6
9379 if test -n "$OBJCOPY"; then
9380 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9386 test -z "$as_dir" && as_dir=.
9387 for ac_exec_ext in '' $ac_executable_extensions; do
9388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9389 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9390 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9399 OBJCOPY=$ac_cv_prog_OBJCOPY
9400 if test -n "$OBJCOPY"; then
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9402 $as_echo "$OBJCOPY" >&6; }
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9405 $as_echo "no
" >&6; }
9410 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9411 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9412 set dummy ${ncn_progname}; ac_word=$2
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9414 $as_echo_n "checking
for $ac_word...
" >&6; }
9415 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9416 $as_echo_n "(cached
) " >&6
9418 if test -n "$OBJCOPY"; then
9419 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9425 test -z "$as_dir" && as_dir=.
9426 for ac_exec_ext in '' $ac_executable_extensions; do
9427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9428 ac_cv_prog_OBJCOPY="${ncn_progname}"
9429 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9438 OBJCOPY=$ac_cv_prog_OBJCOPY
9439 if test -n "$OBJCOPY"; then
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9441 $as_echo "$OBJCOPY" >&6; }
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9444 $as_echo "no
" >&6; }
9449 test -n "$ac_cv_prog_OBJCOPY" && break
9452 if test -z "$ac_cv_prog_OBJCOPY" ; then
9454 if test $build = $host ; then
9457 OBJCOPY="${ncn_tool_prefix}$2"
9463 if test -n "$OBJDUMP"; then
9464 ac_cv_prog_OBJDUMP=$OBJDUMP
9465 elif test -n "$ac_cv_prog_OBJDUMP"; then
9466 OBJDUMP=$ac_cv_prog_OBJDUMP
9469 if test -n "$ac_cv_prog_OBJDUMP"; then
9470 for ncn_progname in objdump; do
9471 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9472 set dummy ${ncn_progname}; ac_word=$2
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9474 $as_echo_n "checking
for $ac_word...
" >&6; }
9475 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9476 $as_echo_n "(cached
) " >&6
9478 if test -n "$OBJDUMP"; then
9479 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9485 test -z "$as_dir" && as_dir=.
9486 for ac_exec_ext in '' $ac_executable_extensions; do
9487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9488 ac_cv_prog_OBJDUMP="${ncn_progname}"
9489 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9498 OBJDUMP=$ac_cv_prog_OBJDUMP
9499 if test -n "$OBJDUMP"; then
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9501 $as_echo "$OBJDUMP" >&6; }
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9504 $as_echo "no
" >&6; }
9511 for ncn_progname in objdump; do
9512 if test -n "$ncn_tool_prefix"; then
9513 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9514 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9516 $as_echo_n "checking
for $ac_word...
" >&6; }
9517 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9518 $as_echo_n "(cached
) " >&6
9520 if test -n "$OBJDUMP"; then
9521 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9527 test -z "$as_dir" && as_dir=.
9528 for ac_exec_ext in '' $ac_executable_extensions; do
9529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9530 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9531 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9540 OBJDUMP=$ac_cv_prog_OBJDUMP
9541 if test -n "$OBJDUMP"; then
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9543 $as_echo "$OBJDUMP" >&6; }
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9546 $as_echo "no
" >&6; }
9551 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9552 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9553 set dummy ${ncn_progname}; ac_word=$2
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9555 $as_echo_n "checking
for $ac_word...
" >&6; }
9556 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9557 $as_echo_n "(cached
) " >&6
9559 if test -n "$OBJDUMP"; then
9560 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9566 test -z "$as_dir" && as_dir=.
9567 for ac_exec_ext in '' $ac_executable_extensions; do
9568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9569 ac_cv_prog_OBJDUMP="${ncn_progname}"
9570 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9579 OBJDUMP=$ac_cv_prog_OBJDUMP
9580 if test -n "$OBJDUMP"; then
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9582 $as_echo "$OBJDUMP" >&6; }
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9585 $as_echo "no
" >&6; }
9590 test -n "$ac_cv_prog_OBJDUMP" && break
9593 if test -z "$ac_cv_prog_OBJDUMP" ; then
9595 if test $build = $host ; then
9598 OBJDUMP="${ncn_tool_prefix}$2"
9609 # Check whether --with-build-time-tools was given.
9610 if test "${with_build_time_tools+set}" = set; then :
9611 withval=$with_build_time_tools; case x"$withval" in
9614 with_build_time_tools=
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9616 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9620 with_build_time_tools=
9626 if test -n "$CC_FOR_TARGET"; then
9627 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9628 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9629 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9632 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9633 for ncn_progname in cc gcc; do
9634 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9635 set dummy ${ncn_progname}; ac_word=$2
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9637 $as_echo_n "checking
for $ac_word...
" >&6; }
9638 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9639 $as_echo_n "(cached
) " >&6
9641 if test -n "$CC_FOR_TARGET"; then
9642 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9648 test -z "$as_dir" && as_dir=.
9649 for ac_exec_ext in '' $ac_executable_extensions; do
9650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9651 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9652 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9661 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9662 if test -n "$CC_FOR_TARGET"; then
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9664 $as_echo "$CC_FOR_TARGET" >&6; }
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9667 $as_echo "no
" >&6; }
9674 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9675 for ncn_progname in cc gcc; do
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9677 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9678 if test -x $with_build_time_tools/${ncn_progname}; then
9679 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9681 $as_echo "yes" >&6; }
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9685 $as_echo "no
" >&6; }
9690 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9691 for ncn_progname in cc gcc; do
9692 if test -n "$ncn_target_tool_prefix"; then
9693 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9694 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9696 $as_echo_n "checking
for $ac_word...
" >&6; }
9697 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9698 $as_echo_n "(cached
) " >&6
9700 if test -n "$CC_FOR_TARGET"; then
9701 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9707 test -z "$as_dir" && as_dir=.
9708 for ac_exec_ext in '' $ac_executable_extensions; do
9709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9710 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9711 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9720 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9721 if test -n "$CC_FOR_TARGET"; then
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9723 $as_echo "$CC_FOR_TARGET" >&6; }
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9726 $as_echo "no
" >&6; }
9731 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9732 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9733 set dummy ${ncn_progname}; ac_word=$2
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9735 $as_echo_n "checking
for $ac_word...
" >&6; }
9736 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9737 $as_echo_n "(cached
) " >&6
9739 if test -n "$CC_FOR_TARGET"; then
9740 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9746 test -z "$as_dir" && as_dir=.
9747 for ac_exec_ext in '' $ac_executable_extensions; do
9748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9749 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9759 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9760 if test -n "$CC_FOR_TARGET"; then
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9762 $as_echo "$CC_FOR_TARGET" >&6; }
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9765 $as_echo "no
" >&6; }
9770 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9774 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9776 if test $build = $target ; then
9779 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9782 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9787 if test -n "$CXX_FOR_TARGET"; then
9788 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9789 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9790 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9793 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9794 for ncn_progname in c++ g++ cxx gxx; do
9795 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9796 set dummy ${ncn_progname}; ac_word=$2
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9798 $as_echo_n "checking
for $ac_word...
" >&6; }
9799 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9800 $as_echo_n "(cached
) " >&6
9802 if test -n "$CXX_FOR_TARGET"; then
9803 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9809 test -z "$as_dir" && as_dir=.
9810 for ac_exec_ext in '' $ac_executable_extensions; do
9811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9812 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9813 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9822 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9823 if test -n "$CXX_FOR_TARGET"; then
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9825 $as_echo "$CXX_FOR_TARGET" >&6; }
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9828 $as_echo "no
" >&6; }
9835 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9836 for ncn_progname in c++ g++ cxx gxx; do
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9838 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9839 if test -x $with_build_time_tools/${ncn_progname}; then
9840 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9842 $as_echo "yes" >&6; }
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9846 $as_echo "no
" >&6; }
9851 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9852 for ncn_progname in c++ g++ cxx gxx; do
9853 if test -n "$ncn_target_tool_prefix"; then
9854 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9855 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9857 $as_echo_n "checking
for $ac_word...
" >&6; }
9858 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9859 $as_echo_n "(cached
) " >&6
9861 if test -n "$CXX_FOR_TARGET"; then
9862 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9868 test -z "$as_dir" && as_dir=.
9869 for ac_exec_ext in '' $ac_executable_extensions; do
9870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9871 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9872 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9881 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9882 if test -n "$CXX_FOR_TARGET"; then
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9884 $as_echo "$CXX_FOR_TARGET" >&6; }
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9887 $as_echo "no
" >&6; }
9892 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9893 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9894 set dummy ${ncn_progname}; ac_word=$2
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9896 $as_echo_n "checking
for $ac_word...
" >&6; }
9897 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9898 $as_echo_n "(cached
) " >&6
9900 if test -n "$CXX_FOR_TARGET"; then
9901 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9907 test -z "$as_dir" && as_dir=.
9908 for ac_exec_ext in '' $ac_executable_extensions; do
9909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9910 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9911 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9920 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9921 if test -n "$CXX_FOR_TARGET"; then
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9923 $as_echo "$CXX_FOR_TARGET" >&6; }
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9926 $as_echo "no
" >&6; }
9931 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9935 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9936 set dummy c++ g++ cxx gxx
9937 if test $build = $target ; then
9940 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9943 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9948 if test -n "$GCC_FOR_TARGET"; then
9949 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9950 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9951 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9954 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9955 for ncn_progname in gcc; do
9956 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9957 set dummy ${ncn_progname}; ac_word=$2
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9959 $as_echo_n "checking
for $ac_word...
" >&6; }
9960 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9961 $as_echo_n "(cached
) " >&6
9963 if test -n "$GCC_FOR_TARGET"; then
9964 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9970 test -z "$as_dir" && as_dir=.
9971 for ac_exec_ext in '' $ac_executable_extensions; do
9972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9973 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9974 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9983 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9984 if test -n "$GCC_FOR_TARGET"; then
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9986 $as_echo "$GCC_FOR_TARGET" >&6; }
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9989 $as_echo "no
" >&6; }
9996 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9997 for ncn_progname in gcc; do
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9999 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10000 if test -x $with_build_time_tools/${ncn_progname}; then
10001 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10003 $as_echo "yes" >&6; }
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10007 $as_echo "no
" >&6; }
10012 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10013 for ncn_progname in gcc; do
10014 if test -n "$ncn_target_tool_prefix"; then
10015 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10016 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10018 $as_echo_n "checking
for $ac_word...
" >&6; }
10019 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10020 $as_echo_n "(cached
) " >&6
10022 if test -n "$GCC_FOR_TARGET"; then
10023 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10026 for as_dir in $PATH
10029 test -z "$as_dir" && as_dir=.
10030 for ac_exec_ext in '' $ac_executable_extensions; do
10031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10032 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10042 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10043 if test -n "$GCC_FOR_TARGET"; then
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10045 $as_echo "$GCC_FOR_TARGET" >&6; }
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10048 $as_echo "no
" >&6; }
10053 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10054 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10055 set dummy ${ncn_progname}; ac_word=$2
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10057 $as_echo_n "checking
for $ac_word...
" >&6; }
10058 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10059 $as_echo_n "(cached
) " >&6
10061 if test -n "$GCC_FOR_TARGET"; then
10062 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10065 for as_dir in $PATH
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_prog_GCC_FOR_TARGET="${ncn_progname}"
10072 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10081 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10082 if test -n "$GCC_FOR_TARGET"; then
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10084 $as_echo "$GCC_FOR_TARGET" >&6; }
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10087 $as_echo "no
" >&6; }
10092 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10096 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10097 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10099 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10104 if test -n "$GCJ_FOR_TARGET"; then
10105 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10106 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10107 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10110 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10111 for ncn_progname in gcj; do
10112 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10113 set dummy ${ncn_progname}; ac_word=$2
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10115 $as_echo_n "checking
for $ac_word...
" >&6; }
10116 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10117 $as_echo_n "(cached
) " >&6
10119 if test -n "$GCJ_FOR_TARGET"; then
10120 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10123 for as_dir in $PATH
10126 test -z "$as_dir" && as_dir=.
10127 for ac_exec_ext in '' $ac_executable_extensions; do
10128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10129 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10130 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10139 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10140 if test -n "$GCJ_FOR_TARGET"; then
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10142 $as_echo "$GCJ_FOR_TARGET" >&6; }
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10145 $as_echo "no
" >&6; }
10152 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10153 for ncn_progname in gcj; do
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10155 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10156 if test -x $with_build_time_tools/${ncn_progname}; then
10157 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10159 $as_echo "yes" >&6; }
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10163 $as_echo "no
" >&6; }
10168 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10169 for ncn_progname in gcj; do
10170 if test -n "$ncn_target_tool_prefix"; then
10171 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10172 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10174 $as_echo_n "checking
for $ac_word...
" >&6; }
10175 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10176 $as_echo_n "(cached
) " >&6
10178 if test -n "$GCJ_FOR_TARGET"; then
10179 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10182 for as_dir in $PATH
10185 test -z "$as_dir" && as_dir=.
10186 for ac_exec_ext in '' $ac_executable_extensions; do
10187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10188 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10189 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10198 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10199 if test -n "$GCJ_FOR_TARGET"; then
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10201 $as_echo "$GCJ_FOR_TARGET" >&6; }
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10204 $as_echo "no
" >&6; }
10209 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10210 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10211 set dummy ${ncn_progname}; ac_word=$2
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10213 $as_echo_n "checking
for $ac_word...
" >&6; }
10214 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10215 $as_echo_n "(cached
) " >&6
10217 if test -n "$GCJ_FOR_TARGET"; then
10218 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10221 for as_dir in $PATH
10224 test -z "$as_dir" && as_dir=.
10225 for ac_exec_ext in '' $ac_executable_extensions; do
10226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10227 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10228 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10237 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10238 if test -n "$GCJ_FOR_TARGET"; then
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10240 $as_echo "$GCJ_FOR_TARGET" >&6; }
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10243 $as_echo "no
" >&6; }
10248 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10252 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10254 if test $build = $target ; then
10255 GCJ_FOR_TARGET="$2"
10257 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10260 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10265 if test -n "$GFORTRAN_FOR_TARGET"; then
10266 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10267 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10268 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10271 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10272 for ncn_progname in gfortran; do
10273 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10274 set dummy ${ncn_progname}; ac_word=$2
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10276 $as_echo_n "checking
for $ac_word...
" >&6; }
10277 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10278 $as_echo_n "(cached
) " >&6
10280 if test -n "$GFORTRAN_FOR_TARGET"; then
10281 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10284 for as_dir in $PATH
10287 test -z "$as_dir" && as_dir=.
10288 for ac_exec_ext in '' $ac_executable_extensions; do
10289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10290 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10291 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10300 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10301 if test -n "$GFORTRAN_FOR_TARGET"; then
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10303 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10306 $as_echo "no
" >&6; }
10313 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10314 for ncn_progname in gfortran; do
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10316 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10317 if test -x $with_build_time_tools/${ncn_progname}; then
10318 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10320 $as_echo "yes" >&6; }
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10324 $as_echo "no
" >&6; }
10329 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10330 for ncn_progname in gfortran; do
10331 if test -n "$ncn_target_tool_prefix"; then
10332 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10333 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10335 $as_echo_n "checking
for $ac_word...
" >&6; }
10336 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10337 $as_echo_n "(cached
) " >&6
10339 if test -n "$GFORTRAN_FOR_TARGET"; then
10340 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10343 for as_dir in $PATH
10346 test -z "$as_dir" && as_dir=.
10347 for ac_exec_ext in '' $ac_executable_extensions; do
10348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10349 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10350 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10359 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10360 if test -n "$GFORTRAN_FOR_TARGET"; then
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10362 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10365 $as_echo "no
" >&6; }
10370 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10371 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10372 set dummy ${ncn_progname}; ac_word=$2
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10374 $as_echo_n "checking
for $ac_word...
" >&6; }
10375 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10376 $as_echo_n "(cached
) " >&6
10378 if test -n "$GFORTRAN_FOR_TARGET"; then
10379 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10382 for as_dir in $PATH
10385 test -z "$as_dir" && as_dir=.
10386 for ac_exec_ext in '' $ac_executable_extensions; do
10387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10388 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10389 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10398 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10399 if test -n "$GFORTRAN_FOR_TARGET"; then
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10401 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10404 $as_echo "no
" >&6; }
10409 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10413 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10415 if test $build = $target ; then
10416 GFORTRAN_FOR_TARGET="$2"
10418 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10421 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10426 cat > conftest.c << \EOF
10431 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10432 have_gcc_for_target=yes
10434 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10435 have_gcc_for_target=no
10442 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10443 if test -n "$with_build_time_tools"; then
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10445 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10446 if test -x $with_build_time_tools/ar; then
10447 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10448 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10450 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10453 $as_echo "no
" >&6; }
10455 elif test $build != $host && test $have_gcc_for_target = yes; then
10456 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10457 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10458 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10461 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10462 # Extract the first word of "ar", so it can be a program name with args.
10463 set dummy ar; ac_word=$2
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10465 $as_echo_n "checking
for $ac_word...
" >&6; }
10466 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10467 $as_echo_n "(cached
) " >&6
10469 case $AR_FOR_TARGET in
10471 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10475 for as_dir in $gcc_cv_tool_dirs
10478 test -z "$as_dir" && as_dir=.
10479 for ac_exec_ext in '' $ac_executable_extensions; do
10480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10481 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10482 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10492 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10493 if test -n "$AR_FOR_TARGET"; then
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10495 $as_echo "$AR_FOR_TARGET" >&6; }
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10498 $as_echo "no
" >&6; }
10503 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10506 if test -n "$AR_FOR_TARGET"; then
10507 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10508 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10509 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10512 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10513 for ncn_progname in ar; do
10514 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10515 set dummy ${ncn_progname}; ac_word=$2
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10517 $as_echo_n "checking
for $ac_word...
" >&6; }
10518 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10519 $as_echo_n "(cached
) " >&6
10521 if test -n "$AR_FOR_TARGET"; then
10522 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10525 for as_dir in $PATH
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_prog_AR_FOR_TARGET="${ncn_progname}"
10532 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10541 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10542 if test -n "$AR_FOR_TARGET"; then
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10544 $as_echo "$AR_FOR_TARGET" >&6; }
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10547 $as_echo "no
" >&6; }
10554 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10555 for ncn_progname in ar; do
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10557 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10558 if test -x $with_build_time_tools/${ncn_progname}; then
10559 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10561 $as_echo "yes" >&6; }
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10565 $as_echo "no
" >&6; }
10570 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10571 for ncn_progname in ar; do
10572 if test -n "$ncn_target_tool_prefix"; then
10573 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10574 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10576 $as_echo_n "checking
for $ac_word...
" >&6; }
10577 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10578 $as_echo_n "(cached
) " >&6
10580 if test -n "$AR_FOR_TARGET"; then
10581 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10584 for as_dir in $PATH
10587 test -z "$as_dir" && as_dir=.
10588 for ac_exec_ext in '' $ac_executable_extensions; do
10589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10590 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10591 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10600 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10601 if test -n "$AR_FOR_TARGET"; then
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10603 $as_echo "$AR_FOR_TARGET" >&6; }
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10606 $as_echo "no
" >&6; }
10611 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10612 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10613 set dummy ${ncn_progname}; ac_word=$2
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10615 $as_echo_n "checking
for $ac_word...
" >&6; }
10616 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10617 $as_echo_n "(cached
) " >&6
10619 if test -n "$AR_FOR_TARGET"; then
10620 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10623 for as_dir in $PATH
10626 test -z "$as_dir" && as_dir=.
10627 for ac_exec_ext in '' $ac_executable_extensions; do
10628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10629 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10630 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10639 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10640 if test -n "$AR_FOR_TARGET"; then
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10642 $as_echo "$AR_FOR_TARGET" >&6; }
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10645 $as_echo "no
" >&6; }
10650 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10654 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10656 if test $build = $target ; then
10659 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10662 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10666 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10672 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10673 if test -n "$with_build_time_tools"; then
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10675 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10676 if test -x $with_build_time_tools/as; then
10677 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10678 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10680 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10683 $as_echo "no
" >&6; }
10685 elif test $build != $host && test $have_gcc_for_target = yes; then
10686 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10687 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10688 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10691 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10692 # Extract the first word of "as
", so it can be a program name with args.
10693 set dummy as; ac_word=$2
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10695 $as_echo_n "checking
for $ac_word...
" >&6; }
10696 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10697 $as_echo_n "(cached
) " >&6
10699 case $AS_FOR_TARGET in
10701 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10705 for as_dir in $gcc_cv_tool_dirs
10708 test -z "$as_dir" && as_dir=.
10709 for ac_exec_ext in '' $ac_executable_extensions; do
10710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10711 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10712 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10722 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10723 if test -n "$AS_FOR_TARGET"; then
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10725 $as_echo "$AS_FOR_TARGET" >&6; }
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10728 $as_echo "no
" >&6; }
10733 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10736 if test -n "$AS_FOR_TARGET"; then
10737 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10738 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10739 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10742 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10743 for ncn_progname in as; do
10744 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10745 set dummy ${ncn_progname}; ac_word=$2
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10747 $as_echo_n "checking
for $ac_word...
" >&6; }
10748 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10749 $as_echo_n "(cached
) " >&6
10751 if test -n "$AS_FOR_TARGET"; then
10752 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10755 for as_dir in $PATH
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_prog_AS_FOR_TARGET="${ncn_progname}"
10762 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10771 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10772 if test -n "$AS_FOR_TARGET"; then
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10774 $as_echo "$AS_FOR_TARGET" >&6; }
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10777 $as_echo "no
" >&6; }
10784 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10785 for ncn_progname in as; do
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10787 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10788 if test -x $with_build_time_tools/${ncn_progname}; then
10789 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10791 $as_echo "yes" >&6; }
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10795 $as_echo "no
" >&6; }
10800 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10801 for ncn_progname in as; do
10802 if test -n "$ncn_target_tool_prefix"; then
10803 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10804 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10806 $as_echo_n "checking
for $ac_word...
" >&6; }
10807 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10808 $as_echo_n "(cached
) " >&6
10810 if test -n "$AS_FOR_TARGET"; then
10811 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10814 for as_dir in $PATH
10817 test -z "$as_dir" && as_dir=.
10818 for ac_exec_ext in '' $ac_executable_extensions; do
10819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10820 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10821 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10830 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10831 if test -n "$AS_FOR_TARGET"; then
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10833 $as_echo "$AS_FOR_TARGET" >&6; }
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10836 $as_echo "no
" >&6; }
10841 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
10842 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10843 set dummy ${ncn_progname}; ac_word=$2
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10845 $as_echo_n "checking
for $ac_word...
" >&6; }
10846 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10847 $as_echo_n "(cached
) " >&6
10849 if test -n "$AS_FOR_TARGET"; then
10850 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10853 for as_dir in $PATH
10856 test -z "$as_dir" && as_dir=.
10857 for ac_exec_ext in '' $ac_executable_extensions; do
10858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10859 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10860 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10869 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10870 if test -n "$AS_FOR_TARGET"; then
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10872 $as_echo "$AS_FOR_TARGET" >&6; }
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10875 $as_echo "no
" >&6; }
10880 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
10884 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
10886 if test $build = $target ; then
10889 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
10892 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
10896 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10902 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10903 if test -n "$with_build_time_tools"; then
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
10905 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
10906 if test -x $with_build_time_tools/dlltool; then
10907 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
10908 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
10910 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10913 $as_echo "no
" >&6; }
10915 elif test $build != $host && test $have_gcc_for_target = yes; then
10916 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
10917 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
10918 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10921 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10922 # Extract the first word of "dlltool
", so it can be a program name with args.
10923 set dummy dlltool; ac_word=$2
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10925 $as_echo_n "checking
for $ac_word...
" >&6; }
10926 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
10927 $as_echo_n "(cached
) " >&6
10929 case $DLLTOOL_FOR_TARGET in
10931 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
10934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10935 for as_dir in $gcc_cv_tool_dirs
10938 test -z "$as_dir" && as_dir=.
10939 for ac_exec_ext in '' $ac_executable_extensions; do
10940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10941 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10942 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10952 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10953 if test -n "$DLLTOOL_FOR_TARGET"; then
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
10955 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10958 $as_echo "no
" >&6; }
10963 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10966 if test -n "$DLLTOOL_FOR_TARGET"; then
10967 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10968 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10969 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10972 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10973 for ncn_progname in dlltool; do
10974 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10975 set dummy ${ncn_progname}; ac_word=$2
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10977 $as_echo_n "checking
for $ac_word...
" >&6; }
10978 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10979 $as_echo_n "(cached
) " >&6
10981 if test -n "$DLLTOOL_FOR_TARGET"; then
10982 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10985 for as_dir in $PATH
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_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10992 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11001 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11002 if test -n "$DLLTOOL_FOR_TARGET"; then
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11004 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11007 $as_echo "no
" >&6; }
11014 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11015 for ncn_progname in dlltool; do
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11017 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11018 if test -x $with_build_time_tools/${ncn_progname}; then
11019 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11021 $as_echo "yes" >&6; }
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11025 $as_echo "no
" >&6; }
11030 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11031 for ncn_progname in dlltool; do
11032 if test -n "$ncn_target_tool_prefix"; then
11033 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11034 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11036 $as_echo_n "checking
for $ac_word...
" >&6; }
11037 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11038 $as_echo_n "(cached
) " >&6
11040 if test -n "$DLLTOOL_FOR_TARGET"; then
11041 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11044 for as_dir in $PATH
11047 test -z "$as_dir" && as_dir=.
11048 for ac_exec_ext in '' $ac_executable_extensions; do
11049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11050 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11051 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11060 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11061 if test -n "$DLLTOOL_FOR_TARGET"; then
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11063 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11066 $as_echo "no
" >&6; }
11071 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11072 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11073 set dummy ${ncn_progname}; ac_word=$2
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11075 $as_echo_n "checking
for $ac_word...
" >&6; }
11076 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11077 $as_echo_n "(cached
) " >&6
11079 if test -n "$DLLTOOL_FOR_TARGET"; then
11080 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11083 for as_dir in $PATH
11086 test -z "$as_dir" && as_dir=.
11087 for ac_exec_ext in '' $ac_executable_extensions; do
11088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11089 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11090 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11099 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11100 if test -n "$DLLTOOL_FOR_TARGET"; then
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11102 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11105 $as_echo "no
" >&6; }
11110 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11114 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11116 if test $build = $target ; then
11117 DLLTOOL_FOR_TARGET="$2"
11119 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11122 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11126 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11132 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11133 if test -n "$with_build_time_tools"; then
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11135 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11136 if test -x $with_build_time_tools/ld; then
11137 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11138 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11140 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11143 $as_echo "no
" >&6; }
11145 elif test $build != $host && test $have_gcc_for_target = yes; then
11146 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11147 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11148 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11151 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11152 # Extract the first word of "ld
", so it can be a program name with args.
11153 set dummy ld; ac_word=$2
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11155 $as_echo_n "checking
for $ac_word...
" >&6; }
11156 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11157 $as_echo_n "(cached
) " >&6
11159 case $LD_FOR_TARGET in
11161 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11165 for as_dir in $gcc_cv_tool_dirs
11168 test -z "$as_dir" && as_dir=.
11169 for ac_exec_ext in '' $ac_executable_extensions; do
11170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11171 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11172 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11182 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11183 if test -n "$LD_FOR_TARGET"; then
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11185 $as_echo "$LD_FOR_TARGET" >&6; }
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11188 $as_echo "no
" >&6; }
11193 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11196 if test -n "$LD_FOR_TARGET"; then
11197 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11198 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11199 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11202 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11203 for ncn_progname in ld; do
11204 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11205 set dummy ${ncn_progname}; ac_word=$2
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11207 $as_echo_n "checking
for $ac_word...
" >&6; }
11208 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11209 $as_echo_n "(cached
) " >&6
11211 if test -n "$LD_FOR_TARGET"; then
11212 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11215 for as_dir in $PATH
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_prog_LD_FOR_TARGET="${ncn_progname}"
11222 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11231 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11232 if test -n "$LD_FOR_TARGET"; then
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11234 $as_echo "$LD_FOR_TARGET" >&6; }
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11237 $as_echo "no
" >&6; }
11244 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11245 for ncn_progname in ld; do
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11247 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11248 if test -x $with_build_time_tools/${ncn_progname}; then
11249 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11251 $as_echo "yes" >&6; }
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11255 $as_echo "no
" >&6; }
11260 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11261 for ncn_progname in ld; do
11262 if test -n "$ncn_target_tool_prefix"; then
11263 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11264 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11266 $as_echo_n "checking
for $ac_word...
" >&6; }
11267 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11268 $as_echo_n "(cached
) " >&6
11270 if test -n "$LD_FOR_TARGET"; then
11271 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11274 for as_dir in $PATH
11277 test -z "$as_dir" && as_dir=.
11278 for ac_exec_ext in '' $ac_executable_extensions; do
11279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11280 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11281 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11290 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11291 if test -n "$LD_FOR_TARGET"; then
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11293 $as_echo "$LD_FOR_TARGET" >&6; }
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11296 $as_echo "no
" >&6; }
11301 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11302 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11303 set dummy ${ncn_progname}; ac_word=$2
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11305 $as_echo_n "checking
for $ac_word...
" >&6; }
11306 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11307 $as_echo_n "(cached
) " >&6
11309 if test -n "$LD_FOR_TARGET"; then
11310 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11313 for as_dir in $PATH
11316 test -z "$as_dir" && as_dir=.
11317 for ac_exec_ext in '' $ac_executable_extensions; do
11318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11319 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11320 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11329 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11330 if test -n "$LD_FOR_TARGET"; then
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11332 $as_echo "$LD_FOR_TARGET" >&6; }
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11335 $as_echo "no
" >&6; }
11340 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11344 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11346 if test $build = $target ; then
11349 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11352 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11356 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11362 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11363 if test -n "$with_build_time_tools"; then
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11365 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11366 if test -x $with_build_time_tools/lipo; then
11367 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11368 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11370 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11373 $as_echo "no
" >&6; }
11375 elif test $build != $host && test $have_gcc_for_target = yes; then
11376 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11377 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11378 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11381 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11382 # Extract the first word of "lipo
", so it can be a program name with args.
11383 set dummy lipo; ac_word=$2
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11385 $as_echo_n "checking
for $ac_word...
" >&6; }
11386 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11387 $as_echo_n "(cached
) " >&6
11389 case $LIPO_FOR_TARGET in
11391 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11395 for as_dir in $gcc_cv_tool_dirs
11398 test -z "$as_dir" && as_dir=.
11399 for ac_exec_ext in '' $ac_executable_extensions; do
11400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11401 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11402 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11412 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11413 if test -n "$LIPO_FOR_TARGET"; then
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11415 $as_echo "$LIPO_FOR_TARGET" >&6; }
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11418 $as_echo "no
" >&6; }
11423 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11426 if test -n "$LIPO_FOR_TARGET"; then
11427 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11428 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11429 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11432 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11433 for ncn_progname in lipo; do
11434 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11435 set dummy ${ncn_progname}; ac_word=$2
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11437 $as_echo_n "checking
for $ac_word...
" >&6; }
11438 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11439 $as_echo_n "(cached
) " >&6
11441 if test -n "$LIPO_FOR_TARGET"; then
11442 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11445 for as_dir in $PATH
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_prog_LIPO_FOR_TARGET="${ncn_progname}"
11452 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11461 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11462 if test -n "$LIPO_FOR_TARGET"; then
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11464 $as_echo "$LIPO_FOR_TARGET" >&6; }
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11467 $as_echo "no
" >&6; }
11474 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11475 for ncn_progname in lipo; do
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11477 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11478 if test -x $with_build_time_tools/${ncn_progname}; then
11479 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11481 $as_echo "yes" >&6; }
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11485 $as_echo "no
" >&6; }
11490 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11491 for ncn_progname in lipo; do
11492 if test -n "$ncn_target_tool_prefix"; then
11493 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11494 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11496 $as_echo_n "checking
for $ac_word...
" >&6; }
11497 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11498 $as_echo_n "(cached
) " >&6
11500 if test -n "$LIPO_FOR_TARGET"; then
11501 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11504 for as_dir in $PATH
11507 test -z "$as_dir" && as_dir=.
11508 for ac_exec_ext in '' $ac_executable_extensions; do
11509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11510 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11511 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11520 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11521 if test -n "$LIPO_FOR_TARGET"; then
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11523 $as_echo "$LIPO_FOR_TARGET" >&6; }
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11526 $as_echo "no
" >&6; }
11531 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11532 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11533 set dummy ${ncn_progname}; ac_word=$2
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11535 $as_echo_n "checking
for $ac_word...
" >&6; }
11536 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11537 $as_echo_n "(cached
) " >&6
11539 if test -n "$LIPO_FOR_TARGET"; then
11540 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11543 for as_dir in $PATH
11546 test -z "$as_dir" && as_dir=.
11547 for ac_exec_ext in '' $ac_executable_extensions; do
11548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11549 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11550 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11559 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11560 if test -n "$LIPO_FOR_TARGET"; then
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11562 $as_echo "$LIPO_FOR_TARGET" >&6; }
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11565 $as_echo "no
" >&6; }
11570 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11574 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11576 if test $build = $target ; then
11577 LIPO_FOR_TARGET="$2"
11579 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11582 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11586 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11592 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11593 if test -n "$with_build_time_tools"; then
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11595 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11596 if test -x $with_build_time_tools/nm; then
11597 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11598 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11600 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11603 $as_echo "no
" >&6; }
11605 elif test $build != $host && test $have_gcc_for_target = yes; then
11606 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11607 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11608 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11611 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11612 # Extract the first word of "nm
", so it can be a program name with args.
11613 set dummy nm; ac_word=$2
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11615 $as_echo_n "checking
for $ac_word...
" >&6; }
11616 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11617 $as_echo_n "(cached
) " >&6
11619 case $NM_FOR_TARGET in
11621 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11625 for as_dir in $gcc_cv_tool_dirs
11628 test -z "$as_dir" && as_dir=.
11629 for ac_exec_ext in '' $ac_executable_extensions; do
11630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11631 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11632 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11642 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11643 if test -n "$NM_FOR_TARGET"; then
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11645 $as_echo "$NM_FOR_TARGET" >&6; }
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11648 $as_echo "no
" >&6; }
11653 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11656 if test -n "$NM_FOR_TARGET"; then
11657 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11658 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11659 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11662 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11663 for ncn_progname in nm; do
11664 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11665 set dummy ${ncn_progname}; ac_word=$2
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11667 $as_echo_n "checking
for $ac_word...
" >&6; }
11668 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11669 $as_echo_n "(cached
) " >&6
11671 if test -n "$NM_FOR_TARGET"; then
11672 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11675 for as_dir in $PATH
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_prog_NM_FOR_TARGET="${ncn_progname}"
11682 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11691 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11692 if test -n "$NM_FOR_TARGET"; then
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11694 $as_echo "$NM_FOR_TARGET" >&6; }
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11697 $as_echo "no
" >&6; }
11704 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11705 for ncn_progname in nm; do
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11707 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11708 if test -x $with_build_time_tools/${ncn_progname}; then
11709 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11711 $as_echo "yes" >&6; }
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11715 $as_echo "no
" >&6; }
11720 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11721 for ncn_progname in nm; do
11722 if test -n "$ncn_target_tool_prefix"; then
11723 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11724 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11726 $as_echo_n "checking
for $ac_word...
" >&6; }
11727 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11728 $as_echo_n "(cached
) " >&6
11730 if test -n "$NM_FOR_TARGET"; then
11731 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11734 for as_dir in $PATH
11737 test -z "$as_dir" && as_dir=.
11738 for ac_exec_ext in '' $ac_executable_extensions; do
11739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11740 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11741 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11750 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11751 if test -n "$NM_FOR_TARGET"; then
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11753 $as_echo "$NM_FOR_TARGET" >&6; }
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11756 $as_echo "no
" >&6; }
11761 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11762 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11763 set dummy ${ncn_progname}; ac_word=$2
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11765 $as_echo_n "checking
for $ac_word...
" >&6; }
11766 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11767 $as_echo_n "(cached
) " >&6
11769 if test -n "$NM_FOR_TARGET"; then
11770 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11773 for as_dir in $PATH
11776 test -z "$as_dir" && as_dir=.
11777 for ac_exec_ext in '' $ac_executable_extensions; do
11778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11779 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11780 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11789 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11790 if test -n "$NM_FOR_TARGET"; then
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11792 $as_echo "$NM_FOR_TARGET" >&6; }
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11795 $as_echo "no
" >&6; }
11800 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11804 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11806 if test $build = $target ; then
11809 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
11812 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
11816 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11822 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11823 if test -n "$with_build_time_tools"; then
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
11825 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
11826 if test -x $with_build_time_tools/objdump; then
11827 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
11828 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
11830 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11833 $as_echo "no
" >&6; }
11835 elif test $build != $host && test $have_gcc_for_target = yes; then
11836 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
11837 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
11838 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11841 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11842 # Extract the first word of "objdump
", so it can be a program name with args.
11843 set dummy objdump; ac_word=$2
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11845 $as_echo_n "checking
for $ac_word...
" >&6; }
11846 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
11847 $as_echo_n "(cached
) " >&6
11849 case $OBJDUMP_FOR_TARGET in
11851 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
11854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11855 for as_dir in $gcc_cv_tool_dirs
11858 test -z "$as_dir" && as_dir=.
11859 for ac_exec_ext in '' $ac_executable_extensions; do
11860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11861 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11862 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11872 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11873 if test -n "$OBJDUMP_FOR_TARGET"; then
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11875 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11878 $as_echo "no
" >&6; }
11883 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11886 if test -n "$OBJDUMP_FOR_TARGET"; then
11887 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11888 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11889 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11892 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11893 for ncn_progname in objdump; do
11894 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11895 set dummy ${ncn_progname}; ac_word=$2
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11897 $as_echo_n "checking
for $ac_word...
" >&6; }
11898 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11899 $as_echo_n "(cached
) " >&6
11901 if test -n "$OBJDUMP_FOR_TARGET"; then
11902 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11905 for as_dir in $PATH
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_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
11912 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11921 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11922 if test -n "$OBJDUMP_FOR_TARGET"; then
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11924 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11927 $as_echo "no
" >&6; }
11934 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11935 for ncn_progname in objdump; do
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11937 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11938 if test -x $with_build_time_tools/${ncn_progname}; then
11939 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11941 $as_echo "yes" >&6; }
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11945 $as_echo "no
" >&6; }
11950 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11951 for ncn_progname in objdump; do
11952 if test -n "$ncn_target_tool_prefix"; then
11953 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11954 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11956 $as_echo_n "checking
for $ac_word...
" >&6; }
11957 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11958 $as_echo_n "(cached
) " >&6
11960 if test -n "$OBJDUMP_FOR_TARGET"; then
11961 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11964 for as_dir in $PATH
11967 test -z "$as_dir" && as_dir=.
11968 for ac_exec_ext in '' $ac_executable_extensions; do
11969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11970 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11971 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11980 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11981 if test -n "$OBJDUMP_FOR_TARGET"; then
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11983 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11986 $as_echo "no
" >&6; }
11991 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
11992 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11993 set dummy ${ncn_progname}; ac_word=$2
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11995 $as_echo_n "checking
for $ac_word...
" >&6; }
11996 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11997 $as_echo_n "(cached
) " >&6
11999 if test -n "$OBJDUMP_FOR_TARGET"; then
12000 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12003 for as_dir in $PATH
12006 test -z "$as_dir" && as_dir=.
12007 for ac_exec_ext in '' $ac_executable_extensions; do
12008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12009 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12010 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12019 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12020 if test -n "$OBJDUMP_FOR_TARGET"; then
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12022 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12025 $as_echo "no
" >&6; }
12030 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12034 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12036 if test $build = $target ; then
12037 OBJDUMP_FOR_TARGET="$2"
12039 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12042 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12046 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12052 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12053 if test -n "$with_build_time_tools"; then
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12055 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12056 if test -x $with_build_time_tools/ranlib; then
12057 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12058 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12060 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12063 $as_echo "no
" >&6; }
12065 elif test $build != $host && test $have_gcc_for_target = yes; then
12066 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12067 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12068 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12071 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12072 # Extract the first word of "ranlib
", so it can be a program name with args.
12073 set dummy ranlib; ac_word=$2
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12075 $as_echo_n "checking
for $ac_word...
" >&6; }
12076 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12077 $as_echo_n "(cached
) " >&6
12079 case $RANLIB_FOR_TARGET in
12081 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12085 for as_dir in $gcc_cv_tool_dirs
12088 test -z "$as_dir" && as_dir=.
12089 for ac_exec_ext in '' $ac_executable_extensions; do
12090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12091 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12102 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12103 if test -n "$RANLIB_FOR_TARGET"; then
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12105 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12108 $as_echo "no
" >&6; }
12113 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12116 if test -n "$RANLIB_FOR_TARGET"; then
12117 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12118 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12119 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12122 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12123 for ncn_progname in ranlib; do
12124 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12125 set dummy ${ncn_progname}; ac_word=$2
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12127 $as_echo_n "checking
for $ac_word...
" >&6; }
12128 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12129 $as_echo_n "(cached
) " >&6
12131 if test -n "$RANLIB_FOR_TARGET"; then
12132 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12135 for as_dir in $PATH
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_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12142 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12151 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12152 if test -n "$RANLIB_FOR_TARGET"; then
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12154 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12157 $as_echo "no
" >&6; }
12164 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12165 for ncn_progname in ranlib; do
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12167 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12168 if test -x $with_build_time_tools/${ncn_progname}; then
12169 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12171 $as_echo "yes" >&6; }
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12175 $as_echo "no
" >&6; }
12180 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12181 for ncn_progname in ranlib; do
12182 if test -n "$ncn_target_tool_prefix"; then
12183 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12184 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12186 $as_echo_n "checking
for $ac_word...
" >&6; }
12187 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12188 $as_echo_n "(cached
) " >&6
12190 if test -n "$RANLIB_FOR_TARGET"; then
12191 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12194 for as_dir in $PATH
12197 test -z "$as_dir" && as_dir=.
12198 for ac_exec_ext in '' $ac_executable_extensions; do
12199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12200 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12201 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12210 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12211 if test -n "$RANLIB_FOR_TARGET"; then
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12213 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12216 $as_echo "no
" >&6; }
12221 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12222 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12223 set dummy ${ncn_progname}; ac_word=$2
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12225 $as_echo_n "checking
for $ac_word...
" >&6; }
12226 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12227 $as_echo_n "(cached
) " >&6
12229 if test -n "$RANLIB_FOR_TARGET"; then
12230 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12233 for as_dir in $PATH
12236 test -z "$as_dir" && as_dir=.
12237 for ac_exec_ext in '' $ac_executable_extensions; do
12238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12239 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12240 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12249 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12250 if test -n "$RANLIB_FOR_TARGET"; then
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12252 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12255 $as_echo "no
" >&6; }
12260 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12264 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12266 if test $build = $target ; then
12267 RANLIB_FOR_TARGET="$2"
12269 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12272 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12276 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12282 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12283 if test -n "$with_build_time_tools"; then
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12285 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12286 if test -x $with_build_time_tools/strip; then
12287 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12288 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12290 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12293 $as_echo "no
" >&6; }
12295 elif test $build != $host && test $have_gcc_for_target = yes; then
12296 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12297 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12298 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12301 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12302 # Extract the first word of "strip
", so it can be a program name with args.
12303 set dummy strip; ac_word=$2
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12305 $as_echo_n "checking
for $ac_word...
" >&6; }
12306 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12307 $as_echo_n "(cached
) " >&6
12309 case $STRIP_FOR_TARGET in
12311 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12315 for as_dir in $gcc_cv_tool_dirs
12318 test -z "$as_dir" && as_dir=.
12319 for ac_exec_ext in '' $ac_executable_extensions; do
12320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12321 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12322 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12332 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12333 if test -n "$STRIP_FOR_TARGET"; then
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12335 $as_echo "$STRIP_FOR_TARGET" >&6; }
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12338 $as_echo "no
" >&6; }
12343 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12346 if test -n "$STRIP_FOR_TARGET"; then
12347 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12348 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12349 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12352 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12353 for ncn_progname in strip; do
12354 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12355 set dummy ${ncn_progname}; ac_word=$2
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12357 $as_echo_n "checking
for $ac_word...
" >&6; }
12358 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12359 $as_echo_n "(cached
) " >&6
12361 if test -n "$STRIP_FOR_TARGET"; then
12362 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12365 for as_dir in $PATH
12368 test -z "$as_dir" && as_dir=.
12369 for ac_exec_ext in '' $ac_executable_extensions; do
12370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12371 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12372 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12381 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12382 if test -n "$STRIP_FOR_TARGET"; then
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12384 $as_echo "$STRIP_FOR_TARGET" >&6; }
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12387 $as_echo "no
" >&6; }
12394 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12395 for ncn_progname in strip; do
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12397 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12398 if test -x $with_build_time_tools/${ncn_progname}; then
12399 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12401 $as_echo "yes" >&6; }
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12405 $as_echo "no
" >&6; }
12410 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12411 for ncn_progname in strip; do
12412 if test -n "$ncn_target_tool_prefix"; then
12413 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12414 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12416 $as_echo_n "checking
for $ac_word...
" >&6; }
12417 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12418 $as_echo_n "(cached
) " >&6
12420 if test -n "$STRIP_FOR_TARGET"; then
12421 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12424 for as_dir in $PATH
12427 test -z "$as_dir" && as_dir=.
12428 for ac_exec_ext in '' $ac_executable_extensions; do
12429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12430 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12431 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12440 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12441 if test -n "$STRIP_FOR_TARGET"; then
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12443 $as_echo "$STRIP_FOR_TARGET" >&6; }
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12446 $as_echo "no
" >&6; }
12451 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12452 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12453 set dummy ${ncn_progname}; ac_word=$2
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12455 $as_echo_n "checking
for $ac_word...
" >&6; }
12456 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12457 $as_echo_n "(cached
) " >&6
12459 if test -n "$STRIP_FOR_TARGET"; then
12460 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12463 for as_dir in $PATH
12466 test -z "$as_dir" && as_dir=.
12467 for ac_exec_ext in '' $ac_executable_extensions; do
12468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12469 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12470 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12479 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12480 if test -n "$STRIP_FOR_TARGET"; then
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12482 $as_echo "$STRIP_FOR_TARGET" >&6; }
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12485 $as_echo "no
" >&6; }
12490 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12494 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12496 if test $build = $target ; then
12497 STRIP_FOR_TARGET="$2"
12499 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12502 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12506 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12512 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12513 if test -n "$with_build_time_tools"; then
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12515 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12516 if test -x $with_build_time_tools/windres; then
12517 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12518 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12520 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12523 $as_echo "no
" >&6; }
12525 elif test $build != $host && test $have_gcc_for_target = yes; then
12526 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12527 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12528 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12531 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12532 # Extract the first word of "windres
", so it can be a program name with args.
12533 set dummy windres; ac_word=$2
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12535 $as_echo_n "checking
for $ac_word...
" >&6; }
12536 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12537 $as_echo_n "(cached
) " >&6
12539 case $WINDRES_FOR_TARGET in
12541 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12545 for as_dir in $gcc_cv_tool_dirs
12548 test -z "$as_dir" && as_dir=.
12549 for ac_exec_ext in '' $ac_executable_extensions; do
12550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12551 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12552 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12562 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12563 if test -n "$WINDRES_FOR_TARGET"; then
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12565 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12568 $as_echo "no
" >&6; }
12573 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12576 if test -n "$WINDRES_FOR_TARGET"; then
12577 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12578 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12579 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12582 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12583 for ncn_progname in windres; do
12584 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12585 set dummy ${ncn_progname}; ac_word=$2
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12587 $as_echo_n "checking
for $ac_word...
" >&6; }
12588 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12589 $as_echo_n "(cached
) " >&6
12591 if test -n "$WINDRES_FOR_TARGET"; then
12592 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12595 for as_dir in $PATH
12598 test -z "$as_dir" && as_dir=.
12599 for ac_exec_ext in '' $ac_executable_extensions; do
12600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12601 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12602 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12611 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12612 if test -n "$WINDRES_FOR_TARGET"; then
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12614 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12617 $as_echo "no
" >&6; }
12624 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12625 for ncn_progname in windres; do
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12627 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12628 if test -x $with_build_time_tools/${ncn_progname}; then
12629 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12631 $as_echo "yes" >&6; }
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12635 $as_echo "no
" >&6; }
12640 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12641 for ncn_progname in windres; do
12642 if test -n "$ncn_target_tool_prefix"; then
12643 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12644 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12646 $as_echo_n "checking
for $ac_word...
" >&6; }
12647 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12648 $as_echo_n "(cached
) " >&6
12650 if test -n "$WINDRES_FOR_TARGET"; then
12651 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12654 for as_dir in $PATH
12657 test -z "$as_dir" && as_dir=.
12658 for ac_exec_ext in '' $ac_executable_extensions; do
12659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12660 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12661 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12670 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12671 if test -n "$WINDRES_FOR_TARGET"; then
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12673 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12676 $as_echo "no
" >&6; }
12681 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12682 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12683 set dummy ${ncn_progname}; ac_word=$2
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12685 $as_echo_n "checking
for $ac_word...
" >&6; }
12686 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12687 $as_echo_n "(cached
) " >&6
12689 if test -n "$WINDRES_FOR_TARGET"; then
12690 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12693 for as_dir in $PATH
12696 test -z "$as_dir" && as_dir=.
12697 for ac_exec_ext in '' $ac_executable_extensions; do
12698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12699 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12700 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12709 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12710 if test -n "$WINDRES_FOR_TARGET"; then
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12712 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12715 $as_echo "no
" >&6; }
12720 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12724 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12726 if test $build = $target ; then
12727 WINDRES_FOR_TARGET="$2"
12729 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12732 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12736 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12742 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12743 if test -n "$with_build_time_tools"; then
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
12745 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
12746 if test -x $with_build_time_tools/windmc; then
12747 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
12748 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
12750 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12753 $as_echo "no
" >&6; }
12755 elif test $build != $host && test $have_gcc_for_target = yes; then
12756 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
12757 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
12758 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12761 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12762 # Extract the first word of "windmc
", so it can be a program name with args.
12763 set dummy windmc; ac_word=$2
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12765 $as_echo_n "checking
for $ac_word...
" >&6; }
12766 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
12767 $as_echo_n "(cached
) " >&6
12769 case $WINDMC_FOR_TARGET in
12771 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
12774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12775 for as_dir in $gcc_cv_tool_dirs
12778 test -z "$as_dir" && as_dir=.
12779 for ac_exec_ext in '' $ac_executable_extensions; do
12780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12781 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12782 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12792 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12793 if test -n "$WINDMC_FOR_TARGET"; then
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12795 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12798 $as_echo "no
" >&6; }
12803 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12806 if test -n "$WINDMC_FOR_TARGET"; then
12807 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12808 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12809 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12812 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12813 for ncn_progname in windmc; do
12814 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12815 set dummy ${ncn_progname}; ac_word=$2
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12817 $as_echo_n "checking
for $ac_word...
" >&6; }
12818 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12819 $as_echo_n "(cached
) " >&6
12821 if test -n "$WINDMC_FOR_TARGET"; then
12822 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12825 for as_dir in $PATH
12828 test -z "$as_dir" && as_dir=.
12829 for ac_exec_ext in '' $ac_executable_extensions; do
12830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12831 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12832 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12841 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12842 if test -n "$WINDMC_FOR_TARGET"; then
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12844 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12847 $as_echo "no
" >&6; }
12854 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12855 for ncn_progname in windmc; do
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12857 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12858 if test -x $with_build_time_tools/${ncn_progname}; then
12859 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12861 $as_echo "yes" >&6; }
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12865 $as_echo "no
" >&6; }
12870 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12871 for ncn_progname in windmc; do
12872 if test -n "$ncn_target_tool_prefix"; then
12873 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12874 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12876 $as_echo_n "checking
for $ac_word...
" >&6; }
12877 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12878 $as_echo_n "(cached
) " >&6
12880 if test -n "$WINDMC_FOR_TARGET"; then
12881 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12884 for as_dir in $PATH
12887 test -z "$as_dir" && as_dir=.
12888 for ac_exec_ext in '' $ac_executable_extensions; do
12889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12890 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12891 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12900 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12901 if test -n "$WINDMC_FOR_TARGET"; then
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12903 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12906 $as_echo "no
" >&6; }
12911 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
12912 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12913 set dummy ${ncn_progname}; ac_word=$2
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12915 $as_echo_n "checking
for $ac_word...
" >&6; }
12916 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12917 $as_echo_n "(cached
) " >&6
12919 if test -n "$WINDMC_FOR_TARGET"; then
12920 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12923 for as_dir in $PATH
12926 test -z "$as_dir" && as_dir=.
12927 for ac_exec_ext in '' $ac_executable_extensions; do
12928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12929 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12939 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12940 if test -n "$WINDMC_FOR_TARGET"; then
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12942 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12945 $as_echo "no
" >&6; }
12950 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
12954 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
12956 if test $build = $target ; then
12957 WINDMC_FOR_TARGET="$2"
12959 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
12962 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
12966 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12970 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
12973 $as_echo_n "checking where to
find the target
ar...
" >&6; }
12974 if test "x
${build}" != "x
${host}" ; then
12975 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
12976 # We already found the complete path
12977 ac_dir=`dirname $AR_FOR_TARGET`
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12979 $as_echo "pre-installed
in $ac_dir" >&6; }
12981 # Canadian cross, just use what we found
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12983 $as_echo "pre-installed
" >&6; }
12987 case " ${configdirs} " in
12992 if test $ok = yes; then
12993 # An in-tree tool is available and we can use it
12994 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12996 $as_echo "just compiled
" >&6; }
12997 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
12998 # We already found the complete path
12999 ac_dir=`dirname $AR_FOR_TARGET`
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13001 $as_echo "pre-installed
in $ac_dir" >&6; }
13002 elif test "x
$target" = "x
$host"; then
13003 # We can use an host tool
13004 AR_FOR_TARGET='$(AR)'
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13006 $as_echo "host tool
" >&6; }
13008 # We need a cross tool
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13010 $as_echo "pre-installed
" >&6; }
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13015 $as_echo_n "checking where to
find the target as...
" >&6; }
13016 if test "x
${build}" != "x
${host}" ; then
13017 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13018 # We already found the complete path
13019 ac_dir=`dirname $AS_FOR_TARGET`
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13021 $as_echo "pre-installed
in $ac_dir" >&6; }
13023 # Canadian cross, just use what we found
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13025 $as_echo "pre-installed
" >&6; }
13029 case " ${configdirs} " in
13034 if test $ok = yes; then
13035 # An in-tree tool is available and we can use it
13036 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13038 $as_echo "just compiled
" >&6; }
13039 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13040 # We already found the complete path
13041 ac_dir=`dirname $AS_FOR_TARGET`
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13043 $as_echo "pre-installed
in $ac_dir" >&6; }
13044 elif test "x
$target" = "x
$host"; then
13045 # We can use an host tool
13046 AS_FOR_TARGET='$(AS)'
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13048 $as_echo "host tool
" >&6; }
13050 # We need a cross tool
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13052 $as_echo "pre-installed
" >&6; }
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13057 $as_echo_n "checking where to
find the target cc...
" >&6; }
13058 if test "x
${build}" != "x
${host}" ; then
13059 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13060 # We already found the complete path
13061 ac_dir=`dirname $CC_FOR_TARGET`
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13063 $as_echo "pre-installed
in $ac_dir" >&6; }
13065 # Canadian cross, just use what we found
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13067 $as_echo "pre-installed
" >&6; }
13071 case " ${configdirs} " in
13076 if test $ok = yes; then
13077 # An in-tree tool is available and we can use it
13078 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13080 $as_echo "just compiled
" >&6; }
13081 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13082 # We already found the complete path
13083 ac_dir=`dirname $CC_FOR_TARGET`
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13085 $as_echo "pre-installed
in $ac_dir" >&6; }
13086 elif test "x
$target" = "x
$host"; then
13087 # We can use an host tool
13088 CC_FOR_TARGET='$(CC)'
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13090 $as_echo "host tool
" >&6; }
13092 # We need a cross tool
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13094 $as_echo "pre-installed
" >&6; }
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13099 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13100 if test "x
${build}" != "x
${host}" ; then
13101 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13102 # We already found the complete path
13103 ac_dir=`dirname $CXX_FOR_TARGET`
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13105 $as_echo "pre-installed
in $ac_dir" >&6; }
13107 # Canadian cross, just use what we found
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13109 $as_echo "pre-installed
" >&6; }
13113 case " ${configdirs} " in
13117 case ,${enable_languages}, in
13121 if test $ok = yes; then
13122 # An in-tree tool is available and we can use it
13123 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'
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13125 $as_echo "just compiled
" >&6; }
13126 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13127 # We already found the complete path
13128 ac_dir=`dirname $CXX_FOR_TARGET`
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13130 $as_echo "pre-installed
in $ac_dir" >&6; }
13131 elif test "x
$target" = "x
$host"; then
13132 # We can use an host tool
13133 CXX_FOR_TARGET='$(CXX)'
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13135 $as_echo "host tool
" >&6; }
13137 # We need a cross tool
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13139 $as_echo "pre-installed
" >&6; }
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13144 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13145 if test "x
${build}" != "x
${host}" ; then
13146 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13147 # We already found the complete path
13148 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13150 $as_echo "pre-installed
in $ac_dir" >&6; }
13152 # Canadian cross, just use what we found
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13154 $as_echo "pre-installed
" >&6; }
13158 case " ${configdirs} " in
13162 case ,${enable_languages}, in
13166 if test $ok = yes; then
13167 # An in-tree tool is available and we can use it
13168 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'
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13170 $as_echo "just compiled
" >&6; }
13171 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13172 # We already found the complete path
13173 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13175 $as_echo "pre-installed
in $ac_dir" >&6; }
13176 elif test "x
$target" = "x
$host"; then
13177 # We can use an host tool
13178 RAW_CXX_FOR_TARGET='$(CXX)'
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13180 $as_echo "host tool
" >&6; }
13182 # We need a cross tool
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13184 $as_echo "pre-installed
" >&6; }
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13189 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13190 if test "x
${build}" != "x
${host}" ; then
13191 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13192 # We already found the complete path
13193 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13195 $as_echo "pre-installed
in $ac_dir" >&6; }
13197 # Canadian cross, just use what we found
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13199 $as_echo "pre-installed
" >&6; }
13203 case " ${configdirs} " in
13208 if test $ok = yes; then
13209 # An in-tree tool is available and we can use it
13210 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13212 $as_echo "just compiled
" >&6; }
13213 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13214 # We already found the complete path
13215 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13217 $as_echo "pre-installed
in $ac_dir" >&6; }
13218 elif test "x
$target" = "x
$host"; then
13219 # We can use an host tool
13220 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13222 $as_echo "host tool
" >&6; }
13224 # We need a cross tool
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13226 $as_echo "pre-installed
" >&6; }
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13231 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13232 if test "x
${build}" != "x
${host}" ; then
13233 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13234 # We already found the complete path
13235 ac_dir=`dirname $GCC_FOR_TARGET`
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13237 $as_echo "pre-installed
in $ac_dir" >&6; }
13239 # Canadian cross, just use what we found
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13241 $as_echo "pre-installed
" >&6; }
13245 case " ${configdirs} " in
13250 if test $ok = yes; then
13251 # An in-tree tool is available and we can use it
13252 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13254 $as_echo "just compiled
" >&6; }
13255 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13256 # We already found the complete path
13257 ac_dir=`dirname $GCC_FOR_TARGET`
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13259 $as_echo "pre-installed
in $ac_dir" >&6; }
13260 elif test "x
$target" = "x
$host"; then
13261 # We can use an host tool
13262 GCC_FOR_TARGET='$()'
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13264 $as_echo "host tool
" >&6; }
13266 # We need a cross tool
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13268 $as_echo "pre-installed
" >&6; }
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13273 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13274 if test "x
${build}" != "x
${host}" ; then
13275 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13276 # We already found the complete path
13277 ac_dir=`dirname $GCJ_FOR_TARGET`
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13279 $as_echo "pre-installed
in $ac_dir" >&6; }
13281 # Canadian cross, just use what we found
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13283 $as_echo "pre-installed
" >&6; }
13287 case " ${configdirs} " in
13291 case ,${enable_languages}, in
13295 if test $ok = yes; then
13296 # An in-tree tool is available and we can use it
13297 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13299 $as_echo "just compiled
" >&6; }
13300 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13301 # We already found the complete path
13302 ac_dir=`dirname $GCJ_FOR_TARGET`
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13304 $as_echo "pre-installed
in $ac_dir" >&6; }
13305 elif test "x
$target" = "x
$host"; then
13306 # We can use an host tool
13307 GCJ_FOR_TARGET='$(GCJ)'
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13309 $as_echo "host tool
" >&6; }
13311 # We need a cross tool
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13313 $as_echo "pre-installed
" >&6; }
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13318 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13319 if test "x
${build}" != "x
${host}" ; then
13320 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13321 # We already found the complete path
13322 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13324 $as_echo "pre-installed
in $ac_dir" >&6; }
13326 # Canadian cross, just use what we found
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13328 $as_echo "pre-installed
" >&6; }
13332 case " ${configdirs} " in
13336 case ,${enable_languages}, in
13340 if test $ok = yes; then
13341 # An in-tree tool is available and we can use it
13342 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13344 $as_echo "just compiled
" >&6; }
13345 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13346 # We already found the complete path
13347 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13349 $as_echo "pre-installed
in $ac_dir" >&6; }
13350 elif test "x
$target" = "x
$host"; then
13351 # We can use an host tool
13352 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13354 $as_echo "host tool
" >&6; }
13356 # We need a cross tool
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13358 $as_echo "pre-installed
" >&6; }
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13363 $as_echo_n "checking where to
find the target ld...
" >&6; }
13364 if test "x
${build}" != "x
${host}" ; then
13365 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13366 # We already found the complete path
13367 ac_dir=`dirname $LD_FOR_TARGET`
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13369 $as_echo "pre-installed
in $ac_dir" >&6; }
13371 # Canadian cross, just use what we found
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13373 $as_echo "pre-installed
" >&6; }
13377 case " ${configdirs} " in
13382 if test $ok = yes; then
13383 # An in-tree tool is available and we can use it
13384 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13386 $as_echo "just compiled
" >&6; }
13387 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13388 # We already found the complete path
13389 ac_dir=`dirname $LD_FOR_TARGET`
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13391 $as_echo "pre-installed
in $ac_dir" >&6; }
13392 elif test "x
$target" = "x
$host"; then
13393 # We can use an host tool
13394 LD_FOR_TARGET='$(LD)'
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13396 $as_echo "host tool
" >&6; }
13398 # We need a cross tool
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13400 $as_echo "pre-installed
" >&6; }
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13405 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13406 if test "x
${build}" != "x
${host}" ; then
13407 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13408 # We already found the complete path
13409 ac_dir=`dirname $LIPO_FOR_TARGET`
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13411 $as_echo "pre-installed
in $ac_dir" >&6; }
13413 # Canadian cross, just use what we found
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13415 $as_echo "pre-installed
" >&6; }
13418 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13419 # We already found the complete path
13420 ac_dir=`dirname $LIPO_FOR_TARGET`
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13422 $as_echo "pre-installed
in $ac_dir" >&6; }
13423 elif test "x
$target" = "x
$host"; then
13424 # We can use an host tool
13425 LIPO_FOR_TARGET='$(LIPO)'
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13427 $as_echo "host tool
" >&6; }
13429 # We need a cross tool
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13431 $as_echo "pre-installed
" >&6; }
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
13436 $as_echo_n "checking where to
find the target nm...
" >&6; }
13437 if test "x
${build}" != "x
${host}" ; then
13438 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13439 # We already found the complete path
13440 ac_dir=`dirname $NM_FOR_TARGET`
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13442 $as_echo "pre-installed
in $ac_dir" >&6; }
13444 # Canadian cross, just use what we found
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13446 $as_echo "pre-installed
" >&6; }
13450 case " ${configdirs} " in
13455 if test $ok = yes; then
13456 # An in-tree tool is available and we can use it
13457 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13459 $as_echo "just compiled
" >&6; }
13460 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13461 # We already found the complete path
13462 ac_dir=`dirname $NM_FOR_TARGET`
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13464 $as_echo "pre-installed
in $ac_dir" >&6; }
13465 elif test "x
$target" = "x
$host"; then
13466 # We can use an host tool
13467 NM_FOR_TARGET='$(NM)'
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13469 $as_echo "host tool
" >&6; }
13471 # We need a cross tool
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13473 $as_echo "pre-installed
" >&6; }
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
13478 $as_echo_n "checking where to
find the target objdump...
" >&6; }
13479 if test "x
${build}" != "x
${host}" ; then
13480 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13481 # We already found the complete path
13482 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13484 $as_echo "pre-installed
in $ac_dir" >&6; }
13486 # Canadian cross, just use what we found
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13488 $as_echo "pre-installed
" >&6; }
13492 case " ${configdirs} " in
13497 if test $ok = yes; then
13498 # An in-tree tool is available and we can use it
13499 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13501 $as_echo "just compiled
" >&6; }
13502 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13503 # We already found the complete path
13504 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13506 $as_echo "pre-installed
in $ac_dir" >&6; }
13507 elif test "x
$target" = "x
$host"; then
13508 # We can use an host tool
13509 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13511 $as_echo "host tool
" >&6; }
13513 # We need a cross tool
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13515 $as_echo "pre-installed
" >&6; }
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
13520 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
13521 if test "x
${build}" != "x
${host}" ; then
13522 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13523 # We already found the complete path
13524 ac_dir=`dirname $RANLIB_FOR_TARGET`
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13526 $as_echo "pre-installed
in $ac_dir" >&6; }
13528 # Canadian cross, just use what we found
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13530 $as_echo "pre-installed
" >&6; }
13534 case " ${configdirs} " in
13539 if test $ok = yes; then
13540 # An in-tree tool is available and we can use it
13541 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13543 $as_echo "just compiled
" >&6; }
13544 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13545 # We already found the complete path
13546 ac_dir=`dirname $RANLIB_FOR_TARGET`
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13548 $as_echo "pre-installed
in $ac_dir" >&6; }
13549 elif test "x
$target" = "x
$host"; then
13550 # We can use an host tool
13551 RANLIB_FOR_TARGET='$(RANLIB)'
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13553 $as_echo "host tool
" >&6; }
13555 # We need a cross tool
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13557 $as_echo "pre-installed
" >&6; }
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
13562 $as_echo_n "checking where to
find the target strip...
" >&6; }
13563 if test "x
${build}" != "x
${host}" ; then
13564 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13565 # We already found the complete path
13566 ac_dir=`dirname $STRIP_FOR_TARGET`
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13568 $as_echo "pre-installed
in $ac_dir" >&6; }
13570 # Canadian cross, just use what we found
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13572 $as_echo "pre-installed
" >&6; }
13576 case " ${configdirs} " in
13581 if test $ok = yes; then
13582 # An in-tree tool is available and we can use it
13583 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13585 $as_echo "just compiled
" >&6; }
13586 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13587 # We already found the complete path
13588 ac_dir=`dirname $STRIP_FOR_TARGET`
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13590 $as_echo "pre-installed
in $ac_dir" >&6; }
13591 elif test "x
$target" = "x
$host"; then
13592 # We can use an host tool
13593 STRIP_FOR_TARGET='$(STRIP)'
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13595 $as_echo "host tool
" >&6; }
13597 # We need a cross tool
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13599 $as_echo "pre-installed
" >&6; }
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
13604 $as_echo_n "checking where to
find the target windres...
" >&6; }
13605 if test "x
${build}" != "x
${host}" ; then
13606 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13607 # We already found the complete path
13608 ac_dir=`dirname $WINDRES_FOR_TARGET`
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13610 $as_echo "pre-installed
in $ac_dir" >&6; }
13612 # Canadian cross, just use what we found
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13614 $as_echo "pre-installed
" >&6; }
13618 case " ${configdirs} " in
13623 if test $ok = yes; then
13624 # An in-tree tool is available and we can use it
13625 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13627 $as_echo "just compiled
" >&6; }
13628 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13629 # We already found the complete path
13630 ac_dir=`dirname $WINDRES_FOR_TARGET`
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13632 $as_echo "pre-installed
in $ac_dir" >&6; }
13633 elif test "x
$target" = "x
$host"; then
13634 # We can use an host tool
13635 WINDRES_FOR_TARGET='$(WINDRES)'
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13637 $as_echo "host tool
" >&6; }
13639 # We need a cross tool
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13641 $as_echo "pre-installed
" >&6; }
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
13646 $as_echo_n "checking where to
find the target windmc...
" >&6; }
13647 if test "x
${build}" != "x
${host}" ; then
13648 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13649 # We already found the complete path
13650 ac_dir=`dirname $WINDMC_FOR_TARGET`
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13652 $as_echo "pre-installed
in $ac_dir" >&6; }
13654 # Canadian cross, just use what we found
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13656 $as_echo "pre-installed
" >&6; }
13660 case " ${configdirs} " in
13665 if test $ok = yes; then
13666 # An in-tree tool is available and we can use it
13667 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13669 $as_echo "just compiled
" >&6; }
13670 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13671 # We already found the complete path
13672 ac_dir=`dirname $WINDMC_FOR_TARGET`
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13674 $as_echo "pre-installed
in $ac_dir" >&6; }
13675 elif test "x
$target" = "x
$host"; then
13676 # We can use an host tool
13677 WINDMC_FOR_TARGET='$(WINDMC)'
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13679 $as_echo "host tool
" >&6; }
13681 # We need a cross tool
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13683 $as_echo "pre-installed
" >&6; }
13691 # Certain tools may need extra flags.
13692 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13693 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13694 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13696 # When building target libraries, except in a Canadian cross, we use
13697 # the same toolchain as the compiler we just built.
13698 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
13699 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
13700 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
13701 if test $host = $build; then
13702 case " $configdirs " in
13704 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
13705 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
13706 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
13716 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
13717 # Check whether --enable-maintainer-mode was given.
13718 if test "${enable_maintainer_mode+set}" = set; then :
13719 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13721 USE_MAINTAINER_MODE=no
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
13725 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13728 if test "$USE_MAINTAINER_MODE" = yes; then
13729 MAINTAINER_MODE_TRUE=
13730 MAINTAINER_MODE_FALSE='#'
13732 MAINTAINER_MODE_TRUE='#'
13733 MAINTAINER_MODE_FALSE=
13735 MAINT=$MAINTAINER_MODE_TRUE
13737 # ---------------------
13738 # GCC bootstrap support
13739 # ---------------------
13741 # Stage specific cflags for build.
13746 yes) stage1_cflags="-g -Wa,-J" ;;
13747 *) stage1_cflags="-g -J" ;;
13751 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
13752 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
13753 saved_CFLAGS="$CFLAGS"
13755 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
13756 CFLAGS="$CFLAGS -fkeep-inline-functions"
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
13758 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
13759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13762 #if (__GNUC__ < 3) \
13763 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
13764 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
13765 #error http://gcc.gnu.org/PR29382
13776 if ac_fn_c_try_compile "$LINENO"; then :
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13778 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13781 $as_echo "no
" >&6; }
13783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13785 CFLAGS="$saved_CFLAGS"
13790 # Enable --enable-checking in stage1 of the compiler.
13791 # Check whether --enable-stage1-checking was given.
13792 if test "${enable_stage1_checking+set}" = set; then :
13793 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
13795 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
13796 stage1_checking=--enable-checking=yes,types
13798 stage1_checking=--enable-checking=$enable_checking,types
13804 # Enable -Werror in bootstrap stage2 and later.
13805 # Check whether --enable-werror was given.
13806 if test "${enable_werror+set}" = set; then :
13807 enableval=$enable_werror;
13809 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
13816 case ${enable_werror} in
13817 yes) stage2_werror_flag="--enable-werror-always" ;;
13818 *) stage2_werror_flag="" ;;
13822 # Specify what files to not compare during bootstrap.
13824 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
13826 hppa*64*-*-hpux*) ;;
13827 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
13829 case " $configdirs " in
13830 *" ppl
"*) compare_exclusions="$compare_exclusions | ppl
/src
/ppl-config.o
" ;;
13834 ac_config_files="$ac_config_files Makefile
"
13836 cat >confcache <<\_ACEOF
13837 # This file is a shell script that caches the results of configure
13838 # tests run on this system so they can be shared between configure
13839 # scripts and configure runs, see configure's option --config-cache.
13840 # It is not useful on other systems. If it contains results you don't
13841 # want to keep, you may remove or edit it.
13843 # config.status only pays attention to the cache file if you give it
13844 # the --recheck option to rerun configure.
13846 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13847 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13848 # following values.
13852 # The following way of writing the cache mishandles newlines in values,
13853 # but we know of no workaround that is simple, portable, and efficient.
13854 # So, we kill variables containing newlines.
13855 # Ultrix sh set writes to stderr and can't be redirected directly,
13856 # and sets the high bit in the cache file unless we assign to the vars.
13858 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13859 eval ac_val=\$$ac_var
13863 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
13864 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
13867 _ | IFS | as_nl) ;; #(
13868 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13869 *) { eval $ac_var=; unset $ac_var;} ;;
13875 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13876 *${as_nl}ac_space=\ *)
13877 # `set' does not quote correctly, so add quotes: double-quote
13878 # substitution turns \\\\ into \\, and sed turns \\ into \.
13881 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
13884 # `set' quotes correctly as required by POSIX, so do not add quotes.
13885 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
13894 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13896 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13898 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13899 if test -w "$cache_file"; then
13900 test "x
$cache_file" != "x
/dev
/null
" &&
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
13902 $as_echo "$as_me: updating cache
$cache_file" >&6;}
13903 cat confcache >$cache_file
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
13906 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
13911 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
13912 # Let make expand exec_prefix.
13913 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
13915 # Transform confdefs.h into DEFS.
13916 # Protect against shell expansion while executing Makefile rules.
13917 # Protect against Makefile macro expansion.
13919 # If the first sed substitution is executed (which looks for macros that
13920 # take arguments), then branch to the quote section. Otherwise,
13921 # look for a macro that doesn't take arguments.
13931 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
13933 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
13937 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
13950 DEFS=`sed -n "$ac_script" confdefs.h`
13955 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13956 # 1. Remove the extension, and $U if already installed.
13957 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
13958 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13959 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13960 # will be set to the directory where LIBOBJS objects are built.
13961 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13962 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
13964 LIBOBJS=$ac_libobjs
13966 LTLIBOBJS=$ac_ltlibobjs
13970 : ${CONFIG_STATUS=./config.status}
13972 ac_clean_files_save=$ac_clean_files
13973 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13975 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13977 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13979 # Generated by $as_me.
13980 # Run this file to recreate the current configuration.
13981 # Compiler output produced by configure, useful for debugging
13982 # configure, is in config.log if it exists.
13985 ac_cs_recheck=false
13988 SHELL=\${CONFIG_SHELL-$SHELL}
13991 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13992 ## -------------------- ##
13993 ## M4sh Initialization. ##
13994 ## -------------------- ##
13996 # Be more Bourne compatible
13997 DUALCASE=1; export DUALCASE # for MKS sh
13998 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14001 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14002 # is contrary to our usage. Disable this feature.
14003 alias -g '${1+"$@"}'='"$@"'
14004 setopt NO_GLOB_SUBST
14006 case `(set -o) 2>/dev/null` in #(
14018 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14019 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14020 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14021 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14022 # Prefer a ksh shell builtin over an external printf program on Solaris,
14023 # but without wasting forks for bash or zsh.
14024 if test -z "$BASH_VERSION$ZSH_VERSION" \
14025 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14026 as_echo
='print -r --'
14027 as_echo_n
='print -rn --'
14028 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14029 as_echo
='printf %s\n'
14030 as_echo_n
='printf %s'
14032 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14033 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14034 as_echo_n
='/usr/ucb/echo -n'
14036 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14037 as_echo_n_body
='eval
14041 expr "X$arg" : "X\\(.*\\)$as_nl";
14042 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14044 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14046 export as_echo_n_body
14047 as_echo_n
='sh -c $as_echo_n_body as_echo'
14049 export as_echo_body
14050 as_echo
='sh -c $as_echo_body as_echo'
14053 # The user is always right.
14054 if test "${PATH_SEPARATOR+set}" != set; then
14056 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14057 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14064 # We need space, tab and new line, in precisely that order. Quoting is
14065 # there to prevent editors from complaining about space-tab.
14066 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14067 # splitting by setting IFS to empty value.)
14070 # Find who we are. Look in the path if we contain no directory separator.
14072 *[\\/]* ) as_myself
=$0 ;;
14073 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14074 for as_dir
in $PATH
14077 test -z "$as_dir" && as_dir
=.
14078 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14084 # We did not find ourselves, most probably we were run as `sh COMMAND'
14085 # in which case we are not to be found in the path.
14086 if test "x$as_myself" = x
; then
14089 if test ! -f "$as_myself"; then
14090 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14094 # Unset variables that we do not need and which cause bugs (e.g. in
14095 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14096 # suppresses any "Segmentation fault" message there. '((' could
14097 # trigger a bug in pdksh 5.2.14.
14098 for as_var
in BASH_ENV ENV MAIL MAILPATH
14099 do eval test x\
${$as_var+set} = xset \
14100 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14113 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14116 # as_fn_error ERROR [LINENO LOG_FD]
14117 # ---------------------------------
14118 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14119 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14120 # script with status $?, using 1 if that was 0.
14123 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14125 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14126 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14128 $as_echo "$as_me: error: $1" >&2
14129 as_fn_exit
$as_status
14133 # as_fn_set_status STATUS
14134 # -----------------------
14135 # Set $? to STATUS, without forking.
14136 as_fn_set_status
()
14139 } # as_fn_set_status
14141 # as_fn_exit STATUS
14142 # -----------------
14143 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14147 as_fn_set_status
$1
14153 # Portably unset VAR.
14156 { eval $1=; unset $1;}
14158 as_unset
=as_fn_unset
14159 # as_fn_append VAR VALUE
14160 # ----------------------
14161 # Append the text in VALUE to the end of the definition contained in VAR. Take
14162 # advantage of any shell optimizations that allow amortized linear growth over
14163 # repeated appends, instead of the typical quadratic growth present in naive
14165 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14166 eval 'as_fn_append ()
14177 # as_fn_arith ARG...
14178 # ------------------
14179 # Perform arithmetic evaluation on the ARGs, and store the result in the
14180 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14181 # must be portable across $(()) and expr.
14182 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14183 eval 'as_fn_arith ()
14190 as_val
=`expr "$@" || test $? -eq 1`
14195 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14196 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14202 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14203 as_basename
=basename
14208 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14214 as_me
=`$as_basename -- "$0" ||
14215 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14216 X"$0" : 'X\(//\)$' \| \
14217 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14219 sed '/^.*\/\([^/][^/]*\)\/*$/{
14233 # Avoid depending upon Character Ranges.
14234 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14235 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14236 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14237 as_cr_digits
='0123456789'
14238 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14240 ECHO_C
= ECHO_N
= ECHO_T
=
14241 case `echo -n x` in #(((((
14243 case `echo 'xy\c'` in
14244 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14246 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14253 rm -f conf$$ conf$$.exe conf$$.
file
14254 if test -d conf$$.dir
; then
14255 rm -f conf$$.dir
/conf$$.
file
14258 mkdir conf$$.dir
2>/dev
/null
14260 if (echo >conf$$.
file) 2>/dev
/null
; then
14261 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14263 # ... but there are two gotchas:
14264 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14265 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14266 # In both cases, we have to default to `cp -p'.
14267 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14269 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14277 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14278 rmdir conf$$.dir
2>/dev
/null
14283 # Create "$as_dir" as a directory, including parents if necessary.
14288 -*) as_dir
=.
/$as_dir;;
14290 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14294 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14295 *) as_qdir
=$as_dir;;
14297 as_dirs
="'$as_qdir' $as_dirs"
14298 as_dir
=`$as_dirname -- "$as_dir" ||
14299 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14300 X"$as_dir" : 'X\(//\)[^/]' \| \
14301 X"$as_dir" : 'X\(//\)$' \| \
14302 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14303 $as_echo X"$as_dir" |
14304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14308 /^X\(\/\/\)[^/].*/{
14321 test -d "$as_dir" && break
14323 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14324 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14328 if mkdir
-p .
2>/dev
/null
; then
14329 as_mkdir_p
='mkdir -p "$as_dir"'
14331 test -d .
/-p && rmdir .
/-p
14335 if test -x / >/dev
/null
2>&1; then
14336 as_test_x
='test -x'
14338 if ls -dL / >/dev
/null
2>&1; then
14345 if test -d "$1"; then
14351 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14352 ???[sx]*):;;*)false;;esac;fi
14356 as_executable_p
=$as_test_x
14358 # Sed expression to map a string onto a valid CPP name.
14359 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14361 # Sed expression to map a string onto a valid variable name.
14362 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14366 ## ----------------------------------- ##
14367 ## Main body of $CONFIG_STATUS script. ##
14368 ## ----------------------------------- ##
14370 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14372 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14373 # Save the log message, to keep $0 and so on meaningful, and to
14374 # report actual input values of CONFIG_FILES etc. instead of their
14375 # values after options handling.
14377 This file was extended by $as_me, which was
14378 generated by GNU Autoconf 2.64. Invocation command line was
14380 CONFIG_FILES = $CONFIG_FILES
14381 CONFIG_HEADERS = $CONFIG_HEADERS
14382 CONFIG_LINKS = $CONFIG_LINKS
14383 CONFIG_COMMANDS = $CONFIG_COMMANDS
14386 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14391 case $ac_config_files in *"
14392 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14398 # Files that config.status was made for.
14399 config_files="$ac_config_files"
14403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14405 \`$as_me' instantiates files and other configuration actions
14406 from templates according to the current configuration. Unless the files
14407 and actions are specified as TAGs, all are instantiated by default.
14409 Usage: $0 [OPTION]... [TAG]...
14411 -h, --help print this help, then exit
14412 -V, --version print version number and configuration settings, then exit
14413 -q, --quiet, --silent
14414 do not print progress messages
14415 -d, --debug don't remove temporary files
14416 --recheck update $as_me by reconfiguring in the same conditions
14417 --file=FILE[:TEMPLATE]
14418 instantiate the configuration file FILE
14420 Configuration files:
14423 Report bugs to the package provider."
14426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14429 configured by $0, generated by GNU Autoconf 2.64,
14430 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14432 Copyright (C) 2009 Free Software Foundation, Inc.
14433 This config.status script is free software; the Free Software Foundation
14434 gives unlimited permission to copy, distribute and modify it."
14440 test -n "\$AWK" || AWK=awk
14443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14444 # The default lists apply if the user does not specify any file.
14450 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14451 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14462 # Handling of the options.
14463 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14465 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14466 $as_echo "$ac_cs_version"; exit ;;
14467 --debug |
--debu |
--deb |
--de |
--d |
-d )
14469 --file |
--fil |
--fi |
--f )
14472 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14474 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14475 ac_need_defaults
=false
;;
14476 --he |
--h |
--help |
--hel |
-h )
14477 $as_echo "$ac_cs_usage"; exit ;;
14478 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14479 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14482 # This is an error.
14483 -*) as_fn_error
"unrecognized option: \`$1'
14484 Try \`$0 --help' for more information." ;;
14486 *) as_fn_append ac_config_targets
" $1"
14487 ac_need_defaults
=false
;;
14493 ac_configure_extra_args
=
14495 if $ac_cs_silent; then
14497 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14502 if \$ac_cs_recheck; then
14503 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14505 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14506 CONFIG_SHELL='$SHELL'
14507 export CONFIG_SHELL
14512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14516 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14517 ## Running $as_me. ##
14523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14527 extrasub_build="$extrasub_build"
14528 extrasub_host="$extrasub_host"
14529 extrasub_target="$extrasub_target"
14533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14535 # Handling of arguments.
14536 for ac_config_target
in $ac_config_targets
14538 case $ac_config_target in
14539 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14541 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14546 # If the user did not use the arguments to specify the items to instantiate,
14547 # then the envvar interface is used. Set only those that are not.
14548 # We use the long form for the default assignment because of an extremely
14549 # bizarre bug on SunOS 4.1.3.
14550 if $ac_need_defaults; then
14551 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14554 # Have a temporary directory for convenience. Make it in the build tree
14555 # simply because there is no reason against having it here, and in addition,
14556 # creating and moving files from /tmp can sometimes cause problems.
14557 # Hook for its removal unless debugging.
14558 # Note that there is a small window in which the directory will not be cleaned:
14559 # after its creation but before its name has been assigned to `$tmp'.
14563 trap 'exit_status=$?
14564 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14566 trap 'as_fn_exit 1' 1 2 13 15
14568 # Create a (secure) tmp directory for tmp files.
14571 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14572 test -n "$tmp" && test -d "$tmp"
14575 tmp
=.
/conf$$
-$RANDOM
14576 (umask 077 && mkdir
"$tmp")
14577 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14579 # Set up the scripts for CONFIG_FILES section.
14580 # No need to generate them if there are no CONFIG_FILES.
14581 # This happens for instance with `./config.status config.h'.
14582 if test -n "$CONFIG_FILES"; then
14584 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
14585 ac_cs_awk_getline
=:
14586 ac_cs_awk_pipe_init
=
14587 ac_cs_awk_read_file
='
14588 while ((getline aline < (F[key])) > 0)
14591 ac_cs_awk_pipe_fini
=
14593 ac_cs_awk_getline
=false
14594 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
14595 ac_cs_awk_read_file
='
14597 print "cat " F[key] " &&"
14598 '$ac_cs_awk_pipe_init
14599 # The final `:' finishes the AND list.
14600 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
14602 ac_cr
=`echo X | tr X '\015'`
14603 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14604 # But we know of no other shell where ac_cr would be empty at this
14605 # point, so we can use a bashism as a fallback.
14606 if test "x$ac_cr" = x
; then
14607 eval ac_cr
=\$
\'\\r
\'
14609 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14610 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14613 ac_cs_awk_cr
=$ac_cr
14616 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14619 # Create commands to substitute file output variables.
14621 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14622 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14623 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
14626 } >conf$
$files.sh
&&
14627 . .
/conf$
$files.sh ||
14628 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
14629 rm -f conf$
$files.sh
14632 echo "cat >conf$$subs.awk <<_ACEOF" &&
14633 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14635 } >conf$$subs.sh ||
14636 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14637 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14639 for ac_last_try in false false false false false :; do
14640 . ./conf$$subs.sh ||
14641 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14643 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14644 if test $ac_delim_n = $ac_delim_num; then
14646 elif $ac_last_try; then
14647 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14649 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14652 rm -f conf$$subs.sh
14654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14655 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14659 s/^/S["/; s
/!.
*/"]=/
14669 s/\(.\{148\}\).*/\1/
14671 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14676 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14683 s/\(.\{148\}\).*/\1/
14685 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14689 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14694 ' <conf$$subs.awk | sed '
14699 ' >>$CONFIG_STATUS || ac_write_fail=1
14700 rm -f conf$$subs.awk
14701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14703 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14704 for (key in S) S_is_set[key] = 1
14706 \$ac_cs_awk_pipe_init
14710 nfields = split(line, field, "@
")
14712 len = length(field[1])
14713 for (i = 2; i < nfields; i++) {
14715 keylen = length(key)
14716 if (S_is_set[key]) {
14718 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14719 len += length(value) + length(field[++i])
14724 if (nfields == 3 && !substed) {
14726 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14727 \$ac_cs_awk_read_file
14733 \$ac_cs_awk_pipe_fini
14736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14737 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14738 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14741 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14742 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14745 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14746 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14747 # trailing colons and then remove the whole line if VPATH becomes empty
14748 # (actually we leave an empty line to preserve line numbers).
14749 if test "x
$srcdir" = x.; then
14750 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14751 s/:*\$(srcdir):*/:/
14752 s/:*\${srcdir}:*/:/
14754 s/^\([^=]*=[ ]*\):*/\1/
14760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14761 fi # test -n "$CONFIG_FILES"
14764 eval set X " :F
$CONFIG_FILES "
14769 :[FHLC]) ac_mode=$ac_tag; continue;;
14771 case $ac_mode$ac_tag in
14773 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
14774 :[FH]-) ac_tag=-:-;;
14775 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14792 -) ac_f="$tmp/stdin";;
14793 *) # Look for the file first in the build tree, then in the source tree
14794 # (if the path is not absolute). The absolute path cannot be DOS-style,
14795 # because $ac_f cannot contain `:'.
14799 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14801 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14803 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
14804 as_fn_append ac_file_inputs " '$ac_f'"
14807 # Let's still pretend it is `configure' which instantiates (i.e., don't
14808 # use $as_me), people would be surprised to read:
14809 # /* config.h. Generated by config.status. */
14810 configure_input='Generated from '`
14811 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14813 if test x"$ac_file" != x-; then
14814 configure_input="$ac_file.
$configure_input"
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
14816 $as_echo "$as_me: creating
$ac_file" >&6;}
14818 # Neutralize special characters interpreted by sed in replacement strings.
14819 case $configure_input in #(
14820 *\&* | *\|* | *\\* )
14821 ac_sed_conf_input=`$as_echo "$configure_input" |
14822 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14823 *) ac_sed_conf_input=$configure_input;;
14827 *:-:* | *:-) cat >"$tmp/stdin
" \
14828 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
14833 ac_dir=`$as_dirname -- "$ac_file" ||
14834 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14835 X"$ac_file" : 'X\(//\)[^/]' \| \
14836 X"$ac_file" : 'X\(//\)$' \| \
14837 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14838 $as_echo X"$ac_file" |
14839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14843 /^X\(\/\/\)[^/].*/{
14856 as_dir="$ac_dir"; as_fn_mkdir_p
14860 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14862 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14863 # A "..
" for each directory in $ac_dir_suffix.
14864 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14865 case $ac_top_builddir_sub in
14866 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14867 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14870 ac_abs_top_builddir=$ac_pwd
14871 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14872 # for backward compatibility:
14873 ac_top_builddir=$ac_top_build_prefix
14876 .) # We are building in place.
14878 ac_top_srcdir=$ac_top_builddir_sub
14879 ac_abs_top_srcdir=$ac_pwd ;;
14880 [\\/]* | ?:[\\/]* ) # Absolute name.
14881 ac_srcdir=$srcdir$ac_dir_suffix;
14882 ac_top_srcdir=$srcdir
14883 ac_abs_top_srcdir=$srcdir ;;
14884 *) # Relative name.
14885 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14886 ac_top_srcdir=$ac_top_build_prefix$srcdir
14887 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14889 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14899 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14900 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14905 # If the template does not know about datarootdir, expand it.
14906 # FIXME: This hack should be removed a few years after 2.60.
14907 ac_datarootdir_hack=; ac_datarootdir_seen=
14918 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
14919 *datarootdir*) ac_datarootdir_seen=yes;;
14920 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
14922 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
14924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14925 ac_datarootdir_hack='
14926 s&@datadir@&$datadir&g
14927 s&@docdir@&$docdir&g
14928 s&@infodir@&$infodir&g
14929 s&@localedir@&$localedir&g
14930 s&@mandir@&$mandir&g
14931 s&\\\${datarootdir}&$datarootdir&g' ;;
14935 # Neutralize VPATH when `$srcdir' = `.'.
14936 # Shell code in configure.ac might set extrasub.
14937 # FIXME: do we really want to maintain this feature?
14938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14939 ac_sed_extra="$ac_vpsub
14942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14944 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14945 s|@configure_input@|
$ac_sed_conf_input|
;t t
14946 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14947 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14948 s
&@srcdir@
&$ac_srcdir&;t t
14949 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14950 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14951 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14952 s
&@builddir@
&$ac_builddir&;t t
14953 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14954 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14955 s
&@INSTALL@
&$ac_INSTALL&;t t
14956 $ac_datarootdir_hack
14958 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
14959 if $ac_cs_awk_getline; then
14960 $AWK -f "$tmp/subs.
awk"
14962 $AWK -f "$tmp/subs.
awk" | $SHELL
14964 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14966 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14967 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14968 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14970 which seems to be undefined. Please make sure it is defined." >&5
14971 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14972 which seems to be undefined. Please make sure it is defined." >&2;}
14976 -) cat "$tmp/out" && rm -f "$tmp/out";;
14977 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14979 || as_fn_error "could not create $ac_file" "$LINENO" 5
14987 case $ac_file$ac_mode in
14988 "Makefile":F) sed "$extrasub_build" Makefile |
14989 sed "$extrasub_host" |
14990 sed "$extrasub_target" > mf$$
14991 mv -f mf$$ Makefile ;;
14999 ac_clean_files=$ac_clean_files_save
15001 test $ac_write_fail = 0 ||
15002 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15005 # configure is writing to config.log, and then calls config.status.
15006 # config.status does its own redirection, appending to config.log.
15007 # Unfortunately, on DOS this fails, as config.log is still kept open
15008 # by configure, so config.status won't be able to
write to it
; its
15009 # output is simply discarded. So we exec the FD to /dev/null,
15010 # effectively closing config.log, so it can be properly (re)opened and
15011 # appended to by config.status. When coming back to configure, we
15012 # need to make the FD available again.
15013 if test "$no_create" != yes; then
15015 ac_config_status_args
=
15016 test "$silent" = yes &&
15017 ac_config_status_args
="$ac_config_status_args --quiet"
15019 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15021 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15022 # would make configure fail if this is the last instruction.
15023 $ac_cs_success || as_fn_exit $?
15025 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15027 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}