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, and
6119 # $lang_requires_boot_languages.
6122 lang_requires_boot_languages
=
6124 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6125 case ,${enable_languages}, in
6129 echo " \`$other' language required by \`$language'; enabling" 1>&2
6130 enable_languages
="${enable_languages},${other}"
6134 for other
in ${lang_requires_boot_languages} ; do
6135 if test "$other" != "c"; then
6136 case ,${enable_stage1_languages}, in
6140 case ,${enable_languages}, in
6142 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6143 enable_stage1_languages
="$enable_stage1_languages,${other}"
6154 new_enable_languages
=,c
,
6156 # If LTO is enabled, add the LTO front end.
6157 extra_host_libiberty_configure_flags
=
6158 if test "$enable_lto" = "yes" ; then
6159 case ,${enable_languages}, in
6161 *) enable_languages
="${enable_languages},lto" ;;
6163 if test "${build_lto_plugin}" = "yes" ; then
6164 configdirs
="$configdirs lto-plugin"
6165 extra_host_libiberty_configure_flags
=--enable-shared
6170 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6171 potential_languages
=,c
,
6173 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6174 case ${lang_frag} in
6176 # The odd quoting in the next line works around
6177 # an apparent bug in bash 1.12 on linux.
6178 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6180 # From the config-lang.in, get $language, $target_libs,
6181 # $lang_dirs, $boot_language, and $build_by_default
6187 build_by_default
=yes
6189 if test x
${language} = x
; then
6190 echo "${lang_frag} doesn't set \$language." 1>&2
6194 if test "$language" = "c++" \
6195 && test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
6199 case ,${enable_languages}, in
6201 # Language was explicitly selected; include it.
6205 # 'all' was selected, select it if it is a default language
6206 add_this_lang
=${build_by_default}
6213 # Disable languages that need other directories if these aren't available.
6214 for i
in $subdir_requires; do
6215 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6216 case ,${enable_languages}, in
6218 # Specifically requested language; tell them.
6219 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6223 add_this_lang
=unsupported
6228 # Disable Ada if no preexisting GNAT is available.
6229 case ,${enable_languages},:${language}:${have_gnat} in
6230 *,${language},*:ada
:no
)
6231 # Specifically requested language; tell them.
6232 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6236 add_this_lang
=unsupported
6240 # Disable a language that is unsupported by the target.
6241 case " $unsupported_languages " in
6243 add_this_lang
=unsupported
6247 case $add_this_lang in
6249 # Remove language-dependent dirs.
6250 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
6253 # Remove language-dependent dirs; still show language as supported.
6254 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
6255 potential_languages
="${potential_languages}${language},"
6258 new_enable_languages
="${new_enable_languages}${language},"
6259 potential_languages
="${potential_languages}${language},"
6260 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6261 case "${boot_language}:,$enable_stage1_languages," in
6262 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6263 # Add to (comma-separated) list of stage 1 languages.
6264 case ",$stage1_languages," in
6265 *,$language,* |
,yes, |
,all
,) ;;
6266 *) stage1_languages
="${stage1_languages}${language}," ;;
6268 # We need to bootstrap any supporting libraries.
6269 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6278 # Check whether --enable-stage1-languages was given.
6279 if test "${enable_stage1_languages+set}" = set; then :
6280 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6282 # Set it to something that will have no effect in the loop below
6283 enable_stage1_languages
=c
;;
6285 enable_stage1_languages
=`echo $new_enable_languages | \
6286 sed -e "s/^,//" -e "s/,$//" ` ;;
6288 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6289 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6292 # Add "good" languages from enable_stage1_languages to stage1_languages,
6293 # while "bad" languages go in missing_languages. Leave no duplicates.
6294 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6295 case $potential_languages in
6297 case $stage1_languages in
6299 *) stage1_languages
="$stage1_languages$i," ;;
6302 case $missing_languages in
6304 *) missing_languages
="$missing_languages$i," ;;
6311 # Remove leading/trailing commas that were added for simplicity
6312 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6313 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6314 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6315 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6317 if test "x$missing_languages" != x
; then
6319 The following requested languages could not be built: ${missing_languages}
6320 Supported languages are: ${potential_languages}" "$LINENO" 5
6322 if test "x$new_enable_languages" != "x$enable_languages"; then
6323 echo The following languages will be built
: ${new_enable_languages}
6324 enable_languages
="$new_enable_languages"
6328 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6331 # Handle --disable-<component> generically.
6332 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6333 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6334 varname
=`echo $dirname | sed -e s/+/_/g`
6335 if eval test x\
${enable_${varname}} "=" xno
; then
6336 noconfigdirs
="$noconfigdirs $dir"
6340 # Check for Boehm's garbage collector
6341 # Check whether --enable-objc-gc was given.
6342 if test "${enable_objc_gc+set}" = set; then :
6343 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6344 *,objc
,*:*:yes:*target-boehm-gc
*)
6345 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6351 # Make sure we only build Boehm's garbage collector if required.
6352 case ,${enable_languages},:${enable_objc_gc} in
6354 # Keep target-boehm-gc if requested for Objective-C.
6357 # Otherwise remove target-boehm-gc depending on target-libjava.
6358 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6359 noconfigdirs
="$noconfigdirs target-boehm-gc"
6364 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6365 # $build_configdirs and $target_configdirs.
6366 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6369 for dir
in .
$skipdirs $noconfigdirs ; do
6370 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6371 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6372 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6373 if test -r $srcdir/$dirname/configure
; then
6374 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6377 notsupp
="$notsupp $dir"
6381 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6382 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6383 if test -r $srcdir/$dirname/configure
; then
6384 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6387 notsupp
="$notsupp $dir"
6391 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6392 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6393 if test -r $srcdir/$dirname/configure
; then
6394 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6397 notsupp
="$notsupp $dir"
6403 # Sometimes the tools are distributed with libiberty but with no other
6404 # libraries. In that case, we don't want to build target-libiberty.
6405 # Don't let libgcc imply libiberty either.
6406 if test -n "${target_configdirs}" ; then
6409 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
6410 if test "$i" = "libgcc"; then
6411 libgcc
=target-libgcc
6412 elif test "$i" != "libiberty" ; then
6413 if test -r $srcdir/$i/configure
; then
6419 if test -z "${others}" ; then
6420 target_configdirs
=$libgcc
6424 # Quietly strip out all directories which aren't configurable in this tree.
6425 # This relies on all configurable subdirectories being autoconfiscated, which
6427 build_configdirs_all
="$build_configdirs"
6429 for i
in ${build_configdirs_all} ; do
6430 j
=`echo $i | sed -e s/build-//g`
6431 if test -f ${srcdir}/$j/configure
; then
6432 build_configdirs
="${build_configdirs} $i"
6436 configdirs_all
="$configdirs"
6438 for i
in ${configdirs_all} ; do
6439 if test -f ${srcdir}/$i/configure
; then
6440 configdirs
="${configdirs} $i"
6444 target_configdirs_all
="$target_configdirs"
6446 for i
in ${target_configdirs_all} ; do
6447 j
=`echo $i | sed -e s/target-//g`
6448 if test -f ${srcdir}/$j/configure
; then
6449 target_configdirs
="${target_configdirs} $i"
6453 # Produce a warning message for the subdirs we can't configure.
6454 # This isn't especially interesting in the Cygnus tree, but in the individual
6455 # FSF releases, it's important to let people know when their machine isn't
6456 # supported by the one or two programs in a package.
6458 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6459 # If $appdirs is non-empty, at least one of those directories must still
6460 # be configured, or we error out. (E.g., if the gas release supports a
6461 # specified target in some subdirs but not the gas subdir, we shouldn't
6462 # pretend that all is well.)
6463 if test -n "$appdirs" ; then
6464 for dir
in $appdirs ; do
6465 if test -r $dir/Makefile.
in ; then
6466 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6470 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6476 if test -n "$appdirs" ; then
6477 echo "*** This configuration is not supported by this package." 1>&2
6481 # Okay, some application will build, or we don't care to check. Still
6482 # notify of subdirs not getting built.
6483 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6484 echo " ${notsupp}" 1>&2
6485 echo " (Any other directories should still work fine.)" 1>&2
6493 # To find our prefix, in gcc_cv_tool_prefix.
6495 # The user is always right.
6496 if test "${PATH_SEPARATOR+set}" != set; then
6497 echo "#! /bin/sh" >conf$$.sh
6498 echo "exit 0" >>conf$$.sh
6500 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6510 if test "x$exec_prefix" = xNONE
; then
6511 if test "x$prefix" = xNONE
; then
6512 gcc_cv_tool_prefix
=$ac_default_prefix
6514 gcc_cv_tool_prefix
=$prefix
6517 gcc_cv_tool_prefix
=$exec_prefix
6520 # If there is no compiler in the tree, use the PATH only. In any
6521 # case, if there is no compiler in the tree nobody should use
6522 # AS_FOR_TARGET and LD_FOR_TARGET.
6523 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6524 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6525 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6526 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6527 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6528 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6529 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6530 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6535 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6536 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6544 # Check whether --with-build-sysroot was given.
6545 if test "${with_build_sysroot+set}" = set; then :
6546 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6547 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6550 SYSROOT_CFLAGS_FOR_TARGET
=
6556 # Check whether --with-debug-prefix-map was given.
6557 if test "${with_debug_prefix_map+set}" = set; then :
6558 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6559 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6560 for debug_map
in $withval; do
6561 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6565 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6570 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6571 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6572 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6573 # We want to ensure that TARGET libraries (which we know are built with
6574 # gcc) are built with "-O2 -g", so include those options when setting
6575 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6576 if test "x$CFLAGS_FOR_TARGET" = x
; then
6577 CFLAGS_FOR_TARGET
=$CFLAGS
6580 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
6583 *" -g "* |
*" -g3 "*) ;;
6584 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
6589 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6590 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6591 case " $CXXFLAGS " in
6593 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
6595 case " $CXXFLAGS " in
6596 *" -g "* |
*" -g3 "*) ;;
6597 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
6602 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6603 # the named directory are copied to $(tooldir)/sys-include.
6604 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6605 if test x
${is_cross_compiler} = xno
; then
6606 echo 1>&2 '***' --with-headers is only supported when cross compiling
6609 if test x
"${with_headers}" != xyes
; then
6610 x
=${gcc_cv_tool_prefix}
6611 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6615 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6616 # the name directories are copied to $(tooldir)/lib. Multiple directories
6618 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6619 if test x
${is_cross_compiler} = xno
; then
6620 echo 1>&2 '***' --with-libs is only supported when cross compiling
6623 if test x
"${with_libs}" != xyes
; then
6624 # Copy the libraries in reverse order, so that files in the first named
6625 # library override files in subsequent libraries.
6626 x
=${gcc_cv_tool_prefix}
6627 for l
in ${with_libs}; do
6628 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6633 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6635 # This is done by determining whether or not the appropriate directory
6636 # is available, and by checking whether or not specific configurations
6637 # have requested that this magic not happen.
6639 # The command line options always override the explicit settings in
6640 # configure.in, and the settings in configure.in override this magic.
6642 # If the default for a toolchain is to use GNU as and ld, and you don't
6643 # want to do that, then you should use the --without-gnu-as and
6644 # --without-gnu-ld options for the configure script. Similarly, if
6645 # the default is to use the included zlib and you don't want to do that,
6646 # you should use the --with-system-zlib option for the configure script.
6648 if test x
${use_gnu_as} = x
&&
6649 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6651 extra_host_args
="$extra_host_args --with-gnu-as"
6654 if test x
${use_gnu_ld} = x
&&
6655 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6657 extra_host_args
="$extra_host_args --with-gnu-ld"
6660 if test x
${use_included_zlib} = x
&&
6661 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6664 with_system_zlib
=yes
6665 extra_host_args
="$extra_host_args --with-system-zlib"
6668 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6669 # can detect this case.
6671 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6673 extra_host_args
="$extra_host_args --with-newlib"
6676 # Handle ${copy_dirs}
6677 set fnord
${copy_dirs}
6679 while test $# != 0 ; do
6680 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6683 echo Copying
$1 to
$2
6685 # Use the install script to create the directory and all required
6686 # parent directories.
6687 if test -d $2 ; then
6691 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6694 # Copy the directory, assuming we have tar.
6695 # FIXME: Should we use B in the second tar? Not all systems support it.
6696 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6698 # It is the responsibility of the user to correctly adjust all
6699 # symlinks. If somebody can figure out how to handle them correctly
6700 # here, feel free to add the code.
6707 # Determine a target-dependent exec_prefix that the installed
6708 # gcc will search in. Keep this list sorted by triplet, with
6709 # the *-*-osname triplets last.
6713 md_exec_prefix
=/gnu
/lib
/gcc-lib
6715 i
[34567]86-pc-msdosdjgpp*)
6716 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6718 i
[34567]86-*-sco3.2v5
*)
6719 if test $with_gnu_as = yes; then
6720 md_exec_prefix
=/usr
/gnu
/bin
6722 md_exec_prefix
=/usr
/ccs
/bin
/elf
6727 powerpc-
*-chorusos* | \
6728 powerpc
*-*-eabi* | \
6729 powerpc
*-*-sysv* | \
6730 powerpc
*-*-kaos* | \
6732 md_exec_prefix
=/usr
/ccs
/bin
6737 md_exec_prefix
=/usr
/ccs
/bin
6752 md_exec_prefix
=/usr
/ccs
/bin
6756 extra_arflags_for_target
=
6757 extra_nmflags_for_target
=
6758 extra_ranlibflags_for_target
=
6759 target_makefile_frag
=/dev
/null
6762 target_makefile_frag
="config/mt-mep"
6765 target_makefile_frag
="config/mt-spu"
6768 target_makefile_frag
="config/mt-sde"
6770 mipsisa
*-*-elfoabi*)
6771 target_makefile_frag
="config/mt-mips-elfoabi"
6773 mips
*-*-*linux
* | mips
*-*-gnu*)
6774 target_makefile_frag
="config/mt-mips-gnu"
6777 target_makefile_frag
="config/mt-netware"
6779 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6780 target_makefile_frag
="config/mt-gnu"
6782 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6783 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6784 # commands to handle both 32-bit and 64-bit objects. These flags are
6785 # harmless if we're using GNU nm or ar.
6786 extra_arflags_for_target
=" -X32_64"
6787 extra_nmflags_for_target
=" -B -X32_64"
6790 # ranlib before Darwin10 requires the -c flag to look at common symbols.
6791 extra_ranlibflags_for_target
=" -c"
6793 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
6794 target_makefile_frag
="config/mt-wince"
6798 alphaieee_frag
=/dev
/null
6801 # This just makes sure to use the -mieee option to build target libs.
6802 # This should probably be set individually by each library.
6803 alphaieee_frag
="config/mt-alphaieee"
6807 # If --enable-target-optspace always use -Os instead of -O2 to build
6808 # the target libraries, similarly if it is not specified, use -Os
6809 # on selected platforms.
6810 ospace_frag
=/dev
/null
6811 case "${enable_target_optspace}:${target}" in
6813 ospace_frag
="config/mt-ospace"
6816 ospace_frag
="config/mt-d30v"
6818 :m32r-
* |
:d10v-
* |
:fr30-
*)
6819 ospace_frag
="config/mt-ospace"
6824 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6828 # Default to using --with-stabs for certain targets.
6829 if test x
${with_stabs} = x
; then
6833 mips
*-*-* | alpha
*-*-osf*)
6835 extra_host_args
="${extra_host_args} --with-stabs"
6840 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6841 # them automatically.
6844 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6848 # Some systems (e.g., one of the i386-aix systems the gas testers are
6849 # using) don't handle "\$" correctly, so don't use it here.
6850 tooldir
='${exec_prefix}'/${target_noncanonical}
6851 build_tooldir
=${tooldir}
6853 # Create a .gdbinit file which runs the one in srcdir
6854 # and tells GDB to look there for source files.
6856 if test -r ${srcdir}/.gdbinit
; then
6859 *) cat > .
/.gdbinit
<<EOF
6863 source ${srcdir}/.gdbinit
6869 # Make sure that the compiler is able to generate an executable. If it
6870 # can't, we are probably in trouble. We don't care whether we can run the
6871 # executable--we might be using a cross compiler--we only care whether it
6872 # can be created. At this point the main configure script has set CC.
6874 echo "int main () { return 0; }" > conftest.c
6875 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6876 if test $?
= 0 ; then
6877 if test -s conftest ||
test -s conftest.exe
; then
6883 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6884 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6891 # The Solaris /usr/ucb/cc compiler does not appear to work.
6893 sparc-sun-solaris2
*)
6894 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
6895 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6897 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
6898 if test -d /opt
/cygnus
/bin
; then
6899 if test "$could_use" = "" ; then
6900 could_use
="/opt/cygnus/bin"
6902 could_use
="$could_use or /opt/cygnus/bin"
6905 if test "$could_use" = "" ; then
6906 echo "Warning: compilation may fail because you're using"
6907 echo "/usr/ucb/cc. You should change your PATH or CC "
6908 echo "variable and rerun configure."
6910 echo "Warning: compilation may fail because you're using"
6911 echo "/usr/ucb/cc, when you should use the C compiler from"
6912 echo "$could_use. You should change your"
6913 echo "PATH or CC variable and rerun configure."
6919 # Decide which environment variable is used to find dynamic libraries.
6921 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6922 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6923 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6924 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6927 # On systems where the dynamic library environment variable is PATH,
6928 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6929 # built executables to PATH.
6930 if test "$RPATH_ENVVAR" = PATH
; then
6931 GCC_SHLIB_SUBDIR
=/shlib
6936 # Record target_configdirs and the configure arguments for target and
6937 # build configuration in Makefile.
6938 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6939 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6941 # If we are building libgomp, bootstrap it.
6942 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6943 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6946 # Determine whether gdb needs tk/tcl or not.
6947 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6948 # and in that case we want gdb to be built without tk. Ugh!
6949 # In fact I believe gdb is the *only* package directly dependent on tk,
6950 # so we should be able to put the 'maybe's in unconditionally and
6951 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6952 # 100% sure that that's safe though.
6954 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6955 case "$enable_gdbtk" in
6959 GDB_TK
="${gdb_tk}" ;;
6961 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6962 # distro. Eventually someone will fix this and move Insight, nee
6963 # gdbtk to a separate directory.
6964 if test -d ${srcdir}/gdb
/gdbtk
; then
6971 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6972 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6974 # Strip out unwanted targets.
6976 # While at that, we remove Makefiles if we were started for recursive
6977 # configuration, so that the top-level Makefile reconfigures them,
6978 # like we used to do when configure itself was recursive.
6980 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6981 # but now we're fixing up the Makefile ourselves with the additional
6982 # commands passed to AC_CONFIG_FILES. Use separate variables
6983 # extrasub-{build,host,target} not because there is any reason to split
6984 # the substitutions up that way, but only to remain below the limit of
6985 # 99 commands in a script, for HP-UX sed.
6986 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6988 # Check whether --enable-bootstrap was given.
6989 if test "${enable_bootstrap+set}" = set; then :
6990 enableval
=$enable_bootstrap;
6992 enable_bootstrap
=default
6996 # Issue errors and warnings for invalid/strange bootstrap combinations.
6997 case "$configdirs" in
6998 *gcc
*) have_compiler
=yes ;;
6999 *) have_compiler
=no
;;
7002 case "$have_compiler:$host:$target:$enable_bootstrap" in
7005 # Default behavior. Enable bootstrap if we have a compiler
7006 # and we are in a native configuration.
7007 yes:$build:$build:default
)
7008 enable_bootstrap
=yes ;;
7011 enable_bootstrap
=no
;;
7013 # We have a compiler and we are in a native configuration, bootstrap is ok
7014 yes:$build:$build:yes)
7017 # Other configurations, but we have a compiler. Assume the user knows
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
7021 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
7024 # No compiler: if they passed --enable-bootstrap explicitly, fail
7026 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
7028 # Fail if wrong command line
7030 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
7034 case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
7037 as_fn_error
"bootstrapping with --enable-build-with-cxx requires c++ in --enable-languages" "$LINENO" 5
7041 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7042 yes:yes:*\ gold\
*:*,c
++,*) ;;
7043 yes:yes:*\ gold\
*:*)
7044 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7048 # Adjust the toplevel makefile according to whether bootstrap was selected.
7049 case $enable_bootstrap in
7051 bootstrap_suffix
=bootstrap
7052 BUILD_CONFIG
=bootstrap-debug
7055 bootstrap_suffix
=no-bootstrap
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7061 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7064 # Check whether --with-build-config was given.
7065 if test "${with_build_config+set}" = set; then :
7066 withval
=$with_build_config; case $with_build_config in
7067 yes) with_build_config
= ;;
7068 no
) with_build_config
= BUILD_CONFIG
= ;;
7073 if test "x${with_build_config}" != x
; then
7074 BUILD_CONFIG
=$with_build_config
7076 case $BUILD_CONFIG in
7078 if echo "int f (void) { return 0; }" > conftest.c
&&
7079 ${CC} -c conftest.c
&&
7080 mv conftest.o conftest.o.g0
&&
7081 ${CC} -c -g conftest.c
&&
7082 mv conftest.o conftest.o.g
&&
7083 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7088 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7093 $as_echo "$BUILD_CONFIG" >&6; }
7097 for module
in ${build_configdirs} ; do
7098 if test -z "${no_recursion}" \
7099 && test -f ${build_subdir}/${module}/Makefile
; then
7100 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7101 rm -f ${build_subdir}/${module}/Makefile
7103 extrasub_build
="$extrasub_build
7104 /^@if build-$module\$/d
7105 /^@endif build-$module\$/d
7106 /^@if build-$module-$bootstrap_suffix\$/d
7107 /^@endif build-$module-$bootstrap_suffix\$/d"
7110 for module
in ${configdirs} ; do
7111 if test -z "${no_recursion}"; then
7112 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7113 if test -f ${file}; then
7114 echo 1>&2 "*** removing ${file} to force reconfigure"
7119 extrasub_host
="$extrasub_host
7121 /^@endif $module\$/d
7122 /^@if $module-$bootstrap_suffix\$/d
7123 /^@endif $module-$bootstrap_suffix\$/d"
7126 for module
in ${target_configdirs} ; do
7127 if test -z "${no_recursion}" \
7128 && test -f ${target_subdir}/${module}/Makefile
; then
7129 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7130 rm -f ${target_subdir}/${module}/Makefile
7133 # We only bootstrap target libraries listed in bootstrap_target_libs.
7134 case $bootstrap_target_libs in
7135 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7136 *) target_bootstrap_suffix
=no-bootstrap
;;
7139 extrasub_target
="$extrasub_target
7140 /^@if target-$module\$/d
7141 /^@endif target-$module\$/d
7142 /^@if target-$module-$target_bootstrap_suffix\$/d
7143 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7146 # Do the final fixup along with target modules.
7147 extrasub_target
="$extrasub_target
7148 /^@if /,/^@endif /d"
7150 # Create the serialization dependencies. This uses a temporary file.
7152 # Check whether --enable-serial-configure was given.
7153 if test "${enable_serial_configure+set}" = set; then :
7154 enableval
=$enable_serial_configure;
7158 case ${enable_serial_configure} in
7160 enable_serial_build_configure
=yes
7161 enable_serial_host_configure
=yes
7162 enable_serial_target_configure
=yes
7166 # These force 'configure's to be done one at a time, to avoid problems
7167 # with contention over a shared config.cache.
7169 echo '# serdep.tmp' > serdep.tmp
7171 test "x${enable_serial_build_configure}" = xyes
&&
7172 for item
in ${build_configdirs} ; do
7175 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7180 test "x${enable_serial_host_configure}" = xyes
&&
7181 for item
in ${configdirs} ; do
7184 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7189 test "x${enable_serial_target_configure}" = xyes
&&
7190 for item
in ${target_configdirs} ; do
7193 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7197 serialization_dependencies
=serdep.tmp
7200 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7201 # target, nonopt, and variable assignments. These are the ones we
7202 # might not want to pass down to subconfigures. The exception being
7203 # --cache-file=/dev/null, which is used to turn off the use of cache
7204 # files altogether, and which should be passed on to subconfigures.
7205 # Also strip program-prefix, program-suffix, and program-transform-name,
7206 # so that we can pass down a consistent program-transform-name.
7210 eval "set -- $ac_configure_args"
7213 if test X
"$skip_next" = X
"yes"; then
7217 if test X
"$keep_next" = X
"yes"; then
7220 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7222 baseargs
="$baseargs '$ac_arg'"
7227 # Handle separated arguments. Based on the logic generated by
7230 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7231 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7232 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7233 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7245 --cache-file=/dev
/null | \
7246 -cache-file=/dev
/null
)
7247 # Handled here to avoid the test to skip args below.
7248 baseargs
="$baseargs '$ac_arg'"
7249 # Assert: $separate_arg should always be no.
7250 keep_next
=$separate_arg
7266 -program-prefix* | \
7267 -program-suffix* | \
7268 -program-transform-name* )
7269 skip_next
=$separate_arg
7273 # An option. Add it.
7276 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7278 baseargs
="$baseargs '$ac_arg'"
7279 keep_next
=$separate_arg
7282 # Either a variable assignment, or a nonopt (triplet). Don't
7283 # pass it down; let the Makefile handle this.
7288 # Remove the initial space we just introduced and, as these will be
7289 # expanded by make, quote '$'.
7290 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7292 # Add in --program-transform-name, after --program-prefix and
7293 # --program-suffix have been applied to it. Autoconf has already
7294 # doubled dollar signs and backslashes in program_transform_name; we want
7295 # the backslashes un-doubled, and then the entire thing wrapped in single
7296 # quotes, because this will be expanded first by make and then by the shell.
7297 # Also, because we want to override the logic in subdir configure scripts to
7298 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7299 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7300 ${program_transform_name}
7302 gcc_transform_name
=`cat conftestsed.out`
7303 rm -f conftestsed.out
7304 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7305 if test "$silent" = yes; then
7306 baseargs
="$baseargs --silent"
7308 baseargs
="$baseargs --disable-option-checking"
7310 # Record and document user additions to sub configure arguments.
7315 # For the build-side libraries, we just need to pretend we're native,
7316 # and not use the same cache file. Multilibs are neither needed nor
7318 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7320 # For host modules, accept cache file option, or specification as blank.
7321 case "${cache_file}" in
7323 cache_file_option
="" ;;
7324 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7325 cache_file_option
="--cache-file=${cache_file}" ;;
7327 cache_file_option
="--cache-file=../${cache_file}" ;;
7330 # Host dirs don't like to share a cache file either, horribly enough.
7331 # This seems to be due to autoconf 2.5x stupidity.
7332 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7334 target_configargs
="$target_configargs ${baseargs}"
7336 # Passing a --with-cross-host argument lets the target libraries know
7337 # whether they are being built with a cross-compiler or being built
7338 # native. However, it would be better to use other mechanisms to make the
7339 # sorts of decisions they want to make on this basis. Please consider
7340 # this option to be deprecated. FIXME.
7341 if test x
${is_cross_compiler} = xyes
; then
7342 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7345 # Default to --enable-multilib.
7346 if test x
${enable_multilib} = x
; then
7347 target_configargs
="--enable-multilib ${target_configargs}"
7350 # Pass --with-newlib if appropriate. Note that target_configdirs has
7351 # changed from the earlier setting of with_newlib.
7352 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7353 target_configargs
="--with-newlib ${target_configargs}"
7356 # Different target subdirs use different values of certain variables
7357 # (notably CXX). Worse, multilibs use *lots* of different values.
7358 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7359 # it doesn't automatically accept command-line overrides of them.
7360 # This means it's not safe for target subdirs to share a cache file,
7361 # which is disgusting, but there you have it. Hopefully this can be
7362 # fixed in future. It's still worthwhile to use a cache file for each
7363 # directory. I think.
7365 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7366 # We need to pass --target, as newer autoconf's requires consistency
7367 # for target_alias and gcc doesn't manage it consistently.
7368 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7371 case " $target_configdirs " in
7373 case " $target_configargs " in
7374 *" --with-newlib "*)
7377 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'
7381 # If we're not building GCC, don't discard standard headers.
7382 if test -d ${srcdir}/gcc
; then
7383 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7385 if test "${build}" != "${host}"; then
7386 # On Canadian crosses, CC_FOR_TARGET will have already been set
7387 # by `configure', so we won't have an opportunity to add -Bgcc/
7388 # to it. This is right: we don't want to search that directory
7389 # for binaries, but we want the header files in there, so add
7391 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7393 # Someone might think of using the pre-installed headers on
7394 # Canadian crosses, in case the installed compiler is not fully
7395 # compatible with the compiler being built. In this case, it
7396 # would be better to flag an error than risking having
7397 # incompatible object files being constructed. We can't
7398 # guarantee that an error will be flagged, but let's hope the
7399 # compiler will do it, when presented with incompatible header
7404 case "${target}-${is_cross_compiler}" in
7405 i
[3456789]86-*-linux*-no)
7406 # Here host == target, so we don't need to build gcc,
7407 # so we don't want to discard standard headers.
7408 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7411 # If we're building newlib, use its generic headers last, but search
7412 # for any libc-related directories first (so make it the last -B
7414 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7416 # If we're building libgloss, find the startup file, simulator library
7417 # and linker script.
7418 case " $target_configdirs " in
7420 # Look for startup file, simulator library and maybe linker script.
7421 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7422 # Look for libnosys.a in case the target needs it.
7423 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7424 # Most targets have the linker script in the source directory.
7425 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7436 x86_64-
*mingw
* |
*-w64-mingw*)
7437 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7438 # however, use a symlink named 'mingw' in ${prefix} .
7439 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7442 # MinGW can't be handled as Cygwin above since it does not use newlib.
7443 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'
7447 # Allow the user to override the flags for
7448 # our build compiler if desired.
7449 if test x
"${build}" = x
"${host}" ; then
7450 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7451 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7452 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7455 # On Canadian crosses, we'll be searching the right directories for
7456 # the previously-installed cross compiler, so don't bother to add
7457 # flags for directories within the install tree of the compiler
7458 # being built; programs in there won't even run.
7459 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7460 # Search for pre-installed headers if nothing else fits.
7461 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7464 if test "x
${use_gnu_ld}" = x &&
7465 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7466 # Arrange for us to find uninstalled linker scripts.
7467 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7470 # Search for other target-specific linker scripts and such.
7473 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7477 # Makefile fragments.
7478 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7480 eval fragval=\$$frag
7481 if test $fragval != /dev/null; then
7482 eval $frag=${srcdir}/$fragval
7490 # Miscellanea: directories, flags, etc.
7499 # Build module lists & subconfigure args.
7503 # Host module lists & subconfigure args.
7508 # Target module lists & subconfigure args.
7530 # Generate default definitions for YACC, M4, LEX and other programs that run
7531 # on the build machine. These are used if the Makefile can't locate these
7532 # programs in objdir.
7533 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7535 for ac_prog in 'bison -y' byacc yacc
7537 # Extract the first word of "$ac_prog", so it can be a program name with args.
7538 set dummy $ac_prog; ac_word=$2
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7540 $as_echo_n "checking
for $ac_word...
" >&6; }
7541 if test "${ac_cv_prog_YACC+set}" = set; then :
7542 $as_echo_n "(cached
) " >&6
7544 if test -n "$YACC"; then
7545 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7551 test -z "$as_dir" && as_dir=.
7552 for ac_exec_ext in '' $ac_executable_extensions; do
7553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7554 ac_cv_prog_YACC="$ac_prog"
7555 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7564 YACC=$ac_cv_prog_YACC
7565 if test -n "$YACC"; then
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7567 $as_echo "$YACC" >&6; }
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7570 $as_echo "no
" >&6; }
7574 test -n "$YACC" && break
7576 test -n "$YACC" || YACC="$MISSING bison
-y"
7578 case " $build_configdirs " in
7579 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7580 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
7583 for ac_prog in bison
7585 # Extract the first word of "$ac_prog", so it can be a program name with args.
7586 set dummy $ac_prog; ac_word=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7588 $as_echo_n "checking
for $ac_word...
" >&6; }
7589 if test "${ac_cv_prog_BISON+set}" = set; then :
7590 $as_echo_n "(cached
) " >&6
7592 if test -n "$BISON"; then
7593 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599 test -z "$as_dir" && as_dir=.
7600 for ac_exec_ext in '' $ac_executable_extensions; do
7601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7602 ac_cv_prog_BISON="$ac_prog"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7612 BISON=$ac_cv_prog_BISON
7613 if test -n "$BISON"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7615 $as_echo "$BISON" >&6; }
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7618 $as_echo "no
" >&6; }
7622 test -n "$BISON" && break
7624 test -n "$BISON" || BISON="$MISSING bison
"
7626 case " $build_configdirs " in
7627 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7630 for ac_prog in gm4 gnum4 m4
7632 # Extract the first word of "$ac_prog", so it can be a program name with args.
7633 set dummy $ac_prog; ac_word=$2
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7635 $as_echo_n "checking
for $ac_word...
" >&6; }
7636 if test "${ac_cv_prog_M4+set}" = set; then :
7637 $as_echo_n "(cached
) " >&6
7639 if test -n "$M4"; then
7640 ac_cv_prog_M4="$M4" # Let the user override the test.
7642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7646 test -z "$as_dir" && as_dir=.
7647 for ac_exec_ext in '' $ac_executable_extensions; do
7648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7649 ac_cv_prog_M4="$ac_prog"
7650 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7660 if test -n "$M4"; then
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7662 $as_echo "$M4" >&6; }
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7665 $as_echo "no
" >&6; }
7669 test -n "$M4" && break
7671 test -n "$M4" || M4="$MISSING m4"
7673 case " $build_configdirs " in
7674 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7677 for ac_prog in flex lex
7679 # Extract the first word of "$ac_prog", so it can be a program name with args.
7680 set dummy $ac_prog; ac_word=$2
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7682 $as_echo_n "checking
for $ac_word...
" >&6; }
7683 if test "${ac_cv_prog_LEX+set}" = set; then :
7684 $as_echo_n "(cached
) " >&6
7686 if test -n "$LEX"; then
7687 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7693 test -z "$as_dir" && as_dir=.
7694 for ac_exec_ext in '' $ac_executable_extensions; do
7695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7696 ac_cv_prog_LEX="$ac_prog"
7697 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7707 if test -n "$LEX"; then
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7709 $as_echo "$LEX" >&6; }
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7712 $as_echo "no
" >&6; }
7716 test -n "$LEX" && break
7718 test -n "$LEX" || LEX="$MISSING flex
"
7720 case " $build_configdirs " in
7721 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7722 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7727 # Extract the first word of "$ac_prog", so it can be a program name with args.
7728 set dummy $ac_prog; ac_word=$2
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7730 $as_echo_n "checking
for $ac_word...
" >&6; }
7731 if test "${ac_cv_prog_FLEX+set}" = set; then :
7732 $as_echo_n "(cached
) " >&6
7734 if test -n "$FLEX"; then
7735 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7741 test -z "$as_dir" && as_dir=.
7742 for ac_exec_ext in '' $ac_executable_extensions; do
7743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7744 ac_cv_prog_FLEX="$ac_prog"
7745 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7754 FLEX=$ac_cv_prog_FLEX
7755 if test -n "$FLEX"; then
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7757 $as_echo "$FLEX" >&6; }
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7760 $as_echo "no
" >&6; }
7764 test -n "$FLEX" && break
7766 test -n "$FLEX" || FLEX="$MISSING flex
"
7768 case " $build_configdirs " in
7769 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7772 for ac_prog in makeinfo
7774 # Extract the first word of "$ac_prog", so it can be a program name with args.
7775 set dummy $ac_prog; ac_word=$2
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7777 $as_echo_n "checking
for $ac_word...
" >&6; }
7778 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7779 $as_echo_n "(cached
) " >&6
7781 if test -n "$MAKEINFO"; then
7782 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7788 test -z "$as_dir" && as_dir=.
7789 for ac_exec_ext in '' $ac_executable_extensions; do
7790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7791 ac_cv_prog_MAKEINFO="$ac_prog"
7792 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7801 MAKEINFO=$ac_cv_prog_MAKEINFO
7802 if test -n "$MAKEINFO"; then
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7804 $as_echo "$MAKEINFO" >&6; }
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7807 $as_echo "no
" >&6; }
7811 test -n "$MAKEINFO" && break
7813 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7815 case " $build_configdirs " in
7816 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7819 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7820 # higher, else we use the "missing
" dummy.
7821 if ${MAKEINFO} --version \
7822 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7825 MAKEINFO="$MISSING makeinfo
"
7831 # FIXME: expect and dejagnu may become build tools?
7833 for ac_prog in expect
7835 # Extract the first word of "$ac_prog", so it can be a program name with args.
7836 set dummy $ac_prog; ac_word=$2
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7838 $as_echo_n "checking
for $ac_word...
" >&6; }
7839 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7840 $as_echo_n "(cached
) " >&6
7842 if test -n "$EXPECT"; then
7843 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7849 test -z "$as_dir" && as_dir=.
7850 for ac_exec_ext in '' $ac_executable_extensions; do
7851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7852 ac_cv_prog_EXPECT="$ac_prog"
7853 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7862 EXPECT=$ac_cv_prog_EXPECT
7863 if test -n "$EXPECT"; then
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7865 $as_echo "$EXPECT" >&6; }
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7868 $as_echo "no
" >&6; }
7872 test -n "$EXPECT" && break
7874 test -n "$EXPECT" || EXPECT="expect
"
7876 case " $configdirs " in
7878 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7882 for ac_prog in runtest
7884 # Extract the first word of "$ac_prog", so it can be a program name with args.
7885 set dummy $ac_prog; ac_word=$2
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7887 $as_echo_n "checking
for $ac_word...
" >&6; }
7888 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7889 $as_echo_n "(cached
) " >&6
7891 if test -n "$RUNTEST"; then
7892 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7898 test -z "$as_dir" && as_dir=.
7899 for ac_exec_ext in '' $ac_executable_extensions; do
7900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7901 ac_cv_prog_RUNTEST="$ac_prog"
7902 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7911 RUNTEST=$ac_cv_prog_RUNTEST
7912 if test -n "$RUNTEST"; then
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7914 $as_echo "$RUNTEST" >&6; }
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7917 $as_echo "no
" >&6; }
7921 test -n "$RUNTEST" && break
7923 test -n "$RUNTEST" || RUNTEST="runtest
"
7925 case " $configdirs " in
7927 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7934 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7935 ncn_target_tool_prefix=
7936 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7940 if test -n "$AR"; then
7942 elif test -n "$ac_cv_prog_AR"; then
7946 if test -n "$ac_cv_prog_AR"; then
7947 for ncn_progname in ar; do
7948 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7949 set dummy ${ncn_progname}; ac_word=$2
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7951 $as_echo_n "checking
for $ac_word...
" >&6; }
7952 if test "${ac_cv_prog_AR+set}" = set; then :
7953 $as_echo_n "(cached
) " >&6
7955 if test -n "$AR"; then
7956 ac_cv_prog_AR="$AR" # Let the user override the test.
7958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7962 test -z "$as_dir" && as_dir=.
7963 for ac_exec_ext in '' $ac_executable_extensions; do
7964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7965 ac_cv_prog_AR="${ncn_progname}"
7966 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7976 if test -n "$AR"; then
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7978 $as_echo "$AR" >&6; }
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7981 $as_echo "no
" >&6; }
7988 for ncn_progname in ar; do
7989 if test -n "$ncn_tool_prefix"; then
7990 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7991 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7993 $as_echo_n "checking
for $ac_word...
" >&6; }
7994 if test "${ac_cv_prog_AR+set}" = set; then :
7995 $as_echo_n "(cached
) " >&6
7997 if test -n "$AR"; then
7998 ac_cv_prog_AR="$AR" # Let the user override the test.
8000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8004 test -z "$as_dir" && as_dir=.
8005 for ac_exec_ext in '' $ac_executable_extensions; do
8006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8007 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8008 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8018 if test -n "$AR"; then
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8020 $as_echo "$AR" >&6; }
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8023 $as_echo "no
" >&6; }
8028 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8029 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8030 set dummy ${ncn_progname}; ac_word=$2
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8032 $as_echo_n "checking
for $ac_word...
" >&6; }
8033 if test "${ac_cv_prog_AR+set}" = set; then :
8034 $as_echo_n "(cached
) " >&6
8036 if test -n "$AR"; then
8037 ac_cv_prog_AR="$AR" # Let the user override the test.
8039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8043 test -z "$as_dir" && as_dir=.
8044 for ac_exec_ext in '' $ac_executable_extensions; do
8045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8046 ac_cv_prog_AR="${ncn_progname}"
8047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8057 if test -n "$AR"; then
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8059 $as_echo "$AR" >&6; }
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8062 $as_echo "no
" >&6; }
8067 test -n "$ac_cv_prog_AR" && break
8070 if test -z "$ac_cv_prog_AR" ; then
8072 if test $build = $host ; then
8075 AR="${ncn_tool_prefix}$2"
8081 if test -n "$AS"; then
8083 elif test -n "$ac_cv_prog_AS"; then
8087 if test -n "$ac_cv_prog_AS"; then
8088 for ncn_progname in as; do
8089 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8090 set dummy ${ncn_progname}; ac_word=$2
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8092 $as_echo_n "checking
for $ac_word...
" >&6; }
8093 if test "${ac_cv_prog_AS+set}" = set; then :
8094 $as_echo_n "(cached
) " >&6
8096 if test -n "$AS"; then
8097 ac_cv_prog_AS="$AS" # Let the user override the test.
8099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8103 test -z "$as_dir" && as_dir=.
8104 for ac_exec_ext in '' $ac_executable_extensions; do
8105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8106 ac_cv_prog_AS="${ncn_progname}"
8107 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8117 if test -n "$AS"; then
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8119 $as_echo "$AS" >&6; }
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8122 $as_echo "no
" >&6; }
8129 for ncn_progname in as; do
8130 if test -n "$ncn_tool_prefix"; then
8131 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8132 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8134 $as_echo_n "checking
for $ac_word...
" >&6; }
8135 if test "${ac_cv_prog_AS+set}" = set; then :
8136 $as_echo_n "(cached
) " >&6
8138 if test -n "$AS"; then
8139 ac_cv_prog_AS="$AS" # Let the user override the test.
8141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8145 test -z "$as_dir" && as_dir=.
8146 for ac_exec_ext in '' $ac_executable_extensions; do
8147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8148 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8149 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8159 if test -n "$AS"; then
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8161 $as_echo "$AS" >&6; }
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8164 $as_echo "no
" >&6; }
8169 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8170 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8171 set dummy ${ncn_progname}; ac_word=$2
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8173 $as_echo_n "checking
for $ac_word...
" >&6; }
8174 if test "${ac_cv_prog_AS+set}" = set; then :
8175 $as_echo_n "(cached
) " >&6
8177 if test -n "$AS"; then
8178 ac_cv_prog_AS="$AS" # Let the user override the test.
8180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8184 test -z "$as_dir" && as_dir=.
8185 for ac_exec_ext in '' $ac_executable_extensions; do
8186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8187 ac_cv_prog_AS="${ncn_progname}"
8188 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8198 if test -n "$AS"; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8200 $as_echo "$AS" >&6; }
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8203 $as_echo "no
" >&6; }
8208 test -n "$ac_cv_prog_AS" && break
8211 if test -z "$ac_cv_prog_AS" ; then
8213 if test $build = $host ; then
8216 AS="${ncn_tool_prefix}$2"
8222 if test -n "$DLLTOOL"; then
8223 ac_cv_prog_DLLTOOL=$DLLTOOL
8224 elif test -n "$ac_cv_prog_DLLTOOL"; then
8225 DLLTOOL=$ac_cv_prog_DLLTOOL
8228 if test -n "$ac_cv_prog_DLLTOOL"; then
8229 for ncn_progname in dlltool; do
8230 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8231 set dummy ${ncn_progname}; ac_word=$2
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8233 $as_echo_n "checking
for $ac_word...
" >&6; }
8234 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8235 $as_echo_n "(cached
) " >&6
8237 if test -n "$DLLTOOL"; then
8238 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8244 test -z "$as_dir" && as_dir=.
8245 for ac_exec_ext in '' $ac_executable_extensions; do
8246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8247 ac_cv_prog_DLLTOOL="${ncn_progname}"
8248 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8257 DLLTOOL=$ac_cv_prog_DLLTOOL
8258 if test -n "$DLLTOOL"; then
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8260 $as_echo "$DLLTOOL" >&6; }
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8263 $as_echo "no
" >&6; }
8270 for ncn_progname in dlltool; do
8271 if test -n "$ncn_tool_prefix"; then
8272 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8273 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8275 $as_echo_n "checking
for $ac_word...
" >&6; }
8276 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8277 $as_echo_n "(cached
) " >&6
8279 if test -n "$DLLTOOL"; then
8280 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8286 test -z "$as_dir" && as_dir=.
8287 for ac_exec_ext in '' $ac_executable_extensions; do
8288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8289 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8299 DLLTOOL=$ac_cv_prog_DLLTOOL
8300 if test -n "$DLLTOOL"; then
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8302 $as_echo "$DLLTOOL" >&6; }
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8305 $as_echo "no
" >&6; }
8310 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8311 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8312 set dummy ${ncn_progname}; ac_word=$2
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8314 $as_echo_n "checking
for $ac_word...
" >&6; }
8315 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8316 $as_echo_n "(cached
) " >&6
8318 if test -n "$DLLTOOL"; then
8319 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8325 test -z "$as_dir" && as_dir=.
8326 for ac_exec_ext in '' $ac_executable_extensions; do
8327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8328 ac_cv_prog_DLLTOOL="${ncn_progname}"
8329 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8338 DLLTOOL=$ac_cv_prog_DLLTOOL
8339 if test -n "$DLLTOOL"; then
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8341 $as_echo "$DLLTOOL" >&6; }
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8344 $as_echo "no
" >&6; }
8349 test -n "$ac_cv_prog_DLLTOOL" && break
8352 if test -z "$ac_cv_prog_DLLTOOL" ; then
8354 if test $build = $host ; then
8357 DLLTOOL="${ncn_tool_prefix}$2"
8363 if test -n "$LD"; then
8365 elif test -n "$ac_cv_prog_LD"; then
8369 if test -n "$ac_cv_prog_LD"; then
8370 for ncn_progname in ld; do
8371 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8372 set dummy ${ncn_progname}; ac_word=$2
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8374 $as_echo_n "checking
for $ac_word...
" >&6; }
8375 if test "${ac_cv_prog_LD+set}" = set; then :
8376 $as_echo_n "(cached
) " >&6
8378 if test -n "$LD"; then
8379 ac_cv_prog_LD="$LD" # Let the user override the test.
8381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8385 test -z "$as_dir" && as_dir=.
8386 for ac_exec_ext in '' $ac_executable_extensions; do
8387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8388 ac_cv_prog_LD="${ncn_progname}"
8389 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8399 if test -n "$LD"; then
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8401 $as_echo "$LD" >&6; }
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8404 $as_echo "no
" >&6; }
8411 for ncn_progname in ld; do
8412 if test -n "$ncn_tool_prefix"; then
8413 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8414 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8416 $as_echo_n "checking
for $ac_word...
" >&6; }
8417 if test "${ac_cv_prog_LD+set}" = set; then :
8418 $as_echo_n "(cached
) " >&6
8420 if test -n "$LD"; then
8421 ac_cv_prog_LD="$LD" # Let the user override the test.
8423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8427 test -z "$as_dir" && as_dir=.
8428 for ac_exec_ext in '' $ac_executable_extensions; do
8429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8430 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8431 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8441 if test -n "$LD"; then
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8443 $as_echo "$LD" >&6; }
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8446 $as_echo "no
" >&6; }
8451 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8452 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8453 set dummy ${ncn_progname}; ac_word=$2
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8455 $as_echo_n "checking
for $ac_word...
" >&6; }
8456 if test "${ac_cv_prog_LD+set}" = set; then :
8457 $as_echo_n "(cached
) " >&6
8459 if test -n "$LD"; then
8460 ac_cv_prog_LD="$LD" # Let the user override the test.
8462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8466 test -z "$as_dir" && as_dir=.
8467 for ac_exec_ext in '' $ac_executable_extensions; do
8468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8469 ac_cv_prog_LD="${ncn_progname}"
8470 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8480 if test -n "$LD"; then
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8482 $as_echo "$LD" >&6; }
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8485 $as_echo "no
" >&6; }
8490 test -n "$ac_cv_prog_LD" && break
8493 if test -z "$ac_cv_prog_LD" ; then
8495 if test $build = $host ; then
8498 LD="${ncn_tool_prefix}$2"
8504 if test -n "$LIPO"; then
8505 ac_cv_prog_LIPO=$LIPO
8506 elif test -n "$ac_cv_prog_LIPO"; then
8507 LIPO=$ac_cv_prog_LIPO
8510 if test -n "$ac_cv_prog_LIPO"; then
8511 for ncn_progname in lipo; do
8512 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8513 set dummy ${ncn_progname}; ac_word=$2
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8515 $as_echo_n "checking
for $ac_word...
" >&6; }
8516 if test "${ac_cv_prog_LIPO+set}" = set; then :
8517 $as_echo_n "(cached
) " >&6
8519 if test -n "$LIPO"; then
8520 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8526 test -z "$as_dir" && as_dir=.
8527 for ac_exec_ext in '' $ac_executable_extensions; do
8528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8529 ac_cv_prog_LIPO="${ncn_progname}"
8530 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8539 LIPO=$ac_cv_prog_LIPO
8540 if test -n "$LIPO"; then
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8542 $as_echo "$LIPO" >&6; }
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8545 $as_echo "no
" >&6; }
8552 for ncn_progname in lipo; do
8553 if test -n "$ncn_tool_prefix"; then
8554 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8555 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8557 $as_echo_n "checking
for $ac_word...
" >&6; }
8558 if test "${ac_cv_prog_LIPO+set}" = set; then :
8559 $as_echo_n "(cached
) " >&6
8561 if test -n "$LIPO"; then
8562 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8568 test -z "$as_dir" && as_dir=.
8569 for ac_exec_ext in '' $ac_executable_extensions; do
8570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8571 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8572 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8581 LIPO=$ac_cv_prog_LIPO
8582 if test -n "$LIPO"; then
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8584 $as_echo "$LIPO" >&6; }
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8587 $as_echo "no
" >&6; }
8592 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8593 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8594 set dummy ${ncn_progname}; ac_word=$2
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8596 $as_echo_n "checking
for $ac_word...
" >&6; }
8597 if test "${ac_cv_prog_LIPO+set}" = set; then :
8598 $as_echo_n "(cached
) " >&6
8600 if test -n "$LIPO"; then
8601 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8607 test -z "$as_dir" && as_dir=.
8608 for ac_exec_ext in '' $ac_executable_extensions; do
8609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8610 ac_cv_prog_LIPO="${ncn_progname}"
8611 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8620 LIPO=$ac_cv_prog_LIPO
8621 if test -n "$LIPO"; then
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8623 $as_echo "$LIPO" >&6; }
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8626 $as_echo "no
" >&6; }
8631 test -n "$ac_cv_prog_LIPO" && break
8634 if test -z "$ac_cv_prog_LIPO" ; then
8636 if test $build = $host ; then
8639 LIPO="${ncn_tool_prefix}$2"
8645 if test -n "$NM"; then
8647 elif test -n "$ac_cv_prog_NM"; then
8651 if test -n "$ac_cv_prog_NM"; then
8652 for ncn_progname in nm; do
8653 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8654 set dummy ${ncn_progname}; ac_word=$2
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8656 $as_echo_n "checking
for $ac_word...
" >&6; }
8657 if test "${ac_cv_prog_NM+set}" = set; then :
8658 $as_echo_n "(cached
) " >&6
8660 if test -n "$NM"; then
8661 ac_cv_prog_NM="$NM" # Let the user override the test.
8663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8667 test -z "$as_dir" && as_dir=.
8668 for ac_exec_ext in '' $ac_executable_extensions; do
8669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8670 ac_cv_prog_NM="${ncn_progname}"
8671 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8681 if test -n "$NM"; then
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8683 $as_echo "$NM" >&6; }
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8686 $as_echo "no
" >&6; }
8693 for ncn_progname in nm; do
8694 if test -n "$ncn_tool_prefix"; then
8695 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8696 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8698 $as_echo_n "checking
for $ac_word...
" >&6; }
8699 if test "${ac_cv_prog_NM+set}" = set; then :
8700 $as_echo_n "(cached
) " >&6
8702 if test -n "$NM"; then
8703 ac_cv_prog_NM="$NM" # Let the user override the test.
8705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8709 test -z "$as_dir" && as_dir=.
8710 for ac_exec_ext in '' $ac_executable_extensions; do
8711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8712 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8713 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8723 if test -n "$NM"; then
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8725 $as_echo "$NM" >&6; }
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8728 $as_echo "no
" >&6; }
8733 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8734 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8735 set dummy ${ncn_progname}; ac_word=$2
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8737 $as_echo_n "checking
for $ac_word...
" >&6; }
8738 if test "${ac_cv_prog_NM+set}" = set; then :
8739 $as_echo_n "(cached
) " >&6
8741 if test -n "$NM"; then
8742 ac_cv_prog_NM="$NM" # Let the user override the test.
8744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8748 test -z "$as_dir" && as_dir=.
8749 for ac_exec_ext in '' $ac_executable_extensions; do
8750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8751 ac_cv_prog_NM="${ncn_progname}"
8752 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8762 if test -n "$NM"; then
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8764 $as_echo "$NM" >&6; }
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8767 $as_echo "no
" >&6; }
8772 test -n "$ac_cv_prog_NM" && break
8775 if test -z "$ac_cv_prog_NM" ; then
8777 if test $build = $host ; then
8780 NM="${ncn_tool_prefix}$2"
8786 if test -n "$RANLIB"; then
8787 ac_cv_prog_RANLIB=$RANLIB
8788 elif test -n "$ac_cv_prog_RANLIB"; then
8789 RANLIB=$ac_cv_prog_RANLIB
8792 if test -n "$ac_cv_prog_RANLIB"; then
8793 for ncn_progname in ranlib; do
8794 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8795 set dummy ${ncn_progname}; ac_word=$2
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8797 $as_echo_n "checking
for $ac_word...
" >&6; }
8798 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8799 $as_echo_n "(cached
) " >&6
8801 if test -n "$RANLIB"; then
8802 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8808 test -z "$as_dir" && as_dir=.
8809 for ac_exec_ext in '' $ac_executable_extensions; do
8810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8811 ac_cv_prog_RANLIB="${ncn_progname}"
8812 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8821 RANLIB=$ac_cv_prog_RANLIB
8822 if test -n "$RANLIB"; then
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8824 $as_echo "$RANLIB" >&6; }
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8827 $as_echo "no
" >&6; }
8834 for ncn_progname in ranlib; do
8835 if test -n "$ncn_tool_prefix"; then
8836 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8837 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8839 $as_echo_n "checking
for $ac_word...
" >&6; }
8840 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8841 $as_echo_n "(cached
) " >&6
8843 if test -n "$RANLIB"; then
8844 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8850 test -z "$as_dir" && as_dir=.
8851 for ac_exec_ext in '' $ac_executable_extensions; do
8852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8853 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8863 RANLIB=$ac_cv_prog_RANLIB
8864 if test -n "$RANLIB"; then
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8866 $as_echo "$RANLIB" >&6; }
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8869 $as_echo "no
" >&6; }
8874 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8875 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8876 set dummy ${ncn_progname}; ac_word=$2
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8878 $as_echo_n "checking
for $ac_word...
" >&6; }
8879 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8880 $as_echo_n "(cached
) " >&6
8882 if test -n "$RANLIB"; then
8883 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8889 test -z "$as_dir" && as_dir=.
8890 for ac_exec_ext in '' $ac_executable_extensions; do
8891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8892 ac_cv_prog_RANLIB="${ncn_progname}"
8893 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8902 RANLIB=$ac_cv_prog_RANLIB
8903 if test -n "$RANLIB"; then
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8905 $as_echo "$RANLIB" >&6; }
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8908 $as_echo "no
" >&6; }
8913 test -n "$ac_cv_prog_RANLIB" && break
8916 if test -z "$ac_cv_prog_RANLIB" ; then
8922 if test -n "$STRIP"; then
8923 ac_cv_prog_STRIP=$STRIP
8924 elif test -n "$ac_cv_prog_STRIP"; then
8925 STRIP=$ac_cv_prog_STRIP
8928 if test -n "$ac_cv_prog_STRIP"; then
8929 for ncn_progname in strip; do
8930 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8931 set dummy ${ncn_progname}; ac_word=$2
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8933 $as_echo_n "checking
for $ac_word...
" >&6; }
8934 if test "${ac_cv_prog_STRIP+set}" = set; then :
8935 $as_echo_n "(cached
) " >&6
8937 if test -n "$STRIP"; then
8938 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8944 test -z "$as_dir" && as_dir=.
8945 for ac_exec_ext in '' $ac_executable_extensions; do
8946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8947 ac_cv_prog_STRIP="${ncn_progname}"
8948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8957 STRIP=$ac_cv_prog_STRIP
8958 if test -n "$STRIP"; then
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8960 $as_echo "$STRIP" >&6; }
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8963 $as_echo "no
" >&6; }
8970 for ncn_progname in strip; do
8971 if test -n "$ncn_tool_prefix"; then
8972 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8973 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8975 $as_echo_n "checking
for $ac_word...
" >&6; }
8976 if test "${ac_cv_prog_STRIP+set}" = set; then :
8977 $as_echo_n "(cached
) " >&6
8979 if test -n "$STRIP"; then
8980 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8986 test -z "$as_dir" && as_dir=.
8987 for ac_exec_ext in '' $ac_executable_extensions; do
8988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8989 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8990 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8999 STRIP=$ac_cv_prog_STRIP
9000 if test -n "$STRIP"; then
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9002 $as_echo "$STRIP" >&6; }
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9005 $as_echo "no
" >&6; }
9010 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9011 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9012 set dummy ${ncn_progname}; ac_word=$2
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9014 $as_echo_n "checking
for $ac_word...
" >&6; }
9015 if test "${ac_cv_prog_STRIP+set}" = set; then :
9016 $as_echo_n "(cached
) " >&6
9018 if test -n "$STRIP"; then
9019 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9025 test -z "$as_dir" && as_dir=.
9026 for ac_exec_ext in '' $ac_executable_extensions; do
9027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9028 ac_cv_prog_STRIP="${ncn_progname}"
9029 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9038 STRIP=$ac_cv_prog_STRIP
9039 if test -n "$STRIP"; then
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9041 $as_echo "$STRIP" >&6; }
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9044 $as_echo "no
" >&6; }
9049 test -n "$ac_cv_prog_STRIP" && break
9052 if test -z "$ac_cv_prog_STRIP" ; then
9058 if test -n "$WINDRES"; then
9059 ac_cv_prog_WINDRES=$WINDRES
9060 elif test -n "$ac_cv_prog_WINDRES"; then
9061 WINDRES=$ac_cv_prog_WINDRES
9064 if test -n "$ac_cv_prog_WINDRES"; then
9065 for ncn_progname in windres; do
9066 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9067 set dummy ${ncn_progname}; ac_word=$2
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9069 $as_echo_n "checking
for $ac_word...
" >&6; }
9070 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9071 $as_echo_n "(cached
) " >&6
9073 if test -n "$WINDRES"; then
9074 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9080 test -z "$as_dir" && as_dir=.
9081 for ac_exec_ext in '' $ac_executable_extensions; do
9082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9083 ac_cv_prog_WINDRES="${ncn_progname}"
9084 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9093 WINDRES=$ac_cv_prog_WINDRES
9094 if test -n "$WINDRES"; then
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9096 $as_echo "$WINDRES" >&6; }
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9099 $as_echo "no
" >&6; }
9106 for ncn_progname in windres; do
9107 if test -n "$ncn_tool_prefix"; then
9108 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9109 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9111 $as_echo_n "checking
for $ac_word...
" >&6; }
9112 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9113 $as_echo_n "(cached
) " >&6
9115 if test -n "$WINDRES"; then
9116 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9122 test -z "$as_dir" && as_dir=.
9123 for ac_exec_ext in '' $ac_executable_extensions; do
9124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9125 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9135 WINDRES=$ac_cv_prog_WINDRES
9136 if test -n "$WINDRES"; then
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9138 $as_echo "$WINDRES" >&6; }
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9141 $as_echo "no
" >&6; }
9146 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9147 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9148 set dummy ${ncn_progname}; ac_word=$2
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9150 $as_echo_n "checking
for $ac_word...
" >&6; }
9151 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9152 $as_echo_n "(cached
) " >&6
9154 if test -n "$WINDRES"; then
9155 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9161 test -z "$as_dir" && as_dir=.
9162 for ac_exec_ext in '' $ac_executable_extensions; do
9163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9164 ac_cv_prog_WINDRES="${ncn_progname}"
9165 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9174 WINDRES=$ac_cv_prog_WINDRES
9175 if test -n "$WINDRES"; then
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9177 $as_echo "$WINDRES" >&6; }
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9180 $as_echo "no
" >&6; }
9185 test -n "$ac_cv_prog_WINDRES" && break
9188 if test -z "$ac_cv_prog_WINDRES" ; then
9190 if test $build = $host ; then
9193 WINDRES="${ncn_tool_prefix}$2"
9199 if test -n "$WINDMC"; then
9200 ac_cv_prog_WINDMC=$WINDMC
9201 elif test -n "$ac_cv_prog_WINDMC"; then
9202 WINDMC=$ac_cv_prog_WINDMC
9205 if test -n "$ac_cv_prog_WINDMC"; then
9206 for ncn_progname in windmc; do
9207 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9208 set dummy ${ncn_progname}; ac_word=$2
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9210 $as_echo_n "checking
for $ac_word...
" >&6; }
9211 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9212 $as_echo_n "(cached
) " >&6
9214 if test -n "$WINDMC"; then
9215 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9221 test -z "$as_dir" && as_dir=.
9222 for ac_exec_ext in '' $ac_executable_extensions; do
9223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9224 ac_cv_prog_WINDMC="${ncn_progname}"
9225 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9234 WINDMC=$ac_cv_prog_WINDMC
9235 if test -n "$WINDMC"; then
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9237 $as_echo "$WINDMC" >&6; }
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9240 $as_echo "no
" >&6; }
9247 for ncn_progname in windmc; do
9248 if test -n "$ncn_tool_prefix"; then
9249 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9250 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9252 $as_echo_n "checking
for $ac_word...
" >&6; }
9253 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9254 $as_echo_n "(cached
) " >&6
9256 if test -n "$WINDMC"; then
9257 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9263 test -z "$as_dir" && as_dir=.
9264 for ac_exec_ext in '' $ac_executable_extensions; do
9265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9266 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9267 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9276 WINDMC=$ac_cv_prog_WINDMC
9277 if test -n "$WINDMC"; then
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9279 $as_echo "$WINDMC" >&6; }
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9282 $as_echo "no
" >&6; }
9287 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9288 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9289 set dummy ${ncn_progname}; ac_word=$2
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9291 $as_echo_n "checking
for $ac_word...
" >&6; }
9292 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9293 $as_echo_n "(cached
) " >&6
9295 if test -n "$WINDMC"; then
9296 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9302 test -z "$as_dir" && as_dir=.
9303 for ac_exec_ext in '' $ac_executable_extensions; do
9304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9305 ac_cv_prog_WINDMC="${ncn_progname}"
9306 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9315 WINDMC=$ac_cv_prog_WINDMC
9316 if test -n "$WINDMC"; then
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9318 $as_echo "$WINDMC" >&6; }
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9321 $as_echo "no
" >&6; }
9326 test -n "$ac_cv_prog_WINDMC" && break
9329 if test -z "$ac_cv_prog_WINDMC" ; then
9331 if test $build = $host ; then
9334 WINDMC="${ncn_tool_prefix}$2"
9340 if test -n "$OBJCOPY"; then
9341 ac_cv_prog_OBJCOPY=$OBJCOPY
9342 elif test -n "$ac_cv_prog_OBJCOPY"; then
9343 OBJCOPY=$ac_cv_prog_OBJCOPY
9346 if test -n "$ac_cv_prog_OBJCOPY"; then
9347 for ncn_progname in objcopy; do
9348 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9349 set dummy ${ncn_progname}; ac_word=$2
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9351 $as_echo_n "checking
for $ac_word...
" >&6; }
9352 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9353 $as_echo_n "(cached
) " >&6
9355 if test -n "$OBJCOPY"; then
9356 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9362 test -z "$as_dir" && as_dir=.
9363 for ac_exec_ext in '' $ac_executable_extensions; do
9364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9365 ac_cv_prog_OBJCOPY="${ncn_progname}"
9366 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9375 OBJCOPY=$ac_cv_prog_OBJCOPY
9376 if test -n "$OBJCOPY"; then
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9378 $as_echo "$OBJCOPY" >&6; }
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9381 $as_echo "no
" >&6; }
9388 for ncn_progname in objcopy; do
9389 if test -n "$ncn_tool_prefix"; then
9390 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9391 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9393 $as_echo_n "checking
for $ac_word...
" >&6; }
9394 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9395 $as_echo_n "(cached
) " >&6
9397 if test -n "$OBJCOPY"; then
9398 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9404 test -z "$as_dir" && as_dir=.
9405 for ac_exec_ext in '' $ac_executable_extensions; do
9406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9407 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9408 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9417 OBJCOPY=$ac_cv_prog_OBJCOPY
9418 if test -n "$OBJCOPY"; then
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9420 $as_echo "$OBJCOPY" >&6; }
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9423 $as_echo "no
" >&6; }
9428 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9429 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9430 set dummy ${ncn_progname}; ac_word=$2
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9432 $as_echo_n "checking
for $ac_word...
" >&6; }
9433 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9434 $as_echo_n "(cached
) " >&6
9436 if test -n "$OBJCOPY"; then
9437 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9443 test -z "$as_dir" && as_dir=.
9444 for ac_exec_ext in '' $ac_executable_extensions; do
9445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9446 ac_cv_prog_OBJCOPY="${ncn_progname}"
9447 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9456 OBJCOPY=$ac_cv_prog_OBJCOPY
9457 if test -n "$OBJCOPY"; then
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9459 $as_echo "$OBJCOPY" >&6; }
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9462 $as_echo "no
" >&6; }
9467 test -n "$ac_cv_prog_OBJCOPY" && break
9470 if test -z "$ac_cv_prog_OBJCOPY" ; then
9472 if test $build = $host ; then
9475 OBJCOPY="${ncn_tool_prefix}$2"
9481 if test -n "$OBJDUMP"; then
9482 ac_cv_prog_OBJDUMP=$OBJDUMP
9483 elif test -n "$ac_cv_prog_OBJDUMP"; then
9484 OBJDUMP=$ac_cv_prog_OBJDUMP
9487 if test -n "$ac_cv_prog_OBJDUMP"; then
9488 for ncn_progname in objdump; do
9489 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9490 set dummy ${ncn_progname}; ac_word=$2
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9492 $as_echo_n "checking
for $ac_word...
" >&6; }
9493 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9494 $as_echo_n "(cached
) " >&6
9496 if test -n "$OBJDUMP"; then
9497 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9503 test -z "$as_dir" && as_dir=.
9504 for ac_exec_ext in '' $ac_executable_extensions; do
9505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9506 ac_cv_prog_OBJDUMP="${ncn_progname}"
9507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9516 OBJDUMP=$ac_cv_prog_OBJDUMP
9517 if test -n "$OBJDUMP"; then
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9519 $as_echo "$OBJDUMP" >&6; }
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9522 $as_echo "no
" >&6; }
9529 for ncn_progname in objdump; do
9530 if test -n "$ncn_tool_prefix"; then
9531 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9532 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9534 $as_echo_n "checking
for $ac_word...
" >&6; }
9535 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9536 $as_echo_n "(cached
) " >&6
9538 if test -n "$OBJDUMP"; then
9539 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9545 test -z "$as_dir" && as_dir=.
9546 for ac_exec_ext in '' $ac_executable_extensions; do
9547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9548 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9549 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9558 OBJDUMP=$ac_cv_prog_OBJDUMP
9559 if test -n "$OBJDUMP"; then
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9561 $as_echo "$OBJDUMP" >&6; }
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9564 $as_echo "no
" >&6; }
9569 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9570 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9571 set dummy ${ncn_progname}; ac_word=$2
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9573 $as_echo_n "checking
for $ac_word...
" >&6; }
9574 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9575 $as_echo_n "(cached
) " >&6
9577 if test -n "$OBJDUMP"; then
9578 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9584 test -z "$as_dir" && as_dir=.
9585 for ac_exec_ext in '' $ac_executable_extensions; do
9586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9587 ac_cv_prog_OBJDUMP="${ncn_progname}"
9588 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9597 OBJDUMP=$ac_cv_prog_OBJDUMP
9598 if test -n "$OBJDUMP"; then
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9600 $as_echo "$OBJDUMP" >&6; }
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9603 $as_echo "no
" >&6; }
9608 test -n "$ac_cv_prog_OBJDUMP" && break
9611 if test -z "$ac_cv_prog_OBJDUMP" ; then
9613 if test $build = $host ; then
9616 OBJDUMP="${ncn_tool_prefix}$2"
9627 # Check whether --with-build-time-tools was given.
9628 if test "${with_build_time_tools+set}" = set; then :
9629 withval=$with_build_time_tools; case x"$withval" in
9632 with_build_time_tools=
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9634 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9638 with_build_time_tools=
9644 if test -n "$CC_FOR_TARGET"; then
9645 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9646 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9647 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9650 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9651 for ncn_progname in cc gcc; do
9652 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9653 set dummy ${ncn_progname}; ac_word=$2
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9655 $as_echo_n "checking
for $ac_word...
" >&6; }
9656 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9657 $as_echo_n "(cached
) " >&6
9659 if test -n "$CC_FOR_TARGET"; then
9660 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9666 test -z "$as_dir" && as_dir=.
9667 for ac_exec_ext in '' $ac_executable_extensions; do
9668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9669 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9670 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9679 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9680 if test -n "$CC_FOR_TARGET"; then
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9682 $as_echo "$CC_FOR_TARGET" >&6; }
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9685 $as_echo "no
" >&6; }
9692 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9693 for ncn_progname in cc gcc; do
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9695 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9696 if test -x $with_build_time_tools/${ncn_progname}; then
9697 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9699 $as_echo "yes" >&6; }
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9703 $as_echo "no
" >&6; }
9708 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9709 for ncn_progname in cc gcc; do
9710 if test -n "$ncn_target_tool_prefix"; then
9711 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9712 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9714 $as_echo_n "checking
for $ac_word...
" >&6; }
9715 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9716 $as_echo_n "(cached
) " >&6
9718 if test -n "$CC_FOR_TARGET"; then
9719 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9725 test -z "$as_dir" && as_dir=.
9726 for ac_exec_ext in '' $ac_executable_extensions; do
9727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9728 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9729 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9738 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9739 if test -n "$CC_FOR_TARGET"; then
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9741 $as_echo "$CC_FOR_TARGET" >&6; }
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9744 $as_echo "no
" >&6; }
9749 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9750 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9751 set dummy ${ncn_progname}; ac_word=$2
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9753 $as_echo_n "checking
for $ac_word...
" >&6; }
9754 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9755 $as_echo_n "(cached
) " >&6
9757 if test -n "$CC_FOR_TARGET"; then
9758 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9764 test -z "$as_dir" && as_dir=.
9765 for ac_exec_ext in '' $ac_executable_extensions; do
9766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9767 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9777 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9778 if test -n "$CC_FOR_TARGET"; then
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9780 $as_echo "$CC_FOR_TARGET" >&6; }
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9783 $as_echo "no
" >&6; }
9788 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9792 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9794 if test $build = $target ; then
9797 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9800 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9805 if test -n "$CXX_FOR_TARGET"; then
9806 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9807 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9808 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9811 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9812 for ncn_progname in c++ g++ cxx gxx; do
9813 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9814 set dummy ${ncn_progname}; ac_word=$2
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9816 $as_echo_n "checking
for $ac_word...
" >&6; }
9817 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9818 $as_echo_n "(cached
) " >&6
9820 if test -n "$CXX_FOR_TARGET"; then
9821 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9827 test -z "$as_dir" && as_dir=.
9828 for ac_exec_ext in '' $ac_executable_extensions; do
9829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9830 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9831 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9840 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9841 if test -n "$CXX_FOR_TARGET"; then
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9843 $as_echo "$CXX_FOR_TARGET" >&6; }
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9846 $as_echo "no
" >&6; }
9853 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9854 for ncn_progname in c++ g++ cxx gxx; do
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9856 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9857 if test -x $with_build_time_tools/${ncn_progname}; then
9858 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9860 $as_echo "yes" >&6; }
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9864 $as_echo "no
" >&6; }
9869 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9870 for ncn_progname in c++ g++ cxx gxx; do
9871 if test -n "$ncn_target_tool_prefix"; then
9872 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9873 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9875 $as_echo_n "checking
for $ac_word...
" >&6; }
9876 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9877 $as_echo_n "(cached
) " >&6
9879 if test -n "$CXX_FOR_TARGET"; then
9880 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9886 test -z "$as_dir" && as_dir=.
9887 for ac_exec_ext in '' $ac_executable_extensions; do
9888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9889 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9899 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9900 if test -n "$CXX_FOR_TARGET"; then
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9902 $as_echo "$CXX_FOR_TARGET" >&6; }
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9905 $as_echo "no
" >&6; }
9910 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9911 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9912 set dummy ${ncn_progname}; ac_word=$2
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9914 $as_echo_n "checking
for $ac_word...
" >&6; }
9915 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9916 $as_echo_n "(cached
) " >&6
9918 if test -n "$CXX_FOR_TARGET"; then
9919 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9925 test -z "$as_dir" && as_dir=.
9926 for ac_exec_ext in '' $ac_executable_extensions; do
9927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9928 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9929 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9938 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9939 if test -n "$CXX_FOR_TARGET"; then
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9941 $as_echo "$CXX_FOR_TARGET" >&6; }
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9944 $as_echo "no
" >&6; }
9949 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9953 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9954 set dummy c++ g++ cxx gxx
9955 if test $build = $target ; then
9958 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9961 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9966 if test -n "$GCC_FOR_TARGET"; then
9967 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9968 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9969 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9972 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9973 for ncn_progname in gcc; do
9974 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9975 set dummy ${ncn_progname}; ac_word=$2
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9977 $as_echo_n "checking
for $ac_word...
" >&6; }
9978 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9979 $as_echo_n "(cached
) " >&6
9981 if test -n "$GCC_FOR_TARGET"; then
9982 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9988 test -z "$as_dir" && as_dir=.
9989 for ac_exec_ext in '' $ac_executable_extensions; do
9990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9991 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9992 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10001 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10002 if test -n "$GCC_FOR_TARGET"; then
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10004 $as_echo "$GCC_FOR_TARGET" >&6; }
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10007 $as_echo "no
" >&6; }
10014 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10015 for ncn_progname in gcc; do
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10017 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10018 if test -x $with_build_time_tools/${ncn_progname}; then
10019 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10021 $as_echo "yes" >&6; }
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10025 $as_echo "no
" >&6; }
10030 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10031 for ncn_progname in gcc; do
10032 if test -n "$ncn_target_tool_prefix"; then
10033 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10034 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10036 $as_echo_n "checking
for $ac_word...
" >&6; }
10037 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10038 $as_echo_n "(cached
) " >&6
10040 if test -n "$GCC_FOR_TARGET"; then
10041 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10044 for as_dir in $PATH
10047 test -z "$as_dir" && as_dir=.
10048 for ac_exec_ext in '' $ac_executable_extensions; do
10049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10050 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10051 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10060 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10061 if test -n "$GCC_FOR_TARGET"; then
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10063 $as_echo "$GCC_FOR_TARGET" >&6; }
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10066 $as_echo "no
" >&6; }
10071 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10072 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10073 set dummy ${ncn_progname}; ac_word=$2
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10075 $as_echo_n "checking
for $ac_word...
" >&6; }
10076 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10077 $as_echo_n "(cached
) " >&6
10079 if test -n "$GCC_FOR_TARGET"; then
10080 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10083 for as_dir in $PATH
10086 test -z "$as_dir" && as_dir=.
10087 for ac_exec_ext in '' $ac_executable_extensions; do
10088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10089 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10090 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10099 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10100 if test -n "$GCC_FOR_TARGET"; then
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10102 $as_echo "$GCC_FOR_TARGET" >&6; }
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10105 $as_echo "no
" >&6; }
10110 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10114 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10115 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10117 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10122 if test -n "$GCJ_FOR_TARGET"; then
10123 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10124 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10125 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10128 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10129 for ncn_progname in gcj; do
10130 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10131 set dummy ${ncn_progname}; ac_word=$2
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10133 $as_echo_n "checking
for $ac_word...
" >&6; }
10134 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10135 $as_echo_n "(cached
) " >&6
10137 if test -n "$GCJ_FOR_TARGET"; then
10138 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10141 for as_dir in $PATH
10144 test -z "$as_dir" && as_dir=.
10145 for ac_exec_ext in '' $ac_executable_extensions; do
10146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10147 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10148 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10157 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10158 if test -n "$GCJ_FOR_TARGET"; then
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10160 $as_echo "$GCJ_FOR_TARGET" >&6; }
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10163 $as_echo "no
" >&6; }
10170 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10171 for ncn_progname in gcj; do
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10173 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10174 if test -x $with_build_time_tools/${ncn_progname}; then
10175 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10177 $as_echo "yes" >&6; }
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10181 $as_echo "no
" >&6; }
10186 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10187 for ncn_progname in gcj; do
10188 if test -n "$ncn_target_tool_prefix"; then
10189 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10190 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10192 $as_echo_n "checking
for $ac_word...
" >&6; }
10193 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10194 $as_echo_n "(cached
) " >&6
10196 if test -n "$GCJ_FOR_TARGET"; then
10197 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10200 for as_dir in $PATH
10203 test -z "$as_dir" && as_dir=.
10204 for ac_exec_ext in '' $ac_executable_extensions; do
10205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10206 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10207 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10216 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10217 if test -n "$GCJ_FOR_TARGET"; then
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10219 $as_echo "$GCJ_FOR_TARGET" >&6; }
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10222 $as_echo "no
" >&6; }
10227 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10228 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10229 set dummy ${ncn_progname}; ac_word=$2
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10231 $as_echo_n "checking
for $ac_word...
" >&6; }
10232 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10233 $as_echo_n "(cached
) " >&6
10235 if test -n "$GCJ_FOR_TARGET"; then
10236 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10239 for as_dir in $PATH
10242 test -z "$as_dir" && as_dir=.
10243 for ac_exec_ext in '' $ac_executable_extensions; do
10244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10245 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10246 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10255 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10256 if test -n "$GCJ_FOR_TARGET"; then
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10258 $as_echo "$GCJ_FOR_TARGET" >&6; }
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10261 $as_echo "no
" >&6; }
10266 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10270 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10272 if test $build = $target ; then
10273 GCJ_FOR_TARGET="$2"
10275 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10278 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10283 if test -n "$GFORTRAN_FOR_TARGET"; then
10284 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10285 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10286 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10289 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10290 for ncn_progname in gfortran; do
10291 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10292 set dummy ${ncn_progname}; ac_word=$2
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10294 $as_echo_n "checking
for $ac_word...
" >&6; }
10295 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10296 $as_echo_n "(cached
) " >&6
10298 if test -n "$GFORTRAN_FOR_TARGET"; then
10299 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10302 for as_dir in $PATH
10305 test -z "$as_dir" && as_dir=.
10306 for ac_exec_ext in '' $ac_executable_extensions; do
10307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10308 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10309 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10318 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10319 if test -n "$GFORTRAN_FOR_TARGET"; then
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10321 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10324 $as_echo "no
" >&6; }
10331 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10332 for ncn_progname in gfortran; do
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10334 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10335 if test -x $with_build_time_tools/${ncn_progname}; then
10336 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10338 $as_echo "yes" >&6; }
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10342 $as_echo "no
" >&6; }
10347 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10348 for ncn_progname in gfortran; do
10349 if test -n "$ncn_target_tool_prefix"; then
10350 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10351 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10353 $as_echo_n "checking
for $ac_word...
" >&6; }
10354 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10355 $as_echo_n "(cached
) " >&6
10357 if test -n "$GFORTRAN_FOR_TARGET"; then
10358 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10361 for as_dir in $PATH
10364 test -z "$as_dir" && as_dir=.
10365 for ac_exec_ext in '' $ac_executable_extensions; do
10366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10367 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10368 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10377 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10378 if test -n "$GFORTRAN_FOR_TARGET"; then
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10380 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10383 $as_echo "no
" >&6; }
10388 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10389 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10390 set dummy ${ncn_progname}; ac_word=$2
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10392 $as_echo_n "checking
for $ac_word...
" >&6; }
10393 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10394 $as_echo_n "(cached
) " >&6
10396 if test -n "$GFORTRAN_FOR_TARGET"; then
10397 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10400 for as_dir in $PATH
10403 test -z "$as_dir" && as_dir=.
10404 for ac_exec_ext in '' $ac_executable_extensions; do
10405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10406 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10407 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10416 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10417 if test -n "$GFORTRAN_FOR_TARGET"; then
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10419 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10422 $as_echo "no
" >&6; }
10427 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10431 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10433 if test $build = $target ; then
10434 GFORTRAN_FOR_TARGET="$2"
10436 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10439 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10444 cat > conftest.c << \EOF
10449 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10450 have_gcc_for_target=yes
10452 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10453 have_gcc_for_target=no
10460 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10461 if test -n "$with_build_time_tools"; then
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10463 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10464 if test -x $with_build_time_tools/ar; then
10465 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10466 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10468 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10471 $as_echo "no
" >&6; }
10473 elif test $build != $host && test $have_gcc_for_target = yes; then
10474 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10475 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10476 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10479 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10480 # Extract the first word of "ar", so it can be a program name with args.
10481 set dummy ar; ac_word=$2
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10483 $as_echo_n "checking
for $ac_word...
" >&6; }
10484 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10485 $as_echo_n "(cached
) " >&6
10487 case $AR_FOR_TARGET in
10489 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10493 for as_dir in $gcc_cv_tool_dirs
10496 test -z "$as_dir" && as_dir=.
10497 for ac_exec_ext in '' $ac_executable_extensions; do
10498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10499 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10500 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10510 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10511 if test -n "$AR_FOR_TARGET"; then
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10513 $as_echo "$AR_FOR_TARGET" >&6; }
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10516 $as_echo "no
" >&6; }
10521 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10524 if test -n "$AR_FOR_TARGET"; then
10525 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10526 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10527 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10530 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10531 for ncn_progname in ar; do
10532 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10533 set dummy ${ncn_progname}; ac_word=$2
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10535 $as_echo_n "checking
for $ac_word...
" >&6; }
10536 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10537 $as_echo_n "(cached
) " >&6
10539 if test -n "$AR_FOR_TARGET"; then
10540 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10543 for as_dir in $PATH
10546 test -z "$as_dir" && as_dir=.
10547 for ac_exec_ext in '' $ac_executable_extensions; do
10548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10549 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10550 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10559 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10560 if test -n "$AR_FOR_TARGET"; then
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10562 $as_echo "$AR_FOR_TARGET" >&6; }
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10565 $as_echo "no
" >&6; }
10572 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10573 for ncn_progname in ar; do
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10575 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10576 if test -x $with_build_time_tools/${ncn_progname}; then
10577 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10579 $as_echo "yes" >&6; }
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10583 $as_echo "no
" >&6; }
10588 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10589 for ncn_progname in ar; do
10590 if test -n "$ncn_target_tool_prefix"; then
10591 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10592 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10594 $as_echo_n "checking
for $ac_word...
" >&6; }
10595 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10596 $as_echo_n "(cached
) " >&6
10598 if test -n "$AR_FOR_TARGET"; then
10599 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10602 for as_dir in $PATH
10605 test -z "$as_dir" && as_dir=.
10606 for ac_exec_ext in '' $ac_executable_extensions; do
10607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10608 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10609 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10618 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10619 if test -n "$AR_FOR_TARGET"; then
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10621 $as_echo "$AR_FOR_TARGET" >&6; }
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10624 $as_echo "no
" >&6; }
10629 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10630 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10631 set dummy ${ncn_progname}; ac_word=$2
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10633 $as_echo_n "checking
for $ac_word...
" >&6; }
10634 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10635 $as_echo_n "(cached
) " >&6
10637 if test -n "$AR_FOR_TARGET"; then
10638 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10641 for as_dir in $PATH
10644 test -z "$as_dir" && as_dir=.
10645 for ac_exec_ext in '' $ac_executable_extensions; do
10646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10647 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10648 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10657 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10658 if test -n "$AR_FOR_TARGET"; then
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10660 $as_echo "$AR_FOR_TARGET" >&6; }
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10663 $as_echo "no
" >&6; }
10668 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10672 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10674 if test $build = $target ; then
10677 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10680 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10684 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10690 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10691 if test -n "$with_build_time_tools"; then
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10693 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10694 if test -x $with_build_time_tools/as; then
10695 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10696 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10698 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10701 $as_echo "no
" >&6; }
10703 elif test $build != $host && test $have_gcc_for_target = yes; then
10704 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10705 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10706 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10709 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10710 # Extract the first word of "as
", so it can be a program name with args.
10711 set dummy as; ac_word=$2
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10713 $as_echo_n "checking
for $ac_word...
" >&6; }
10714 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10715 $as_echo_n "(cached
) " >&6
10717 case $AS_FOR_TARGET in
10719 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10723 for as_dir in $gcc_cv_tool_dirs
10726 test -z "$as_dir" && as_dir=.
10727 for ac_exec_ext in '' $ac_executable_extensions; do
10728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10729 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10730 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10740 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10741 if test -n "$AS_FOR_TARGET"; then
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10743 $as_echo "$AS_FOR_TARGET" >&6; }
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10746 $as_echo "no
" >&6; }
10751 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10754 if test -n "$AS_FOR_TARGET"; then
10755 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10756 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10757 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10760 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10761 for ncn_progname in as; do
10762 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10763 set dummy ${ncn_progname}; ac_word=$2
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10765 $as_echo_n "checking
for $ac_word...
" >&6; }
10766 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10767 $as_echo_n "(cached
) " >&6
10769 if test -n "$AS_FOR_TARGET"; then
10770 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10773 for as_dir in $PATH
10776 test -z "$as_dir" && as_dir=.
10777 for ac_exec_ext in '' $ac_executable_extensions; do
10778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10779 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10780 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10789 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10790 if test -n "$AS_FOR_TARGET"; then
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10792 $as_echo "$AS_FOR_TARGET" >&6; }
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10795 $as_echo "no
" >&6; }
10802 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10803 for ncn_progname in as; do
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10805 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10806 if test -x $with_build_time_tools/${ncn_progname}; then
10807 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10809 $as_echo "yes" >&6; }
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10813 $as_echo "no
" >&6; }
10818 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10819 for ncn_progname in as; do
10820 if test -n "$ncn_target_tool_prefix"; then
10821 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10822 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10824 $as_echo_n "checking
for $ac_word...
" >&6; }
10825 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10826 $as_echo_n "(cached
) " >&6
10828 if test -n "$AS_FOR_TARGET"; then
10829 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10832 for as_dir in $PATH
10835 test -z "$as_dir" && as_dir=.
10836 for ac_exec_ext in '' $ac_executable_extensions; do
10837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10838 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10839 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10848 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10849 if test -n "$AS_FOR_TARGET"; then
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10851 $as_echo "$AS_FOR_TARGET" >&6; }
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10854 $as_echo "no
" >&6; }
10859 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
10860 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10861 set dummy ${ncn_progname}; ac_word=$2
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10863 $as_echo_n "checking
for $ac_word...
" >&6; }
10864 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10865 $as_echo_n "(cached
) " >&6
10867 if test -n "$AS_FOR_TARGET"; then
10868 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10871 for as_dir in $PATH
10874 test -z "$as_dir" && as_dir=.
10875 for ac_exec_ext in '' $ac_executable_extensions; do
10876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10877 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10878 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10887 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10888 if test -n "$AS_FOR_TARGET"; then
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10890 $as_echo "$AS_FOR_TARGET" >&6; }
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10893 $as_echo "no
" >&6; }
10898 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
10902 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
10904 if test $build = $target ; then
10907 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
10910 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
10914 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10920 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10921 if test -n "$with_build_time_tools"; then
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
10923 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
10924 if test -x $with_build_time_tools/dlltool; then
10925 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
10926 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
10928 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10931 $as_echo "no
" >&6; }
10933 elif test $build != $host && test $have_gcc_for_target = yes; then
10934 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
10935 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
10936 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10939 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10940 # Extract the first word of "dlltool
", so it can be a program name with args.
10941 set dummy dlltool; ac_word=$2
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10943 $as_echo_n "checking
for $ac_word...
" >&6; }
10944 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
10945 $as_echo_n "(cached
) " >&6
10947 case $DLLTOOL_FOR_TARGET in
10949 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
10952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10953 for as_dir in $gcc_cv_tool_dirs
10956 test -z "$as_dir" && as_dir=.
10957 for ac_exec_ext in '' $ac_executable_extensions; do
10958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10959 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10960 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10970 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10971 if test -n "$DLLTOOL_FOR_TARGET"; then
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
10973 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10976 $as_echo "no
" >&6; }
10981 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10984 if test -n "$DLLTOOL_FOR_TARGET"; then
10985 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10986 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10987 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10990 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10991 for ncn_progname in dlltool; do
10992 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10993 set dummy ${ncn_progname}; ac_word=$2
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10995 $as_echo_n "checking
for $ac_word...
" >&6; }
10996 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10997 $as_echo_n "(cached
) " >&6
10999 if test -n "$DLLTOOL_FOR_TARGET"; then
11000 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11003 for as_dir in $PATH
11006 test -z "$as_dir" && as_dir=.
11007 for ac_exec_ext in '' $ac_executable_extensions; do
11008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11009 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11010 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11019 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11020 if test -n "$DLLTOOL_FOR_TARGET"; then
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11022 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11025 $as_echo "no
" >&6; }
11032 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11033 for ncn_progname in dlltool; do
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11035 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11036 if test -x $with_build_time_tools/${ncn_progname}; then
11037 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11039 $as_echo "yes" >&6; }
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11043 $as_echo "no
" >&6; }
11048 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11049 for ncn_progname in dlltool; do
11050 if test -n "$ncn_target_tool_prefix"; then
11051 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11052 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11054 $as_echo_n "checking
for $ac_word...
" >&6; }
11055 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11056 $as_echo_n "(cached
) " >&6
11058 if test -n "$DLLTOOL_FOR_TARGET"; then
11059 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11062 for as_dir in $PATH
11065 test -z "$as_dir" && as_dir=.
11066 for ac_exec_ext in '' $ac_executable_extensions; do
11067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11068 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11069 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11078 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11079 if test -n "$DLLTOOL_FOR_TARGET"; then
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11081 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11084 $as_echo "no
" >&6; }
11089 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11090 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11091 set dummy ${ncn_progname}; ac_word=$2
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11093 $as_echo_n "checking
for $ac_word...
" >&6; }
11094 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11095 $as_echo_n "(cached
) " >&6
11097 if test -n "$DLLTOOL_FOR_TARGET"; then
11098 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11101 for as_dir in $PATH
11104 test -z "$as_dir" && as_dir=.
11105 for ac_exec_ext in '' $ac_executable_extensions; do
11106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11107 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11108 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11117 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11118 if test -n "$DLLTOOL_FOR_TARGET"; then
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11120 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11123 $as_echo "no
" >&6; }
11128 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11132 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11134 if test $build = $target ; then
11135 DLLTOOL_FOR_TARGET="$2"
11137 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11140 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11144 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11150 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11151 if test -n "$with_build_time_tools"; then
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11153 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11154 if test -x $with_build_time_tools/ld; then
11155 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11156 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11158 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11161 $as_echo "no
" >&6; }
11163 elif test $build != $host && test $have_gcc_for_target = yes; then
11164 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11165 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11166 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11169 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11170 # Extract the first word of "ld
", so it can be a program name with args.
11171 set dummy ld; ac_word=$2
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11173 $as_echo_n "checking
for $ac_word...
" >&6; }
11174 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11175 $as_echo_n "(cached
) " >&6
11177 case $LD_FOR_TARGET in
11179 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11183 for as_dir in $gcc_cv_tool_dirs
11186 test -z "$as_dir" && as_dir=.
11187 for ac_exec_ext in '' $ac_executable_extensions; do
11188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11189 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11190 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11200 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11201 if test -n "$LD_FOR_TARGET"; then
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11203 $as_echo "$LD_FOR_TARGET" >&6; }
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11206 $as_echo "no
" >&6; }
11211 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11214 if test -n "$LD_FOR_TARGET"; then
11215 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11216 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11217 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11220 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11221 for ncn_progname in ld; do
11222 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11223 set dummy ${ncn_progname}; ac_word=$2
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11225 $as_echo_n "checking
for $ac_word...
" >&6; }
11226 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11227 $as_echo_n "(cached
) " >&6
11229 if test -n "$LD_FOR_TARGET"; then
11230 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11233 for as_dir in $PATH
11236 test -z "$as_dir" && as_dir=.
11237 for ac_exec_ext in '' $ac_executable_extensions; do
11238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11239 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11240 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11249 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11250 if test -n "$LD_FOR_TARGET"; then
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11252 $as_echo "$LD_FOR_TARGET" >&6; }
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11255 $as_echo "no
" >&6; }
11262 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11263 for ncn_progname in ld; do
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11265 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11266 if test -x $with_build_time_tools/${ncn_progname}; then
11267 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11269 $as_echo "yes" >&6; }
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11273 $as_echo "no
" >&6; }
11278 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11279 for ncn_progname in ld; do
11280 if test -n "$ncn_target_tool_prefix"; then
11281 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11282 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11284 $as_echo_n "checking
for $ac_word...
" >&6; }
11285 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11286 $as_echo_n "(cached
) " >&6
11288 if test -n "$LD_FOR_TARGET"; then
11289 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11292 for as_dir in $PATH
11295 test -z "$as_dir" && as_dir=.
11296 for ac_exec_ext in '' $ac_executable_extensions; do
11297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11298 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11299 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11308 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11309 if test -n "$LD_FOR_TARGET"; then
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11311 $as_echo "$LD_FOR_TARGET" >&6; }
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11314 $as_echo "no
" >&6; }
11319 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11320 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11321 set dummy ${ncn_progname}; ac_word=$2
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11323 $as_echo_n "checking
for $ac_word...
" >&6; }
11324 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11325 $as_echo_n "(cached
) " >&6
11327 if test -n "$LD_FOR_TARGET"; then
11328 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11331 for as_dir in $PATH
11334 test -z "$as_dir" && as_dir=.
11335 for ac_exec_ext in '' $ac_executable_extensions; do
11336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11337 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11338 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11347 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11348 if test -n "$LD_FOR_TARGET"; then
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11350 $as_echo "$LD_FOR_TARGET" >&6; }
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11353 $as_echo "no
" >&6; }
11358 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11362 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11364 if test $build = $target ; then
11367 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11370 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11374 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11380 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11381 if test -n "$with_build_time_tools"; then
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11383 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11384 if test -x $with_build_time_tools/lipo; then
11385 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11386 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11388 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11391 $as_echo "no
" >&6; }
11393 elif test $build != $host && test $have_gcc_for_target = yes; then
11394 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11395 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11396 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11399 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11400 # Extract the first word of "lipo
", so it can be a program name with args.
11401 set dummy lipo; ac_word=$2
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11403 $as_echo_n "checking
for $ac_word...
" >&6; }
11404 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11405 $as_echo_n "(cached
) " >&6
11407 case $LIPO_FOR_TARGET in
11409 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11413 for as_dir in $gcc_cv_tool_dirs
11416 test -z "$as_dir" && as_dir=.
11417 for ac_exec_ext in '' $ac_executable_extensions; do
11418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11419 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11420 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11430 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11431 if test -n "$LIPO_FOR_TARGET"; then
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11433 $as_echo "$LIPO_FOR_TARGET" >&6; }
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11436 $as_echo "no
" >&6; }
11441 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11444 if test -n "$LIPO_FOR_TARGET"; then
11445 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11446 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11447 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11450 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11451 for ncn_progname in lipo; do
11452 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11453 set dummy ${ncn_progname}; ac_word=$2
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11455 $as_echo_n "checking
for $ac_word...
" >&6; }
11456 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11457 $as_echo_n "(cached
) " >&6
11459 if test -n "$LIPO_FOR_TARGET"; then
11460 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11463 for as_dir in $PATH
11466 test -z "$as_dir" && as_dir=.
11467 for ac_exec_ext in '' $ac_executable_extensions; do
11468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11469 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11470 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11479 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11480 if test -n "$LIPO_FOR_TARGET"; then
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11482 $as_echo "$LIPO_FOR_TARGET" >&6; }
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11485 $as_echo "no
" >&6; }
11492 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11493 for ncn_progname in lipo; do
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11495 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11496 if test -x $with_build_time_tools/${ncn_progname}; then
11497 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11499 $as_echo "yes" >&6; }
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11503 $as_echo "no
" >&6; }
11508 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11509 for ncn_progname in lipo; do
11510 if test -n "$ncn_target_tool_prefix"; then
11511 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11512 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11514 $as_echo_n "checking
for $ac_word...
" >&6; }
11515 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11516 $as_echo_n "(cached
) " >&6
11518 if test -n "$LIPO_FOR_TARGET"; then
11519 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11522 for as_dir in $PATH
11525 test -z "$as_dir" && as_dir=.
11526 for ac_exec_ext in '' $ac_executable_extensions; do
11527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11528 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11538 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11539 if test -n "$LIPO_FOR_TARGET"; then
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11541 $as_echo "$LIPO_FOR_TARGET" >&6; }
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11544 $as_echo "no
" >&6; }
11549 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11550 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11551 set dummy ${ncn_progname}; ac_word=$2
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11553 $as_echo_n "checking
for $ac_word...
" >&6; }
11554 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11555 $as_echo_n "(cached
) " >&6
11557 if test -n "$LIPO_FOR_TARGET"; then
11558 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11561 for as_dir in $PATH
11564 test -z "$as_dir" && as_dir=.
11565 for ac_exec_ext in '' $ac_executable_extensions; do
11566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11567 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11568 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11577 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11578 if test -n "$LIPO_FOR_TARGET"; then
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11580 $as_echo "$LIPO_FOR_TARGET" >&6; }
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11583 $as_echo "no
" >&6; }
11588 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11592 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11594 if test $build = $target ; then
11595 LIPO_FOR_TARGET="$2"
11597 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11600 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11604 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11610 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11611 if test -n "$with_build_time_tools"; then
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11613 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11614 if test -x $with_build_time_tools/nm; then
11615 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11616 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11618 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11621 $as_echo "no
" >&6; }
11623 elif test $build != $host && test $have_gcc_for_target = yes; then
11624 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11625 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11626 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11629 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11630 # Extract the first word of "nm
", so it can be a program name with args.
11631 set dummy nm; ac_word=$2
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11633 $as_echo_n "checking
for $ac_word...
" >&6; }
11634 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11635 $as_echo_n "(cached
) " >&6
11637 case $NM_FOR_TARGET in
11639 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11643 for as_dir in $gcc_cv_tool_dirs
11646 test -z "$as_dir" && as_dir=.
11647 for ac_exec_ext in '' $ac_executable_extensions; do
11648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11649 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11650 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11660 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11661 if test -n "$NM_FOR_TARGET"; then
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11663 $as_echo "$NM_FOR_TARGET" >&6; }
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11666 $as_echo "no
" >&6; }
11671 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11674 if test -n "$NM_FOR_TARGET"; then
11675 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11676 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11677 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11680 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11681 for ncn_progname in nm; do
11682 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11683 set dummy ${ncn_progname}; ac_word=$2
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11685 $as_echo_n "checking
for $ac_word...
" >&6; }
11686 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11687 $as_echo_n "(cached
) " >&6
11689 if test -n "$NM_FOR_TARGET"; then
11690 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11693 for as_dir in $PATH
11696 test -z "$as_dir" && as_dir=.
11697 for ac_exec_ext in '' $ac_executable_extensions; do
11698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11699 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11700 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11709 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11710 if test -n "$NM_FOR_TARGET"; then
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11712 $as_echo "$NM_FOR_TARGET" >&6; }
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11715 $as_echo "no
" >&6; }
11722 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11723 for ncn_progname in nm; do
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11725 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11726 if test -x $with_build_time_tools/${ncn_progname}; then
11727 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11729 $as_echo "yes" >&6; }
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11733 $as_echo "no
" >&6; }
11738 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11739 for ncn_progname in nm; do
11740 if test -n "$ncn_target_tool_prefix"; then
11741 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11742 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11744 $as_echo_n "checking
for $ac_word...
" >&6; }
11745 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11746 $as_echo_n "(cached
) " >&6
11748 if test -n "$NM_FOR_TARGET"; then
11749 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11752 for as_dir in $PATH
11755 test -z "$as_dir" && as_dir=.
11756 for ac_exec_ext in '' $ac_executable_extensions; do
11757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11758 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11759 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11768 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11769 if test -n "$NM_FOR_TARGET"; then
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11771 $as_echo "$NM_FOR_TARGET" >&6; }
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11774 $as_echo "no
" >&6; }
11779 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11780 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11781 set dummy ${ncn_progname}; ac_word=$2
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11783 $as_echo_n "checking
for $ac_word...
" >&6; }
11784 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11785 $as_echo_n "(cached
) " >&6
11787 if test -n "$NM_FOR_TARGET"; then
11788 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11791 for as_dir in $PATH
11794 test -z "$as_dir" && as_dir=.
11795 for ac_exec_ext in '' $ac_executable_extensions; do
11796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11797 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11798 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11807 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11808 if test -n "$NM_FOR_TARGET"; then
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11810 $as_echo "$NM_FOR_TARGET" >&6; }
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11813 $as_echo "no
" >&6; }
11818 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11822 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11824 if test $build = $target ; then
11827 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
11830 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
11834 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11840 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11841 if test -n "$with_build_time_tools"; then
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
11843 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
11844 if test -x $with_build_time_tools/objdump; then
11845 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
11846 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
11848 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11851 $as_echo "no
" >&6; }
11853 elif test $build != $host && test $have_gcc_for_target = yes; then
11854 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
11855 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
11856 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11859 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11860 # Extract the first word of "objdump
", so it can be a program name with args.
11861 set dummy objdump; ac_word=$2
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11863 $as_echo_n "checking
for $ac_word...
" >&6; }
11864 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
11865 $as_echo_n "(cached
) " >&6
11867 case $OBJDUMP_FOR_TARGET in
11869 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
11872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11873 for as_dir in $gcc_cv_tool_dirs
11876 test -z "$as_dir" && as_dir=.
11877 for ac_exec_ext in '' $ac_executable_extensions; do
11878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11879 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11880 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11890 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11891 if test -n "$OBJDUMP_FOR_TARGET"; then
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11893 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11896 $as_echo "no
" >&6; }
11901 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11904 if test -n "$OBJDUMP_FOR_TARGET"; then
11905 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11906 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11907 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11910 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11911 for ncn_progname in objdump; do
11912 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11913 set dummy ${ncn_progname}; ac_word=$2
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11915 $as_echo_n "checking
for $ac_word...
" >&6; }
11916 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11917 $as_echo_n "(cached
) " >&6
11919 if test -n "$OBJDUMP_FOR_TARGET"; then
11920 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11923 for as_dir in $PATH
11926 test -z "$as_dir" && as_dir=.
11927 for ac_exec_ext in '' $ac_executable_extensions; do
11928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11929 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
11930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11939 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11940 if test -n "$OBJDUMP_FOR_TARGET"; then
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11942 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11945 $as_echo "no
" >&6; }
11952 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11953 for ncn_progname in objdump; do
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11955 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11956 if test -x $with_build_time_tools/${ncn_progname}; then
11957 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11959 $as_echo "yes" >&6; }
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11963 $as_echo "no
" >&6; }
11968 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11969 for ncn_progname in objdump; do
11970 if test -n "$ncn_target_tool_prefix"; then
11971 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11972 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11974 $as_echo_n "checking
for $ac_word...
" >&6; }
11975 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11976 $as_echo_n "(cached
) " >&6
11978 if test -n "$OBJDUMP_FOR_TARGET"; then
11979 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11982 for as_dir in $PATH
11985 test -z "$as_dir" && as_dir=.
11986 for ac_exec_ext in '' $ac_executable_extensions; do
11987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11988 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11989 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11998 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11999 if test -n "$OBJDUMP_FOR_TARGET"; then
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12001 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12004 $as_echo "no
" >&6; }
12009 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12010 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12011 set dummy ${ncn_progname}; ac_word=$2
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12013 $as_echo_n "checking
for $ac_word...
" >&6; }
12014 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12015 $as_echo_n "(cached
) " >&6
12017 if test -n "$OBJDUMP_FOR_TARGET"; then
12018 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12021 for as_dir in $PATH
12024 test -z "$as_dir" && as_dir=.
12025 for ac_exec_ext in '' $ac_executable_extensions; do
12026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12027 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12028 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12037 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12038 if test -n "$OBJDUMP_FOR_TARGET"; then
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12040 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12043 $as_echo "no
" >&6; }
12048 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12052 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12054 if test $build = $target ; then
12055 OBJDUMP_FOR_TARGET="$2"
12057 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12060 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12064 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12070 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12071 if test -n "$with_build_time_tools"; then
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12073 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12074 if test -x $with_build_time_tools/ranlib; then
12075 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12076 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12078 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12081 $as_echo "no
" >&6; }
12083 elif test $build != $host && test $have_gcc_for_target = yes; then
12084 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12085 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12086 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12089 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12090 # Extract the first word of "ranlib
", so it can be a program name with args.
12091 set dummy ranlib; ac_word=$2
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12093 $as_echo_n "checking
for $ac_word...
" >&6; }
12094 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12095 $as_echo_n "(cached
) " >&6
12097 case $RANLIB_FOR_TARGET in
12099 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12103 for as_dir in $gcc_cv_tool_dirs
12106 test -z "$as_dir" && as_dir=.
12107 for ac_exec_ext in '' $ac_executable_extensions; do
12108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12109 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12110 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12120 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12121 if test -n "$RANLIB_FOR_TARGET"; then
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12123 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12126 $as_echo "no
" >&6; }
12131 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12134 if test -n "$RANLIB_FOR_TARGET"; then
12135 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12136 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12137 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12140 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12141 for ncn_progname in ranlib; do
12142 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12143 set dummy ${ncn_progname}; ac_word=$2
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12145 $as_echo_n "checking
for $ac_word...
" >&6; }
12146 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12147 $as_echo_n "(cached
) " >&6
12149 if test -n "$RANLIB_FOR_TARGET"; then
12150 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12153 for as_dir in $PATH
12156 test -z "$as_dir" && as_dir=.
12157 for ac_exec_ext in '' $ac_executable_extensions; do
12158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12159 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12160 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12169 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12170 if test -n "$RANLIB_FOR_TARGET"; then
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12172 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12175 $as_echo "no
" >&6; }
12182 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12183 for ncn_progname in ranlib; do
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12185 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12186 if test -x $with_build_time_tools/${ncn_progname}; then
12187 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12189 $as_echo "yes" >&6; }
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12193 $as_echo "no
" >&6; }
12198 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12199 for ncn_progname in ranlib; do
12200 if test -n "$ncn_target_tool_prefix"; then
12201 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12202 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12204 $as_echo_n "checking
for $ac_word...
" >&6; }
12205 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12206 $as_echo_n "(cached
) " >&6
12208 if test -n "$RANLIB_FOR_TARGET"; then
12209 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12212 for as_dir in $PATH
12215 test -z "$as_dir" && as_dir=.
12216 for ac_exec_ext in '' $ac_executable_extensions; do
12217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12218 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12219 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12228 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12229 if test -n "$RANLIB_FOR_TARGET"; then
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12231 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12234 $as_echo "no
" >&6; }
12239 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12240 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12241 set dummy ${ncn_progname}; ac_word=$2
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12243 $as_echo_n "checking
for $ac_word...
" >&6; }
12244 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12245 $as_echo_n "(cached
) " >&6
12247 if test -n "$RANLIB_FOR_TARGET"; then
12248 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12251 for as_dir in $PATH
12254 test -z "$as_dir" && as_dir=.
12255 for ac_exec_ext in '' $ac_executable_extensions; do
12256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12257 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12267 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12268 if test -n "$RANLIB_FOR_TARGET"; then
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12270 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12273 $as_echo "no
" >&6; }
12278 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12282 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12284 if test $build = $target ; then
12285 RANLIB_FOR_TARGET="$2"
12287 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12290 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12294 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12300 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12301 if test -n "$with_build_time_tools"; then
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12303 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12304 if test -x $with_build_time_tools/strip; then
12305 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12306 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12308 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12311 $as_echo "no
" >&6; }
12313 elif test $build != $host && test $have_gcc_for_target = yes; then
12314 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12315 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12316 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12319 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12320 # Extract the first word of "strip
", so it can be a program name with args.
12321 set dummy strip; ac_word=$2
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12323 $as_echo_n "checking
for $ac_word...
" >&6; }
12324 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12325 $as_echo_n "(cached
) " >&6
12327 case $STRIP_FOR_TARGET in
12329 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12333 for as_dir in $gcc_cv_tool_dirs
12336 test -z "$as_dir" && as_dir=.
12337 for ac_exec_ext in '' $ac_executable_extensions; do
12338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12339 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12340 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12350 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12351 if test -n "$STRIP_FOR_TARGET"; then
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12353 $as_echo "$STRIP_FOR_TARGET" >&6; }
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12356 $as_echo "no
" >&6; }
12361 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12364 if test -n "$STRIP_FOR_TARGET"; then
12365 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12366 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12367 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12370 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12371 for ncn_progname in strip; do
12372 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12373 set dummy ${ncn_progname}; ac_word=$2
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12375 $as_echo_n "checking
for $ac_word...
" >&6; }
12376 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12377 $as_echo_n "(cached
) " >&6
12379 if test -n "$STRIP_FOR_TARGET"; then
12380 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12383 for as_dir in $PATH
12386 test -z "$as_dir" && as_dir=.
12387 for ac_exec_ext in '' $ac_executable_extensions; do
12388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12389 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12390 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12399 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12400 if test -n "$STRIP_FOR_TARGET"; then
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12402 $as_echo "$STRIP_FOR_TARGET" >&6; }
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12405 $as_echo "no
" >&6; }
12412 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12413 for ncn_progname in strip; do
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12415 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12416 if test -x $with_build_time_tools/${ncn_progname}; then
12417 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12419 $as_echo "yes" >&6; }
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12423 $as_echo "no
" >&6; }
12428 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12429 for ncn_progname in strip; do
12430 if test -n "$ncn_target_tool_prefix"; then
12431 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12432 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12434 $as_echo_n "checking
for $ac_word...
" >&6; }
12435 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12436 $as_echo_n "(cached
) " >&6
12438 if test -n "$STRIP_FOR_TARGET"; then
12439 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12442 for as_dir in $PATH
12445 test -z "$as_dir" && as_dir=.
12446 for ac_exec_ext in '' $ac_executable_extensions; do
12447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12448 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12449 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12458 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12459 if test -n "$STRIP_FOR_TARGET"; then
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12461 $as_echo "$STRIP_FOR_TARGET" >&6; }
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12464 $as_echo "no
" >&6; }
12469 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12470 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12471 set dummy ${ncn_progname}; ac_word=$2
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12473 $as_echo_n "checking
for $ac_word...
" >&6; }
12474 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12475 $as_echo_n "(cached
) " >&6
12477 if test -n "$STRIP_FOR_TARGET"; then
12478 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12481 for as_dir in $PATH
12484 test -z "$as_dir" && as_dir=.
12485 for ac_exec_ext in '' $ac_executable_extensions; do
12486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12487 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12488 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12497 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12498 if test -n "$STRIP_FOR_TARGET"; then
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12500 $as_echo "$STRIP_FOR_TARGET" >&6; }
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12503 $as_echo "no
" >&6; }
12508 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12512 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12514 if test $build = $target ; then
12515 STRIP_FOR_TARGET="$2"
12517 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12520 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12524 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12530 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12531 if test -n "$with_build_time_tools"; then
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12533 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12534 if test -x $with_build_time_tools/windres; then
12535 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12536 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12538 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12541 $as_echo "no
" >&6; }
12543 elif test $build != $host && test $have_gcc_for_target = yes; then
12544 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12545 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12546 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12549 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12550 # Extract the first word of "windres
", so it can be a program name with args.
12551 set dummy windres; ac_word=$2
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12553 $as_echo_n "checking
for $ac_word...
" >&6; }
12554 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12555 $as_echo_n "(cached
) " >&6
12557 case $WINDRES_FOR_TARGET in
12559 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12563 for as_dir in $gcc_cv_tool_dirs
12566 test -z "$as_dir" && as_dir=.
12567 for ac_exec_ext in '' $ac_executable_extensions; do
12568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12569 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12570 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12580 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12581 if test -n "$WINDRES_FOR_TARGET"; then
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12583 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12586 $as_echo "no
" >&6; }
12591 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12594 if test -n "$WINDRES_FOR_TARGET"; then
12595 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12596 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12597 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12600 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12601 for ncn_progname in windres; do
12602 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12603 set dummy ${ncn_progname}; ac_word=$2
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12605 $as_echo_n "checking
for $ac_word...
" >&6; }
12606 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12607 $as_echo_n "(cached
) " >&6
12609 if test -n "$WINDRES_FOR_TARGET"; then
12610 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12613 for as_dir in $PATH
12616 test -z "$as_dir" && as_dir=.
12617 for ac_exec_ext in '' $ac_executable_extensions; do
12618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12619 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12620 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12629 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12630 if test -n "$WINDRES_FOR_TARGET"; then
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12632 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12635 $as_echo "no
" >&6; }
12642 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12643 for ncn_progname in windres; do
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12645 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12646 if test -x $with_build_time_tools/${ncn_progname}; then
12647 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12649 $as_echo "yes" >&6; }
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12653 $as_echo "no
" >&6; }
12658 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12659 for ncn_progname in windres; do
12660 if test -n "$ncn_target_tool_prefix"; then
12661 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12662 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12664 $as_echo_n "checking
for $ac_word...
" >&6; }
12665 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12666 $as_echo_n "(cached
) " >&6
12668 if test -n "$WINDRES_FOR_TARGET"; then
12669 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12672 for as_dir in $PATH
12675 test -z "$as_dir" && as_dir=.
12676 for ac_exec_ext in '' $ac_executable_extensions; do
12677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12678 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12679 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12688 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12689 if test -n "$WINDRES_FOR_TARGET"; then
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12691 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12694 $as_echo "no
" >&6; }
12699 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12700 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12701 set dummy ${ncn_progname}; ac_word=$2
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12703 $as_echo_n "checking
for $ac_word...
" >&6; }
12704 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12705 $as_echo_n "(cached
) " >&6
12707 if test -n "$WINDRES_FOR_TARGET"; then
12708 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12711 for as_dir in $PATH
12714 test -z "$as_dir" && as_dir=.
12715 for ac_exec_ext in '' $ac_executable_extensions; do
12716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12717 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12718 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12727 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12728 if test -n "$WINDRES_FOR_TARGET"; then
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12730 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12733 $as_echo "no
" >&6; }
12738 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12742 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12744 if test $build = $target ; then
12745 WINDRES_FOR_TARGET="$2"
12747 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12750 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12754 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12760 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12761 if test -n "$with_build_time_tools"; then
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
12763 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
12764 if test -x $with_build_time_tools/windmc; then
12765 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
12766 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
12768 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12771 $as_echo "no
" >&6; }
12773 elif test $build != $host && test $have_gcc_for_target = yes; then
12774 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
12775 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
12776 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12779 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12780 # Extract the first word of "windmc
", so it can be a program name with args.
12781 set dummy windmc; ac_word=$2
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12783 $as_echo_n "checking
for $ac_word...
" >&6; }
12784 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
12785 $as_echo_n "(cached
) " >&6
12787 case $WINDMC_FOR_TARGET in
12789 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
12792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12793 for as_dir in $gcc_cv_tool_dirs
12796 test -z "$as_dir" && as_dir=.
12797 for ac_exec_ext in '' $ac_executable_extensions; do
12798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12799 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12800 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12810 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12811 if test -n "$WINDMC_FOR_TARGET"; then
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12813 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12816 $as_echo "no
" >&6; }
12821 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12824 if test -n "$WINDMC_FOR_TARGET"; then
12825 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12826 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12827 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12830 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12831 for ncn_progname in windmc; do
12832 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12833 set dummy ${ncn_progname}; ac_word=$2
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12835 $as_echo_n "checking
for $ac_word...
" >&6; }
12836 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12837 $as_echo_n "(cached
) " >&6
12839 if test -n "$WINDMC_FOR_TARGET"; then
12840 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12843 for as_dir in $PATH
12846 test -z "$as_dir" && as_dir=.
12847 for ac_exec_ext in '' $ac_executable_extensions; do
12848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12849 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12850 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12859 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12860 if test -n "$WINDMC_FOR_TARGET"; then
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12862 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12865 $as_echo "no
" >&6; }
12872 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12873 for ncn_progname in windmc; do
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12875 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12876 if test -x $with_build_time_tools/${ncn_progname}; then
12877 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12879 $as_echo "yes" >&6; }
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12883 $as_echo "no
" >&6; }
12888 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12889 for ncn_progname in windmc; do
12890 if test -n "$ncn_target_tool_prefix"; then
12891 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12892 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12894 $as_echo_n "checking
for $ac_word...
" >&6; }
12895 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12896 $as_echo_n "(cached
) " >&6
12898 if test -n "$WINDMC_FOR_TARGET"; then
12899 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12902 for as_dir in $PATH
12905 test -z "$as_dir" && as_dir=.
12906 for ac_exec_ext in '' $ac_executable_extensions; do
12907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12908 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12909 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12918 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12919 if test -n "$WINDMC_FOR_TARGET"; then
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12921 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12924 $as_echo "no
" >&6; }
12929 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
12930 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12931 set dummy ${ncn_progname}; ac_word=$2
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12933 $as_echo_n "checking
for $ac_word...
" >&6; }
12934 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12935 $as_echo_n "(cached
) " >&6
12937 if test -n "$WINDMC_FOR_TARGET"; then
12938 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12941 for as_dir in $PATH
12944 test -z "$as_dir" && as_dir=.
12945 for ac_exec_ext in '' $ac_executable_extensions; do
12946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12947 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12957 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12958 if test -n "$WINDMC_FOR_TARGET"; then
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12960 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12963 $as_echo "no
" >&6; }
12968 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
12972 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
12974 if test $build = $target ; then
12975 WINDMC_FOR_TARGET="$2"
12977 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
12980 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
12984 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12988 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
12991 $as_echo_n "checking where to
find the target
ar...
" >&6; }
12992 if test "x
${build}" != "x
${host}" ; then
12993 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
12994 # We already found the complete path
12995 ac_dir=`dirname $AR_FOR_TARGET`
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12997 $as_echo "pre-installed
in $ac_dir" >&6; }
12999 # Canadian cross, just use what we found
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13001 $as_echo "pre-installed
" >&6; }
13005 case " ${configdirs} " in
13010 if test $ok = yes; then
13011 # An in-tree tool is available and we can use it
13012 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13014 $as_echo "just compiled
" >&6; }
13015 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13016 # We already found the complete path
13017 ac_dir=`dirname $AR_FOR_TARGET`
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13019 $as_echo "pre-installed
in $ac_dir" >&6; }
13020 elif test "x
$target" = "x
$host"; then
13021 # We can use an host tool
13022 AR_FOR_TARGET='$(AR)'
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13024 $as_echo "host tool
" >&6; }
13026 # We need a cross tool
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13028 $as_echo "pre-installed
" >&6; }
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13033 $as_echo_n "checking where to
find the target as...
" >&6; }
13034 if test "x
${build}" != "x
${host}" ; then
13035 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13036 # We already found the complete path
13037 ac_dir=`dirname $AS_FOR_TARGET`
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13039 $as_echo "pre-installed
in $ac_dir" >&6; }
13041 # Canadian cross, just use what we found
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13043 $as_echo "pre-installed
" >&6; }
13047 case " ${configdirs} " in
13052 if test $ok = yes; then
13053 # An in-tree tool is available and we can use it
13054 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13056 $as_echo "just compiled
" >&6; }
13057 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13058 # We already found the complete path
13059 ac_dir=`dirname $AS_FOR_TARGET`
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13061 $as_echo "pre-installed
in $ac_dir" >&6; }
13062 elif test "x
$target" = "x
$host"; then
13063 # We can use an host tool
13064 AS_FOR_TARGET='$(AS)'
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13066 $as_echo "host tool
" >&6; }
13068 # We need a cross tool
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13070 $as_echo "pre-installed
" >&6; }
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13075 $as_echo_n "checking where to
find the target cc...
" >&6; }
13076 if test "x
${build}" != "x
${host}" ; then
13077 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13078 # We already found the complete path
13079 ac_dir=`dirname $CC_FOR_TARGET`
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13081 $as_echo "pre-installed
in $ac_dir" >&6; }
13083 # Canadian cross, just use what we found
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13085 $as_echo "pre-installed
" >&6; }
13089 case " ${configdirs} " in
13094 if test $ok = yes; then
13095 # An in-tree tool is available and we can use it
13096 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13098 $as_echo "just compiled
" >&6; }
13099 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13100 # We already found the complete path
13101 ac_dir=`dirname $CC_FOR_TARGET`
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13103 $as_echo "pre-installed
in $ac_dir" >&6; }
13104 elif test "x
$target" = "x
$host"; then
13105 # We can use an host tool
13106 CC_FOR_TARGET='$(CC)'
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13108 $as_echo "host tool
" >&6; }
13110 # We need a cross tool
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13112 $as_echo "pre-installed
" >&6; }
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13117 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13118 if test "x
${build}" != "x
${host}" ; then
13119 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13120 # We already found the complete path
13121 ac_dir=`dirname $CXX_FOR_TARGET`
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13123 $as_echo "pre-installed
in $ac_dir" >&6; }
13125 # Canadian cross, just use what we found
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13127 $as_echo "pre-installed
" >&6; }
13131 case " ${configdirs} " in
13135 case ,${enable_languages}, in
13139 if test $ok = yes; then
13140 # An in-tree tool is available and we can use it
13141 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'
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13143 $as_echo "just compiled
" >&6; }
13144 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13145 # We already found the complete path
13146 ac_dir=`dirname $CXX_FOR_TARGET`
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13148 $as_echo "pre-installed
in $ac_dir" >&6; }
13149 elif test "x
$target" = "x
$host"; then
13150 # We can use an host tool
13151 CXX_FOR_TARGET='$(CXX)'
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13153 $as_echo "host tool
" >&6; }
13155 # We need a cross tool
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13157 $as_echo "pre-installed
" >&6; }
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13162 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13163 if test "x
${build}" != "x
${host}" ; then
13164 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13165 # We already found the complete path
13166 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13168 $as_echo "pre-installed
in $ac_dir" >&6; }
13170 # Canadian cross, just use what we found
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13172 $as_echo "pre-installed
" >&6; }
13176 case " ${configdirs} " in
13180 case ,${enable_languages}, in
13184 if test $ok = yes; then
13185 # An in-tree tool is available and we can use it
13186 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'
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13188 $as_echo "just compiled
" >&6; }
13189 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13190 # We already found the complete path
13191 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13193 $as_echo "pre-installed
in $ac_dir" >&6; }
13194 elif test "x
$target" = "x
$host"; then
13195 # We can use an host tool
13196 RAW_CXX_FOR_TARGET='$(CXX)'
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13198 $as_echo "host tool
" >&6; }
13200 # We need a cross tool
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13202 $as_echo "pre-installed
" >&6; }
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13207 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13208 if test "x
${build}" != "x
${host}" ; then
13209 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13210 # We already found the complete path
13211 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13213 $as_echo "pre-installed
in $ac_dir" >&6; }
13215 # Canadian cross, just use what we found
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13217 $as_echo "pre-installed
" >&6; }
13221 case " ${configdirs} " in
13226 if test $ok = yes; then
13227 # An in-tree tool is available and we can use it
13228 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13230 $as_echo "just compiled
" >&6; }
13231 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13232 # We already found the complete path
13233 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13235 $as_echo "pre-installed
in $ac_dir" >&6; }
13236 elif test "x
$target" = "x
$host"; then
13237 # We can use an host tool
13238 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13240 $as_echo "host tool
" >&6; }
13242 # We need a cross tool
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13244 $as_echo "pre-installed
" >&6; }
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13249 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13250 if test "x
${build}" != "x
${host}" ; then
13251 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13252 # We already found the complete path
13253 ac_dir=`dirname $GCC_FOR_TARGET`
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13255 $as_echo "pre-installed
in $ac_dir" >&6; }
13257 # Canadian cross, just use what we found
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13259 $as_echo "pre-installed
" >&6; }
13263 case " ${configdirs} " in
13268 if test $ok = yes; then
13269 # An in-tree tool is available and we can use it
13270 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13272 $as_echo "just compiled
" >&6; }
13273 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13274 # We already found the complete path
13275 ac_dir=`dirname $GCC_FOR_TARGET`
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13277 $as_echo "pre-installed
in $ac_dir" >&6; }
13278 elif test "x
$target" = "x
$host"; then
13279 # We can use an host tool
13280 GCC_FOR_TARGET='$()'
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13282 $as_echo "host tool
" >&6; }
13284 # We need a cross tool
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13286 $as_echo "pre-installed
" >&6; }
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13291 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13292 if test "x
${build}" != "x
${host}" ; then
13293 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13294 # We already found the complete path
13295 ac_dir=`dirname $GCJ_FOR_TARGET`
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13297 $as_echo "pre-installed
in $ac_dir" >&6; }
13299 # Canadian cross, just use what we found
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13301 $as_echo "pre-installed
" >&6; }
13305 case " ${configdirs} " in
13309 case ,${enable_languages}, in
13313 if test $ok = yes; then
13314 # An in-tree tool is available and we can use it
13315 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13317 $as_echo "just compiled
" >&6; }
13318 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13319 # We already found the complete path
13320 ac_dir=`dirname $GCJ_FOR_TARGET`
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13322 $as_echo "pre-installed
in $ac_dir" >&6; }
13323 elif test "x
$target" = "x
$host"; then
13324 # We can use an host tool
13325 GCJ_FOR_TARGET='$(GCJ)'
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13327 $as_echo "host tool
" >&6; }
13329 # We need a cross tool
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13331 $as_echo "pre-installed
" >&6; }
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13336 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13337 if test "x
${build}" != "x
${host}" ; then
13338 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13339 # We already found the complete path
13340 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13342 $as_echo "pre-installed
in $ac_dir" >&6; }
13344 # Canadian cross, just use what we found
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13346 $as_echo "pre-installed
" >&6; }
13350 case " ${configdirs} " in
13354 case ,${enable_languages}, in
13358 if test $ok = yes; then
13359 # An in-tree tool is available and we can use it
13360 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13362 $as_echo "just compiled
" >&6; }
13363 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13364 # We already found the complete path
13365 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13367 $as_echo "pre-installed
in $ac_dir" >&6; }
13368 elif test "x
$target" = "x
$host"; then
13369 # We can use an host tool
13370 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13372 $as_echo "host tool
" >&6; }
13374 # We need a cross tool
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13376 $as_echo "pre-installed
" >&6; }
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13381 $as_echo_n "checking where to
find the target ld...
" >&6; }
13382 if test "x
${build}" != "x
${host}" ; then
13383 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13384 # We already found the complete path
13385 ac_dir=`dirname $LD_FOR_TARGET`
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13387 $as_echo "pre-installed
in $ac_dir" >&6; }
13389 # Canadian cross, just use what we found
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13391 $as_echo "pre-installed
" >&6; }
13395 case " ${configdirs} " in
13400 if test $ok = yes; then
13401 # An in-tree tool is available and we can use it
13402 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13404 $as_echo "just compiled
" >&6; }
13405 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13406 # We already found the complete path
13407 ac_dir=`dirname $LD_FOR_TARGET`
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13409 $as_echo "pre-installed
in $ac_dir" >&6; }
13410 elif test "x
$target" = "x
$host"; then
13411 # We can use an host tool
13412 LD_FOR_TARGET='$(LD)'
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13414 $as_echo "host tool
" >&6; }
13416 # We need a cross tool
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13418 $as_echo "pre-installed
" >&6; }
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13423 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13424 if test "x
${build}" != "x
${host}" ; then
13425 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13426 # We already found the complete path
13427 ac_dir=`dirname $LIPO_FOR_TARGET`
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13429 $as_echo "pre-installed
in $ac_dir" >&6; }
13431 # Canadian cross, just use what we found
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13433 $as_echo "pre-installed
" >&6; }
13436 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13437 # We already found the complete path
13438 ac_dir=`dirname $LIPO_FOR_TARGET`
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13440 $as_echo "pre-installed
in $ac_dir" >&6; }
13441 elif test "x
$target" = "x
$host"; then
13442 # We can use an host tool
13443 LIPO_FOR_TARGET='$(LIPO)'
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13445 $as_echo "host tool
" >&6; }
13447 # We need a cross tool
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13449 $as_echo "pre-installed
" >&6; }
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
13454 $as_echo_n "checking where to
find the target nm...
" >&6; }
13455 if test "x
${build}" != "x
${host}" ; then
13456 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13457 # We already found the complete path
13458 ac_dir=`dirname $NM_FOR_TARGET`
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13460 $as_echo "pre-installed
in $ac_dir" >&6; }
13462 # Canadian cross, just use what we found
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13464 $as_echo "pre-installed
" >&6; }
13468 case " ${configdirs} " in
13473 if test $ok = yes; then
13474 # An in-tree tool is available and we can use it
13475 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13477 $as_echo "just compiled
" >&6; }
13478 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13479 # We already found the complete path
13480 ac_dir=`dirname $NM_FOR_TARGET`
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13482 $as_echo "pre-installed
in $ac_dir" >&6; }
13483 elif test "x
$target" = "x
$host"; then
13484 # We can use an host tool
13485 NM_FOR_TARGET='$(NM)'
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13487 $as_echo "host tool
" >&6; }
13489 # We need a cross tool
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13491 $as_echo "pre-installed
" >&6; }
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
13496 $as_echo_n "checking where to
find the target objdump...
" >&6; }
13497 if test "x
${build}" != "x
${host}" ; then
13498 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13499 # We already found the complete path
13500 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13502 $as_echo "pre-installed
in $ac_dir" >&6; }
13504 # Canadian cross, just use what we found
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13506 $as_echo "pre-installed
" >&6; }
13510 case " ${configdirs} " in
13515 if test $ok = yes; then
13516 # An in-tree tool is available and we can use it
13517 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13519 $as_echo "just compiled
" >&6; }
13520 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13521 # We already found the complete path
13522 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13524 $as_echo "pre-installed
in $ac_dir" >&6; }
13525 elif test "x
$target" = "x
$host"; then
13526 # We can use an host tool
13527 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13529 $as_echo "host tool
" >&6; }
13531 # We need a cross tool
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13533 $as_echo "pre-installed
" >&6; }
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
13538 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
13539 if test "x
${build}" != "x
${host}" ; then
13540 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13541 # We already found the complete path
13542 ac_dir=`dirname $RANLIB_FOR_TARGET`
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13544 $as_echo "pre-installed
in $ac_dir" >&6; }
13546 # Canadian cross, just use what we found
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13548 $as_echo "pre-installed
" >&6; }
13552 case " ${configdirs} " in
13557 if test $ok = yes; then
13558 # An in-tree tool is available and we can use it
13559 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13561 $as_echo "just compiled
" >&6; }
13562 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13563 # We already found the complete path
13564 ac_dir=`dirname $RANLIB_FOR_TARGET`
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13566 $as_echo "pre-installed
in $ac_dir" >&6; }
13567 elif test "x
$target" = "x
$host"; then
13568 # We can use an host tool
13569 RANLIB_FOR_TARGET='$(RANLIB)'
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13571 $as_echo "host tool
" >&6; }
13573 # We need a cross tool
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13575 $as_echo "pre-installed
" >&6; }
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
13580 $as_echo_n "checking where to
find the target strip...
" >&6; }
13581 if test "x
${build}" != "x
${host}" ; then
13582 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13583 # We already found the complete path
13584 ac_dir=`dirname $STRIP_FOR_TARGET`
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13586 $as_echo "pre-installed
in $ac_dir" >&6; }
13588 # Canadian cross, just use what we found
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13590 $as_echo "pre-installed
" >&6; }
13594 case " ${configdirs} " in
13599 if test $ok = yes; then
13600 # An in-tree tool is available and we can use it
13601 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13603 $as_echo "just compiled
" >&6; }
13604 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13605 # We already found the complete path
13606 ac_dir=`dirname $STRIP_FOR_TARGET`
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13608 $as_echo "pre-installed
in $ac_dir" >&6; }
13609 elif test "x
$target" = "x
$host"; then
13610 # We can use an host tool
13611 STRIP_FOR_TARGET='$(STRIP)'
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13613 $as_echo "host tool
" >&6; }
13615 # We need a cross tool
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13617 $as_echo "pre-installed
" >&6; }
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
13622 $as_echo_n "checking where to
find the target windres...
" >&6; }
13623 if test "x
${build}" != "x
${host}" ; then
13624 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13625 # We already found the complete path
13626 ac_dir=`dirname $WINDRES_FOR_TARGET`
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13628 $as_echo "pre-installed
in $ac_dir" >&6; }
13630 # Canadian cross, just use what we found
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13632 $as_echo "pre-installed
" >&6; }
13636 case " ${configdirs} " in
13641 if test $ok = yes; then
13642 # An in-tree tool is available and we can use it
13643 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13645 $as_echo "just compiled
" >&6; }
13646 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13647 # We already found the complete path
13648 ac_dir=`dirname $WINDRES_FOR_TARGET`
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13650 $as_echo "pre-installed
in $ac_dir" >&6; }
13651 elif test "x
$target" = "x
$host"; then
13652 # We can use an host tool
13653 WINDRES_FOR_TARGET='$(WINDRES)'
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13655 $as_echo "host tool
" >&6; }
13657 # We need a cross tool
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13659 $as_echo "pre-installed
" >&6; }
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
13664 $as_echo_n "checking where to
find the target windmc...
" >&6; }
13665 if test "x
${build}" != "x
${host}" ; then
13666 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13667 # We already found the complete path
13668 ac_dir=`dirname $WINDMC_FOR_TARGET`
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13670 $as_echo "pre-installed
in $ac_dir" >&6; }
13672 # Canadian cross, just use what we found
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13674 $as_echo "pre-installed
" >&6; }
13678 case " ${configdirs} " in
13683 if test $ok = yes; then
13684 # An in-tree tool is available and we can use it
13685 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13687 $as_echo "just compiled
" >&6; }
13688 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13689 # We already found the complete path
13690 ac_dir=`dirname $WINDMC_FOR_TARGET`
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13692 $as_echo "pre-installed
in $ac_dir" >&6; }
13693 elif test "x
$target" = "x
$host"; then
13694 # We can use an host tool
13695 WINDMC_FOR_TARGET='$(WINDMC)'
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13697 $as_echo "host tool
" >&6; }
13699 # We need a cross tool
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13701 $as_echo "pre-installed
" >&6; }
13709 # Certain tools may need extra flags.
13710 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13711 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13712 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13714 # When building target libraries, except in a Canadian cross, we use
13715 # the same toolchain as the compiler we just built.
13716 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
13717 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
13718 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
13719 if test $host = $build; then
13720 case " $configdirs " in
13722 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
13723 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
13724 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
13734 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
13735 # Check whether --enable-maintainer-mode was given.
13736 if test "${enable_maintainer_mode+set}" = set; then :
13737 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13739 USE_MAINTAINER_MODE=no
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
13743 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13746 if test "$USE_MAINTAINER_MODE" = yes; then
13747 MAINTAINER_MODE_TRUE=
13748 MAINTAINER_MODE_FALSE='#'
13750 MAINTAINER_MODE_TRUE='#'
13751 MAINTAINER_MODE_FALSE=
13753 MAINT=$MAINTAINER_MODE_TRUE
13755 # ---------------------
13756 # GCC bootstrap support
13757 # ---------------------
13759 # Stage specific cflags for build.
13764 yes) stage1_cflags="-g -Wa,-J" ;;
13765 *) stage1_cflags="-g -J" ;;
13769 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
13770 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
13771 saved_CFLAGS="$CFLAGS"
13773 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
13774 CFLAGS="$CFLAGS -fkeep-inline-functions"
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
13776 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
13777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13780 #if (__GNUC__ < 3) \
13781 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
13782 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
13783 #error http://gcc.gnu.org/PR29382
13794 if ac_fn_c_try_compile "$LINENO"; then :
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13796 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13799 $as_echo "no
" >&6; }
13801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13803 CFLAGS="$saved_CFLAGS"
13808 # Enable --enable-checking in stage1 of the compiler.
13809 # Check whether --enable-stage1-checking was given.
13810 if test "${enable_stage1_checking+set}" = set; then :
13811 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
13813 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
13814 stage1_checking=--enable-checking=yes,types
13816 stage1_checking=--enable-checking=$enable_checking,types
13822 # Enable -Werror in bootstrap stage2 and later.
13823 # Check whether --enable-werror was given.
13824 if test "${enable_werror+set}" = set; then :
13825 enableval=$enable_werror;
13827 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
13834 case ${enable_werror} in
13835 yes) stage2_werror_flag="--enable-werror-always" ;;
13836 *) stage2_werror_flag="" ;;
13840 # Specify what files to not compare during bootstrap.
13842 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
13844 hppa*64*-*-hpux*) ;;
13845 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
13847 case " $configdirs " in
13848 *" ppl
"*) compare_exclusions="$compare_exclusions | ppl
/src
/ppl-config.o
" ;;
13852 ac_config_files="$ac_config_files Makefile
"
13854 cat >confcache <<\_ACEOF
13855 # This file is a shell script that caches the results of configure
13856 # tests run on this system so they can be shared between configure
13857 # scripts and configure runs, see configure's option --config-cache.
13858 # It is not useful on other systems. If it contains results you don't
13859 # want to keep, you may remove or edit it.
13861 # config.status only pays attention to the cache file if you give it
13862 # the --recheck option to rerun configure.
13864 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13865 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13866 # following values.
13870 # The following way of writing the cache mishandles newlines in values,
13871 # but we know of no workaround that is simple, portable, and efficient.
13872 # So, we kill variables containing newlines.
13873 # Ultrix sh set writes to stderr and can't be redirected directly,
13874 # and sets the high bit in the cache file unless we assign to the vars.
13876 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13877 eval ac_val=\$$ac_var
13881 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
13882 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
13885 _ | IFS | as_nl) ;; #(
13886 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13887 *) { eval $ac_var=; unset $ac_var;} ;;
13893 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13894 *${as_nl}ac_space=\ *)
13895 # `set' does not quote correctly, so add quotes: double-quote
13896 # substitution turns \\\\ into \\, and sed turns \\ into \.
13899 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
13902 # `set' quotes correctly as required by POSIX, so do not add quotes.
13903 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
13912 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13914 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13916 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13917 if test -w "$cache_file"; then
13918 test "x
$cache_file" != "x
/dev
/null
" &&
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
13920 $as_echo "$as_me: updating cache
$cache_file" >&6;}
13921 cat confcache >$cache_file
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
13924 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
13929 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
13930 # Let make expand exec_prefix.
13931 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
13933 # Transform confdefs.h into DEFS.
13934 # Protect against shell expansion while executing Makefile rules.
13935 # Protect against Makefile macro expansion.
13937 # If the first sed substitution is executed (which looks for macros that
13938 # take arguments), then branch to the quote section. Otherwise,
13939 # look for a macro that doesn't take arguments.
13949 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
13951 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
13955 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
13968 DEFS=`sed -n "$ac_script" confdefs.h`
13973 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13974 # 1. Remove the extension, and $U if already installed.
13975 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
13976 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13977 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13978 # will be set to the directory where LIBOBJS objects are built.
13979 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13980 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
13982 LIBOBJS=$ac_libobjs
13984 LTLIBOBJS=$ac_ltlibobjs
13988 : ${CONFIG_STATUS=./config.status}
13990 ac_clean_files_save=$ac_clean_files
13991 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13993 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13995 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13997 # Generated by $as_me.
13998 # Run this file to recreate the current configuration.
13999 # Compiler output produced by configure, useful for debugging
14000 # configure, is in config.log if it exists.
14003 ac_cs_recheck=false
14006 SHELL=\${CONFIG_SHELL-$SHELL}
14009 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14010 ## -------------------- ##
14011 ## M4sh Initialization. ##
14012 ## -------------------- ##
14014 # Be more Bourne compatible
14015 DUALCASE=1; export DUALCASE # for MKS sh
14016 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14019 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14020 # is contrary to our usage. Disable this feature.
14021 alias -g '${1+"$@"}'='"$@"'
14022 setopt NO_GLOB_SUBST
14024 case `(set -o) 2>/dev/null` in #(
14036 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14037 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14038 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14039 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14040 # Prefer a ksh shell builtin over an external printf program on Solaris,
14041 # but without wasting forks for bash or zsh.
14042 if test -z "$BASH_VERSION$ZSH_VERSION" \
14043 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14044 as_echo
='print -r --'
14045 as_echo_n
='print -rn --'
14046 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14047 as_echo
='printf %s\n'
14048 as_echo_n
='printf %s'
14050 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14051 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14052 as_echo_n
='/usr/ucb/echo -n'
14054 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14055 as_echo_n_body
='eval
14059 expr "X$arg" : "X\\(.*\\)$as_nl";
14060 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14062 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14064 export as_echo_n_body
14065 as_echo_n
='sh -c $as_echo_n_body as_echo'
14067 export as_echo_body
14068 as_echo
='sh -c $as_echo_body as_echo'
14071 # The user is always right.
14072 if test "${PATH_SEPARATOR+set}" != set; then
14074 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14075 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14082 # We need space, tab and new line, in precisely that order. Quoting is
14083 # there to prevent editors from complaining about space-tab.
14084 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14085 # splitting by setting IFS to empty value.)
14088 # Find who we are. Look in the path if we contain no directory separator.
14090 *[\\/]* ) as_myself
=$0 ;;
14091 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14092 for as_dir
in $PATH
14095 test -z "$as_dir" && as_dir
=.
14096 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14102 # We did not find ourselves, most probably we were run as `sh COMMAND'
14103 # in which case we are not to be found in the path.
14104 if test "x$as_myself" = x
; then
14107 if test ! -f "$as_myself"; then
14108 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14112 # Unset variables that we do not need and which cause bugs (e.g. in
14113 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14114 # suppresses any "Segmentation fault" message there. '((' could
14115 # trigger a bug in pdksh 5.2.14.
14116 for as_var
in BASH_ENV ENV MAIL MAILPATH
14117 do eval test x\
${$as_var+set} = xset \
14118 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14131 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14134 # as_fn_error ERROR [LINENO LOG_FD]
14135 # ---------------------------------
14136 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14137 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14138 # script with status $?, using 1 if that was 0.
14141 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14143 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14144 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14146 $as_echo "$as_me: error: $1" >&2
14147 as_fn_exit
$as_status
14151 # as_fn_set_status STATUS
14152 # -----------------------
14153 # Set $? to STATUS, without forking.
14154 as_fn_set_status
()
14157 } # as_fn_set_status
14159 # as_fn_exit STATUS
14160 # -----------------
14161 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14165 as_fn_set_status
$1
14171 # Portably unset VAR.
14174 { eval $1=; unset $1;}
14176 as_unset
=as_fn_unset
14177 # as_fn_append VAR VALUE
14178 # ----------------------
14179 # Append the text in VALUE to the end of the definition contained in VAR. Take
14180 # advantage of any shell optimizations that allow amortized linear growth over
14181 # repeated appends, instead of the typical quadratic growth present in naive
14183 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14184 eval 'as_fn_append ()
14195 # as_fn_arith ARG...
14196 # ------------------
14197 # Perform arithmetic evaluation on the ARGs, and store the result in the
14198 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14199 # must be portable across $(()) and expr.
14200 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14201 eval 'as_fn_arith ()
14208 as_val
=`expr "$@" || test $? -eq 1`
14213 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14214 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14220 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14221 as_basename
=basename
14226 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14232 as_me
=`$as_basename -- "$0" ||
14233 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14234 X"$0" : 'X\(//\)$' \| \
14235 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14237 sed '/^.*\/\([^/][^/]*\)\/*$/{
14251 # Avoid depending upon Character Ranges.
14252 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14253 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14254 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14255 as_cr_digits
='0123456789'
14256 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14258 ECHO_C
= ECHO_N
= ECHO_T
=
14259 case `echo -n x` in #(((((
14261 case `echo 'xy\c'` in
14262 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14264 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14271 rm -f conf$$ conf$$.exe conf$$.
file
14272 if test -d conf$$.dir
; then
14273 rm -f conf$$.dir
/conf$$.
file
14276 mkdir conf$$.dir
2>/dev
/null
14278 if (echo >conf$$.
file) 2>/dev
/null
; then
14279 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14281 # ... but there are two gotchas:
14282 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14283 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14284 # In both cases, we have to default to `cp -p'.
14285 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14287 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14295 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14296 rmdir conf$$.dir
2>/dev
/null
14301 # Create "$as_dir" as a directory, including parents if necessary.
14306 -*) as_dir
=.
/$as_dir;;
14308 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14312 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14313 *) as_qdir
=$as_dir;;
14315 as_dirs
="'$as_qdir' $as_dirs"
14316 as_dir
=`$as_dirname -- "$as_dir" ||
14317 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14318 X"$as_dir" : 'X\(//\)[^/]' \| \
14319 X"$as_dir" : 'X\(//\)$' \| \
14320 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14321 $as_echo X"$as_dir" |
14322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14326 /^X\(\/\/\)[^/].*/{
14339 test -d "$as_dir" && break
14341 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14342 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14346 if mkdir
-p .
2>/dev
/null
; then
14347 as_mkdir_p
='mkdir -p "$as_dir"'
14349 test -d .
/-p && rmdir .
/-p
14353 if test -x / >/dev
/null
2>&1; then
14354 as_test_x
='test -x'
14356 if ls -dL / >/dev
/null
2>&1; then
14363 if test -d "$1"; then
14369 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14370 ???[sx]*):;;*)false;;esac;fi
14374 as_executable_p
=$as_test_x
14376 # Sed expression to map a string onto a valid CPP name.
14377 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14379 # Sed expression to map a string onto a valid variable name.
14380 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14384 ## ----------------------------------- ##
14385 ## Main body of $CONFIG_STATUS script. ##
14386 ## ----------------------------------- ##
14388 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14391 # Save the log message, to keep $0 and so on meaningful, and to
14392 # report actual input values of CONFIG_FILES etc. instead of their
14393 # values after options handling.
14395 This file was extended by $as_me, which was
14396 generated by GNU Autoconf 2.64. Invocation command line was
14398 CONFIG_FILES = $CONFIG_FILES
14399 CONFIG_HEADERS = $CONFIG_HEADERS
14400 CONFIG_LINKS = $CONFIG_LINKS
14401 CONFIG_COMMANDS = $CONFIG_COMMANDS
14404 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14409 case $ac_config_files in *"
14410 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14416 # Files that config.status was made for.
14417 config_files="$ac_config_files"
14421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14423 \`$as_me' instantiates files and other configuration actions
14424 from templates according to the current configuration. Unless the files
14425 and actions are specified as TAGs, all are instantiated by default.
14427 Usage: $0 [OPTION]... [TAG]...
14429 -h, --help print this help, then exit
14430 -V, --version print version number and configuration settings, then exit
14431 -q, --quiet, --silent
14432 do not print progress messages
14433 -d, --debug don't remove temporary files
14434 --recheck update $as_me by reconfiguring in the same conditions
14435 --file=FILE[:TEMPLATE]
14436 instantiate the configuration file FILE
14438 Configuration files:
14441 Report bugs to the package provider."
14444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14447 configured by $0, generated by GNU Autoconf 2.64,
14448 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14450 Copyright (C) 2009 Free Software Foundation, Inc.
14451 This config.status script is free software; the Free Software Foundation
14452 gives unlimited permission to copy, distribute and modify it."
14458 test -n "\$AWK" || AWK=awk
14461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14462 # The default lists apply if the user does not specify any file.
14468 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14469 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14480 # Handling of the options.
14481 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14483 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14484 $as_echo "$ac_cs_version"; exit ;;
14485 --debug |
--debu |
--deb |
--de |
--d |
-d )
14487 --file |
--fil |
--fi |
--f )
14490 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14492 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14493 ac_need_defaults
=false
;;
14494 --he |
--h |
--help |
--hel |
-h )
14495 $as_echo "$ac_cs_usage"; exit ;;
14496 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14497 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14500 # This is an error.
14501 -*) as_fn_error
"unrecognized option: \`$1'
14502 Try \`$0 --help' for more information." ;;
14504 *) as_fn_append ac_config_targets
" $1"
14505 ac_need_defaults
=false
;;
14511 ac_configure_extra_args
=
14513 if $ac_cs_silent; then
14515 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14520 if \$ac_cs_recheck; then
14521 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14523 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14524 CONFIG_SHELL='$SHELL'
14525 export CONFIG_SHELL
14530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14534 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14535 ## Running $as_me. ##
14541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14545 extrasub_build="$extrasub_build"
14546 extrasub_host="$extrasub_host"
14547 extrasub_target="$extrasub_target"
14551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14553 # Handling of arguments.
14554 for ac_config_target
in $ac_config_targets
14556 case $ac_config_target in
14557 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14559 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14564 # If the user did not use the arguments to specify the items to instantiate,
14565 # then the envvar interface is used. Set only those that are not.
14566 # We use the long form for the default assignment because of an extremely
14567 # bizarre bug on SunOS 4.1.3.
14568 if $ac_need_defaults; then
14569 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14572 # Have a temporary directory for convenience. Make it in the build tree
14573 # simply because there is no reason against having it here, and in addition,
14574 # creating and moving files from /tmp can sometimes cause problems.
14575 # Hook for its removal unless debugging.
14576 # Note that there is a small window in which the directory will not be cleaned:
14577 # after its creation but before its name has been assigned to `$tmp'.
14581 trap 'exit_status=$?
14582 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14584 trap 'as_fn_exit 1' 1 2 13 15
14586 # Create a (secure) tmp directory for tmp files.
14589 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14590 test -n "$tmp" && test -d "$tmp"
14593 tmp
=.
/conf$$
-$RANDOM
14594 (umask 077 && mkdir
"$tmp")
14595 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14597 # Set up the scripts for CONFIG_FILES section.
14598 # No need to generate them if there are no CONFIG_FILES.
14599 # This happens for instance with `./config.status config.h'.
14600 if test -n "$CONFIG_FILES"; then
14602 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
14603 ac_cs_awk_getline
=:
14604 ac_cs_awk_pipe_init
=
14605 ac_cs_awk_read_file
='
14606 while ((getline aline < (F[key])) > 0)
14609 ac_cs_awk_pipe_fini
=
14611 ac_cs_awk_getline
=false
14612 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
14613 ac_cs_awk_read_file
='
14615 print "cat " F[key] " &&"
14616 '$ac_cs_awk_pipe_init
14617 # The final `:' finishes the AND list.
14618 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
14620 ac_cr
=`echo X | tr X '\015'`
14621 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14622 # But we know of no other shell where ac_cr would be empty at this
14623 # point, so we can use a bashism as a fallback.
14624 if test "x$ac_cr" = x
; then
14625 eval ac_cr
=\$
\'\\r
\'
14627 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14628 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14631 ac_cs_awk_cr
=$ac_cr
14634 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14637 # Create commands to substitute file output variables.
14639 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14640 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14641 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
14644 } >conf$
$files.sh
&&
14645 . .
/conf$
$files.sh ||
14646 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
14647 rm -f conf$
$files.sh
14650 echo "cat >conf$$subs.awk <<_ACEOF" &&
14651 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14653 } >conf$$subs.sh ||
14654 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14655 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14657 for ac_last_try in false false false false false :; do
14658 . ./conf$$subs.sh ||
14659 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14661 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14662 if test $ac_delim_n = $ac_delim_num; then
14664 elif $ac_last_try; then
14665 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14667 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14670 rm -f conf$$subs.sh
14672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14673 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14677 s/^/S["/; s
/!.
*/"]=/
14687 s/\(.\{148\}\).*/\1/
14689 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14694 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14701 s/\(.\{148\}\).*/\1/
14703 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14707 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14712 ' <conf$$subs.awk | sed '
14717 ' >>$CONFIG_STATUS || ac_write_fail=1
14718 rm -f conf$$subs.awk
14719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14721 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14722 for (key in S) S_is_set[key] = 1
14724 \$ac_cs_awk_pipe_init
14728 nfields = split(line, field, "@
")
14730 len = length(field[1])
14731 for (i = 2; i < nfields; i++) {
14733 keylen = length(key)
14734 if (S_is_set[key]) {
14736 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14737 len += length(value) + length(field[++i])
14742 if (nfields == 3 && !substed) {
14744 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14745 \$ac_cs_awk_read_file
14751 \$ac_cs_awk_pipe_fini
14754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14755 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14756 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14759 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14760 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14763 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14764 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14765 # trailing colons and then remove the whole line if VPATH becomes empty
14766 # (actually we leave an empty line to preserve line numbers).
14767 if test "x
$srcdir" = x.; then
14768 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14769 s/:*\$(srcdir):*/:/
14770 s/:*\${srcdir}:*/:/
14772 s/^\([^=]*=[ ]*\):*/\1/
14778 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14779 fi # test -n "$CONFIG_FILES"
14782 eval set X " :F
$CONFIG_FILES "
14787 :[FHLC]) ac_mode=$ac_tag; continue;;
14789 case $ac_mode$ac_tag in
14791 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
14792 :[FH]-) ac_tag=-:-;;
14793 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14810 -) ac_f="$tmp/stdin";;
14811 *) # Look for the file first in the build tree, then in the source tree
14812 # (if the path is not absolute). The absolute path cannot be DOS-style,
14813 # because $ac_f cannot contain `:'.
14817 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14819 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14821 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
14822 as_fn_append ac_file_inputs " '$ac_f'"
14825 # Let's still pretend it is `configure' which instantiates (i.e., don't
14826 # use $as_me), people would be surprised to read:
14827 # /* config.h. Generated by config.status. */
14828 configure_input='Generated from '`
14829 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14831 if test x"$ac_file" != x-; then
14832 configure_input="$ac_file.
$configure_input"
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
14834 $as_echo "$as_me: creating
$ac_file" >&6;}
14836 # Neutralize special characters interpreted by sed in replacement strings.
14837 case $configure_input in #(
14838 *\&* | *\|* | *\\* )
14839 ac_sed_conf_input=`$as_echo "$configure_input" |
14840 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14841 *) ac_sed_conf_input=$configure_input;;
14845 *:-:* | *:-) cat >"$tmp/stdin
" \
14846 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
14851 ac_dir=`$as_dirname -- "$ac_file" ||
14852 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14853 X"$ac_file" : 'X\(//\)[^/]' \| \
14854 X"$ac_file" : 'X\(//\)$' \| \
14855 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14856 $as_echo X"$ac_file" |
14857 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14861 /^X\(\/\/\)[^/].*/{
14874 as_dir="$ac_dir"; as_fn_mkdir_p
14878 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14880 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14881 # A "..
" for each directory in $ac_dir_suffix.
14882 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14883 case $ac_top_builddir_sub in
14884 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14885 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14888 ac_abs_top_builddir=$ac_pwd
14889 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14890 # for backward compatibility:
14891 ac_top_builddir=$ac_top_build_prefix
14894 .) # We are building in place.
14896 ac_top_srcdir=$ac_top_builddir_sub
14897 ac_abs_top_srcdir=$ac_pwd ;;
14898 [\\/]* | ?:[\\/]* ) # Absolute name.
14899 ac_srcdir=$srcdir$ac_dir_suffix;
14900 ac_top_srcdir=$srcdir
14901 ac_abs_top_srcdir=$srcdir ;;
14902 *) # Relative name.
14903 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14904 ac_top_srcdir=$ac_top_build_prefix$srcdir
14905 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14907 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14917 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14918 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14923 # If the template does not know about datarootdir, expand it.
14924 # FIXME: This hack should be removed a few years after 2.60.
14925 ac_datarootdir_hack=; ac_datarootdir_seen=
14936 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
14937 *datarootdir*) ac_datarootdir_seen=yes;;
14938 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
14940 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
14942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14943 ac_datarootdir_hack='
14944 s&@datadir@&$datadir&g
14945 s&@docdir@&$docdir&g
14946 s&@infodir@&$infodir&g
14947 s&@localedir@&$localedir&g
14948 s&@mandir@&$mandir&g
14949 s&\\\${datarootdir}&$datarootdir&g' ;;
14953 # Neutralize VPATH when `$srcdir' = `.'.
14954 # Shell code in configure.ac might set extrasub.
14955 # FIXME: do we really want to maintain this feature?
14956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14957 ac_sed_extra="$ac_vpsub
14960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14962 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14963 s|@configure_input@|
$ac_sed_conf_input|
;t t
14964 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14965 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14966 s
&@srcdir@
&$ac_srcdir&;t t
14967 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14968 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14969 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14970 s
&@builddir@
&$ac_builddir&;t t
14971 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14972 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14973 s
&@INSTALL@
&$ac_INSTALL&;t t
14974 $ac_datarootdir_hack
14976 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
14977 if $ac_cs_awk_getline; then
14978 $AWK -f "$tmp/subs.
awk"
14980 $AWK -f "$tmp/subs.
awk" | $SHELL
14982 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14984 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14985 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14986 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14988 which seems to be undefined. Please make sure it is defined." >&5
14989 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14990 which seems to be undefined. Please make sure it is defined." >&2;}
14994 -) cat "$tmp/out" && rm -f "$tmp/out";;
14995 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14997 || as_fn_error "could not create $ac_file" "$LINENO" 5
15005 case $ac_file$ac_mode in
15006 "Makefile":F) sed "$extrasub_build" Makefile |
15007 sed "$extrasub_host" |
15008 sed "$extrasub_target" > mf$$
15009 mv -f mf$$ Makefile ;;
15017 ac_clean_files=$ac_clean_files_save
15019 test $ac_write_fail = 0 ||
15020 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15023 # configure is writing to config.log, and then calls config.status.
15024 # config.status does its own redirection, appending to config.log.
15025 # Unfortunately, on DOS this fails, as config.log is still kept open
15026 # by configure, so config.status won't be able to
write to it
; its
15027 # output is simply discarded. So we exec the FD to /dev/null,
15028 # effectively closing config.log, so it can be properly (re)opened and
15029 # appended to by config.status. When coming back to configure, we
15030 # need to make the FD available again.
15031 if test "$no_create" != yes; then
15033 ac_config_status_args
=
15034 test "$silent" = yes &&
15035 ac_config_status_args
="$ac_config_status_args --quiet"
15037 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15039 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15040 # would make configure fail if this is the last instruction.
15041 $ac_cs_success || as_fn_exit $?
15043 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15045 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}