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 # Factoring default headers for most tests.
557 ac_includes_default
="\
559 #ifdef HAVE_SYS_TYPES_H
560 # include <sys/types.h>
562 #ifdef HAVE_SYS_STAT_H
563 # include <sys/stat.h>
569 # ifdef HAVE_STDLIB_H
574 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
579 #ifdef HAVE_STRINGS_H
580 # include <strings.h>
582 #ifdef HAVE_INTTYPES_H
583 # include <inttypes.h>
592 ac_subst_vars
='LTLIBOBJS
599 MAINTAINER_MODE_FALSE
601 COMPILER_NM_FOR_TARGET
602 COMPILER_LD_FOR_TARGET
603 COMPILER_AS_FOR_TARGET
674 DEBUG_PREFIX_CFLAGS_FOR_TARGET
675 SYSROOT_CFLAGS_FOR_TARGET
677 extra_host_libiberty_configure_flags
691 extra_mpc_mpfr_configure_flags
692 extra_mpc_gmp_configure_flags
693 extra_mpfr_configure_flags
735 TOPLEVEL_CONFIGURE_ARGUMENTS
763 program_transform_name
774 ac_subst_files
='serialization_dependencies
780 enable_option_checking
785 enable_build_with_cxx
805 enable_ppl_version_check
809 enable_cloog_version_check
814 enable_stage1_languages
817 with_debug_prefix_map
820 enable_serial_configure
821 with_build_time_tools
822 enable_maintainer_mode
823 enable_stage1_checking
826 ac_precious_vars
='build_alias
871 # Initialize some variables set by options.
873 ac_init_version
=false
874 ac_unrecognized_opts
=
876 # The variables have the same names as the options, with
877 # dashes changed to underlines.
885 program_transform_name
=s
,x
,x
,
893 # Installation directory options.
894 # These are left unexpanded so users can "make install exec_prefix=/foo"
895 # and all the variables that are supposed to be based on exec_prefix
896 # by default will actually change.
897 # Use braces instead of parens because sh, perl, etc. also accept them.
898 # (The list follows the same order as the GNU Coding Standards.)
899 bindir
='${exec_prefix}/bin'
900 sbindir
='${exec_prefix}/sbin'
901 libexecdir
='${exec_prefix}/libexec'
902 datarootdir
='${prefix}/share'
903 datadir
='${datarootdir}'
904 sysconfdir
='${prefix}/etc'
905 sharedstatedir
='${prefix}/com'
906 localstatedir
='${prefix}/var'
907 includedir
='${prefix}/include'
908 oldincludedir
='/usr/include'
909 docdir
='${datarootdir}/doc/${PACKAGE}'
910 infodir
='${datarootdir}/info'
915 libdir
='${exec_prefix}/lib'
916 localedir
='${datarootdir}/locale'
917 mandir
='${datarootdir}/man'
923 # If the previous option needs an argument, assign it.
924 if test -n "$ac_prev"; then
925 eval $ac_prev=\
$ac_option
931 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
935 # Accept the important Cygnus configure options, so we can diagnose typos.
937 case $ac_dashdash$ac_option in
941 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
943 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
946 -build |
--build |
--buil |
--bui |
--bu)
947 ac_prev
=build_alias
;;
948 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
949 build_alias
=$ac_optarg ;;
951 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
952 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
953 ac_prev
=cache_file
;;
954 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
955 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
956 cache_file
=$ac_optarg ;;
959 cache_file
=config.cache
;;
961 -datadir |
--datadir |
--datadi |
--datad)
963 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
964 datadir
=$ac_optarg ;;
966 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
967 |
--dataroo |
--dataro |
--datar)
968 ac_prev
=datarootdir
;;
969 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
970 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
971 datarootdir
=$ac_optarg ;;
973 -disable-* |
--disable-*)
974 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
975 # Reject names that are not valid shell variable names.
976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
977 as_fn_error
"invalid feature name: $ac_useropt"
978 ac_useropt_orig
=$ac_useropt
979 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980 case $ac_user_opts in
984 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
985 ac_unrecognized_sep
=', ';;
987 eval enable_
$ac_useropt=no
;;
989 -docdir |
--docdir |
--docdi |
--doc |
--do)
991 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
994 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
996 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
999 -enable-* |
--enable-*)
1000 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1003 as_fn_error
"invalid feature name: $ac_useropt"
1004 ac_useropt_orig
=$ac_useropt
1005 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006 case $ac_user_opts in
1008 "enable_
$ac_useropt"
1010 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1011 ac_unrecognized_sep
=', ';;
1013 eval enable_
$ac_useropt=\
$ac_optarg ;;
1015 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1016 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1017 |
--exec |
--exe |
--ex)
1018 ac_prev
=exec_prefix
;;
1019 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1020 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1021 |
--exec=* |
--exe=* |
--ex=*)
1022 exec_prefix
=$ac_optarg ;;
1024 -gas |
--gas |
--ga |
--g)
1025 # Obsolete; use --with-gas.
1028 -help |
--help |
--hel |
--he |
-h)
1029 ac_init_help
=long
;;
1030 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1031 ac_init_help
=recursive
;;
1032 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1033 ac_init_help
=short
;;
1035 -host |
--host |
--hos |
--ho)
1036 ac_prev
=host_alias
;;
1037 -host=* |
--host=* |
--hos=* |
--ho=*)
1038 host_alias
=$ac_optarg ;;
1040 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1042 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1044 htmldir
=$ac_optarg ;;
1046 -includedir |
--includedir |
--includedi |
--included |
--include \
1047 |
--includ |
--inclu |
--incl |
--inc)
1048 ac_prev
=includedir
;;
1049 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1050 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1051 includedir
=$ac_optarg ;;
1053 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1055 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1056 infodir
=$ac_optarg ;;
1058 -libdir |
--libdir |
--libdi |
--libd)
1060 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1061 libdir
=$ac_optarg ;;
1063 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1064 |
--libexe |
--libex |
--libe)
1065 ac_prev
=libexecdir
;;
1066 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1067 |
--libexe=* |
--libex=* |
--libe=*)
1068 libexecdir
=$ac_optarg ;;
1070 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1071 ac_prev
=localedir
;;
1072 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1073 localedir
=$ac_optarg ;;
1075 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1076 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1077 ac_prev
=localstatedir
;;
1078 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1079 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1080 localstatedir
=$ac_optarg ;;
1082 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1084 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1085 mandir
=$ac_optarg ;;
1087 -nfp |
--nfp |
--nf)
1088 # Obsolete; use --without-fp.
1091 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1092 |
--no-cr |
--no-c |
-n)
1095 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1096 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1099 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1100 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1101 |
--oldin |
--oldi |
--old |
--ol |
--o)
1102 ac_prev
=oldincludedir
;;
1103 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1104 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1105 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1106 oldincludedir
=$ac_optarg ;;
1108 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1110 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1111 prefix
=$ac_optarg ;;
1113 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1114 |
--program-pre |
--program-pr |
--program-p)
1115 ac_prev
=program_prefix
;;
1116 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1117 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1118 program_prefix
=$ac_optarg ;;
1120 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1121 |
--program-suf |
--program-su |
--program-s)
1122 ac_prev
=program_suffix
;;
1123 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1124 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1125 program_suffix
=$ac_optarg ;;
1127 -program-transform-name |
--program-transform-name \
1128 |
--program-transform-nam |
--program-transform-na \
1129 |
--program-transform-n |
--program-transform- \
1130 |
--program-transform |
--program-transfor \
1131 |
--program-transfo |
--program-transf \
1132 |
--program-trans |
--program-tran \
1133 |
--progr-tra |
--program-tr |
--program-t)
1134 ac_prev
=program_transform_name
;;
1135 -program-transform-name=* |
--program-transform-name=* \
1136 |
--program-transform-nam=* |
--program-transform-na=* \
1137 |
--program-transform-n=* |
--program-transform-=* \
1138 |
--program-transform=* |
--program-transfor=* \
1139 |
--program-transfo=* |
--program-transf=* \
1140 |
--program-trans=* |
--program-tran=* \
1141 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1142 program_transform_name
=$ac_optarg ;;
1144 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1146 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1147 pdfdir
=$ac_optarg ;;
1149 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1151 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1154 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1155 |
-silent |
--silent |
--silen |
--sile |
--sil)
1158 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1160 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1162 sbindir
=$ac_optarg ;;
1164 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1165 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1166 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1168 ac_prev
=sharedstatedir
;;
1169 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1170 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1171 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1173 sharedstatedir
=$ac_optarg ;;
1175 -site |
--site |
--sit)
1177 -site=* |
--site=* |
--sit=*)
1180 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1182 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1183 srcdir
=$ac_optarg ;;
1185 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1186 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1187 ac_prev
=sysconfdir
;;
1188 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1189 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1190 sysconfdir
=$ac_optarg ;;
1192 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1193 ac_prev
=target_alias
;;
1194 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1195 target_alias
=$ac_optarg ;;
1197 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1200 -version |
--version |
--versio |
--versi |
--vers |
-V)
1201 ac_init_version
=: ;;
1204 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1205 # Reject names that are not valid shell variable names.
1206 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1207 as_fn_error
"invalid package name: $ac_useropt"
1208 ac_useropt_orig
=$ac_useropt
1209 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1210 case $ac_user_opts in
1214 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1215 ac_unrecognized_sep
=', ';;
1217 eval with_
$ac_useropt=\
$ac_optarg ;;
1219 -without-* |
--without-*)
1220 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1223 as_fn_error
"invalid package name: $ac_useropt"
1224 ac_useropt_orig
=$ac_useropt
1225 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1226 case $ac_user_opts in
1230 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1231 ac_unrecognized_sep
=', ';;
1233 eval with_
$ac_useropt=no
;;
1236 # Obsolete; use --with-x.
1239 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1240 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1241 ac_prev
=x_includes
;;
1242 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1243 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1244 x_includes
=$ac_optarg ;;
1246 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1247 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1248 ac_prev
=x_libraries
;;
1249 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1250 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1251 x_libraries
=$ac_optarg ;;
1253 -*) as_fn_error
"unrecognized option: \`$ac_option'
1254 Try \`$0 --help' for more information."
1258 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1259 # Reject names that are not valid shell variable names.
1260 case $ac_envvar in #(
1261 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1262 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1264 eval $ac_envvar=\
$ac_optarg
1265 export $ac_envvar ;;
1268 # FIXME: should be removed in autoconf 3.0.
1269 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1270 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1271 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1272 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1278 if test -n "$ac_prev"; then
1279 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1280 as_fn_error
"missing argument to $ac_option"
1283 if test -n "$ac_unrecognized_opts"; then
1284 case $enable_option_checking in
1286 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1287 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1291 # Check all directory arguments for consistency.
1292 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1293 datadir sysconfdir sharedstatedir localstatedir includedir \
1294 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1295 libdir localedir mandir
1297 eval ac_val
=\$
$ac_var
1298 # Remove trailing slashes.
1301 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1302 eval $ac_var=\
$ac_val;;
1304 # Be sure to have absolute directory names.
1306 [\\/$
]* | ?
:[\\/]* ) continue;;
1307 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1309 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1312 # There might be people who depend on the old broken behavior: `$host'
1313 # used to hold the argument of --host etc.
1314 # FIXME: To remove some day.
1317 target
=$target_alias
1319 # FIXME: To remove some day.
1320 if test "x$host_alias" != x
; then
1321 if test "x$build_alias" = x
; then
1322 cross_compiling
=maybe
1323 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1324 If a cross compiler is detected then cross compile mode will be used." >&2
1325 elif test "x$build_alias" != "x$host_alias"; then
1331 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1333 test "$silent" = yes && exec 6>/dev
/null
1336 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1337 ac_ls_di
=`ls -di .` &&
1338 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1339 as_fn_error
"working directory cannot be determined"
1340 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1341 as_fn_error
"pwd does not report name of working directory"
1344 # Find the source files, if location was not specified.
1345 if test -z "$srcdir"; then
1346 ac_srcdir_defaulted
=yes
1347 # Try the directory containing this script, then the parent directory.
1348 ac_confdir
=`$as_dirname -- "$as_myself" ||
1349 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1350 X"$as_myself" : 'X\(//\)[^/]' \| \
1351 X"$as_myself" : 'X\(//\)$' \| \
1352 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1353 $as_echo X"$as_myself" |
1354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1372 if test ! -r "$srcdir/$ac_unique_file"; then
1376 ac_srcdir_defaulted
=no
1378 if test ! -r "$srcdir/$ac_unique_file"; then
1379 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1380 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1382 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1384 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1386 # When building in place, set srcdir=.
1387 if test "$ac_abs_confdir" = "$ac_pwd"; then
1390 # Remove unnecessary trailing slashes from srcdir.
1391 # Double slashes in file names in object file debugging info
1392 # mess up M-x gdb in Emacs.
1394 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1396 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1398 for ac_var
in $ac_precious_vars; do
1399 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1400 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1401 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1402 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1406 # Report the --help message.
1408 if test "$ac_init_help" = "long"; then
1409 # Omit some internal or obsolete options to make the list less imposing.
1410 # This message is too long to be a string in the A/UX 3.1 sh.
1412 \`configure' configures this package to adapt to many kinds of systems.
1414 Usage: $0 [OPTION]... [VAR=VALUE]...
1416 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1417 VAR=VALUE. See below for descriptions of some of the useful variables.
1419 Defaults for the options are specified in brackets.
1422 -h, --help display this help and exit
1423 --help=short display options specific to this package
1424 --help=recursive display the short help of all the included packages
1425 -V, --version display version information and exit
1426 -q, --quiet, --silent do not print \`checking...' messages
1427 --cache-file=FILE cache test results in FILE [disabled]
1428 -C, --config-cache alias for \`--cache-file=config.cache'
1429 -n, --no-create do not create output files
1430 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1432 Installation directories:
1433 --prefix=PREFIX install architecture-independent files in PREFIX
1434 [$ac_default_prefix]
1435 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1438 By default, \`make install' will install all the files in
1439 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1440 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1441 for instance \`--prefix=\$HOME'.
1443 For better control, use the options below.
1445 Fine tuning of the installation directories:
1446 --bindir=DIR user executables [EPREFIX/bin]
1447 --sbindir=DIR system admin executables [EPREFIX/sbin]
1448 --libexecdir=DIR program executables [EPREFIX/libexec]
1449 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1450 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1451 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1452 --libdir=DIR object code libraries [EPREFIX/lib]
1453 --includedir=DIR C header files [PREFIX/include]
1454 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1455 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1456 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1457 --infodir=DIR info documentation [DATAROOTDIR/info]
1458 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1459 --mandir=DIR man documentation [DATAROOTDIR/man]
1460 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1461 --htmldir=DIR html documentation [DOCDIR]
1462 --dvidir=DIR dvi documentation [DOCDIR]
1463 --pdfdir=DIR pdf documentation [DOCDIR]
1464 --psdir=DIR ps documentation [DOCDIR]
1470 --program-prefix=PREFIX prepend PREFIX to installed program names
1471 --program-suffix=SUFFIX append SUFFIX to installed program names
1472 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1475 --build=BUILD configure
for building on BUILD
[guessed
]
1476 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1477 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1481 if test -n "$ac_init_help"; then
1486 --disable-option-checking ignore unrecognized
--enable/--with options
1487 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1488 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1489 --enable-gold[=ARG
] build gold
[ARG
={both
}[/{gold
,ld
}]]
1490 --enable-libada build libada directory
1491 --enable-libssp build libssp directory
1492 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1493 --disable-ppl-version-check disable check
for PPL version
1494 --disable-cloog-version-check disable check
for CLooG version
1495 --enable-lto enable link
time optimization support
1496 --enable-stage1-languages[=all
] choose additional languages to build during
1497 stage1. Mostly useful
for compiler development.
1498 --enable-objc-gc enable use of Boehm
's garbage collector with the
1499 GNU Objective-C runtime
1500 --enable-bootstrap enable bootstrapping [yes if native build]
1501 --enable-serial-[{host,target,build}-]configure
1502 force sequential configuration of
1503 sub-packages for the host, target or build
1504 machine, or all sub-packages
1505 --enable-maintainer-mode enable make rules and dependencies not useful
1506 (and sometimes confusing) to the casual installer
1507 --enable-stage1-checking[=all] choose additional checking for stage1
1509 --enable-werror enable -Werror in bootstrap stage2 and later
1512 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1513 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1514 --with-build-libsubdir=DIR Directory where to find libraries for build system
1515 --with-mpc=PATH specify prefix directory for installed MPC package.
1516 Equivalent to --with-mpc-include=PATH/include
1517 plus --with-mpc-lib=PATH/lib
1518 --with-mpc-include=PATH
1519 specify directory for installed MPC include files
1520 --with-mpc-lib=PATH specify directory for the installed MPC library
1521 --with-mpfr-dir=PATH this option has been REMOVED
1522 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1523 Equivalent to --with-mpfr-include=PATH/include
1524 plus --with-mpfr-lib=PATH/lib
1525 --with-mpfr-include=PATH
1526 specify directory for installed MPFR include files
1527 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1528 --with-gmp-dir=PATH this option has been REMOVED
1529 --with-gmp=PATH specify prefix directory for the installed GMP package.
1530 Equivalent to --with-gmp-include=PATH/include
1531 plus --with-gmp-lib=PATH/lib
1532 --with-gmp-include=PATH specify directory for installed GMP include files
1533 --with-gmp-lib=PATH specify directory for the installed GMP library
1534 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
1535 when linking with PPL
1536 --with-stage1-ldflags=FLAGS Linker flags for stage1
1537 -with-stage1-libs=LIBS Libraries for stage1
1538 --with-boot-libs=LIBS Libraries for stage2 and later
1539 --with-boot-ldflags=FLAGS Linker flags for stage2 and later
1540 --with-ppl=PATH Specify prefix directory for the installed PPL package
1541 Equivalent to --with-ppl-include=PATH/include
1542 plus --with-ppl-lib=PATH/lib
1543 --with-ppl-include=PATH Specify directory for installed PPL include files
1544 --with-ppl-lib=PATH Specify the directory for the installed PPL library
1545 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL package
1546 Equivalent to --with-cloog-include=PATH/include
1547 plus --with-cloog-lib=PATH/lib
1548 --with-cloog-include=PATH Specify directory for installed CLooG include files
1549 --with-cloog-lib=PATH Specify the directory for the installed CLooG library
1550 --with-libelf=PATH Specify prefix directory for the installed libelf package
1551 Equivalent to --with-libelf-include=PATH/include
1552 plus --with-libelf-lib=PATH/lib
1553 --with-libelf-include=PATH Specify directory for installed libelf include files
1554 --with-libelf-lib=PATH Specify the directory for the installed libelf library
1555 --with-build-sysroot=SYSROOT
1556 use sysroot as the system root during the build
1557 --with-debug-prefix-map='A
=B C
=D ...
'
1558 map A to B, C to D ... in debug information
1559 --with-build-config='NAME NAME2...
'
1560 Use config/NAME.mk build configuration
1561 --with-build-time-tools=PATH
1562 use given path to find target tools during the build
1564 Some influential environment variables:
1565 CC C compiler command
1566 CFLAGS C compiler flags
1567 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1568 nonstandard directory <lib dir>
1569 LIBS libraries to pass to the linker, e.g. -l<library>
1570 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1571 you have headers in a nonstandard directory <include dir>
1572 CXX C++ compiler command
1573 CXXFLAGS C++ compiler flags
1576 additional configure arguments for build directories
1578 additional configure arguments for host directories
1580 additional configure arguments for target directories
1583 DLLTOOL DLLTOOL for the host
1585 LIPO LIPO for the host
1587 RANLIB RANLIB for the host
1588 STRIP STRIP for the host
1589 WINDRES WINDRES for the host
1590 WINDMC WINDMC for the host
1591 OBJCOPY OBJCOPY for the host
1592 OBJDUMP OBJDUMP for the host
1602 GFORTRAN for the target
1608 DLLTOOL for the target
1616 OBJDUMP for the target
1618 RANLIB for the target
1620 STRIP for the target
1622 WINDRES for the target
1624 WINDMC for the target
1626 Use these variables to override the choices made by `configure' or to
help
1627 it to
find libraries and programs with nonstandard names
/locations.
1629 Report bugs to the package provider.
1634 if test "$ac_init_help" = "recursive"; then
1635 # If there are subdirs, report their specific --help.
1636 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1637 test -d "$ac_dir" ||
1638 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1643 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1645 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1646 # A ".." for each directory in $ac_dir_suffix.
1647 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1648 case $ac_top_builddir_sub in
1649 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1650 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1653 ac_abs_top_builddir
=$ac_pwd
1654 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1655 # for backward compatibility:
1656 ac_top_builddir
=$ac_top_build_prefix
1659 .
) # We are building in place.
1661 ac_top_srcdir
=$ac_top_builddir_sub
1662 ac_abs_top_srcdir
=$ac_pwd ;;
1663 [\\/]* | ?
:[\\/]* ) # Absolute name.
1664 ac_srcdir
=$srcdir$ac_dir_suffix;
1665 ac_top_srcdir
=$srcdir
1666 ac_abs_top_srcdir
=$srcdir ;;
1668 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1669 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1670 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1672 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1674 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1675 # Check for guested configure.
1676 if test -f "$ac_srcdir/configure.gnu"; then
1678 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1679 elif test -f "$ac_srcdir/configure"; then
1681 $SHELL "$ac_srcdir/configure" --help=recursive
1683 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1685 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1689 test -n "$ac_init_help" && exit $ac_status
1690 if $ac_init_version; then
1693 generated by GNU Autoconf
2.64
1695 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1696 This configure
script is free software
; the Free Software Foundation
1697 gives unlimited permission to copy
, distribute and modify it.
1702 ## ------------------------ ##
1703 ## Autoconf initialization. ##
1704 ## ------------------------ ##
1706 # ac_fn_c_try_compile LINENO
1707 # --------------------------
1708 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1709 ac_fn_c_try_compile
()
1711 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1712 rm -f conftest.
$ac_objext
1713 if { { ac_try
="$ac_compile"
1715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1716 *) ac_try_echo=$ac_try;;
1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720 (eval "$ac_compile") 2>conftest.err
1722 if test -s conftest.err; then
1723 grep -v '^ *+' conftest.err >conftest.er1
1724 cat conftest.er1 >&5
1725 mv -f conftest.er1 conftest.err
1727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728 test $ac_status = 0; } && {
1729 test -z "$ac_c_werror_flag" ||
1730 test ! -s conftest.err
1731 } && test -s conftest.$ac_objext; then :
1734 $as_echo "$as_me: failed program was:" >&5
1735 sed 's/^/| /' conftest.$ac_ext >&5
1739 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1742 } # ac_fn_c_try_compile
1744 # ac_fn_cxx_try_compile LINENO
1745 # ----------------------------
1746 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1747 ac_fn_cxx_try_compile ()
1749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1750 rm -f conftest.$ac_objext
1751 if { { ac_try="$ac_compile"
1753 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1754 *) ac_try_echo
=$ac_try;;
1756 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757 $as_echo "$ac_try_echo"; } >&5
1758 (eval "$ac_compile") 2>conftest.err
1760 if test -s conftest.err
; then
1761 grep -v '^ *+' conftest.err
>conftest.er1
1762 cat conftest.er1
>&5
1763 mv -f conftest.er1 conftest.err
1765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766 test $ac_status = 0; } && {
1767 test -z "$ac_cxx_werror_flag" ||
1768 test ! -s conftest.err
1769 } && test -s conftest.
$ac_objext; then :
1772 $as_echo "$as_me: failed program was:" >&5
1773 sed 's/^/| /' conftest.
$ac_ext >&5
1777 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1780 } # ac_fn_cxx_try_compile
1782 # ac_fn_c_try_link LINENO
1783 # -----------------------
1784 # Try to link conftest.$ac_ext, and return whether this succeeded.
1787 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1788 rm -f conftest.
$ac_objext conftest
$ac_exeext
1789 if { { ac_try
="$ac_link"
1791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1792 *) ac_try_echo=$ac_try;;
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796 (eval "$ac_link") 2>conftest.err
1798 if test -s conftest.err; then
1799 grep -v '^ *+' conftest.err >conftest.er1
1800 cat conftest.er1 >&5
1801 mv -f conftest.er1 conftest.err
1803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804 test $ac_status = 0; } && {
1805 test -z "$ac_c_werror_flag" ||
1806 test ! -s conftest.err
1807 } && test -s conftest$ac_exeext && {
1808 test "$cross_compiling" = yes ||
1809 $as_test_x conftest$ac_exeext
1813 $as_echo "$as_me: failed program was:" >&5
1814 sed 's/^/| /' conftest.$ac_ext >&5
1818 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1819 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1820 # interfere with the next link command; also delete a directory that is
1821 # left behind by Apple's compiler. We do this before executing the actions.
1822 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1823 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1826 } # ac_fn_c_try_link
1828 # ac_fn_c_try_cpp LINENO
1829 # ----------------------
1830 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 if { { ac_try="$ac_cpp conftest.$ac_ext"
1836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1837 *) ac_try_echo
=$ac_try;;
1839 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1843 if test -s conftest.err
; then
1844 grep -v '^ *+' conftest.err
>conftest.er1
1845 cat conftest.er1
>&5
1846 mv -f conftest.er1 conftest.err
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } >/dev
/null
&& {
1850 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1851 test ! -s conftest.err
1855 $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.
$ac_ext >&5
1860 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1865 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1866 # -------------------------------------------------------
1867 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1868 # the include files in INCLUDES and setting the cache variable VAR
1870 ac_fn_c_check_header_mongrel
()
1872 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1873 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1875 $as_echo_n "checking for $2... " >&6; }
1876 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1877 $as_echo_n "(cached) " >&6
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1881 $as_echo "$ac_res" >&6; }
1883 # Is the header compilable?
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1885 $as_echo_n "checking $2 usability... " >&6; }
1886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1891 if ac_fn_c_try_compile
"$LINENO"; then :
1892 ac_header_compiler
=yes
1894 ac_header_compiler
=no
1896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1898 $as_echo "$ac_header_compiler" >&6; }
1900 # Is the header present?
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1902 $as_echo_n "checking $2 presence... " >&6; }
1903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */
1907 if ac_fn_c_try_cpp
"$LINENO"; then :
1908 ac_header_preproc
=yes
1910 ac_header_preproc
=no
1912 rm -f conftest.err conftest.
$ac_ext
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1914 $as_echo "$ac_header_preproc" >&6; }
1916 # So? What about this header?
1917 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1920 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1922 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1926 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1928 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1930 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1932 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1934 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1938 $as_echo_n "checking for $2... " >&6; }
1939 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1940 $as_echo_n "(cached) " >&6
1942 eval "$3=\$ac_header_compiler"
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1946 $as_echo "$ac_res" >&6; }
1948 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1950 } # ac_fn_c_check_header_mongrel
1952 # ac_fn_c_try_run LINENO
1953 # ----------------------
1954 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1955 # that executables *can* be run.
1958 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1959 if { { ac_try
="$ac_link"
1961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1962 *) ac_try_echo=$ac_try;;
1964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1965 $as_echo "$ac_try_echo"; } >&5
1966 (eval "$ac_link") 2>&5
1968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1969 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1970 { { case "(($ac_try" in
1971 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1972 *) ac_try_echo
=$ac_try;;
1974 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1975 $as_echo "$ac_try_echo"; } >&5
1976 (eval "$ac_try") 2>&5
1978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1979 test $ac_status = 0; }; }; then :
1982 $as_echo "$as_me: program exited with status $ac_status" >&5
1983 $as_echo "$as_me: failed program was:" >&5
1984 sed 's/^/| /' conftest.
$ac_ext >&5
1986 ac_retval
=$ac_status
1988 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1989 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1994 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1995 # -------------------------------------------------------
1996 # Tests whether HEADER exists and can be compiled using the include files in
1997 # INCLUDES, setting the cache variable VAR accordingly.
1998 ac_fn_c_check_header_compile
()
2000 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2002 $as_echo_n "checking for $2... " >&6; }
2003 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2004 $as_echo_n "(cached) " >&6
2006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2007 /* end confdefs.h. */
2011 if ac_fn_c_try_compile
"$LINENO"; then :
2016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2020 $as_echo "$ac_res" >&6; }
2021 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2023 } # ac_fn_c_check_header_compile
2024 cat >config.log
<<_ACEOF
2025 This file contains any messages produced by compilers while
2026 running configure, to aid debugging if configure makes a mistake.
2028 It was created by $as_me, which was
2029 generated by GNU Autoconf 2.64. Invocation command line was
2041 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2042 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2043 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2044 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2045 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2047 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2048 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2050 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2051 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2052 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2053 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2054 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2055 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2056 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2064 test -z "$as_dir" && as_dir
=.
2065 $as_echo "PATH: $as_dir"
2081 # Keep a trace of the command line.
2082 # Strip out --no-create and --no-recursion so they do not pile up.
2083 # Strip out --silent because we don't want to record it for future runs.
2084 # Also quote any args containing shell meta-characters.
2085 # Make two passes to allow for proper duplicate-argument suppression.
2089 ac_must_keep_next
=false
2095 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2096 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2097 |
-silent |
--silent |
--silen |
--sile |
--sil)
2100 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2103 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2105 as_fn_append ac_configure_args1
" '$ac_arg'"
2106 if test $ac_must_keep_next = true
; then
2107 ac_must_keep_next
=false
# Got value, back to normal.
2110 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2111 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2112 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2113 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2114 case "$ac_configure_args0 " in
2115 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2118 -* ) ac_must_keep_next
=true
;;
2121 as_fn_append ac_configure_args
" '$ac_arg'"
2126 { ac_configure_args0
=; unset ac_configure_args0
;}
2127 { ac_configure_args1
=; unset ac_configure_args1
;}
2129 # When interrupted or exit'd, cleanup temporary files, and complete
2130 # config.log. We remove comments because anyway the quotes in there
2131 # would cause problems or look ugly.
2132 # WARNING: Use '\'' to represent an apostrophe within the trap.
2133 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2134 trap 'exit_status=$?
2135 # Save into config.log some information that might help in debugging.
2140 ## ---------------- ##
2141 ## Cache variables. ##
2142 ## ---------------- ##
2145 # The following way of writing the cache mishandles newlines in values,
2147 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2148 eval ac_val=\$$ac_var
2152 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2153 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2156 _ | IFS | as_nl) ;; #(
2157 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2158 *) { eval $ac_var=; unset $ac_var;} ;;
2163 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2164 *${as_nl}ac_space=\ *)
2166 "s/'\''/'\''\\\\'\'''\''/g;
2167 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2170 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2178 ## ----------------- ##
2179 ## Output variables. ##
2180 ## ----------------- ##
2183 for ac_var in $ac_subst_vars
2185 eval ac_val=\$$ac_var
2187 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2189 $as_echo "$ac_var='\''$ac_val'\''"
2193 if test -n "$ac_subst_files"; then
2195 ## ------------------- ##
2196 ## File substitutions. ##
2197 ## ------------------- ##
2200 for ac_var
in $ac_subst_files
2202 eval ac_val
=\$
$ac_var
2204 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2206 $as_echo "$ac_var='\''$ac_val'\''"
2211 if test -s confdefs.h; then
2221 test "$ac_signal" != 0 &&
2222 $as_echo "$as_me: caught signal $ac_signal"
2223 $as_echo "$as_me: exit $exit_status"
2225 rm -f core *.core core.conftest.* &&
2226 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2229 for ac_signal
in 1 2 13 15; do
2230 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2234 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2235 rm -f -r conftest
* confdefs.h
2237 $as_echo "/* confdefs.h */" > confdefs.h
2239 # Predefined preprocessor variables.
2241 cat >>confdefs.h
<<_ACEOF
2242 #define PACKAGE_NAME "$PACKAGE_NAME"
2245 cat >>confdefs.h
<<_ACEOF
2246 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2249 cat >>confdefs.h
<<_ACEOF
2250 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2253 cat >>confdefs.h
<<_ACEOF
2254 #define PACKAGE_STRING "$PACKAGE_STRING"
2257 cat >>confdefs.h
<<_ACEOF
2258 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2261 cat >>confdefs.h
<<_ACEOF
2262 #define PACKAGE_URL "$PACKAGE_URL"
2266 # Let the site file select an alternate cache file if it wants to.
2267 # Prefer an explicitly selected file to automatically selected ones.
2270 if test -n "$CONFIG_SITE"; then
2271 ac_site_file1
=$CONFIG_SITE
2272 elif test "x$prefix" != xNONE
; then
2273 ac_site_file1
=$prefix/share
/config.site
2274 ac_site_file2
=$prefix/etc
/config.site
2276 ac_site_file1
=$ac_default_prefix/share
/config.site
2277 ac_site_file2
=$ac_default_prefix/etc
/config.site
2279 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2281 test "x$ac_site_file" = xNONE
&& continue
2282 if test -r "$ac_site_file"; then
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2284 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2285 sed 's/^/| /' "$ac_site_file" >&5
2290 if test -r "$cache_file"; then
2291 # Some versions of bash will fail to source /dev/null (special
2292 # files actually), so we avoid doing that.
2293 if test -f "$cache_file"; then
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2295 $as_echo "$as_me: loading cache $cache_file" >&6;}
2297 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2298 *) .
"./$cache_file";;
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2303 $as_echo "$as_me: creating cache $cache_file" >&6;}
2307 # Check that the precious variables saved in the cache have kept the same
2309 ac_cache_corrupted
=false
2310 for ac_var
in $ac_precious_vars; do
2311 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2312 eval ac_new_set
=\
$ac_env_${ac_var}_set
2313 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2314 eval ac_new_val
=\
$ac_env_${ac_var}_value
2315 case $ac_old_set,$ac_new_set in
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2318 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2319 ac_cache_corrupted
=: ;;
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2322 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2323 ac_cache_corrupted
=: ;;
2326 if test "x$ac_old_val" != "x$ac_new_val"; then
2327 # differences in whitespace do not lead to failure.
2328 ac_old_val_w
=`echo x $ac_old_val`
2329 ac_new_val_w
=`echo x $ac_new_val`
2330 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2332 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2333 ac_cache_corrupted
=:
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2336 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2337 eval $ac_var=\
$ac_old_val
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2340 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2342 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2345 # Pass precious variables to config.status.
2346 if test "$ac_new_set" = set; then
2348 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2349 *) ac_arg
=$ac_var=$ac_new_val ;;
2351 case " $ac_configure_args " in
2352 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2353 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2357 if $ac_cache_corrupted; then
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2361 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2362 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2364 ## -------------------- ##
2365 ## Main body of script. ##
2366 ## -------------------- ##
2369 ac_cpp
='$CPP $CPPFLAGS'
2370 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2371 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2372 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2383 # if PWD already has a value, it is probably wrong.
2384 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2386 # Export original configure arguments for use by sub-configures.
2387 # Quote arguments with shell meta charatcers.
2388 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2389 set -- "$progname" "$@"
2393 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2394 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2395 # if the argument is of the form -foo=baz, quote the baz part only
2396 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2399 # Add the quoted argument to the list.
2400 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2402 if test "$silent" = yes; then
2403 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2405 # Remove the initial space we just introduced and, as these will be
2406 # expanded by make, quote '$'.
2407 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2410 # Find the build, host, and target systems.
2412 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2413 for ac_t
in install-sh
install.sh shtool
; do
2414 if test -f "$ac_dir/$ac_t"; then
2416 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2421 if test -z "$ac_aux_dir"; then
2422 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2425 # These three variables are undocumented and unsupported,
2426 # and are intended to be withdrawn in a future Autoconf release.
2427 # They can cause serious problems if a builder's source tree is in a directory
2428 # whose full name contains unusual characters.
2429 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2430 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2431 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2434 # Make sure we can run config.sub.
2435 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2436 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2439 $as_echo_n "checking build system type... " >&6; }
2440 if test "${ac_cv_build+set}" = set; then :
2441 $as_echo_n "(cached) " >&6
2443 ac_build_alias
=$build_alias
2444 test "x$ac_build_alias" = x
&&
2445 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2446 test "x$ac_build_alias" = x
&&
2447 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2448 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2449 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2453 $as_echo "$ac_cv_build" >&6; }
2454 case $ac_cv_build in
2456 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2459 ac_save_IFS
=$IFS; IFS
='-'
2465 # Remember, the first character of IFS is used to create $*,
2466 # except with old shells:
2469 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2472 case ${build_alias} in
2473 "") build_noncanonical
=${build} ;;
2474 *) build_noncanonical
=${build_alias} ;;
2479 case ${host_alias} in
2480 "") host_noncanonical
=${build_noncanonical} ;;
2481 *) host_noncanonical
=${host_alias} ;;
2486 case ${target_alias} in
2487 "") target_noncanonical
=${host_noncanonical} ;;
2488 *) target_noncanonical
=${target_alias} ;;
2494 test "$host_noncanonical" = "$target_noncanonical" &&
2495 test "$program_prefix$program_suffix$program_transform_name" = \
2497 program_transform_name
=s
,y
,y
,
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2500 $as_echo_n "checking host system type... " >&6; }
2501 if test "${ac_cv_host+set}" = set; then :
2502 $as_echo_n "(cached) " >&6
2504 if test "x$host_alias" = x
; then
2505 ac_cv_host
=$ac_cv_build
2507 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2508 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2513 $as_echo "$ac_cv_host" >&6; }
2516 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2519 ac_save_IFS
=$IFS; IFS
='-'
2525 # Remember, the first character of IFS is used to create $*,
2526 # except with old shells:
2529 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2533 $as_echo_n "checking target system type... " >&6; }
2534 if test "${ac_cv_target+set}" = set; then :
2535 $as_echo_n "(cached) " >&6
2537 if test "x$target_alias" = x
; then
2538 ac_cv_target
=$ac_cv_host
2540 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2541 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2546 $as_echo "$ac_cv_target" >&6; }
2547 case $ac_cv_target in
2549 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2551 target
=$ac_cv_target
2552 ac_save_IFS
=$IFS; IFS
='-'
2558 # Remember, the first character of IFS is used to create $*,
2559 # except with old shells:
2562 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2565 # The aliases save the names the user supplied, while $host etc.
2566 # will get canonicalized.
2567 test -n "$target_alias" &&
2568 test "$program_prefix$program_suffix$program_transform_name" = \
2570 program_prefix
=${target_alias}-
2572 test "$program_prefix" != NONE
&&
2573 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2574 # Use a double $ so make ignores it.
2575 test "$program_suffix" != NONE
&&
2576 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2577 # Double any \ or $.
2578 # By default was `s,x,x', remove it if useless.
2579 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2580 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2584 # Get 'install' or 'install-sh' and its variants.
2585 # Find a good install program. We prefer a C program (faster),
2586 # so one script is as good as another. But avoid the broken or
2587 # incompatible versions:
2588 # SysV /etc/install, /usr/sbin/install
2589 # SunOS /usr/etc/install
2590 # IRIX /sbin/install
2592 # AmigaOS /C/install, which installs bootblocks on floppy discs
2593 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2594 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2595 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2596 # OS/2's system install, which has a completely different semantic
2597 # ./install, which can be erroneously created by make from ./install.sh.
2598 # Reject install programs that cannot install multiple files.
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2600 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2601 if test -z "$INSTALL"; then
2602 if test "${ac_cv_path_install+set}" = set; then :
2603 $as_echo_n "(cached) " >&6
2605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2609 test -z "$as_dir" && as_dir
=.
2610 # Account for people who put trailing slashes in PATH elements.
2611 case $as_dir/ in #((
2612 .
/ | .
// |
/[cC
]/* | \
2613 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2614 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2617 # OSF1 and SCO ODT 3.0 have their own names for install.
2618 # Don't use installbsd from OSF since it installs stuff as root
2620 for ac_prog
in ginstall scoinst
install; do
2621 for ac_exec_ext
in '' $ac_executable_extensions; do
2622 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2623 if test $ac_prog = install &&
2624 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2625 # AIX install. It has an incompatible calling convention.
2627 elif test $ac_prog = install &&
2628 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2629 # program-specific install script used by HP pwplus--don't use.
2632 rm -rf conftest.one conftest.two conftest.dir
2633 echo one
> conftest.one
2634 echo two
> conftest.two
2636 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2637 test -s conftest.one
&& test -s conftest.two
&&
2638 test -s conftest.dir
/conftest.one
&&
2639 test -s conftest.dir
/conftest.two
2641 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2654 rm -rf conftest.one conftest.two conftest.dir
2657 if test "${ac_cv_path_install+set}" = set; then
2658 INSTALL
=$ac_cv_path_install
2660 # As a last resort, use the slow shell script. Don't cache a
2661 # value for INSTALL within a source directory, because that will
2662 # break other packages using the cache if that directory is
2663 # removed, or if the value is a relative name.
2664 INSTALL
=$ac_install_sh
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2668 $as_echo "$INSTALL" >&6; }
2670 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2671 # It thinks the first close brace ends the variable substitution.
2672 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2674 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2676 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2679 $as_echo_n "checking whether ln works... " >&6; }
2680 if test "${acx_cv_prog_LN+set}" = set; then :
2681 $as_echo_n "(cached) " >&6
2683 rm -f conftestdata_t
2684 echo >conftestdata_f
2685 if ln conftestdata_f conftestdata_t
2>/dev
/null
2691 rm -f conftestdata_f conftestdata_t
2694 if test $acx_cv_prog_LN = no
; then
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2697 $as_echo "no, using $LN" >&6; }
2699 LN
="$acx_cv_prog_LN"
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2701 $as_echo "yes" >&6; }
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2705 $as_echo_n "checking whether ln -s works... " >&6; }
2707 if test "$LN_S" = "ln -s"; then
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2709 $as_echo "yes" >&6; }
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2712 $as_echo "no, using $LN_S" >&6; }
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2716 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2717 if test "${ac_cv_path_SED+set}" = set; then :
2718 $as_echo_n "(cached) " >&6
2720 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2721 for ac_i
in 1 2 3 4 5 6 7; do
2722 ac_script
="$ac_script$as_nl$ac_script"
2724 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2725 { ac_script
=; unset ac_script
;}
2726 if test -z "$SED"; then
2727 ac_path_SED_found
=false
2728 # Loop through the user's path and test for each of PROGNAME-LIST
2729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2733 test -z "$as_dir" && as_dir
=.
2734 for ac_prog
in sed gsed
; do
2735 for ac_exec_ext
in '' $ac_executable_extensions; do
2736 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2737 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2738 # Check for GNU ac_path_SED and select it if it is found.
2739 # Check for GNU $ac_path_SED
2740 case `"$ac_path_SED" --version 2>&1` in
2742 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2745 $as_echo_n 0123456789 >"conftest.in"
2748 cat "conftest.in" "conftest.in" >"conftest.tmp"
2749 mv "conftest.tmp" "conftest.in"
2750 cp "conftest.in" "conftest.nl"
2751 $as_echo '' >> "conftest.nl"
2752 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2753 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2754 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2755 if test $ac_count -gt ${ac_path_SED_max-0}; then
2756 # Best one so far, save it but keep looking for a better one
2757 ac_cv_path_SED
="$ac_path_SED"
2758 ac_path_SED_max
=$ac_count
2760 # 10*(2^10) chars as input seems more than enough
2761 test $ac_count -gt 10 && break
2763 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2766 $ac_path_SED_found && break 3
2771 if test -z "$ac_cv_path_SED"; then
2772 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2780 $as_echo "$ac_cv_path_SED" >&6; }
2781 SED
="$ac_cv_path_SED"
2784 for ac_prog
in gawk mawk nawk
awk
2786 # Extract the first word of "$ac_prog", so it can be a program name with args.
2787 set dummy
$ac_prog; ac_word
=$2
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2789 $as_echo_n "checking for $ac_word... " >&6; }
2790 if test "${ac_cv_prog_AWK+set}" = set; then :
2791 $as_echo_n "(cached) " >&6
2793 if test -n "$AWK"; then
2794 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2800 test -z "$as_dir" && as_dir
=.
2801 for ac_exec_ext
in '' $ac_executable_extensions; do
2802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2803 ac_cv_prog_AWK
="$ac_prog"
2804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2814 if test -n "$AWK"; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2816 $as_echo "$AWK" >&6; }
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2819 $as_echo "no" >&6; }
2823 test -n "$AWK" && break
2827 ### we might need to use some other shell than /bin/sh for running subshells
2828 ### If we are on Windows, search for the shell. This will permit people
2829 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
2830 ### without also having to set CONFIG_SHELL. This code will work when
2831 ### using bash, which sets OSTYPE.
2834 if test x
${CONFIG_SHELL} = x
; then
2835 if test ! -f /bin
/sh
; then
2836 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
2837 CONFIG_SHELL
=${SHELL}
2840 for prog
in sh sh.exe bash bash.exe
; do
2841 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2842 for dir
in $PATH; do
2843 test -z "$dir" && dir
=.
2844 if test -f $dir/$prog; then
2845 CONFIG_SHELL
=$dir/$prog
2851 test -n "${CONFIG_SHELL}" && break
2859 config_shell
=${CONFIG_SHELL-/bin/sh}
2861 moveifchange
=${srcdir}/move-if-change
2863 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2865 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2867 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2868 INSTALL
="${srcpwd}/install-sh -c"
2871 # Set srcdir to "." if that's what it is.
2872 # This is important for multilib support.
2874 if test "${pwd}" = "${srcpwd}" ; then
2882 ### To add a new directory to the tree, first choose whether it is a target
2883 ### or a host dependent tool. Then put it into the appropriate list
2884 ### (library or tools, host or target), doing a dependency sort.
2886 # Subdirs will be configured in the order listed in build_configdirs,
2887 # configdirs, or target_configdirs; see the serialization section below.
2889 # Dependency sorting is only needed when *configuration* must be done in
2890 # a particular order. In all cases a dependency should be specified in
2891 # the Makefile, whether or not it's implicitly specified here.
2893 # Double entries in build_configdirs, configdirs, or target_configdirs may
2894 # cause circular dependencies and break everything horribly.
2896 # these library is used by various programs built for the build
2899 build_libs
="build-libiberty"
2901 # these tools are built for the build environment
2902 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
2904 # these libraries are used by various programs built for the host environment
2906 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2908 # these tools are built for the host environment
2909 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2910 # know that we are building the simulator.
2911 # binutils, gas and ld appear in that order because it makes sense to run
2912 # "make check" in that particular order.
2913 # If --enable-gold is used, "gold" may replace "ld".
2914 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"
2916 # libgcj represents the runtime libraries only used by gcj.
2917 libgcj
="target-libffi \
2922 # these libraries are built for the target environment, and are built after
2923 # the host libraries and the host tools (which may be a cross compiler)
2925 target_libraries
="target-libgcc \
2930 target-libstdc++-v3 \
2933 target-libgfortran \
2939 # these tools are built using the target libraries, and are intended to
2940 # run only in the target environment
2942 # note: any program that *uses* libraries that are in the "target_libraries"
2943 # list belongs in this list. those programs are also very likely
2944 # candidates for the "native_only" list which follows
2946 target_tools
="target-examples target-groff target-gperf target-rda"
2948 ################################################################################
2950 ## All tools belong in one of the four categories, and are assigned above
2951 ## We assign ${configdirs} this way to remove all embedded newlines. This
2952 ## is important because configure will choke if they ever get through.
2953 ## ${configdirs} is directories we build using the host tools.
2954 ## ${target_configdirs} is directories we build using the target tools.
2955 configdirs
=`echo ${host_libs} ${host_tools}`
2956 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2957 build_configdirs
=`echo ${build_libs} ${build_tools}`
2961 ################################################################################
2963 srcname
="gnu development package"
2965 # This gets set non-empty for some net releases of packages.
2968 # Define is_cross_compiler to save on calls to 'test'.
2970 if test x
"${host}" = x
"${target}" ; then
2971 is_cross_compiler
=no
2973 is_cross_compiler
=yes
2976 # Find the build and target subdir names.
2978 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2979 # have matching libraries, they should use host libraries: Makefile.tpl
2980 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2981 # However, they still use the build modules, because the corresponding
2982 # host modules (e.g. bison) are only built for the host when bootstrap
2984 # - build_subdir is where we find build modules, and never changes.
2985 # - build_libsubdir is where we find build libraries, and can be overridden.
2987 # Prefix 'build-' so this never conflicts with target_subdir.
2988 build_subdir
="build-${build_noncanonical}"
2990 # Check whether --with-build-libsubdir was given.
2991 if test "${with_build_libsubdir+set}" = set; then :
2992 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2994 build_libsubdir
="$build_subdir"
2997 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2998 if ( test $srcdir = .
&& test -d gcc
) \
2999 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
3000 host_subdir
="host-${host_noncanonical}"
3005 target_subdir
=${target_noncanonical}
3007 # Be sure to cover against remnants of an in-tree build.
3008 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
3009 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
3010 Use a pristine source tree when building in a separate tree" "$LINENO" 5
3013 # Skipdirs are removed silently.
3015 # Noconfigdirs are removed loudly.
3019 # Make sure we don't let GNU ld be added if we didn't want it.
3020 if test x
$with_gnu_ld = xno
; then
3022 noconfigdirs
="$noconfigdirs ld gold"
3026 # Make sure we don't let GNU as be added if we didn't want it.
3027 if test x
$with_gnu_as = xno
; then
3029 noconfigdirs
="$noconfigdirs gas"
3033 # Make sure we don't let ZLIB be added if we didn't want it.
3034 if test x
$with_system_zlib = xyes
; then
3035 use_included_zlib
=no
3036 noconfigdirs
="$noconfigdirs zlib"
3039 # some tools are so dependent upon X11 that if we're not building with X,
3040 # it's not even worth trying to configure, much less build, that tool.
3043 yes |
"") ;; # the default value for this tree is that X11 is available
3045 skipdirs
="${skipdirs} tk itcl libgui"
3046 # We won't be able to build gdbtk without X.
3049 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
3052 # Some tools are only suitable for building in a "native" situation.
3053 # Remove these if host!=target.
3054 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"
3056 # Similarly, some are only suitable for cross toolchains.
3057 # Remove these if host=target.
3058 cross_only
="target-libgloss target-newlib target-opcodes"
3060 case $is_cross_compiler in
3061 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
3062 yes) skipdirs
="${skipdirs} ${native_only}" ;;
3065 # If both --with-headers and --with-libs are specified, default to
3067 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
3068 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
3069 if test x
"${with_newlib}" = x
; then
3074 # Recognize --with-newlib/--without-newlib.
3075 case ${with_newlib} in
3076 no
) skipdirs
="${skipdirs} target-newlib" ;;
3077 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
3080 # Handle --enable-gold.
3081 # --enable-gold Build only gold
3082 # --disable-gold [default] Build only ld
3083 # --enable-gold=both Build both gold and ld, ld is default
3084 # --enable-gold=both/ld Same
3085 # --enable-gold=both/gold Build both gold and ld, gold is default, ld is renamed ld.bfd
3087 # Check whether --enable-gold was given.
3088 if test "${enable_gold+set}" = set; then :
3089 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
3094 case "${ENABLE_GOLD}" in
3095 yes|both|both
/gold|both
/ld
)
3096 # Check for ELF target.
3099 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
3100 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
3101 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2* |
*-*-nto*)
3103 *-*-linux*aout
* |
*-*-linux*oldld
*)
3111 if test "$is_elf" = "yes"; then
3112 # Check for target supported by gold.
3114 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
3115 case "${ENABLE_GOLD}" in
3117 configdirs
="$configdirs gold"
3120 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / gold /'`
3131 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
3135 # Configure extra directories which are host specific
3139 configdirs
="$configdirs libtermcap" ;;
3142 # A target can indicate whether a language isn't supported for some reason.
3143 # Only spaces may be used in this macro; not newlines or tabs.
3144 unsupported_languages
=
3146 # Remove more programs from consideration, based on the host or
3147 # target this usually means that a port of the program doesn't
3152 noconfigdirs
="$noconfigdirs byacc"
3154 i
[3456789]86-*-vsta)
3155 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
3157 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
3158 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
3161 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
3163 i
[3456789]86-*-mingw32*)
3164 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
3165 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
3167 i
[3456789]86-*-beos*)
3168 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
3171 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
3174 noconfigdirs
="$noconfigdirs rcs"
3177 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
3180 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
3185 # Check whether --enable-libada was given.
3186 if test "${enable_libada+set}" = set; then :
3187 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3192 if test "${ENABLE_LIBADA}" != "yes" ; then
3193 noconfigdirs
="$noconfigdirs gnattools"
3196 # Check whether --enable-libssp was given.
3197 if test "${enable_libssp+set}" = set; then :
3198 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3204 # Save it here so that, even in case of --enable-libgcj, if the Java
3205 # front-end isn't enabled, we still get libgcj disabled.
3206 libgcj_saved
=$libgcj
3207 case $enable_libgcj in
3209 # If we reset it here, it won't get added to noconfigdirs in the
3210 # target-specific build rules, so it will be forcibly enabled
3211 # (unless the Java language itself isn't enabled).
3215 # Make sure we get it printed in the list of not supported target libs.
3216 noconfigdirs
="$noconfigdirs ${libgcj}"
3221 # Disable libmudflap on some systems.
3222 if test x
$enable_libmudflap = x
; then
3224 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
3225 # Enable libmudflap by default in GNU and friends.
3228 # Enable libmudflap by default in FreeBSD.
3231 # Disable it by default everywhere else.
3232 noconfigdirs
="$noconfigdirs target-libmudflap"
3237 # Disable libgomp on non POSIX hosted systems.
3238 if test x
$enable_libgomp = x
; then
3239 # Enable libgomp by default on hosted POSIX systems.
3241 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3243 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
3245 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
3247 *-*-darwin* |
*-*-aix*)
3250 noconfigdirs
="$noconfigdirs target-libgomp"
3255 # Default libgloss CPU subdirectory.
3256 libgloss_dir
="$target_cpu"
3260 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3263 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3264 noconfigdirs
="$noconfigdirs sim target-rda"
3266 i
[3456789]86-*-darwin*)
3267 noconfigdirs
="$noconfigdirs ld gprof"
3268 noconfigdirs
="$noconfigdirs sim target-rda"
3270 x86_64-
*-darwin[912]*)
3271 noconfigdirs
="$noconfigdirs ld gas gprof"
3272 noconfigdirs
="$noconfigdirs sim target-rda"
3275 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3276 noconfigdirs
="$noconfigdirs sim target-rda"
3277 noconfigdirs
="$noconfigdirs ${libgcj}"
3279 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
3280 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3283 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3284 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3285 && test -f /usr
/local
/include
/gmp.h
; then
3289 # Skip some stuff that's unsupported on some FreeBSD configurations.
3295 noconfigdirs
="$noconfigdirs ${libgcj}"
3300 # Remove unsupported stuff on all kaOS configurations.
3301 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
3302 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
3303 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
3304 noconfigdirs
="$noconfigdirs target-libgloss"
3307 # Skip some stuff on all NetBSD configurations.
3308 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
3310 # Skip some stuff that's unsupported on some NetBSD configurations.
3312 i
*86-*-netbsdelf*) ;;
3313 arm
*-*-netbsdelf*) ;;
3315 noconfigdirs
="$noconfigdirs ${libgcj}"
3320 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
3323 skipdirs
="${skipdirs} target-libiberty"
3324 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3326 # The tpf target doesn't support gdb yet.
3328 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
3331 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
3334 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
3337 # ld works, but does not support shared libraries.
3338 # newlib is not 64 bit ready. I'm not sure about fileutils.
3339 # gas doesn't generate exception information.
3340 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
3343 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3346 # newlib is not 64 bit ready
3347 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3350 # newlib is not 64 bit ready
3351 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3354 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3357 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3359 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3360 noconfigdirs
="$noconfigdirs ${libgcj}"
3361 noconfigdirs
="$noconfigdirs target-examples"
3362 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
3363 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3364 noconfigdirs
="$noconfigdirs expect dejagnu"
3365 # the C++ libraries don't build on top of CE's C libraries
3366 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3367 noconfigdirs
="$noconfigdirs target-newlib"
3369 *-*-cygwin*) ;; # keep gdb and readline
3370 *) noconfigdirs
="$noconfigdirs gdb readline"
3376 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3380 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
3381 noconfigdirs
="$noconfigdirs ${libgcj}"
3384 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
3385 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
3388 arm
*-*-linux-gnueabi)
3389 noconfigdirs
="$noconfigdirs target-qthreads"
3390 case ${with_newlib} in
3391 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3396 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
3400 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3403 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3406 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3409 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3412 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3415 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
3418 unsupported_languages
="$unsupported_languages java"
3419 noconfigdirs
="$noconfigdirs target-boehm-gc gdb"
3420 if test x
${is_cross_compiler} != xno
; then
3421 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
3424 c4x-
*-* | tic4x-
*-*)
3425 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3427 c54x
*-*-* | tic54x-
*-*)
3428 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
3431 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3433 cris-
*-* | crisv32-
*-*)
3434 unsupported_languages
="$unsupported_languages java"
3437 unsupported_languages
="$unsupported_languages fortran"
3438 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3440 noconfigdirs
="$noconfigdirs target-boehm-gc";;
3442 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
3444 unsupported_languages
="$unsupported_languages fortran"
3445 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
3450 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
3453 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3456 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3458 ep9312-
*-elf | ep9312-
*-coff)
3462 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3465 noconfigdirs
="$noconfigdirs ${libgcj}"
3468 noconfigdirs
="$noconfigdirs ${libgcj}"
3469 noconfigdirs
="$noconfigdirs gprof"
3472 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3475 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3477 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3479 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
3480 # In this case, it's because the hppa64-linux target is for
3481 # the kernel only at this point and has no libc, and thus no
3482 # headers, crt*.o, etc., all of which are needed by these.
3483 noconfigdirs
="$noconfigdirs target-zlib"
3485 parisc
*-*-linux* | hppa
*-*-linux*)
3489 hppa
*-*-openbsd* | \
3491 noconfigdirs
="$noconfigdirs ${libgcj}"
3494 noconfigdirs
="$noconfigdirs ld shellutils"
3500 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3501 # build on HP-UX 10.20.
3502 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
3505 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3508 # No gdb support yet.
3509 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
3512 # No gdb or ld support yet.
3513 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
3516 # No gdb or ld support yet.
3517 noconfigdirs
="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
3521 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
3522 noconfigdirs
="$noconfigdirs ${libgcj}"
3525 i
[3456789]86-*-linux*)
3526 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
3527 # not build java stuff by default.
3530 noconfigdirs
="$noconfigdirs ${libgcj}";;
3533 # This section makes it possible to build newlib natively on linux.
3534 # If we are using a cross compiler then don't configure newlib.
3535 if test x
${is_cross_compiler} != xno
; then
3536 noconfigdirs
="$noconfigdirs target-newlib"
3538 noconfigdirs
="$noconfigdirs target-libgloss"
3539 # If we are not using a cross compiler, do configure newlib.
3540 # Note however, that newlib will only be configured in this situation
3541 # if the --with-newlib option has been given, because otherwise
3542 # 'target-newlib' will appear in skipdirs.
3544 i
[3456789]86-w64-mingw*)
3545 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3547 i
[3456789]86-*-mingw*)
3548 target_configdirs
="$target_configdirs target-winsup"
3549 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3552 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3555 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3556 noconfigdirs
="$noconfigdirs target-gperf target-libgloss"
3557 # always build newlib if winsup directory is present.
3558 if test -d "$srcdir/winsup/cygwin"; then
3559 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3560 elif test -d "$srcdir/newlib"; then
3561 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3564 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
3565 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
3568 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3570 i
[3456789]86-*-sco3.2v5
*)
3571 # The linker does not yet know about weak symbols in COFF,
3572 # and is not configured to handle mixed ELF and COFF.
3573 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3575 i
[3456789]86-*-sco*)
3576 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3578 i
[3456789]86-*-solaris2*)
3579 noconfigdirs
="$noconfigdirs target-libgloss"
3581 i
[3456789]86-*-sysv4*)
3582 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3584 i
[3456789]86-*-beos*)
3585 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3587 i
[3456789]86-*-rdos*)
3588 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3591 noconfigdirs
="$noconfigdirs ${libgcj}"
3593 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3594 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3595 libgloss_dir
=m68hc11
3598 noconfigdirs
="$noconfigdirs ${libgcj}"
3601 noconfigdirs
="$noconfigdirs ${libgcj}"
3603 m68
*-*-* | fido-
*-*)
3607 # The EPOC C++ environment does not support exceptions or rtti,
3608 # and so building libstdc++-v3 tends not to always work.
3609 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3612 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
3613 unsupported_languages
="$unsupported_languages fortran java"
3616 noconfigdirs
="$noconfigdirs ${libgcj}"
3619 noconfigdirs
="$noconfigdirs ${libgcj}"
3622 noconfigdirs
="$noconfigdirs sim"
3625 # copied from rs6000-*-* entry
3626 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3628 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
3629 target_configdirs
="$target_configdirs target-winsup"
3630 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
3631 # always build newlib.
3632 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3634 # This is temporary until we can link against shared libraries
3635 powerpcle-
*-solaris*)
3636 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
3640 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3643 noconfigdirs
="$noconfigdirs ${libgcj}"
3646 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
3650 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
3653 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3656 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3659 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
3662 noconfigdirs
="$noconfigdirs gprof target-libssp ${libgcj}"
3665 skipdirs
="$skipdirs target-libiberty"
3666 noconfigdirs
="$noconfigdirs ${libgcj}"
3667 if test x
$with_newlib = xyes
; then
3668 noconfigdirs
="$noconfigdirs gprof"
3673 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3676 # Linking libjava exceeds command-line length limits on at least
3677 # IRIX 6.2, but not on IRIX 6.5.
3678 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3679 # <oldham@codesourcery.com>
3680 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3683 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3686 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3689 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3693 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
3697 i
[3456789]86-*-vsta) ;; # don't add gprof back in
3698 i
[3456789]86-*-go32*) ;; # don't add gprof back in
3699 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
3700 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
3704 noconfigdirs
="$noconfigdirs ${libgcj}" ;;
3706 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}" ;;
3709 sparclet-
*-aout* | sparc86x-
*-*)
3713 noconfigdirs
="$noconfigdirs ${libgcj}"
3716 noconfigdirs
="$noconfigdirs ${libgcj}"
3720 noconfigdirs
="$noconfigdirs ${libgcj}"
3724 noconfigdirs
="$noconfigdirs ${libgcj}"
3725 if test x
${is_cross_compiler} != xno
; then
3726 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3731 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
3732 noconfigdirs
="$noconfigdirs ${libgcj}"
3734 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
3737 noconfigdirs
="$noconfigdirs gdb sim ${libgcj}"
3740 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
3743 noconfigdirs
="$noconfigdirs ${libgcj}"
3746 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
3749 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3752 noconfigdirs
="$noconfigdirs ${libgcj}"
3755 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3757 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3758 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3761 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3764 noconfigdirs
="$noconfigdirs ${libgcj}"
3768 # If we aren't building newlib, then don't build libgloss, since libgloss
3769 # depends upon some newlib header files.
3770 case "${noconfigdirs}" in
3771 *target-libgloss
*) ;;
3772 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3775 # Work in distributions that contain no compiler tools, like Autoconf.
3777 host_makefile_frag
=/dev
/null
3778 if test -d ${srcdir}/config
; then
3781 # Avoid "too much defining" errors from HPUX compiler.
3782 tentative_cc
="cc -Wp,-H256000"
3783 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
3784 # If it's HP/UX ar, this should be harmless.
3788 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
3791 #None of the Apollo compilers can compile gas or binutils. The preprocessor
3792 # chokes on bfd, the compiler won't let you assign integers to enums, and
3793 # other problems. Defining CC to gcc is a questionable way to say "don't use
3794 # the apollo compiler" (the preferred version of GCC could be called cc,
3795 # or whatever), but I'm not sure leaving CC as cc is any better...
3796 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
3797 # Used to have BISON=yacc.
3801 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3804 # Under CX/UX, we want to tell the compiler to use ANSI mode.
3805 tentative_cc
="cc -Xa"
3806 host_makefile_frag
="config/mh-cxux"
3808 m88k-motorola-sysv
*)
3811 tentative_cc
="cc -Wf,-XNg1000"
3812 host_makefile_frag
="config/mh-decstation"
3815 # The C compiler on NEC MIPS SVR4 needs bigger tables.
3816 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
3817 host_makefile_frag
="config/mh-necv4"
3820 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
3821 # environment. Also bump switch table size so that cp-parse will
3822 # compile. Bump string length limit so linker builds.
3823 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
3826 host_makefile_frag
="config/mh-sysv4"
3829 # This is for a MIPS running RISC/os 4.52C.
3831 # This is needed for GDB, but needs to be in the top-level make because
3832 # if a library is compiled with the bsd headers and gets linked with the
3833 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
3834 # a different size).
3835 # ptrace(2) apparently has problems in the BSD environment. No workaround is
3836 # known except to select the sysv environment. Could we use /proc instead?
3837 # These "sysv environments" and "bsd environments" often end up being a pain.
3839 # This is not part of CFLAGS because perhaps not all C compilers have this
3841 tentative_cc
="cc -systype sysv"
3846 i
[3456789]86-*-sysv5*)
3847 host_makefile_frag
="config/mh-sysv5"
3849 i
[3456789]86-*-dgux*)
3850 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3851 host_makefile_frag
="config/mh-dgux386"
3853 i
[3456789]86-ncr-sysv4.3
*)
3854 # The MetaWare compiler will generate a copyright message unless you
3855 # turn it off by adding the -Hnocopyr flag.
3856 tentative_cc
="cc -Hnocopyr"
3858 i
[3456789]86-ncr-sysv4*)
3859 # for an NCR 3000 (i486/SVR4) system.
3860 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
3861 # This compiler not only emits obnoxious copyright messages every time
3862 # you run it, but it chokes and dies on a whole bunch of GNU source
3863 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
3864 tentative_cc
="/usr/ccs/ATT/cc"
3865 host_makefile_frag
="config/mh-ncr3000"
3867 i
[3456789]86-*-sco3.2v5
*)
3869 i
[3456789]86-*-sco*)
3870 # The native C compiler botches some simple uses of const. Unfortunately,
3871 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
3872 tentative_cc
="cc -Dconst="
3873 host_makefile_frag
="config/mh-sco"
3875 i
[3456789]86-*-udk*)
3876 host_makefile_frag
="config/mh-sysv5"
3878 i
[3456789]86-*-solaris2*)
3879 host_makefile_frag
="config/mh-sysv4"
3881 i
[3456789]86-*-msdosdjgpp*)
3882 host_makefile_frag
="config/mh-djgpp"
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3887 $as_echo_n "checking to see if cat works as expected... " >&6; }
3888 echo a
>cygwin-cat-check
3889 if test `cat cygwin-cat-check` = a
; then
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3892 $as_echo "yes" >&6; }
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3896 $as_echo "no" >&6; }
3897 as_fn_error
"The cat command does not ignore carriage return characters.
3898 Please either mount the build directory in binary mode or run the following
3899 commands before running any configure script:
3905 host_makefile_frag
="config/mh-cygwin"
3908 host_makefile_frag
="config/mh-mingw"
3911 host_makefile_frag
="config/mh-interix"
3914 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
3918 host_makefile_frag
="config/mh-solaris"
3921 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
3922 # without overflowing the jump tables (-J says to use a 32 bit table)
3923 tentative_cc
="cc -J"
3926 tentative_cc
="cc -Wp,-H256000"
3927 host_makefile_frag
="config/mh-pa-hpux10"
3929 hppa
*-hp-hpux* | hppa
*-*-hiux*)
3930 tentative_cc
="cc -Wp,-H256000"
3931 host_makefile_frag
="config/mh-pa"
3934 host_makefile_frag
="config/mh-pa"
3936 *-hp-hpux* |
*-*-hiux*)
3937 tentative_cc
="cc -Wp,-H256000"
3940 # /bin/cc is less than useful for our purposes. Always use GCC
3941 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
3942 host_makefile_frag
="config/mh-lynxrs6k"
3945 host_makefile_frag
="config/mh-ppc-darwin"
3948 host_makefile_frag
="config/mh-ppc-aix"
3951 host_makefile_frag
="config/mh-ppc-aix"
3954 # /bin/cc is less than useful for our purposes. Always use GCC
3955 tentative_cc
="/bin/gcc"
3958 host_makefile_frag
="config/mh-sysv4"
3960 # This is placed last to prevent interfering with the cases above.
3962 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
3963 host_makefile_frag
="config/mh-x86omitfp"
3968 # If we aren't going to be using gcc, see if we can extract a definition
3969 # of CC from the fragment.
3970 # Actually, use the 'pre-extracted' version above.
3971 if test -z "${CC}" && test "${build}" = "${host}" ; then
3972 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
3974 for dir
in $PATH; do
3975 test -z "$dir" && dir
=.
3976 if test -f $dir/gcc
; then
3982 if test -z "${found}" && test -n "${tentative_cc}" ; then
3987 if test "${build}" != "${host}" ; then
3988 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3989 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3990 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3991 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3992 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3993 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3994 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3995 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3996 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3997 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3998 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3999 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4001 AR_FOR_BUILD
="\$(AR)"
4002 AS_FOR_BUILD
="\$(AS)"
4003 CC_FOR_BUILD
="\$(CC)"
4004 CXX_FOR_BUILD
="\$(CXX)"
4005 GCJ_FOR_BUILD
="\$(GCJ)"
4006 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4007 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4008 LD_FOR_BUILD
="\$(LD)"
4009 NM_FOR_BUILD
="\$(NM)"
4010 RANLIB_FOR_BUILD
="\$(RANLIB)"
4011 WINDRES_FOR_BUILD
="\$(WINDRES)"
4012 WINDMC_FOR_BUILD
="\$(WINDMC)"
4016 ac_cpp
='$CPP $CPPFLAGS'
4017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4020 if test -n "$ac_tool_prefix"; then
4021 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4022 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024 $as_echo_n "checking for $ac_word... " >&6; }
4025 if test "${ac_cv_prog_CC+set}" = set; then :
4026 $as_echo_n "(cached) " >&6
4028 if test -n "$CC"; then
4029 ac_cv_prog_CC
="$CC" # Let the user override the test.
4031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4035 test -z "$as_dir" && as_dir
=.
4036 for ac_exec_ext
in '' $ac_executable_extensions; do
4037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4038 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049 if test -n "$CC"; then
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4051 $as_echo "$CC" >&6; }
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4059 if test -z "$ac_cv_prog_CC"; then
4061 # Extract the first word of "gcc", so it can be a program name with args.
4062 set dummy gcc
; ac_word
=$2
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4064 $as_echo_n "checking for $ac_word... " >&6; }
4065 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4066 $as_echo_n "(cached) " >&6
4068 if test -n "$ac_ct_CC"; then
4069 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4075 test -z "$as_dir" && as_dir
=.
4076 for ac_exec_ext
in '' $ac_executable_extensions; do
4077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4078 ac_cv_prog_ac_ct_CC
="gcc"
4079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4088 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4089 if test -n "$ac_ct_CC"; then
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4091 $as_echo "$ac_ct_CC" >&6; }
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4094 $as_echo "no" >&6; }
4097 if test "x$ac_ct_CC" = x
; then
4100 case $cross_compiling:$ac_tool_warned in
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4104 ac_tool_warned
=yes ;;
4112 if test -z "$CC"; then
4113 if test -n "$ac_tool_prefix"; then
4114 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4115 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4117 $as_echo_n "checking for $ac_word... " >&6; }
4118 if test "${ac_cv_prog_CC+set}" = set; then :
4119 $as_echo_n "(cached) " >&6
4121 if test -n "$CC"; then
4122 ac_cv_prog_CC
="$CC" # Let the user override the test.
4124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4128 test -z "$as_dir" && as_dir
=.
4129 for ac_exec_ext
in '' $ac_executable_extensions; do
4130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4131 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4142 if test -n "$CC"; then
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4144 $as_echo "$CC" >&6; }
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4147 $as_echo "no" >&6; }
4153 if test -z "$CC"; then
4154 # Extract the first word of "cc", so it can be a program name with args.
4155 set dummy cc
; ac_word
=$2
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4157 $as_echo_n "checking for $ac_word... " >&6; }
4158 if test "${ac_cv_prog_CC+set}" = set; then :
4159 $as_echo_n "(cached) " >&6
4161 if test -n "$CC"; then
4162 ac_cv_prog_CC
="$CC" # Let the user override the test.
4165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4169 test -z "$as_dir" && as_dir
=.
4170 for ac_exec_ext
in '' $ac_executable_extensions; do
4171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4172 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4173 ac_prog_rejected
=yes
4177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4184 if test $ac_prog_rejected = yes; then
4185 # We found a bogon in the path, so make sure we never use it.
4186 set dummy
$ac_cv_prog_CC
4188 if test $# != 0; then
4189 # We chose a different compiler from the bogus one.
4190 # However, it has the same basename, so the bogon will be chosen
4191 # first if we set CC to just the basename; use the full file name.
4193 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4199 if test -n "$CC"; then
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4201 $as_echo "$CC" >&6; }
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4204 $as_echo "no" >&6; }
4209 if test -z "$CC"; then
4210 if test -n "$ac_tool_prefix"; then
4211 for ac_prog
in cl.exe
4213 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4214 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4216 $as_echo_n "checking for $ac_word... " >&6; }
4217 if test "${ac_cv_prog_CC+set}" = set; then :
4218 $as_echo_n "(cached) " >&6
4220 if test -n "$CC"; then
4221 ac_cv_prog_CC
="$CC" # Let the user override the test.
4223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4227 test -z "$as_dir" && as_dir
=.
4228 for ac_exec_ext
in '' $ac_executable_extensions; do
4229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4230 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4241 if test -n "$CC"; then
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4243 $as_echo "$CC" >&6; }
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4246 $as_echo "no" >&6; }
4250 test -n "$CC" && break
4253 if test -z "$CC"; then
4255 for ac_prog
in cl.exe
4257 # Extract the first word of "$ac_prog", so it can be a program name with args.
4258 set dummy
$ac_prog; ac_word
=$2
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4260 $as_echo_n "checking for $ac_word... " >&6; }
4261 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4262 $as_echo_n "(cached) " >&6
4264 if test -n "$ac_ct_CC"; then
4265 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4271 test -z "$as_dir" && as_dir
=.
4272 for ac_exec_ext
in '' $ac_executable_extensions; do
4273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4274 ac_cv_prog_ac_ct_CC
="$ac_prog"
4275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4284 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4285 if test -n "$ac_ct_CC"; then
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4287 $as_echo "$ac_ct_CC" >&6; }
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4290 $as_echo "no" >&6; }
4294 test -n "$ac_ct_CC" && break
4297 if test "x$ac_ct_CC" = x
; then
4300 case $cross_compiling:$ac_tool_warned in
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4304 ac_tool_warned
=yes ;;
4313 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4315 as_fn_error
"no acceptable C compiler found in \$PATH
4316 See \`config.log' for more details." "$LINENO" 5; }
4318 # Provide some information about the compiler.
4319 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4322 for ac_option
in --version -v -V -qversion; do
4323 { { ac_try
="$ac_compiler $ac_option >&5"
4325 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4326 *) ac_try_echo=$ac_try;;
4328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4329 $as_echo "$ac_try_echo"; } >&5
4330 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4332 if test -s conftest.err; then
4334 ... rest of stderr output deleted ...
4335 10q' conftest.err >conftest.er1
4336 cat conftest.er1 >&5
4337 rm -f conftest.er1 conftest.err
4339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4340 test $ac_status = 0; }
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4354 ac_clean_files_save=$ac_clean_files
4355 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4356 # Try to create an executable without -o first, disregard a.out.
4357 # It will help us diagnose broken compilers, and finding out an intuition
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4360 $as_echo_n "checking for C compiler default output file name... " >&6; }
4361 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4363 # The possible output files:
4364 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4367 for ac_file in $ac_files
4370 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4371 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4376 if { { ac_try="$ac_link_default"
4378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4379 *) ac_try_echo
=$ac_try;;
4381 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4382 $as_echo "$ac_try_echo"; } >&5
4383 (eval "$ac_link_default") 2>&5
4385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4386 test $ac_status = 0; }; then :
4387 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4388 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4389 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4390 # so that the user can short-circuit this test for compilers unknown to
4392 for ac_file
in $ac_files ''
4394 test -f "$ac_file" ||
continue
4396 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4399 # We found the default executable, but exeext='' is most
4403 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4405 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4407 # We set ac_cv_exeext here because the later test for it is not
4408 # safe: cross compilers may not add the suffix if given an `-o'
4409 # argument, so we may need to know it at that point already.
4410 # Even if this section looks crufty: it has the advantage of
4417 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4423 $as_echo "$ac_file" >&6; }
4424 if test -z "$ac_file"; then :
4425 $as_echo "$as_me: failed program was:" >&5
4426 sed 's/^/| /' conftest.
$ac_ext >&5
4428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4430 { as_fn_set_status
77
4431 as_fn_error
"C compiler cannot create executables
4432 See \`config.log' for more details." "$LINENO" 5; }; }
4434 ac_exeext
=$ac_cv_exeext
4436 # Check that the compiler produces executables we can run. If not, either
4437 # the compiler is broken, or we cross compile.
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4439 $as_echo_n "checking whether the C compiler works... " >&6; }
4440 # If not cross compiling, check that we can run a simple program.
4441 if test "$cross_compiling" != yes; then
4442 if { ac_try
='./$ac_file'
4443 { { case "(($ac_try" in
4444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4445 *) ac_try_echo=$ac_try;;
4447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4448 $as_echo "$ac_try_echo"; } >&5
4449 (eval "$ac_try") 2>&5
4451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4452 test $ac_status = 0; }; }; then
4455 if test "$cross_compiling" = maybe; then
4458 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4460 as_fn_error "cannot run C compiled programs.
4461 If you meant to cross compile
, use \
`--host'.
4462 See \`config.log
' for more details." "$LINENO" 5; }
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4467 $as_echo "yes" >&6; }
4469 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4470 ac_clean_files=$ac_clean_files_save
4471 # Check that the compiler produces executables we can run. If not, either
4472 # the compiler is broken, or we cross compile.
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4474 $as_echo_n "checking whether we are cross compiling... " >&6; }
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4476 $as_echo "$cross_compiling" >&6; }
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4479 $as_echo_n "checking for suffix of executables... " >&6; }
4480 if { { ac_try="$ac_link"
4482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4483 *) ac_try_echo=$ac_try;;
4485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4486 $as_echo "$ac_try_echo"; } >&5
4487 (eval "$ac_link") 2>&5
4489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4490 test $ac_status = 0; }; then :
4491 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4492 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4493 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4495 for ac_file
in conftest.exe conftest conftest.
*; do
4496 test -f "$ac_file" ||
continue
4498 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4499 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4505 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4507 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4508 See \`config.log' for more details." "$LINENO" 5; }
4510 rm -f conftest
$ac_cv_exeext
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4512 $as_echo "$ac_cv_exeext" >&6; }
4514 rm -f conftest.
$ac_ext
4515 EXEEXT
=$ac_cv_exeext
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4518 $as_echo_n "checking for suffix of object files... " >&6; }
4519 if test "${ac_cv_objext+set}" = set; then :
4520 $as_echo_n "(cached) " >&6
4522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4533 rm -f conftest.o conftest.obj
4534 if { { ac_try
="$ac_compile"
4536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4537 *) ac_try_echo=$ac_try;;
4539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4540 $as_echo "$ac_try_echo"; } >&5
4541 (eval "$ac_compile") 2>&5
4543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4544 test $ac_status = 0; }; then :
4545 for ac_file in conftest.o conftest.obj conftest.*; do
4546 test -f "$ac_file" || continue;
4548 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4549 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4554 $as_echo "$as_me: failed program was:" >&5
4555 sed 's/^/| /' conftest.$ac_ext >&5
4557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4559 as_fn_error "cannot compute suffix of object files
: cannot compile
4560 See \
`config.log' for more details." "$LINENO" 5; }
4562 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4565 $as_echo "$ac_cv_objext" >&6; }
4566 OBJEXT=$ac_cv_objext
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4569 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4570 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4571 $as_echo_n "(cached) " >&6
4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4587 if ac_fn_c_try_compile "$LINENO"; then :
4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4593 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4597 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4598 if test $ac_compiler_gnu = yes; then
4603 ac_test_CFLAGS=${CFLAGS+set}
4604 ac_save_CFLAGS=$CFLAGS
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4606 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4607 if test "${ac_cv_prog_cc_g+set}" = set; then :
4608 $as_echo_n "(cached) " >&6
4610 ac_save_c_werror_flag=$ac_c_werror_flag
4611 ac_c_werror_flag=yes
4614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h. */
4625 if ac_fn_c_try_compile "$LINENO"; then :
4629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4630 /* end confdefs.h. */
4640 if ac_fn_c_try_compile "$LINENO"; then :
4643 ac_c_werror_flag=$ac_save_c_werror_flag
4645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4646 /* end confdefs.h. */
4656 if ac_fn_c_try_compile "$LINENO"; then :
4659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4664 ac_c_werror_flag=$ac_save_c_werror_flag
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4667 $as_echo "$ac_cv_prog_cc_g" >&6; }
4668 if test "$ac_test_CFLAGS" = set; then
4669 CFLAGS=$ac_save_CFLAGS
4670 elif test $ac_cv_prog_cc_g = yes; then
4671 if test "$GCC" = yes; then
4677 if test "$GCC" = yes; then
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4684 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4685 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4686 $as_echo_n "(cached) " >&6
4688 ac_cv_prog_cc_c89=no
4690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4691 /* end confdefs.h. */
4694 #include <sys/types.h>
4695 #include <sys/stat.h>
4696 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4697 struct buf { int x; };
4698 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4699 static char *e (p, i)
4705 static char *f (char * (*g) (char **, int), char **p, ...)
4710 s = g (p, va_arg (v,int));
4715 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4716 function prototypes and stuff, but not '\xHH' hex character constants.
4717 These don't provoke an error unfortunately, instead are silently treated
4718 as 'x'. The following induces an error, until -std is added to get
4719 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4720 array size at least. It's necessary to write '\x00'==0 to get something
4721 that's true only with -std. */
4722 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4724 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4725 inside strings and character constants. */
4727 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4729 int test (int i, double x);
4730 struct s1 {int (*f) (int a);};
4731 struct s2 {int (*f) (double a);};
4732 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4738 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4743 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4744 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4746 CC="$ac_save_CC $ac_arg"
4747 if ac_fn_c_try_compile "$LINENO"; then :
4748 ac_cv_prog_cc_c89=$ac_arg
4750 rm -f core conftest.err conftest.$ac_objext
4751 test "x$ac_cv_prog_cc_c89" != "xno" && break
4753 rm -f conftest.$ac_ext
4758 case "x$ac_cv_prog_cc_c89" in
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4761 $as_echo "none needed" >&6; } ;;
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4764 $as_echo "unsupported" >&6; } ;;
4766 CC="$CC $ac_cv_prog_cc_c89"
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4768 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4770 if test "x$ac_cv_prog_cc_c89" != xno; then :
4775 ac_cpp='$CPP $CPPFLAGS'
4776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4781 ac_cpp='$CXXCPP $CPPFLAGS'
4782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4785 if test -z "$CXX"; then
4786 if test -n "$CCC"; then
4789 if test -n "$ac_tool_prefix"; then
4790 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4792 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4793 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4795 $as_echo_n "checking for $ac_word... " >&6; }
4796 if test "${ac_cv_prog_CXX+set}" = set; then :
4797 $as_echo_n "(cached) " >&6
4799 if test -n "$CXX"; then
4800 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4806 test -z "$as_dir" && as_dir=.
4807 for ac_exec_ext in '' $ac_executable_extensions; do
4808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4809 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4820 if test -n "$CXX"; then
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4822 $as_echo "$CXX" >&6; }
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4825 $as_echo "no" >&6; }
4829 test -n "$CXX" && break
4832 if test -z "$CXX"; then
4834 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4836 # Extract the first word of "$ac_prog", so it can be a program name with args.
4837 set dummy $ac_prog; ac_word=$2
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4839 $as_echo_n "checking for $ac_word... " >&6; }
4840 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4841 $as_echo_n "(cached) " >&6
4843 if test -n "$ac_ct_CXX"; then
4844 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4850 test -z "$as_dir" && as_dir=.
4851 for ac_exec_ext in '' $ac_executable_extensions; do
4852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4853 ac_cv_prog_ac_ct_CXX="$ac_prog"
4854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4863 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4864 if test -n "$ac_ct_CXX"; then
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4866 $as_echo "$ac_ct_CXX" >&6; }
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4869 $as_echo "no" >&6; }
4873 test -n "$ac_ct_CXX" && break
4876 if test "x$ac_ct_CXX" = x; then
4879 case $cross_compiling:$ac_tool_warned in
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4883 ac_tool_warned=yes ;;
4891 # Provide some information about the compiler.
4892 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4895 for ac_option in --version -v -V -qversion; do
4896 { { ac_try="$ac_compiler $ac_option >&5"
4898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4899 *) ac_try_echo
=$ac_try;;
4901 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4902 $as_echo "$ac_try_echo"; } >&5
4903 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4905 if test -s conftest.err
; then
4907 ... rest of stderr output deleted ...
4908 10q' conftest.err
>conftest.er1
4909 cat conftest.er1
>&5
4910 rm -f conftest.er1 conftest.err
4912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4913 test $ac_status = 0; }
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4917 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4918 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4919 $as_echo_n "(cached) " >&6
4921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4922 /* end confdefs.h. */
4935 if ac_fn_cxx_try_compile
"$LINENO"; then :
4940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4941 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4945 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4946 if test $ac_compiler_gnu = yes; then
4951 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4952 ac_save_CXXFLAGS
=$CXXFLAGS
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4954 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4955 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4956 $as_echo_n "(cached) " >&6
4958 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4959 ac_cxx_werror_flag
=yes
4962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4963 /* end confdefs.h. */
4973 if ac_fn_cxx_try_compile
"$LINENO"; then :
4974 ac_cv_prog_cxx_g
=yes
4977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4978 /* end confdefs.h. */
4988 if ac_fn_cxx_try_compile
"$LINENO"; then :
4991 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
5004 if ac_fn_cxx_try_compile
"$LINENO"; then :
5005 ac_cv_prog_cxx_g
=yes
5007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5012 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5015 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5016 if test "$ac_test_CXXFLAGS" = set; then
5017 CXXFLAGS
=$ac_save_CXXFLAGS
5018 elif test $ac_cv_prog_cxx_g = yes; then
5019 if test "$GXX" = yes; then
5025 if test "$GXX" = yes; then
5032 ac_cpp
='$CPP $CPPFLAGS'
5033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5038 # We must set the default linker to the linker used by gcc for the correct
5039 # operation of libtool. If LD is not defined and we are using gcc, try to
5040 # set the LD default to the ld used by gcc.
5041 if test -z "$LD"; then
5042 if test "$GCC" = yes; then
5045 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5047 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5049 case $gcc_prog_ld in
5050 # Accept absolute paths.
5051 [\\/]* |
[A-Za-z
]:[\\/]*)
5052 LD
="$gcc_prog_ld" ;;
5060 if test -n "$ac_tool_prefix"; then
5061 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5062 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064 $as_echo_n "checking for $ac_word... " >&6; }
5065 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5066 $as_echo_n "(cached) " >&6
5068 if test -n "$GNATBIND"; then
5069 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5075 test -z "$as_dir" && as_dir
=.
5076 for ac_exec_ext
in '' $ac_executable_extensions; do
5077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5078 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 GNATBIND
=$ac_cv_prog_GNATBIND
5089 if test -n "$GNATBIND"; then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5091 $as_echo "$GNATBIND" >&6; }
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5099 if test -z "$ac_cv_prog_GNATBIND"; then
5100 ac_ct_GNATBIND
=$GNATBIND
5101 # Extract the first word of "gnatbind", so it can be a program name with args.
5102 set dummy gnatbind
; ac_word
=$2
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5104 $as_echo_n "checking for $ac_word... " >&6; }
5105 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5106 $as_echo_n "(cached) " >&6
5108 if test -n "$ac_ct_GNATBIND"; then
5109 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5115 test -z "$as_dir" && as_dir
=.
5116 for ac_exec_ext
in '' $ac_executable_extensions; do
5117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5118 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5128 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5129 if test -n "$ac_ct_GNATBIND"; then
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5131 $as_echo "$ac_ct_GNATBIND" >&6; }
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5134 $as_echo "no" >&6; }
5137 if test "x$ac_ct_GNATBIND" = x
; then
5140 case $cross_compiling:$ac_tool_warned in
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5144 ac_tool_warned
=yes ;;
5146 GNATBIND
=$ac_ct_GNATBIND
5149 GNATBIND
="$ac_cv_prog_GNATBIND"
5152 if test -n "$ac_tool_prefix"; then
5153 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5154 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156 $as_echo_n "checking for $ac_word... " >&6; }
5157 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5158 $as_echo_n "(cached) " >&6
5160 if test -n "$GNATMAKE"; then
5161 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5167 test -z "$as_dir" && as_dir
=.
5168 for ac_exec_ext
in '' $ac_executable_extensions; do
5169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5170 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180 GNATMAKE
=$ac_cv_prog_GNATMAKE
5181 if test -n "$GNATMAKE"; then
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5183 $as_echo "$GNATMAKE" >&6; }
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5186 $as_echo "no" >&6; }
5191 if test -z "$ac_cv_prog_GNATMAKE"; then
5192 ac_ct_GNATMAKE
=$GNATMAKE
5193 # Extract the first word of "gnatmake", so it can be a program name with args.
5194 set dummy gnatmake
; ac_word
=$2
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5196 $as_echo_n "checking for $ac_word... " >&6; }
5197 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5198 $as_echo_n "(cached) " >&6
5200 if test -n "$ac_ct_GNATMAKE"; then
5201 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5207 test -z "$as_dir" && as_dir
=.
5208 for ac_exec_ext
in '' $ac_executable_extensions; do
5209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5210 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5220 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5221 if test -n "$ac_ct_GNATMAKE"; then
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5223 $as_echo "$ac_ct_GNATMAKE" >&6; }
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226 $as_echo "no" >&6; }
5229 if test "x$ac_ct_GNATMAKE" = x
; then
5232 case $cross_compiling:$ac_tool_warned in
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5236 ac_tool_warned
=yes ;;
5238 GNATMAKE
=$ac_ct_GNATMAKE
5241 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5245 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5246 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5247 $as_echo_n "(cached) " >&6
5249 cat >conftest.adb
<<EOF
5250 procedure conftest is begin null; end conftest;
5252 acx_cv_cc_gcc_supports_ada
=no
5253 # There is a bug in old released versions of GCC which causes the
5254 # driver to exit successfully when the appropriate language module
5255 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5256 # Therefore we must check for the error message as well as an
5257 # unsuccessful exit.
5258 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5259 # given a .adb file, but produce no object file. So we must check
5260 # if an object file was really produced to guard against this.
5261 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5262 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5263 acx_cv_cc_gcc_supports_ada
=yes
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5268 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5270 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5277 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5278 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5279 $as_echo_n "(cached) " >&6
5283 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5284 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5285 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5288 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5291 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5292 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5295 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5302 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5303 do_compare
="$gcc_cv_prog_cmp_skip"
5307 # See if we are building gcc with C++.
5308 # Check whether --enable-build-with-cxx was given.
5309 if test "${enable_build_with_cxx+set}" = set; then :
5310 enableval
=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX
=$enableval
5312 ENABLE_BUILD_WITH_CXX
=no
5316 # Used for setting $lt_cv_objdir
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5318 $as_echo_n "checking for objdir... " >&6; }
5319 if test "${lt_cv_objdir+set}" = set; then :
5320 $as_echo_n "(cached) " >&6
5322 rm -f .libs
2>/dev
/null
5323 mkdir .libs
2>/dev
/null
5324 if test -d .libs
; then
5327 # MS-DOS does not allow filenames that begin with a dot.
5330 rmdir .libs
2>/dev
/null
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5333 $as_echo "$lt_cv_objdir" >&6; }
5334 objdir
=$lt_cv_objdir
5340 cat >>confdefs.h
<<_ACEOF
5341 #define LT_OBJDIR "$lt_cv_objdir/"
5346 # Check for GMP, MPFR and MPC
5347 gmplibs
="-lmpc -lmpfr -lgmp"
5351 # Specify a location for mpc
5352 # check for this first so it ends up on the link line before mpfr.
5354 # Check whether --with-mpc was given.
5355 if test "${with_mpc+set}" = set; then :
5360 # Check whether --with-mpc_include was given.
5361 if test "${with_mpc_include+set}" = set; then :
5362 withval
=$with_mpc_include;
5366 # Check whether --with-mpc_lib was given.
5367 if test "${with_mpc_lib+set}" = set; then :
5368 withval
=$with_mpc_lib;
5372 if test "x$with_mpc" != x
; then
5373 gmplibs
="-L$with_mpc/lib $gmplibs"
5374 gmpinc
="-I$with_mpc/include $gmpinc"
5376 if test "x$with_mpc_include" != x
; then
5377 gmpinc
="-I$with_mpc_include $gmpinc"
5379 if test "x$with_mpc_lib" != x
; then
5380 gmplibs
="-L$with_mpc_lib $gmplibs"
5382 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5383 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5384 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5385 # Do not test the mpc version. Assume that it is sufficient, since
5386 # it is in the source tree, and the library has not been built yet
5387 # but it would be included on the link line in the version check below
5388 # hence making the test fail.
5392 # Specify a location for mpfr
5393 # check for this first so it ends up on the link line before gmp.
5395 # Check whether --with-mpfr-dir was given.
5396 if test "${with_mpfr_dir+set}" = set; then :
5397 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5398 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5403 # Check whether --with-mpfr was given.
5404 if test "${with_mpfr+set}" = set; then :
5409 # Check whether --with-mpfr_include was given.
5410 if test "${with_mpfr_include+set}" = set; then :
5411 withval
=$with_mpfr_include;
5415 # Check whether --with-mpfr_lib was given.
5416 if test "${with_mpfr_lib+set}" = set; then :
5417 withval
=$with_mpfr_lib;
5421 if test "x$with_mpfr" != x
; then
5422 gmplibs
="-L$with_mpfr/lib $gmplibs"
5423 gmpinc
="-I$with_mpfr/include $gmpinc"
5425 if test "x$with_mpfr_include" != x
; then
5426 gmpinc
="-I$with_mpfr_include $gmpinc"
5428 if test "x$with_mpfr_lib" != x
; then
5429 gmplibs
="-L$with_mpfr_lib $gmplibs"
5431 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5432 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5433 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5434 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5435 # Do not test the mpfr version. Assume that it is sufficient, since
5436 # it is in the source tree, and the library has not been built yet
5437 # but it would be included on the link line in the version check below
5438 # hence making the test fail.
5442 # Specify a location for gmp
5444 # Check whether --with-gmp-dir was given.
5445 if test "${with_gmp_dir+set}" = set; then :
5446 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5447 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5452 # Check whether --with-gmp was given.
5453 if test "${with_gmp+set}" = set; then :
5458 # Check whether --with-gmp_include was given.
5459 if test "${with_gmp_include+set}" = set; then :
5460 withval
=$with_gmp_include;
5464 # Check whether --with-gmp_lib was given.
5465 if test "${with_gmp_lib+set}" = set; then :
5466 withval
=$with_gmp_lib;
5471 if test "x$with_gmp" != x
; then
5472 gmplibs
="-L$with_gmp/lib $gmplibs"
5473 gmpinc
="-I$with_gmp/include $gmpinc"
5475 if test "x$with_gmp_include" != x
; then
5476 gmpinc
="-I$with_gmp_include $gmpinc"
5478 if test "x$with_gmp_lib" != x
; then
5479 gmplibs
="-L$with_gmp_lib $gmplibs"
5481 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5482 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5483 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5484 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5485 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5486 # Do not test the gmp version. Assume that it is sufficient, since
5487 # it is in the source tree, and the library has not been built yet
5488 # but it would be included on the link line in the version check below
5489 # hence making the test fail.
5493 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5495 saved_CFLAGS
="$CFLAGS"
5496 CFLAGS
="$CFLAGS $gmpinc"
5497 # Check for the recommended and required versions of GMP.
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5499 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5502 /* end confdefs.h. */
5508 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5509 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5510 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5518 if ac_fn_c_try_compile
"$LINENO"; then :
5519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5520 /* end confdefs.h. */
5526 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5527 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5528 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5536 if ac_fn_c_try_compile
"$LINENO"; then :
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5538 $as_echo "yes" >&6; }
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5541 $as_echo "buggy but acceptable" >&6; }
5543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }; have_gmp
=no
5548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5550 # If we have GMP, check the MPFR version.
5551 if test x
"$have_gmp" = xyes
; then
5552 # Check for the recommended and required versions of MPFR.
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5554 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5556 /* end confdefs.h. */
5563 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5571 if ac_fn_c_try_compile
"$LINENO"; then :
5572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5573 /* end confdefs.h. */
5580 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5588 if ac_fn_c_try_compile
"$LINENO"; then :
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5590 $as_echo "yes" >&6; }
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5593 $as_echo "buggy but acceptable" >&6; }
5595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }; have_gmp
=no
5600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5603 # Check for the MPC header version.
5604 if test x
"$have_gmp" = xyes
; then
5605 # Check for the recommended and required versions of MPC.
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5607 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5609 /* end confdefs.h. */
5615 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5623 if ac_fn_c_try_compile
"$LINENO"; then :
5624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5625 /* end confdefs.h. */
5631 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5639 if ac_fn_c_try_compile
"$LINENO"; then :
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5641 $as_echo "yes" >&6; }
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5644 $as_echo "buggy but acceptable" >&6; }
5646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 $as_echo "no" >&6; }; have_gmp
=no
5651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5654 # Now check the MPFR library.
5655 if test x
"$have_gmp" = xyes
; then
5657 LIBS
="$LIBS $gmplibs"
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5659 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5661 /* end confdefs.h. */
5673 mpfr_atan2 (n, n, x, GMP_RNDN);
5674 mpfr_erfc (n, x, GMP_RNDN);
5675 mpfr_subnormalize (x, t, GMP_RNDN);
5679 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5680 mpc_cosh (c, c, MPC_RNDNN);
5681 mpc_pow (c, c, c, MPC_RNDNN);
5682 mpc_acosh (c, c, MPC_RNDNN);
5689 if ac_fn_c_try_link
"$LINENO"; then :
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5691 $as_echo "yes" >&6; }
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 $as_echo "no" >&6; }; have_gmp
=no
5696 rm -f core conftest.err conftest.
$ac_objext \
5697 conftest
$ac_exeext conftest.
$ac_ext
5701 CFLAGS
="$saved_CFLAGS"
5703 # The library versions listed in the error message below should match
5704 # the HARD-minimums enforced above.
5705 if test x
$have_gmp != xyes
; then
5706 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
5707 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5708 their locations. Source code for these libraries can be found at
5709 their respective hosting sites as well as at
5710 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5711 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5712 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5713 make sure that you have installed both the libraries and the header
5714 files. They may be located in separate packages." "$LINENO" 5
5718 # Flags needed for both GMP, MPFR and/or MPC.
5725 # Allow host libstdc++ to be specified for static linking with PPL.
5727 # Check whether --with-host-libstdcxx was given.
5728 if test "${with_host_libstdcxx+set}" = set; then :
5729 withval
=$with_host_libstdcxx;
5733 case $with_host_libstdcxx in
5735 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5739 # Linker flags to use for stage1 or when not boostrapping.
5741 # Check whether --with-stage1-ldflags was given.
5742 if test "${with_stage1_ldflags+set}" = set; then :
5743 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5746 stage1_ldflags
=$withval
5754 # Libraries to use for stage1 or when not bootstrapping.
5756 # Check whether --with-stage1-libs was given.
5757 if test "${with_stage1_libs+set}" = set; then :
5758 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5761 stage1_libs
=$withval
5764 stage1_libs
=$with_host_libstdcxx
5769 # Libraries to use for stage2 and later builds. This defaults to the
5770 # argument passed to --with-host-libstdcxx.
5772 # Check whether --with-boot-libs was given.
5773 if test "${with_boot_libs+set}" = set; then :
5774 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5777 poststage1_libs
=$withval
5780 poststage1_libs
=$with_host_libstdcxx
5785 # Linker flags to use for stage2 and later builds.
5787 # Check whether --with-boot-ldflags was given.
5788 if test "${with_boot_ldflags+set}" = set; then :
5789 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5792 poststage1_ldflags
=$withval
5796 # With --enable-build-with-cxx, default to linking libstdc++ and
5797 # libgcc statically. But if the user explicitly specified the
5798 # libraries to use, trust that they are doing what they want.
5799 if test "$ENABLE_BUILD_WITH_CXX" = "yes" -a "$poststage1_libs" = ""; then
5800 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5807 ppllibs
=" -lppl_c -lppl -lgmpxx"
5811 # Check whether --with-ppl was given.
5812 if test "${with_ppl+set}" = set; then :
5817 # Check whether --with-ppl_include was given.
5818 if test "${with_ppl_include+set}" = set; then :
5819 withval
=$with_ppl_include;
5823 # Check whether --with-ppl_lib was given.
5824 if test "${with_ppl_lib+set}" = set; then :
5825 withval
=$with_ppl_lib;
5836 ppllibs
="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
5837 pplinc
="-I$with_ppl/include $pplinc"
5840 if test "x$with_ppl_include" != x
; then
5841 pplinc
="-I$with_ppl_include $pplinc"
5843 if test "x$with_ppl_lib" != x
; then
5844 ppllibs
="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
5846 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5847 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"' -lppl_c -lppl -lgmpxx '
5848 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5849 enable_ppl_version_check
=no
5852 # Check whether --enable-ppl-version-check was given.
5853 if test "${enable_ppl_version_check+set}" = set; then :
5854 enableval
=$enable_ppl_version_check; ENABLE_PPL_CHECK
=$enableval
5856 ENABLE_PPL_CHECK
=yes
5860 if test "x$with_ppl" != "xno" -a "${ENABLE_PPL_CHECK}" = "yes"; then
5861 saved_CFLAGS
="$CFLAGS"
5862 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 (or later revision) of PPL" >&5
5864 $as_echo_n "checking for version 0.10 (or later revision) of PPL... " >&6; }
5865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5866 /* end confdefs.h. */
5872 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 10
5880 if ac_fn_c_try_compile
"$LINENO"; then :
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5882 $as_echo "yes" >&6; }
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5885 $as_echo "no" >&6; }; ppllibs
= ; pplinc
= ; with_ppl
=no
5887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5888 CFLAGS
="$saved_CFLAGS"
5891 # Flags needed for PPL
5897 clooglibs
=" -lcloog "
5898 clooginc
=" -DCLOOG_PPL_BACKEND "
5901 # Check whether --with-cloog was given.
5902 if test "${with_cloog+set}" = set; then :
5903 withval
=$with_cloog;
5907 # Check whether --with-cloog_include was given.
5908 if test "${with_cloog_include+set}" = set; then :
5909 withval
=$with_cloog_include;
5913 # Check whether --with-cloog_lib was given.
5914 if test "${with_cloog_lib+set}" = set; then :
5915 withval
=$with_cloog_lib;
5919 if test "x$with_ppl" = "xno"; then
5931 clooglibs
="-L$with_cloog/lib -lcloog"
5932 clooginc
="-I$with_cloog/include -DCLOOG_PPL_BACKEND "
5935 if test "x$with_cloog_include" != x
; then
5936 clooginc
="-I$with_cloog_include -DCLOOG_PPL_BACKEND "
5938 if test "x$with_cloog_lib" != x
; then
5939 clooglibs
="-L$with_cloog_lib -lcloog"
5941 if test "x$with_cloog$with_cloog_include$with_cloog_lib" = x
&& test -d ${srcdir}/cloog
; then
5942 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' -lcloog '
5943 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -DCLOOG_PPL_BACKEND '
5944 enable_cloog_version_check
=no
5947 # Check whether --enable-cloog-version-check was given.
5948 if test "${enable_cloog_version_check+set}" = set; then :
5949 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5951 ENABLE_CLOOG_CHECK
=yes
5955 if test "x$with_cloog" != "xno" -a "${ENABLE_CLOOG_CHECK}" = "yes"; then
5956 saved_CFLAGS
="$CFLAGS"
5957 CFLAGS
="$CFLAGS $clooginc $gmpinc $pplinc"
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
5959 $as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
5960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5961 /* end confdefs.h. */
5962 #include "cloog/cloog.h"
5967 #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15 || CLOOG_VERSION_REVISION < 5
5975 if ac_fn_c_try_compile
"$LINENO"; then :
5976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5977 /* end confdefs.h. */
5978 #include "cloog/cloog.h"
5983 #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15 || CLOOG_VERSION_REVISION < 9
5991 if ac_fn_c_try_compile
"$LINENO"; then :
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5993 $as_echo "yes" >&6; }
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5996 $as_echo "buggy but acceptable" >&6; }
5998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6001 $as_echo "no" >&6; }; clooglibs
= ; clooginc
=
6003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6004 CFLAGS
="$saved_CFLAGS"
6007 # Flags needed for CLOOG
6011 # Check for LTO support.
6012 # Check whether --enable-lto was given.
6013 if test "${enable_lto+set}" = set; then :
6014 enableval
=$enable_lto; enable_lto
=$enableval
6016 enable_lto
=yes; default_enable_lto
=yes
6022 ac_cpp
='$CPP $CPPFLAGS'
6023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6027 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6028 # On Suns, sometimes $CPP names a directory.
6029 if test -n "$CPP" && test -d "$CPP"; then
6032 if test -z "$CPP"; then
6033 if test "${ac_cv_prog_CPP+set}" = set; then :
6034 $as_echo_n "(cached) " >&6
6036 # Double quotes because CPP needs to be expanded
6037 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6040 for ac_c_preproc_warn_flag
in '' yes
6042 # Use a header file that comes with gcc, so configuring glibc
6043 # with a fresh cross-compiler works.
6044 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6045 # <limits.h> exists even on freestanding compilers.
6046 # On the NeXT, cc -E runs the code through the compiler's parser,
6047 # not just through cpp. "Syntax error" is here to catch this case.
6048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6049 /* end confdefs.h. */
6051 # include <limits.h>
6053 # include <assert.h>
6057 if ac_fn_c_try_cpp
"$LINENO"; then :
6060 # Broken: fails on valid input.
6063 rm -f conftest.err conftest.
$ac_ext
6065 # OK, works on sane cases. Now check whether nonexistent headers
6066 # can be detected and how.
6067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6068 /* end confdefs.h. */
6069 #include <ac_nonexistent.h>
6071 if ac_fn_c_try_cpp
"$LINENO"; then :
6072 # Broken: success on invalid input.
6075 # Passes both tests.
6079 rm -f conftest.err conftest.
$ac_ext
6082 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6083 rm -f conftest.err conftest.
$ac_ext
6084 if $ac_preproc_ok; then :
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6097 $as_echo "$CPP" >&6; }
6099 for ac_c_preproc_warn_flag
in '' yes
6101 # Use a header file that comes with gcc, so configuring glibc
6102 # with a fresh cross-compiler works.
6103 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6104 # <limits.h> exists even on freestanding compilers.
6105 # On the NeXT, cc -E runs the code through the compiler's parser,
6106 # not just through cpp. "Syntax error" is here to catch this case.
6107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6108 /* end confdefs.h. */
6110 # include <limits.h>
6112 # include <assert.h>
6116 if ac_fn_c_try_cpp
"$LINENO"; then :
6119 # Broken: fails on valid input.
6122 rm -f conftest.err conftest.
$ac_ext
6124 # OK, works on sane cases. Now check whether nonexistent headers
6125 # can be detected and how.
6126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6127 /* end confdefs.h. */
6128 #include <ac_nonexistent.h>
6130 if ac_fn_c_try_cpp
"$LINENO"; then :
6131 # Broken: success on invalid input.
6134 # Passes both tests.
6138 rm -f conftest.err conftest.
$ac_ext
6141 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6142 rm -f conftest.err conftest.
$ac_ext
6143 if $ac_preproc_ok; then :
6146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6148 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
6149 See \`config.log' for more details." "$LINENO" 5; }
6153 ac_cpp
='$CPP $CPPFLAGS'
6154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6160 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6161 if test "${ac_cv_path_GREP+set}" = set; then :
6162 $as_echo_n "(cached) " >&6
6164 if test -z "$GREP"; then
6165 ac_path_GREP_found
=false
6166 # Loop through the user's path and test for each of PROGNAME-LIST
6167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6168 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6171 test -z "$as_dir" && as_dir
=.
6172 for ac_prog
in grep ggrep
; do
6173 for ac_exec_ext
in '' $ac_executable_extensions; do
6174 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6175 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
6176 # Check for GNU ac_path_GREP and select it if it is found.
6177 # Check for GNU $ac_path_GREP
6178 case `"$ac_path_GREP" --version 2>&1` in
6180 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6183 $as_echo_n 0123456789 >"conftest.in"
6186 cat "conftest.in" "conftest.in" >"conftest.tmp"
6187 mv "conftest.tmp" "conftest.in"
6188 cp "conftest.in" "conftest.nl"
6189 $as_echo 'GREP' >> "conftest.nl"
6190 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6191 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6192 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6193 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6194 # Best one so far, save it but keep looking for a better one
6195 ac_cv_path_GREP
="$ac_path_GREP"
6196 ac_path_GREP_max
=$ac_count
6198 # 10*(2^10) chars as input seems more than enough
6199 test $ac_count -gt 10 && break
6201 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6204 $ac_path_GREP_found && break 3
6209 if test -z "$ac_cv_path_GREP"; then
6210 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6213 ac_cv_path_GREP
=$GREP
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6218 $as_echo "$ac_cv_path_GREP" >&6; }
6219 GREP
="$ac_cv_path_GREP"
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6223 $as_echo_n "checking for egrep... " >&6; }
6224 if test "${ac_cv_path_EGREP+set}" = set; then :
6225 $as_echo_n "(cached) " >&6
6227 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6228 then ac_cv_path_EGREP
="$GREP -E"
6230 if test -z "$EGREP"; then
6231 ac_path_EGREP_found
=false
6232 # Loop through the user's path and test for each of PROGNAME-LIST
6233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6234 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6237 test -z "$as_dir" && as_dir
=.
6238 for ac_prog
in egrep; do
6239 for ac_exec_ext
in '' $ac_executable_extensions; do
6240 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6241 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
6242 # Check for GNU ac_path_EGREP and select it if it is found.
6243 # Check for GNU $ac_path_EGREP
6244 case `"$ac_path_EGREP" --version 2>&1` in
6246 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6249 $as_echo_n 0123456789 >"conftest.in"
6252 cat "conftest.in" "conftest.in" >"conftest.tmp"
6253 mv "conftest.tmp" "conftest.in"
6254 cp "conftest.in" "conftest.nl"
6255 $as_echo 'EGREP' >> "conftest.nl"
6256 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6257 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6258 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6259 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6260 # Best one so far, save it but keep looking for a better one
6261 ac_cv_path_EGREP
="$ac_path_EGREP"
6262 ac_path_EGREP_max
=$ac_count
6264 # 10*(2^10) chars as input seems more than enough
6265 test $ac_count -gt 10 && break
6267 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6270 $ac_path_EGREP_found && break 3
6275 if test -z "$ac_cv_path_EGREP"; then
6276 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6279 ac_cv_path_EGREP
=$EGREP
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6285 $as_echo "$ac_cv_path_EGREP" >&6; }
6286 EGREP
="$ac_cv_path_EGREP"
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6290 $as_echo_n "checking for ANSI C header files... " >&6; }
6291 if test "${ac_cv_header_stdc+set}" = set; then :
6292 $as_echo_n "(cached) " >&6
6294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6295 /* end confdefs.h. */
6309 if ac_fn_c_try_compile
"$LINENO"; then :
6310 ac_cv_header_stdc
=yes
6312 ac_cv_header_stdc
=no
6314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6316 if test $ac_cv_header_stdc = yes; then
6317 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6319 /* end confdefs.h. */
6323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6324 $EGREP "memchr" >/dev
/null
2>&1; then :
6327 ac_cv_header_stdc
=no
6333 if test $ac_cv_header_stdc = yes; then
6334 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6336 /* end confdefs.h. */
6340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6341 $EGREP "free" >/dev
/null
2>&1; then :
6344 ac_cv_header_stdc
=no
6350 if test $ac_cv_header_stdc = yes; then
6351 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6352 if test "$cross_compiling" = yes; then :
6355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6356 /* end confdefs.h. */
6359 #if ((' ' & 0x0FF) == 0x020)
6360 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6361 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6363 # define ISLOWER(c) \
6364 (('a' <= (c) && (c) <= 'i') \
6365 || ('j' <= (c) && (c) <= 'r') \
6366 || ('s' <= (c) && (c) <= 'z'))
6367 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6370 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6375 for (i = 0; i < 256; i++)
6376 if (XOR (islower (i), ISLOWER (i))
6377 || toupper (i) != TOUPPER (i))
6382 if ac_fn_c_try_run
"$LINENO"; then :
6385 ac_cv_header_stdc
=no
6387 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6388 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6394 $as_echo "$ac_cv_header_stdc" >&6; }
6395 if test $ac_cv_header_stdc = yes; then
6397 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6401 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6402 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6403 inttypes.h stdint.h unistd.h
6405 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6406 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6408 eval as_val
=\$
$as_ac_Header
6409 if test "x$as_val" = x
""yes; then :
6410 cat >>confdefs.h
<<_ACEOF
6411 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6424 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6425 *-msdosdjgpp* |
*-netware* |
*-vms* |
*-wince* |
*-*-pe* | \
6426 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6434 if test $target_elf = yes; then :
6435 if test x
"$enable_lto" = x
"yes" ; then
6436 # Make sure that libelf.h and gelf.h are available.
6438 # Check whether --with-libelf was given.
6439 if test "${with_libelf+set}" = set; then :
6440 withval
=$with_libelf;
6445 # Check whether --with-libelf_include was given.
6446 if test "${with_libelf_include+set}" = set; then :
6447 withval
=$with_libelf_include;
6452 # Check whether --with-libelf_lib was given.
6453 if test "${with_libelf_lib+set}" = set; then :
6454 withval
=$with_libelf_lib;
6458 saved_CFLAGS
="$CFLAGS"
6459 saved_CPPFLAGS
="$CPPFLAGS"
6462 case $with_libelf in
6465 libelfinc
="-I/usr/include/libelf"
6468 libelflibs
="-L$with_libelf/lib -lelf"
6469 libelfinc
="-I$with_libelf/include -I$with_libelf/include/libelf"
6470 LIBS
="$libelflibs $LIBS"
6474 if test "x$with_libelf_include" != x
; then
6475 libelfinc
="-I$with_libelf_include"
6478 if test "x$with_libelf_lib" != x
; then
6479 libelflibs
="-L$with_libelf_lib -lelf"
6480 LIBS
="$libelflibs $LIBS"
6483 if test "x$with_libelf$with_libelf_include$with_libelf_lib" = x \
6484 && test -d ${srcdir}/libelf
; then
6485 libelflibs
='-L$$r/$(HOST_SUBDIR)/libelf/lib -lelf '
6486 libelfinc
='-D__LIBELF_INTERNAL__ -I$$r/$(HOST_SUBDIR)/libelf/lib -I$$s/libelf/lib'
6487 LIBS
="$libelflibs $LIBS"
6491 CFLAGS
="$CFLAGS $libelfinc"
6492 CPPFLAGS
="$CPPFLAGS $libelfinc"
6493 LIBS
="$LIBS $libelflibs"
6495 for ac_header
in libelf.h
6497 ac_fn_c_check_header_mongrel
"$LINENO" "libelf.h" "ac_cv_header_libelf_h" "$ac_includes_default"
6498 if test "x$ac_cv_header_libelf_h" = x
""yes; then :
6499 cat >>confdefs.h
<<_ACEOF
6500 #define HAVE_LIBELF_H 1
6507 for ac_header
in gelf.h
6509 ac_fn_c_check_header_mongrel
"$LINENO" "gelf.h" "ac_cv_header_gelf_h" "$ac_includes_default"
6510 if test "x$ac_cv_header_gelf_h" = x
""yes; then :
6511 cat >>confdefs.h
<<_ACEOF
6512 #define HAVE_GELF_H 1
6520 for ac_header
in libelf
/libelf.h
6522 ac_fn_c_check_header_mongrel
"$LINENO" "libelf/libelf.h" "ac_cv_header_libelf_libelf_h" "$ac_includes_default"
6523 if test "x$ac_cv_header_libelf_libelf_h" = x
""yes; then :
6524 cat >>confdefs.h
<<_ACEOF
6525 #define HAVE_LIBELF_LIBELF_H 1
6527 have_libelf_libelf_h
=yes
6532 for ac_header
in libelf
/gelf.h
6534 ac_fn_c_check_header_mongrel
"$LINENO" "libelf/gelf.h" "ac_cv_header_libelf_gelf_h" "$ac_includes_default"
6535 if test "x$ac_cv_header_libelf_gelf_h" = x
""yes; then :
6536 cat >>confdefs.h
<<_ACEOF
6537 #define HAVE_LIBELF_GELF_H 1
6539 have_libelf_gelf_h
=yes
6545 # If we couldn't find libelf.h and the user forced it, emit an error.
6546 if test x
"$have_libelf_h" != x
"yes" \
6547 && test x
"$have_libelf_libelf_h" != x
"yes" ; then
6548 if test x
"$default_enable_lto" != x
"yes" ; then
6549 as_fn_error
"LTO support requires libelf.h or libelf/libelf.h." "$LINENO" 5
6557 # If we couldn't find gelf.h and the user forced it, emit an error.
6558 if test x
"$have_gelf_h" != x
"yes" \
6559 && test x
"$have_libelf_gelf_h" != x
"yes" ; then
6560 if test x
"$default_enable_lto" != x
"yes" ; then
6561 as_fn_error
"LTO support requires gelf.h or libelf/gelf.h." "$LINENO" 5
6569 # Check that the detected libelf has the functions we need. We cannot
6570 # rely on just detecting the headers since they do not include
6571 # versioning information. Add functions, if needed.
6572 if test x
"$enable_lto" = x
"yes" ; then
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of libelf" >&5
6574 $as_echo_n "checking for the correct version of libelf... " >&6; }
6575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6576 /* end confdefs.h. */
6585 elf_strptr (0, 0, 0);
6586 elf_getident (0, 0);
6587 elf_begin (0, 0, 0);
6595 if ac_fn_c_try_link
"$LINENO"; then :
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6597 $as_echo "yes" >&6; };
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6600 $as_echo "no" >&6; }; enable_lto
=no
; libelflibs
= ; libelfinc
=
6603 rm -f core conftest.err conftest.
$ac_objext \
6604 conftest
$ac_exeext conftest.
$ac_ext
6606 # Check for elf_getshdrstrndx or elf_getshstrndx. The latter's flavor
6607 # is determined in gcc/configure.ac.
6608 if test x
"$enable_lto" = x
"yes" ; then
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_getshdrstrndx" >&5
6610 $as_echo_n "checking for elf_getshdrstrndx... " >&6; }
6611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6612 /* end confdefs.h. */
6618 elf_getshdrstrndx (0, 0);
6624 if ac_fn_c_try_link
"$LINENO"; then :
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6626 $as_echo "yes" >&6; };
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6629 $as_echo "no" >&6; };
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_getshstrndx" >&5
6631 $as_echo_n "checking for elf_getshstrndx... " >&6; }
6632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6633 /* end confdefs.h. */
6639 elf_getshstrndx (0, 0);
6645 if ac_fn_c_try_link
"$LINENO"; then :
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6647 $as_echo "yes" >&6; };
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6650 $as_echo "no" >&6; }; enable_lto
=no
; libelflibs
= ; libelfinc
=
6653 rm -f core conftest.err conftest.
$ac_objext \
6654 conftest
$ac_exeext conftest.
$ac_ext
6657 rm -f core conftest.err conftest.
$ac_objext \
6658 conftest
$ac_exeext conftest.
$ac_ext
6661 # If we couldn't enable LTO and the user forced it, emit an error.
6662 if test x
"$enable_lto" = x
"no" \
6663 && test x
"$default_enable_lto" != x
"yes" ; then
6664 as_fn_error
"To enable LTO, GCC requires libelf v0.8.12+.
6665 Try the --with-libelf, --with-libelf-include and --with-libelf-lib options
6666 to specify its location." "$LINENO" 5
6670 CFLAGS
="$saved_CFLAGS"
6671 CPPFLAGS
="$saved_CPPFLAGS"
6676 # Flags needed for libelf.
6679 # ELF platforms build the lto-plugin when GOLD is in use.
6680 build_lto_plugin
=${ENABLE_GOLD}
6683 if test x
"$default_enable_lto" = x
"yes" ; then
6685 *-apple-darwin* |
*-cygwin* |
*-mingw*) ;;
6686 # On other non-ELF platforms, LTO must be explicitly enabled.
6690 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6691 # It would also be nice to check the binutils support, but we don't
6692 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6693 # warn during gcc/ subconfigure; unless you're bootstrapping with
6694 # -flto it won't be needed until after installation anyway.
6696 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6697 *) if test x
"$enable_lto" = x
"yes"; then
6698 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6703 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6705 *-cygwin* |
*-mingw*) build_lto_plugin
=yes ;;
6708 default_enable_lto
=no
6713 # By default, C is the only stage 1 language.
6714 stage1_languages
=,c
,
6716 # Target libraries that we bootstrap.
6717 bootstrap_target_libs
=,target-libgcc
,
6719 # Figure out what language subdirectories are present.
6720 # Look if the user specified --enable-languages="..."; if not, use
6721 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6723 # NB: embedded tabs in this IF block -- do not untabify
6724 if test -d ${srcdir}/gcc
; then
6725 if test x
"${enable_languages+set}" != xset
; then
6726 if test x
"${LANGUAGES+set}" = xset
; then
6727 enable_languages
="${LANGUAGES}"
6728 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6730 enable_languages
=all
6733 if test x
"${enable_languages}" = x ||
6734 test x
"${enable_languages}" = xyes
;
6736 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6740 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6742 # 'f95' is the old name for the 'fortran' language. We issue a warning
6743 # and make the substitution.
6744 case ,${enable_languages}, in
6746 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6747 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6751 # First scan to see if an enabled language requires some other language.
6752 # We assume that a given config-lang.in will list all the language
6753 # front ends it requires, even if some are required indirectly.
6754 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6755 case ${lang_frag} in
6757 # The odd quoting in the next line works around
6758 # an apparent bug in bash 1.12 on linux.
6759 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6761 # From the config-lang.in, get $language, $lang_requires
6765 for other
in ${lang_requires} ; do
6766 case ,${enable_languages}, in
6770 echo " \`$other' language required by \`$language'; enabling" 1>&2
6771 enable_languages
="${enable_languages},${other}"
6779 new_enable_languages
=,c
,
6781 # If LTO is enabled, add the LTO front end.
6782 extra_host_libiberty_configure_flags
=
6783 if test "$enable_lto" = "yes" ; then
6784 case ,${enable_languages}, in
6786 *) enable_languages
="${enable_languages},lto" ;;
6788 if test "${build_lto_plugin}" = "yes" ; then
6789 configdirs
="$configdirs lto-plugin"
6790 extra_host_libiberty_configure_flags
=--enable-shared
6795 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6796 potential_languages
=,c
,
6798 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6799 case ${lang_frag} in
6801 # The odd quoting in the next line works around
6802 # an apparent bug in bash 1.12 on linux.
6803 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6805 # From the config-lang.in, get $language, $target_libs,
6806 # $lang_dirs, $boot_language, and $build_by_default
6812 build_by_default
=yes
6814 if test x
${language} = x
; then
6815 echo "${lang_frag} doesn't set \$language." 1>&2
6819 if test "$language" = "c++" \
6820 && test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
6824 case ,${enable_languages}, in
6826 # Language was explicitly selected; include it.
6830 # 'all' was selected, select it if it is a default language
6831 add_this_lang
=${build_by_default}
6838 # Disable languages that need other directories if these aren't available.
6839 for i
in $subdir_requires; do
6840 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6841 case ,${enable_languages}, in
6843 # Specifically requested language; tell them.
6844 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6848 add_this_lang
=unsupported
6853 # Disable Ada if no preexisting GNAT is available.
6854 case ,${enable_languages},:${language}:${have_gnat} in
6855 *,${language},*:ada
:no
)
6856 # Specifically requested language; tell them.
6857 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6861 add_this_lang
=unsupported
6865 # Disable a language that is unsupported by the target.
6866 case " $unsupported_languages " in
6868 add_this_lang
=unsupported
6872 case $add_this_lang in
6874 # Remove language-dependent dirs.
6875 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
6878 # Remove language-dependent dirs; still show language as supported.
6879 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
6880 potential_languages
="${potential_languages}${language},"
6883 new_enable_languages
="${new_enable_languages}${language},"
6884 potential_languages
="${potential_languages}${language},"
6885 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6886 case "${boot_language}:,$enable_stage1_languages," in
6887 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6888 # Add to (comma-separated) list of stage 1 languages.
6889 case ",$stage1_languages," in
6890 *,$language,* |
,yes, |
,all
,) ;;
6891 *) stage1_languages
="${stage1_languages}${language}," ;;
6893 # We need to bootstrap any supporting libraries.
6894 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6903 # Check whether --enable-stage1-languages was given.
6904 if test "${enable_stage1_languages+set}" = set; then :
6905 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6907 # Set it to something that will have no effect in the loop below
6908 enable_stage1_languages
=c
;;
6910 enable_stage1_languages
=`echo $new_enable_languages | \
6911 sed -e "s/^,//" -e "s/,$//" ` ;;
6913 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6914 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6917 # Add "good" languages from enable_stage1_languages to stage1_languages,
6918 # while "bad" languages go in missing_languages. Leave no duplicates.
6919 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6920 case $potential_languages in
6922 case $stage1_languages in
6924 *) stage1_languages
="$stage1_languages$i," ;;
6927 case $missing_languages in
6929 *) missing_languages
="$missing_languages$i," ;;
6936 # Remove leading/trailing commas that were added for simplicity
6937 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6938 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6939 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6940 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6942 if test "x$missing_languages" != x
; then
6944 The following requested languages could not be built: ${missing_languages}
6945 Supported languages are: ${potential_languages}" "$LINENO" 5
6947 if test "x$new_enable_languages" != "x$enable_languages"; then
6948 echo The following languages will be built
: ${new_enable_languages}
6949 enable_languages
="$new_enable_languages"
6953 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6956 # Handle --disable-<component> generically.
6957 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6958 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6959 varname
=`echo $dirname | sed -e s/+/_/g`
6960 if eval test x\
${enable_${varname}} "=" xno
; then
6961 noconfigdirs
="$noconfigdirs $dir"
6965 # Check for Boehm's garbage collector
6966 # Check whether --enable-objc-gc was given.
6967 if test "${enable_objc_gc+set}" = set; then :
6968 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6969 *,objc
,*:*:yes:*target-boehm-gc
*)
6970 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6976 # Make sure we only build Boehm's garbage collector if required.
6977 case ,${enable_languages},:${enable_objc_gc} in
6979 # Keep target-boehm-gc if requested for Objective-C.
6982 # Otherwise remove target-boehm-gc depending on target-libjava.
6983 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6984 noconfigdirs
="$noconfigdirs target-boehm-gc"
6989 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6990 # $build_configdirs and $target_configdirs.
6991 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6994 for dir
in .
$skipdirs $noconfigdirs ; do
6995 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6996 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6997 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6998 if test -r $srcdir/$dirname/configure
; then
6999 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
7002 notsupp
="$notsupp $dir"
7006 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
7007 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
7008 if test -r $srcdir/$dirname/configure
; then
7009 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
7012 notsupp
="$notsupp $dir"
7016 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
7017 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
7018 if test -r $srcdir/$dirname/configure
; then
7019 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
7022 notsupp
="$notsupp $dir"
7028 # Sometimes the tools are distributed with libiberty but with no other
7029 # libraries. In that case, we don't want to build target-libiberty.
7030 # Don't let libgcc imply libiberty either.
7031 if test -n "${target_configdirs}" ; then
7034 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
7035 if test "$i" = "libgcc"; then
7036 libgcc
=target-libgcc
7037 elif test "$i" != "libiberty" ; then
7038 if test -r $srcdir/$i/configure
; then
7044 if test -z "${others}" ; then
7045 target_configdirs
=$libgcc
7049 # Quietly strip out all directories which aren't configurable in this tree.
7050 # This relies on all configurable subdirectories being autoconfiscated, which
7052 build_configdirs_all
="$build_configdirs"
7054 for i
in ${build_configdirs_all} ; do
7055 j
=`echo $i | sed -e s/build-//g`
7056 if test -f ${srcdir}/$j/configure
; then
7057 build_configdirs
="${build_configdirs} $i"
7061 configdirs_all
="$configdirs"
7063 for i
in ${configdirs_all} ; do
7064 if test -f ${srcdir}/$i/configure
; then
7065 configdirs
="${configdirs} $i"
7069 target_configdirs_all
="$target_configdirs"
7071 for i
in ${target_configdirs_all} ; do
7072 j
=`echo $i | sed -e s/target-//g`
7073 if test -f ${srcdir}/$j/configure
; then
7074 target_configdirs
="${target_configdirs} $i"
7078 # Produce a warning message for the subdirs we can't configure.
7079 # This isn't especially interesting in the Cygnus tree, but in the individual
7080 # FSF releases, it's important to let people know when their machine isn't
7081 # supported by the one or two programs in a package.
7083 if test -n "${notsupp}" && test -z "${norecursion}" ; then
7084 # If $appdirs is non-empty, at least one of those directories must still
7085 # be configured, or we error out. (E.g., if the gas release supports a
7086 # specified target in some subdirs but not the gas subdir, we shouldn't
7087 # pretend that all is well.)
7088 if test -n "$appdirs" ; then
7089 for dir
in $appdirs ; do
7090 if test -r $dir/Makefile.
in ; then
7091 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
7095 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
7101 if test -n "$appdirs" ; then
7102 echo "*** This configuration is not supported by this package." 1>&2
7106 # Okay, some application will build, or we don't care to check. Still
7107 # notify of subdirs not getting built.
7108 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
7109 echo " ${notsupp}" 1>&2
7110 echo " (Any other directories should still work fine.)" 1>&2
7118 # To find our prefix, in gcc_cv_tool_prefix.
7120 # The user is always right.
7121 if test "${PATH_SEPARATOR+set}" != set; then
7122 echo "#! /bin/sh" >conf$$.sh
7123 echo "exit 0" >>conf$$.sh
7125 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7135 if test "x$exec_prefix" = xNONE
; then
7136 if test "x$prefix" = xNONE
; then
7137 gcc_cv_tool_prefix
=$ac_default_prefix
7139 gcc_cv_tool_prefix
=$prefix
7142 gcc_cv_tool_prefix
=$exec_prefix
7145 # If there is no compiler in the tree, use the PATH only. In any
7146 # case, if there is no compiler in the tree nobody should use
7147 # AS_FOR_TARGET and LD_FOR_TARGET.
7148 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
7149 gcc_version
=`cat $srcdir/gcc/BASE-VER`
7150 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
7151 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
7152 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
7153 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
7154 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
7155 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
7160 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
7161 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
7169 # Check whether --with-build-sysroot was given.
7170 if test "${with_build_sysroot+set}" = set; then :
7171 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
7172 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
7175 SYSROOT_CFLAGS_FOR_TARGET
=
7181 # Check whether --with-debug-prefix-map was given.
7182 if test "${with_debug_prefix_map+set}" = set; then :
7183 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
7184 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
7185 for debug_map
in $withval; do
7186 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
7190 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
7195 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
7196 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
7197 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
7198 # We want to ensure that TARGET libraries (which we know are built with
7199 # gcc) are built with "-O2 -g", so include those options when setting
7200 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
7201 if test "x$CFLAGS_FOR_TARGET" = x
; then
7202 CFLAGS_FOR_TARGET
=$CFLAGS
7205 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
7208 *" -g "* |
*" -g3 "*) ;;
7209 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
7214 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
7215 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
7216 case " $CXXFLAGS " in
7218 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
7220 case " $CXXFLAGS " in
7221 *" -g "* |
*" -g3 "*) ;;
7222 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
7227 # Handle --with-headers=XXX. If the value is not "yes", the contents of
7228 # the named directory are copied to $(tooldir)/sys-include.
7229 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
7230 if test x
${is_cross_compiler} = xno
; then
7231 echo 1>&2 '***' --with-headers is only supported when cross compiling
7234 if test x
"${with_headers}" != xyes
; then
7235 x
=${gcc_cv_tool_prefix}
7236 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
7240 # Handle --with-libs=XXX. If the value is not "yes", the contents of
7241 # the name directories are copied to $(tooldir)/lib. Multiple directories
7243 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
7244 if test x
${is_cross_compiler} = xno
; then
7245 echo 1>&2 '***' --with-libs is only supported when cross compiling
7248 if test x
"${with_libs}" != xyes
; then
7249 # Copy the libraries in reverse order, so that files in the first named
7250 # library override files in subsequent libraries.
7251 x
=${gcc_cv_tool_prefix}
7252 for l
in ${with_libs}; do
7253 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
7258 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
7260 # This is done by determining whether or not the appropriate directory
7261 # is available, and by checking whether or not specific configurations
7262 # have requested that this magic not happen.
7264 # The command line options always override the explicit settings in
7265 # configure.in, and the settings in configure.in override this magic.
7267 # If the default for a toolchain is to use GNU as and ld, and you don't
7268 # want to do that, then you should use the --without-gnu-as and
7269 # --without-gnu-ld options for the configure script. Similarly, if
7270 # the default is to use the included zlib and you don't want to do that,
7271 # you should use the --with-system-zlib option for the configure script.
7273 if test x
${use_gnu_as} = x
&&
7274 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
7276 extra_host_args
="$extra_host_args --with-gnu-as"
7279 if test x
${use_gnu_ld} = x
&&
7280 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
7282 extra_host_args
="$extra_host_args --with-gnu-ld"
7285 if test x
${use_included_zlib} = x
&&
7286 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
7289 with_system_zlib
=yes
7290 extra_host_args
="$extra_host_args --with-system-zlib"
7293 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
7294 # can detect this case.
7296 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
7298 extra_host_args
="$extra_host_args --with-newlib"
7301 # Handle ${copy_dirs}
7302 set fnord
${copy_dirs}
7304 while test $# != 0 ; do
7305 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
7308 echo Copying
$1 to
$2
7310 # Use the install script to create the directory and all required
7311 # parent directories.
7312 if test -d $2 ; then
7316 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
7319 # Copy the directory, assuming we have tar.
7320 # FIXME: Should we use B in the second tar? Not all systems support it.
7321 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
7323 # It is the responsibility of the user to correctly adjust all
7324 # symlinks. If somebody can figure out how to handle them correctly
7325 # here, feel free to add the code.
7332 # Determine a target-dependent exec_prefix that the installed
7333 # gcc will search in. Keep this list sorted by triplet, with
7334 # the *-*-osname triplets last.
7338 md_exec_prefix
=/gnu
/lib
/gcc-lib
7340 i
[34567]86-pc-msdosdjgpp*)
7341 md_exec_prefix
=/dev
/env
/DJDIR
/bin
7343 i
[34567]86-*-sco3.2v5
*)
7344 if test $with_gnu_as = yes; then
7345 md_exec_prefix
=/usr
/gnu
/bin
7347 md_exec_prefix
=/usr
/ccs
/bin
/elf
7352 powerpc-
*-chorusos* | \
7353 powerpc
*-*-eabi* | \
7354 powerpc
*-*-sysv* | \
7355 powerpc
*-*-kaos* | \
7357 md_exec_prefix
=/usr
/ccs
/bin
7362 md_exec_prefix
=/usr
/ccs
/bin
7377 md_exec_prefix
=/usr
/ccs
/bin
7381 extra_arflags_for_target
=
7382 extra_nmflags_for_target
=
7383 extra_ranlibflags_for_target
=
7384 target_makefile_frag
=/dev
/null
7387 target_makefile_frag
="config/mt-mep"
7390 target_makefile_frag
="config/mt-spu"
7393 target_makefile_frag
="config/mt-sde"
7395 mipsisa
*-*-elfoabi*)
7396 target_makefile_frag
="config/mt-mips-elfoabi"
7398 mips
*-*-*linux
* | mips
*-*-gnu*)
7399 target_makefile_frag
="config/mt-mips-gnu"
7402 target_makefile_frag
="config/mt-netware"
7404 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7405 target_makefile_frag
="config/mt-gnu"
7407 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7408 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7409 # commands to handle both 32-bit and 64-bit objects. These flags are
7410 # harmless if we're using GNU nm or ar.
7411 extra_arflags_for_target
=" -X32_64"
7412 extra_nmflags_for_target
=" -B -X32_64"
7415 # ranlib before Darwin10 requires the -c flag to look at common symbols.
7416 extra_ranlibflags_for_target
=" -c"
7418 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
7419 target_makefile_frag
="config/mt-wince"
7423 alphaieee_frag
=/dev
/null
7426 # This just makes sure to use the -mieee option to build target libs.
7427 # This should probably be set individually by each library.
7428 alphaieee_frag
="config/mt-alphaieee"
7432 # If --enable-target-optspace always use -Os instead of -O2 to build
7433 # the target libraries, similarly if it is not specified, use -Os
7434 # on selected platforms.
7435 ospace_frag
=/dev
/null
7436 case "${enable_target_optspace}:${target}" in
7438 ospace_frag
="config/mt-ospace"
7441 ospace_frag
="config/mt-d30v"
7443 :m32r-
* |
:d10v-
* |
:fr30-
*)
7444 ospace_frag
="config/mt-ospace"
7449 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7453 # Default to using --with-stabs for certain targets.
7454 if test x
${with_stabs} = x
; then
7458 mips
*-*-* | alpha
*-*-osf*)
7460 extra_host_args
="${extra_host_args} --with-stabs"
7465 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
7466 # them automatically.
7469 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
7473 # Some systems (e.g., one of the i386-aix systems the gas testers are
7474 # using) don't handle "\$" correctly, so don't use it here.
7475 tooldir
='${exec_prefix}'/${target_noncanonical}
7476 build_tooldir
=${tooldir}
7478 # Create a .gdbinit file which runs the one in srcdir
7479 # and tells GDB to look there for source files.
7481 if test -r ${srcdir}/.gdbinit
; then
7484 *) cat > .
/.gdbinit
<<EOF
7488 source ${srcdir}/.gdbinit
7494 # Make sure that the compiler is able to generate an executable. If it
7495 # can't, we are probably in trouble. We don't care whether we can run the
7496 # executable--we might be using a cross compiler--we only care whether it
7497 # can be created. At this point the main configure script has set CC.
7499 echo "int main () { return 0; }" > conftest.c
7500 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7501 if test $?
= 0 ; then
7502 if test -s conftest ||
test -s conftest.exe
; then
7508 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7509 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7516 # The Solaris /usr/ucb/cc compiler does not appear to work.
7518 sparc-sun-solaris2
*)
7519 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
7520 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
7522 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
7523 if test -d /opt
/cygnus
/bin
; then
7524 if test "$could_use" = "" ; then
7525 could_use
="/opt/cygnus/bin"
7527 could_use
="$could_use or /opt/cygnus/bin"
7530 if test "$could_use" = "" ; then
7531 echo "Warning: compilation may fail because you're using"
7532 echo "/usr/ucb/cc. You should change your PATH or CC "
7533 echo "variable and rerun configure."
7535 echo "Warning: compilation may fail because you're using"
7536 echo "/usr/ucb/cc, when you should use the C compiler from"
7537 echo "$could_use. You should change your"
7538 echo "PATH or CC variable and rerun configure."
7544 # Decide which environment variable is used to find dynamic libraries.
7546 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7547 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7548 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7549 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7552 # On systems where the dynamic library environment variable is PATH,
7553 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7554 # built executables to PATH.
7555 if test "$RPATH_ENVVAR" = PATH
; then
7556 GCC_SHLIB_SUBDIR
=/shlib
7561 # Record target_configdirs and the configure arguments for target and
7562 # build configuration in Makefile.
7563 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7564 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7566 # If we are building libgomp, bootstrap it.
7567 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7568 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7571 # Determine whether gdb needs tk/tcl or not.
7572 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7573 # and in that case we want gdb to be built without tk. Ugh!
7574 # In fact I believe gdb is the *only* package directly dependent on tk,
7575 # so we should be able to put the 'maybe's in unconditionally and
7576 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7577 # 100% sure that that's safe though.
7579 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7580 case "$enable_gdbtk" in
7584 GDB_TK
="${gdb_tk}" ;;
7586 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7587 # distro. Eventually someone will fix this and move Insight, nee
7588 # gdbtk to a separate directory.
7589 if test -d ${srcdir}/gdb
/gdbtk
; then
7596 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7597 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7599 # Strip out unwanted targets.
7601 # While at that, we remove Makefiles if we were started for recursive
7602 # configuration, so that the top-level Makefile reconfigures them,
7603 # like we used to do when configure itself was recursive.
7605 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7606 # but now we're fixing up the Makefile ourselves with the additional
7607 # commands passed to AC_CONFIG_FILES. Use separate variables
7608 # extrasub-{build,host,target} not because there is any reason to split
7609 # the substitutions up that way, but only to remain below the limit of
7610 # 99 commands in a script, for HP-UX sed.
7611 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7613 # Check whether --enable-bootstrap was given.
7614 if test "${enable_bootstrap+set}" = set; then :
7615 enableval
=$enable_bootstrap;
7617 enable_bootstrap
=default
7621 # Issue errors and warnings for invalid/strange bootstrap combinations.
7622 case "$configdirs" in
7623 *gcc
*) have_compiler
=yes ;;
7624 *) have_compiler
=no
;;
7627 case "$have_compiler:$host:$target:$enable_bootstrap" in
7630 # Default behavior. Enable bootstrap if we have a compiler
7631 # and we are in a native configuration.
7632 yes:$build:$build:default
)
7633 enable_bootstrap
=yes ;;
7636 enable_bootstrap
=no
;;
7638 # We have a compiler and we are in a native configuration, bootstrap is ok
7639 yes:$build:$build:yes)
7642 # Other configurations, but we have a compiler. Assume the user knows
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
7646 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
7649 # No compiler: if they passed --enable-bootstrap explicitly, fail
7651 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
7653 # Fail if wrong command line
7655 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
7659 case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
7662 as_fn_error
"bootstrapping with --enable-build-with-cxx requires c++ in --enable-languages" "$LINENO" 5
7666 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7667 yes:yes:*\ gold\
*:*,c
++,*) ;;
7668 yes:yes:*\ gold\
*:*)
7669 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7673 # Adjust the toplevel makefile according to whether bootstrap was selected.
7674 case $enable_bootstrap in
7676 bootstrap_suffix
=bootstrap
7677 BUILD_CONFIG
=bootstrap-debug
7680 bootstrap_suffix
=no-bootstrap
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7686 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7689 # Check whether --with-build-config was given.
7690 if test "${with_build_config+set}" = set; then :
7691 withval
=$with_build_config; case $with_build_config in
7692 yes) with_build_config
= ;;
7693 no
) with_build_config
= BUILD_CONFIG
= ;;
7698 if test "x${with_build_config}" != x
; then
7699 BUILD_CONFIG
=$with_build_config
7701 case $BUILD_CONFIG in
7703 if echo "int f (void) { return 0; }" > conftest.c
&&
7704 ${CC} -c conftest.c
&&
7705 mv conftest.o conftest.o.g0
&&
7706 ${CC} -c -g conftest.c
&&
7707 mv conftest.o conftest.o.g
&&
7708 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7713 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7718 $as_echo "$BUILD_CONFIG" >&6; }
7722 for module
in ${build_configdirs} ; do
7723 if test -z "${no_recursion}" \
7724 && test -f ${build_subdir}/${module}/Makefile
; then
7725 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7726 rm -f ${build_subdir}/${module}/Makefile
7728 extrasub_build
="$extrasub_build
7729 /^@if build-$module\$/d
7730 /^@endif build-$module\$/d
7731 /^@if build-$module-$bootstrap_suffix\$/d
7732 /^@endif build-$module-$bootstrap_suffix\$/d"
7735 for module
in ${configdirs} ; do
7736 if test -z "${no_recursion}"; then
7737 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7738 if test -f ${file}; then
7739 echo 1>&2 "*** removing ${file} to force reconfigure"
7744 extrasub_host
="$extrasub_host
7746 /^@endif $module\$/d
7747 /^@if $module-$bootstrap_suffix\$/d
7748 /^@endif $module-$bootstrap_suffix\$/d"
7751 for module
in ${target_configdirs} ; do
7752 if test -z "${no_recursion}" \
7753 && test -f ${target_subdir}/${module}/Makefile
; then
7754 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7755 rm -f ${target_subdir}/${module}/Makefile
7758 # We only bootstrap target libraries listed in bootstrap_target_libs.
7759 case $bootstrap_target_libs in
7760 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7761 *) target_bootstrap_suffix
=no-bootstrap
;;
7764 extrasub_target
="$extrasub_target
7765 /^@if target-$module\$/d
7766 /^@endif target-$module\$/d
7767 /^@if target-$module-$target_bootstrap_suffix\$/d
7768 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7771 # Do the final fixup along with target modules.
7772 extrasub_target
="$extrasub_target
7773 /^@if /,/^@endif /d"
7775 # Create the serialization dependencies. This uses a temporary file.
7777 # Check whether --enable-serial-configure was given.
7778 if test "${enable_serial_configure+set}" = set; then :
7779 enableval
=$enable_serial_configure;
7783 case ${enable_serial_configure} in
7785 enable_serial_build_configure
=yes
7786 enable_serial_host_configure
=yes
7787 enable_serial_target_configure
=yes
7791 # These force 'configure's to be done one at a time, to avoid problems
7792 # with contention over a shared config.cache.
7794 echo '# serdep.tmp' > serdep.tmp
7796 test "x${enable_serial_build_configure}" = xyes
&&
7797 for item
in ${build_configdirs} ; do
7800 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7805 test "x${enable_serial_host_configure}" = xyes
&&
7806 for item
in ${configdirs} ; do
7809 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7814 test "x${enable_serial_target_configure}" = xyes
&&
7815 for item
in ${target_configdirs} ; do
7818 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7822 serialization_dependencies
=serdep.tmp
7825 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7826 # target, nonopt, and variable assignments. These are the ones we
7827 # might not want to pass down to subconfigures. The exception being
7828 # --cache-file=/dev/null, which is used to turn off the use of cache
7829 # files altogether, and which should be passed on to subconfigures.
7830 # Also strip program-prefix, program-suffix, and program-transform-name,
7831 # so that we can pass down a consistent program-transform-name.
7835 eval "set -- $ac_configure_args"
7838 if test X
"$skip_next" = X
"yes"; then
7842 if test X
"$keep_next" = X
"yes"; then
7845 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7847 baseargs
="$baseargs '$ac_arg'"
7852 # Handle separated arguments. Based on the logic generated by
7855 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7856 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7857 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7858 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7870 --cache-file=/dev
/null | \
7871 -cache-file=/dev
/null
)
7872 # Handled here to avoid the test to skip args below.
7873 baseargs
="$baseargs '$ac_arg'"
7874 # Assert: $separate_arg should always be no.
7875 keep_next
=$separate_arg
7891 -program-prefix* | \
7892 -program-suffix* | \
7893 -program-transform-name* )
7894 skip_next
=$separate_arg
7898 # An option. Add it.
7901 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7903 baseargs
="$baseargs '$ac_arg'"
7904 keep_next
=$separate_arg
7907 # Either a variable assignment, or a nonopt (triplet). Don't
7908 # pass it down; let the Makefile handle this.
7913 # Remove the initial space we just introduced and, as these will be
7914 # expanded by make, quote '$'.
7915 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7917 # Add in --program-transform-name, after --program-prefix and
7918 # --program-suffix have been applied to it. Autoconf has already
7919 # doubled dollar signs and backslashes in program_transform_name; we want
7920 # the backslashes un-doubled, and then the entire thing wrapped in single
7921 # quotes, because this will be expanded first by make and then by the shell.
7922 # Also, because we want to override the logic in subdir configure scripts to
7923 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7924 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7925 ${program_transform_name}
7927 gcc_transform_name
=`cat conftestsed.out`
7928 rm -f conftestsed.out
7929 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7930 if test "$silent" = yes; then
7931 baseargs
="$baseargs --silent"
7933 baseargs
="$baseargs --disable-option-checking"
7935 # Record and document user additions to sub configure arguments.
7940 # For the build-side libraries, we just need to pretend we're native,
7941 # and not use the same cache file. Multilibs are neither needed nor
7943 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7945 # For host modules, accept cache file option, or specification as blank.
7946 case "${cache_file}" in
7948 cache_file_option
="" ;;
7949 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7950 cache_file_option
="--cache-file=${cache_file}" ;;
7952 cache_file_option
="--cache-file=../${cache_file}" ;;
7955 # Host dirs don't like to share a cache file either, horribly enough.
7956 # This seems to be due to autoconf 2.5x stupidity.
7957 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7959 target_configargs
="$target_configargs ${baseargs}"
7961 # Passing a --with-cross-host argument lets the target libraries know
7962 # whether they are being built with a cross-compiler or being built
7963 # native. However, it would be better to use other mechanisms to make the
7964 # sorts of decisions they want to make on this basis. Please consider
7965 # this option to be deprecated. FIXME.
7966 if test x
${is_cross_compiler} = xyes
; then
7967 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7970 # Default to --enable-multilib.
7971 if test x
${enable_multilib} = x
; then
7972 target_configargs
="--enable-multilib ${target_configargs}"
7975 # Pass --with-newlib if appropriate. Note that target_configdirs has
7976 # changed from the earlier setting of with_newlib.
7977 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7978 target_configargs
="--with-newlib ${target_configargs}"
7981 # Different target subdirs use different values of certain variables
7982 # (notably CXX). Worse, multilibs use *lots* of different values.
7983 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7984 # it doesn't automatically accept command-line overrides of them.
7985 # This means it's not safe for target subdirs to share a cache file,
7986 # which is disgusting, but there you have it. Hopefully this can be
7987 # fixed in future. It's still worthwhile to use a cache file for each
7988 # directory. I think.
7990 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7991 # We need to pass --target, as newer autoconf's requires consistency
7992 # for target_alias and gcc doesn't manage it consistently.
7993 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7996 case " $target_configdirs " in
7998 case " $target_configargs " in
7999 *" --with-newlib "*)
8002 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'
8006 # If we're not building GCC, don't discard standard headers.
8007 if test -d ${srcdir}/gcc
; then
8008 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
8010 if test "${build}" != "${host}"; then
8011 # On Canadian crosses, CC_FOR_TARGET will have already been set
8012 # by `configure', so we won't have an opportunity to add -Bgcc/
8013 # to it. This is right: we don't want to search that directory
8014 # for binaries, but we want the header files in there, so add
8016 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
8018 # Someone might think of using the pre-installed headers on
8019 # Canadian crosses, in case the installed compiler is not fully
8020 # compatible with the compiler being built. In this case, it
8021 # would be better to flag an error than risking having
8022 # incompatible object files being constructed. We can't
8023 # guarantee that an error will be flagged, but let's hope the
8024 # compiler will do it, when presented with incompatible header
8029 case "${target}-${is_cross_compiler}" in
8030 i
[3456789]86-*-linux*-no)
8031 # Here host == target, so we don't need to build gcc,
8032 # so we don't want to discard standard headers.
8033 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
8036 # If we're building newlib, use its generic headers last, but search
8037 # for any libc-related directories first (so make it the last -B
8039 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
8041 # If we're building libgloss, find the startup file, simulator library
8042 # and linker script.
8043 case " $target_configdirs " in
8045 # Look for startup file, simulator library and maybe linker script.
8046 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
8047 # Look for libnosys.a in case the target needs it.
8048 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
8049 # Most targets have the linker script in the source directory.
8050 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
8061 x86_64-
*mingw
* |
*-w64-mingw*)
8062 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
8063 # however, use a symlink named 'mingw' in ${prefix} .
8064 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
8067 # MinGW can't be handled as Cygwin above since it does not use newlib.
8068 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'
8072 # Allow the user to override the flags for
8073 # our build compiler if desired.
8074 if test x
"${build}" = x
"${host}" ; then
8075 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
8076 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
8077 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
8080 # On Canadian crosses, we'll be searching the right directories for
8081 # the previously-installed cross compiler, so don't bother to add
8082 # flags for directories within the install tree of the compiler
8083 # being built; programs in there won't even run.
8084 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
8085 # Search for pre-installed headers if nothing else fits.
8086 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
8089 if test "x
${use_gnu_ld}" = x &&
8090 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
8091 # Arrange for us to find uninstalled linker scripts.
8092 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
8095 # Search for other target-specific linker scripts and such.
8098 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
8102 # Makefile fragments.
8103 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
8105 eval fragval=\$$frag
8106 if test $fragval != /dev/null; then
8107 eval $frag=${srcdir}/$fragval
8115 # Miscellanea: directories, flags, etc.
8124 # Build module lists & subconfigure args.
8128 # Host module lists & subconfigure args.
8133 # Target module lists & subconfigure args.
8155 # Generate default definitions for YACC, M4, LEX and other programs that run
8156 # on the build machine. These are used if the Makefile can't locate these
8157 # programs in objdir.
8158 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
8160 for ac_prog in 'bison -y' byacc yacc
8162 # Extract the first word of "$ac_prog", so it can be a program name with args.
8163 set dummy $ac_prog; ac_word=$2
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8165 $as_echo_n "checking
for $ac_word...
" >&6; }
8166 if test "${ac_cv_prog_YACC+set}" = set; then :
8167 $as_echo_n "(cached
) " >&6
8169 if test -n "$YACC"; then
8170 ac_cv_prog_YACC="$YACC" # Let the user override the test.
8172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8176 test -z "$as_dir" && as_dir=.
8177 for ac_exec_ext in '' $ac_executable_extensions; do
8178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8179 ac_cv_prog_YACC="$ac_prog"
8180 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8189 YACC=$ac_cv_prog_YACC
8190 if test -n "$YACC"; then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
8192 $as_echo "$YACC" >&6; }
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8195 $as_echo "no
" >&6; }
8199 test -n "$YACC" && break
8201 test -n "$YACC" || YACC="$MISSING bison
-y"
8203 case " $build_configdirs " in
8204 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
8205 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
8208 for ac_prog in bison
8210 # Extract the first word of "$ac_prog", so it can be a program name with args.
8211 set dummy $ac_prog; ac_word=$2
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8213 $as_echo_n "checking
for $ac_word...
" >&6; }
8214 if test "${ac_cv_prog_BISON+set}" = set; then :
8215 $as_echo_n "(cached
) " >&6
8217 if test -n "$BISON"; then
8218 ac_cv_prog_BISON="$BISON" # Let the user override the test.
8220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8224 test -z "$as_dir" && as_dir=.
8225 for ac_exec_ext in '' $ac_executable_extensions; do
8226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8227 ac_cv_prog_BISON="$ac_prog"
8228 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8237 BISON=$ac_cv_prog_BISON
8238 if test -n "$BISON"; then
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
8240 $as_echo "$BISON" >&6; }
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8243 $as_echo "no
" >&6; }
8247 test -n "$BISON" && break
8249 test -n "$BISON" || BISON="$MISSING bison
"
8251 case " $build_configdirs " in
8252 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
8255 for ac_prog in gm4 gnum4 m4
8257 # Extract the first word of "$ac_prog", so it can be a program name with args.
8258 set dummy $ac_prog; ac_word=$2
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8260 $as_echo_n "checking
for $ac_word...
" >&6; }
8261 if test "${ac_cv_prog_M4+set}" = set; then :
8262 $as_echo_n "(cached
) " >&6
8264 if test -n "$M4"; then
8265 ac_cv_prog_M4="$M4" # Let the user override the test.
8267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8271 test -z "$as_dir" && as_dir=.
8272 for ac_exec_ext in '' $ac_executable_extensions; do
8273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8274 ac_cv_prog_M4="$ac_prog"
8275 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8285 if test -n "$M4"; then
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
8287 $as_echo "$M4" >&6; }
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8290 $as_echo "no
" >&6; }
8294 test -n "$M4" && break
8296 test -n "$M4" || M4="$MISSING m4"
8298 case " $build_configdirs " in
8299 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
8302 for ac_prog in flex lex
8304 # Extract the first word of "$ac_prog", so it can be a program name with args.
8305 set dummy $ac_prog; ac_word=$2
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8307 $as_echo_n "checking
for $ac_word...
" >&6; }
8308 if test "${ac_cv_prog_LEX+set}" = set; then :
8309 $as_echo_n "(cached
) " >&6
8311 if test -n "$LEX"; then
8312 ac_cv_prog_LEX="$LEX" # Let the user override the test.
8314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8318 test -z "$as_dir" && as_dir=.
8319 for ac_exec_ext in '' $ac_executable_extensions; do
8320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8321 ac_cv_prog_LEX="$ac_prog"
8322 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8332 if test -n "$LEX"; then
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
8334 $as_echo "$LEX" >&6; }
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8337 $as_echo "no
" >&6; }
8341 test -n "$LEX" && break
8343 test -n "$LEX" || LEX="$MISSING flex
"
8345 case " $build_configdirs " in
8346 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8347 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
8352 # Extract the first word of "$ac_prog", so it can be a program name with args.
8353 set dummy $ac_prog; ac_word=$2
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8355 $as_echo_n "checking
for $ac_word...
" >&6; }
8356 if test "${ac_cv_prog_FLEX+set}" = set; then :
8357 $as_echo_n "(cached
) " >&6
8359 if test -n "$FLEX"; then
8360 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
8362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8366 test -z "$as_dir" && as_dir=.
8367 for ac_exec_ext in '' $ac_executable_extensions; do
8368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8369 ac_cv_prog_FLEX="$ac_prog"
8370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8379 FLEX=$ac_cv_prog_FLEX
8380 if test -n "$FLEX"; then
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
8382 $as_echo "$FLEX" >&6; }
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8385 $as_echo "no
" >&6; }
8389 test -n "$FLEX" && break
8391 test -n "$FLEX" || FLEX="$MISSING flex
"
8393 case " $build_configdirs " in
8394 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8397 for ac_prog in makeinfo
8399 # Extract the first word of "$ac_prog", so it can be a program name with args.
8400 set dummy $ac_prog; ac_word=$2
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8402 $as_echo_n "checking
for $ac_word...
" >&6; }
8403 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
8404 $as_echo_n "(cached
) " >&6
8406 if test -n "$MAKEINFO"; then
8407 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8413 test -z "$as_dir" && as_dir=.
8414 for ac_exec_ext in '' $ac_executable_extensions; do
8415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8416 ac_cv_prog_MAKEINFO="$ac_prog"
8417 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8426 MAKEINFO=$ac_cv_prog_MAKEINFO
8427 if test -n "$MAKEINFO"; then
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8429 $as_echo "$MAKEINFO" >&6; }
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8432 $as_echo "no
" >&6; }
8436 test -n "$MAKEINFO" && break
8438 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8440 case " $build_configdirs " in
8441 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8444 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8445 # higher, else we use the "missing
" dummy.
8446 if ${MAKEINFO} --version \
8447 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8450 MAKEINFO="$MISSING makeinfo
"
8456 # FIXME: expect and dejagnu may become build tools?
8458 for ac_prog in expect
8460 # Extract the first word of "$ac_prog", so it can be a program name with args.
8461 set dummy $ac_prog; ac_word=$2
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8463 $as_echo_n "checking
for $ac_word...
" >&6; }
8464 if test "${ac_cv_prog_EXPECT+set}" = set; then :
8465 $as_echo_n "(cached
) " >&6
8467 if test -n "$EXPECT"; then
8468 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8474 test -z "$as_dir" && as_dir=.
8475 for ac_exec_ext in '' $ac_executable_extensions; do
8476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8477 ac_cv_prog_EXPECT="$ac_prog"
8478 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8487 EXPECT=$ac_cv_prog_EXPECT
8488 if test -n "$EXPECT"; then
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8490 $as_echo "$EXPECT" >&6; }
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8493 $as_echo "no
" >&6; }
8497 test -n "$EXPECT" && break
8499 test -n "$EXPECT" || EXPECT="expect
"
8501 case " $configdirs " in
8503 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8507 for ac_prog in runtest
8509 # Extract the first word of "$ac_prog", so it can be a program name with args.
8510 set dummy $ac_prog; ac_word=$2
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8512 $as_echo_n "checking
for $ac_word...
" >&6; }
8513 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
8514 $as_echo_n "(cached
) " >&6
8516 if test -n "$RUNTEST"; then
8517 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8523 test -z "$as_dir" && as_dir=.
8524 for ac_exec_ext in '' $ac_executable_extensions; do
8525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8526 ac_cv_prog_RUNTEST="$ac_prog"
8527 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8536 RUNTEST=$ac_cv_prog_RUNTEST
8537 if test -n "$RUNTEST"; then
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8539 $as_echo "$RUNTEST" >&6; }
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8542 $as_echo "no
" >&6; }
8546 test -n "$RUNTEST" && break
8548 test -n "$RUNTEST" || RUNTEST="runtest
"
8550 case " $configdirs " in
8552 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8559 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8560 ncn_target_tool_prefix=
8561 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8565 if test -n "$AR"; then
8567 elif test -n "$ac_cv_prog_AR"; then
8571 if test -n "$ac_cv_prog_AR"; then
8572 for ncn_progname in ar; do
8573 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8574 set dummy ${ncn_progname}; ac_word=$2
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8576 $as_echo_n "checking
for $ac_word...
" >&6; }
8577 if test "${ac_cv_prog_AR+set}" = set; then :
8578 $as_echo_n "(cached
) " >&6
8580 if test -n "$AR"; then
8581 ac_cv_prog_AR="$AR" # Let the user override the test.
8583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8587 test -z "$as_dir" && as_dir=.
8588 for ac_exec_ext in '' $ac_executable_extensions; do
8589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8590 ac_cv_prog_AR="${ncn_progname}"
8591 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8601 if test -n "$AR"; then
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8603 $as_echo "$AR" >&6; }
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8606 $as_echo "no
" >&6; }
8613 for ncn_progname in ar; do
8614 if test -n "$ncn_tool_prefix"; then
8615 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8616 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8618 $as_echo_n "checking
for $ac_word...
" >&6; }
8619 if test "${ac_cv_prog_AR+set}" = set; then :
8620 $as_echo_n "(cached
) " >&6
8622 if test -n "$AR"; then
8623 ac_cv_prog_AR="$AR" # Let the user override the test.
8625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8629 test -z "$as_dir" && as_dir=.
8630 for ac_exec_ext in '' $ac_executable_extensions; do
8631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8632 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8643 if test -n "$AR"; then
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8645 $as_echo "$AR" >&6; }
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8648 $as_echo "no
" >&6; }
8653 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8654 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8655 set dummy ${ncn_progname}; ac_word=$2
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8657 $as_echo_n "checking
for $ac_word...
" >&6; }
8658 if test "${ac_cv_prog_AR+set}" = set; then :
8659 $as_echo_n "(cached
) " >&6
8661 if test -n "$AR"; then
8662 ac_cv_prog_AR="$AR" # Let the user override the test.
8664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8668 test -z "$as_dir" && as_dir=.
8669 for ac_exec_ext in '' $ac_executable_extensions; do
8670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8671 ac_cv_prog_AR="${ncn_progname}"
8672 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8682 if test -n "$AR"; then
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8684 $as_echo "$AR" >&6; }
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8687 $as_echo "no
" >&6; }
8692 test -n "$ac_cv_prog_AR" && break
8695 if test -z "$ac_cv_prog_AR" ; then
8697 if test $build = $host ; then
8700 AR="${ncn_tool_prefix}$2"
8706 if test -n "$AS"; then
8708 elif test -n "$ac_cv_prog_AS"; then
8712 if test -n "$ac_cv_prog_AS"; then
8713 for ncn_progname in as; do
8714 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8715 set dummy ${ncn_progname}; ac_word=$2
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8717 $as_echo_n "checking
for $ac_word...
" >&6; }
8718 if test "${ac_cv_prog_AS+set}" = set; then :
8719 $as_echo_n "(cached
) " >&6
8721 if test -n "$AS"; then
8722 ac_cv_prog_AS="$AS" # Let the user override the test.
8724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8728 test -z "$as_dir" && as_dir=.
8729 for ac_exec_ext in '' $ac_executable_extensions; do
8730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8731 ac_cv_prog_AS="${ncn_progname}"
8732 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8742 if test -n "$AS"; then
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8744 $as_echo "$AS" >&6; }
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8747 $as_echo "no
" >&6; }
8754 for ncn_progname in as; do
8755 if test -n "$ncn_tool_prefix"; then
8756 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8757 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8759 $as_echo_n "checking
for $ac_word...
" >&6; }
8760 if test "${ac_cv_prog_AS+set}" = set; then :
8761 $as_echo_n "(cached
) " >&6
8763 if test -n "$AS"; then
8764 ac_cv_prog_AS="$AS" # Let the user override the test.
8766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8770 test -z "$as_dir" && as_dir=.
8771 for ac_exec_ext in '' $ac_executable_extensions; do
8772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8773 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8784 if test -n "$AS"; then
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8786 $as_echo "$AS" >&6; }
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8789 $as_echo "no
" >&6; }
8794 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8795 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8796 set dummy ${ncn_progname}; ac_word=$2
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8798 $as_echo_n "checking
for $ac_word...
" >&6; }
8799 if test "${ac_cv_prog_AS+set}" = set; then :
8800 $as_echo_n "(cached
) " >&6
8802 if test -n "$AS"; then
8803 ac_cv_prog_AS="$AS" # Let the user override the test.
8805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8809 test -z "$as_dir" && as_dir=.
8810 for ac_exec_ext in '' $ac_executable_extensions; do
8811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8812 ac_cv_prog_AS="${ncn_progname}"
8813 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8823 if test -n "$AS"; then
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8825 $as_echo "$AS" >&6; }
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8828 $as_echo "no
" >&6; }
8833 test -n "$ac_cv_prog_AS" && break
8836 if test -z "$ac_cv_prog_AS" ; then
8838 if test $build = $host ; then
8841 AS="${ncn_tool_prefix}$2"
8847 if test -n "$DLLTOOL"; then
8848 ac_cv_prog_DLLTOOL=$DLLTOOL
8849 elif test -n "$ac_cv_prog_DLLTOOL"; then
8850 DLLTOOL=$ac_cv_prog_DLLTOOL
8853 if test -n "$ac_cv_prog_DLLTOOL"; then
8854 for ncn_progname in dlltool; do
8855 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8856 set dummy ${ncn_progname}; ac_word=$2
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8858 $as_echo_n "checking
for $ac_word...
" >&6; }
8859 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8860 $as_echo_n "(cached
) " >&6
8862 if test -n "$DLLTOOL"; then
8863 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8869 test -z "$as_dir" && as_dir=.
8870 for ac_exec_ext in '' $ac_executable_extensions; do
8871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8872 ac_cv_prog_DLLTOOL="${ncn_progname}"
8873 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8882 DLLTOOL=$ac_cv_prog_DLLTOOL
8883 if test -n "$DLLTOOL"; then
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8885 $as_echo "$DLLTOOL" >&6; }
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8888 $as_echo "no
" >&6; }
8895 for ncn_progname in dlltool; do
8896 if test -n "$ncn_tool_prefix"; then
8897 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8898 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8900 $as_echo_n "checking
for $ac_word...
" >&6; }
8901 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8902 $as_echo_n "(cached
) " >&6
8904 if test -n "$DLLTOOL"; then
8905 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8911 test -z "$as_dir" && as_dir=.
8912 for ac_exec_ext in '' $ac_executable_extensions; do
8913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8914 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8915 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8924 DLLTOOL=$ac_cv_prog_DLLTOOL
8925 if test -n "$DLLTOOL"; then
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8927 $as_echo "$DLLTOOL" >&6; }
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8930 $as_echo "no
" >&6; }
8935 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8936 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8937 set dummy ${ncn_progname}; ac_word=$2
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8939 $as_echo_n "checking
for $ac_word...
" >&6; }
8940 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8941 $as_echo_n "(cached
) " >&6
8943 if test -n "$DLLTOOL"; then
8944 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8950 test -z "$as_dir" && as_dir=.
8951 for ac_exec_ext in '' $ac_executable_extensions; do
8952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8953 ac_cv_prog_DLLTOOL="${ncn_progname}"
8954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8963 DLLTOOL=$ac_cv_prog_DLLTOOL
8964 if test -n "$DLLTOOL"; then
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8966 $as_echo "$DLLTOOL" >&6; }
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8969 $as_echo "no
" >&6; }
8974 test -n "$ac_cv_prog_DLLTOOL" && break
8977 if test -z "$ac_cv_prog_DLLTOOL" ; then
8979 if test $build = $host ; then
8982 DLLTOOL="${ncn_tool_prefix}$2"
8988 if test -n "$LD"; then
8990 elif test -n "$ac_cv_prog_LD"; then
8994 if test -n "$ac_cv_prog_LD"; then
8995 for ncn_progname in ld; do
8996 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8997 set dummy ${ncn_progname}; ac_word=$2
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8999 $as_echo_n "checking
for $ac_word...
" >&6; }
9000 if test "${ac_cv_prog_LD+set}" = set; then :
9001 $as_echo_n "(cached
) " >&6
9003 if test -n "$LD"; then
9004 ac_cv_prog_LD="$LD" # Let the user override the test.
9006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9010 test -z "$as_dir" && as_dir=.
9011 for ac_exec_ext in '' $ac_executable_extensions; do
9012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9013 ac_cv_prog_LD="${ncn_progname}"
9014 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9024 if test -n "$LD"; then
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
9026 $as_echo "$LD" >&6; }
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9029 $as_echo "no
" >&6; }
9036 for ncn_progname in ld; do
9037 if test -n "$ncn_tool_prefix"; then
9038 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9039 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9041 $as_echo_n "checking
for $ac_word...
" >&6; }
9042 if test "${ac_cv_prog_LD+set}" = set; then :
9043 $as_echo_n "(cached
) " >&6
9045 if test -n "$LD"; then
9046 ac_cv_prog_LD="$LD" # Let the user override the test.
9048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9052 test -z "$as_dir" && as_dir=.
9053 for ac_exec_ext in '' $ac_executable_extensions; do
9054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9055 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
9056 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9066 if test -n "$LD"; then
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
9068 $as_echo "$LD" >&6; }
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9071 $as_echo "no
" >&6; }
9076 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
9077 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9078 set dummy ${ncn_progname}; ac_word=$2
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9080 $as_echo_n "checking
for $ac_word...
" >&6; }
9081 if test "${ac_cv_prog_LD+set}" = set; then :
9082 $as_echo_n "(cached
) " >&6
9084 if test -n "$LD"; then
9085 ac_cv_prog_LD="$LD" # Let the user override the test.
9087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9091 test -z "$as_dir" && as_dir=.
9092 for ac_exec_ext in '' $ac_executable_extensions; do
9093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9094 ac_cv_prog_LD="${ncn_progname}"
9095 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9105 if test -n "$LD"; then
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
9107 $as_echo "$LD" >&6; }
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9110 $as_echo "no
" >&6; }
9115 test -n "$ac_cv_prog_LD" && break
9118 if test -z "$ac_cv_prog_LD" ; then
9120 if test $build = $host ; then
9123 LD="${ncn_tool_prefix}$2"
9129 if test -n "$LIPO"; then
9130 ac_cv_prog_LIPO=$LIPO
9131 elif test -n "$ac_cv_prog_LIPO"; then
9132 LIPO=$ac_cv_prog_LIPO
9135 if test -n "$ac_cv_prog_LIPO"; then
9136 for ncn_progname in lipo; do
9137 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9138 set dummy ${ncn_progname}; ac_word=$2
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9140 $as_echo_n "checking
for $ac_word...
" >&6; }
9141 if test "${ac_cv_prog_LIPO+set}" = set; then :
9142 $as_echo_n "(cached
) " >&6
9144 if test -n "$LIPO"; then
9145 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9151 test -z "$as_dir" && as_dir=.
9152 for ac_exec_ext in '' $ac_executable_extensions; do
9153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9154 ac_cv_prog_LIPO="${ncn_progname}"
9155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9164 LIPO=$ac_cv_prog_LIPO
9165 if test -n "$LIPO"; then
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9167 $as_echo "$LIPO" >&6; }
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9170 $as_echo "no
" >&6; }
9177 for ncn_progname in lipo; do
9178 if test -n "$ncn_tool_prefix"; then
9179 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9180 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9182 $as_echo_n "checking
for $ac_word...
" >&6; }
9183 if test "${ac_cv_prog_LIPO+set}" = set; then :
9184 $as_echo_n "(cached
) " >&6
9186 if test -n "$LIPO"; then
9187 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9193 test -z "$as_dir" && as_dir=.
9194 for ac_exec_ext in '' $ac_executable_extensions; do
9195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9196 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
9197 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9206 LIPO=$ac_cv_prog_LIPO
9207 if test -n "$LIPO"; then
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9209 $as_echo "$LIPO" >&6; }
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9212 $as_echo "no
" >&6; }
9217 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
9218 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9219 set dummy ${ncn_progname}; ac_word=$2
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9221 $as_echo_n "checking
for $ac_word...
" >&6; }
9222 if test "${ac_cv_prog_LIPO+set}" = set; then :
9223 $as_echo_n "(cached
) " >&6
9225 if test -n "$LIPO"; then
9226 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9232 test -z "$as_dir" && as_dir=.
9233 for ac_exec_ext in '' $ac_executable_extensions; do
9234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9235 ac_cv_prog_LIPO="${ncn_progname}"
9236 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9245 LIPO=$ac_cv_prog_LIPO
9246 if test -n "$LIPO"; then
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9248 $as_echo "$LIPO" >&6; }
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9251 $as_echo "no
" >&6; }
9256 test -n "$ac_cv_prog_LIPO" && break
9259 if test -z "$ac_cv_prog_LIPO" ; then
9261 if test $build = $host ; then
9264 LIPO="${ncn_tool_prefix}$2"
9270 if test -n "$NM"; then
9272 elif test -n "$ac_cv_prog_NM"; then
9276 if test -n "$ac_cv_prog_NM"; then
9277 for ncn_progname in nm; do
9278 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9279 set dummy ${ncn_progname}; ac_word=$2
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9281 $as_echo_n "checking
for $ac_word...
" >&6; }
9282 if test "${ac_cv_prog_NM+set}" = set; then :
9283 $as_echo_n "(cached
) " >&6
9285 if test -n "$NM"; then
9286 ac_cv_prog_NM="$NM" # Let the user override the test.
9288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9292 test -z "$as_dir" && as_dir=.
9293 for ac_exec_ext in '' $ac_executable_extensions; do
9294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9295 ac_cv_prog_NM="${ncn_progname}"
9296 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9306 if test -n "$NM"; then
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9308 $as_echo "$NM" >&6; }
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9311 $as_echo "no
" >&6; }
9318 for ncn_progname in nm; do
9319 if test -n "$ncn_tool_prefix"; then
9320 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9321 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9323 $as_echo_n "checking
for $ac_word...
" >&6; }
9324 if test "${ac_cv_prog_NM+set}" = set; then :
9325 $as_echo_n "(cached
) " >&6
9327 if test -n "$NM"; then
9328 ac_cv_prog_NM="$NM" # Let the user override the test.
9330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9334 test -z "$as_dir" && as_dir=.
9335 for ac_exec_ext in '' $ac_executable_extensions; do
9336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9337 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
9338 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9348 if test -n "$NM"; then
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9350 $as_echo "$NM" >&6; }
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9353 $as_echo "no
" >&6; }
9358 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
9359 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9360 set dummy ${ncn_progname}; ac_word=$2
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9362 $as_echo_n "checking
for $ac_word...
" >&6; }
9363 if test "${ac_cv_prog_NM+set}" = set; then :
9364 $as_echo_n "(cached
) " >&6
9366 if test -n "$NM"; then
9367 ac_cv_prog_NM="$NM" # Let the user override the test.
9369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9373 test -z "$as_dir" && as_dir=.
9374 for ac_exec_ext in '' $ac_executable_extensions; do
9375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9376 ac_cv_prog_NM="${ncn_progname}"
9377 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9387 if test -n "$NM"; then
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9389 $as_echo "$NM" >&6; }
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9392 $as_echo "no
" >&6; }
9397 test -n "$ac_cv_prog_NM" && break
9400 if test -z "$ac_cv_prog_NM" ; then
9402 if test $build = $host ; then
9405 NM="${ncn_tool_prefix}$2"
9411 if test -n "$RANLIB"; then
9412 ac_cv_prog_RANLIB=$RANLIB
9413 elif test -n "$ac_cv_prog_RANLIB"; then
9414 RANLIB=$ac_cv_prog_RANLIB
9417 if test -n "$ac_cv_prog_RANLIB"; then
9418 for ncn_progname in ranlib; do
9419 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9420 set dummy ${ncn_progname}; ac_word=$2
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9422 $as_echo_n "checking
for $ac_word...
" >&6; }
9423 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9424 $as_echo_n "(cached
) " >&6
9426 if test -n "$RANLIB"; then
9427 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9433 test -z "$as_dir" && as_dir=.
9434 for ac_exec_ext in '' $ac_executable_extensions; do
9435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9436 ac_cv_prog_RANLIB="${ncn_progname}"
9437 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9446 RANLIB=$ac_cv_prog_RANLIB
9447 if test -n "$RANLIB"; then
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9449 $as_echo "$RANLIB" >&6; }
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9452 $as_echo "no
" >&6; }
9459 for ncn_progname in ranlib; do
9460 if test -n "$ncn_tool_prefix"; then
9461 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9462 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9464 $as_echo_n "checking
for $ac_word...
" >&6; }
9465 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9466 $as_echo_n "(cached
) " >&6
9468 if test -n "$RANLIB"; then
9469 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9475 test -z "$as_dir" && as_dir=.
9476 for ac_exec_ext in '' $ac_executable_extensions; do
9477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9478 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9479 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9488 RANLIB=$ac_cv_prog_RANLIB
9489 if test -n "$RANLIB"; then
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9491 $as_echo "$RANLIB" >&6; }
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9494 $as_echo "no
" >&6; }
9499 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9500 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9501 set dummy ${ncn_progname}; ac_word=$2
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9503 $as_echo_n "checking
for $ac_word...
" >&6; }
9504 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9505 $as_echo_n "(cached
) " >&6
9507 if test -n "$RANLIB"; then
9508 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9514 test -z "$as_dir" && as_dir=.
9515 for ac_exec_ext in '' $ac_executable_extensions; do
9516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9517 ac_cv_prog_RANLIB="${ncn_progname}"
9518 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9527 RANLIB=$ac_cv_prog_RANLIB
9528 if test -n "$RANLIB"; then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9530 $as_echo "$RANLIB" >&6; }
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9533 $as_echo "no
" >&6; }
9538 test -n "$ac_cv_prog_RANLIB" && break
9541 if test -z "$ac_cv_prog_RANLIB" ; then
9547 if test -n "$STRIP"; then
9548 ac_cv_prog_STRIP=$STRIP
9549 elif test -n "$ac_cv_prog_STRIP"; then
9550 STRIP=$ac_cv_prog_STRIP
9553 if test -n "$ac_cv_prog_STRIP"; then
9554 for ncn_progname in strip; do
9555 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9556 set dummy ${ncn_progname}; ac_word=$2
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9558 $as_echo_n "checking
for $ac_word...
" >&6; }
9559 if test "${ac_cv_prog_STRIP+set}" = set; then :
9560 $as_echo_n "(cached
) " >&6
9562 if test -n "$STRIP"; then
9563 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9569 test -z "$as_dir" && as_dir=.
9570 for ac_exec_ext in '' $ac_executable_extensions; do
9571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9572 ac_cv_prog_STRIP="${ncn_progname}"
9573 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9582 STRIP=$ac_cv_prog_STRIP
9583 if test -n "$STRIP"; then
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9585 $as_echo "$STRIP" >&6; }
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9588 $as_echo "no
" >&6; }
9595 for ncn_progname in strip; do
9596 if test -n "$ncn_tool_prefix"; then
9597 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9598 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9600 $as_echo_n "checking
for $ac_word...
" >&6; }
9601 if test "${ac_cv_prog_STRIP+set}" = set; then :
9602 $as_echo_n "(cached
) " >&6
9604 if test -n "$STRIP"; then
9605 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9611 test -z "$as_dir" && as_dir=.
9612 for ac_exec_ext in '' $ac_executable_extensions; do
9613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9614 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9615 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9624 STRIP=$ac_cv_prog_STRIP
9625 if test -n "$STRIP"; then
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9627 $as_echo "$STRIP" >&6; }
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9630 $as_echo "no
" >&6; }
9635 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9636 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9637 set dummy ${ncn_progname}; ac_word=$2
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9639 $as_echo_n "checking
for $ac_word...
" >&6; }
9640 if test "${ac_cv_prog_STRIP+set}" = set; then :
9641 $as_echo_n "(cached
) " >&6
9643 if test -n "$STRIP"; then
9644 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9650 test -z "$as_dir" && as_dir=.
9651 for ac_exec_ext in '' $ac_executable_extensions; do
9652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9653 ac_cv_prog_STRIP="${ncn_progname}"
9654 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9663 STRIP=$ac_cv_prog_STRIP
9664 if test -n "$STRIP"; then
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9666 $as_echo "$STRIP" >&6; }
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9669 $as_echo "no
" >&6; }
9674 test -n "$ac_cv_prog_STRIP" && break
9677 if test -z "$ac_cv_prog_STRIP" ; then
9683 if test -n "$WINDRES"; then
9684 ac_cv_prog_WINDRES=$WINDRES
9685 elif test -n "$ac_cv_prog_WINDRES"; then
9686 WINDRES=$ac_cv_prog_WINDRES
9689 if test -n "$ac_cv_prog_WINDRES"; then
9690 for ncn_progname in windres; do
9691 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9692 set dummy ${ncn_progname}; ac_word=$2
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9694 $as_echo_n "checking
for $ac_word...
" >&6; }
9695 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9696 $as_echo_n "(cached
) " >&6
9698 if test -n "$WINDRES"; then
9699 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9705 test -z "$as_dir" && as_dir=.
9706 for ac_exec_ext in '' $ac_executable_extensions; do
9707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9708 ac_cv_prog_WINDRES="${ncn_progname}"
9709 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9718 WINDRES=$ac_cv_prog_WINDRES
9719 if test -n "$WINDRES"; then
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9721 $as_echo "$WINDRES" >&6; }
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9724 $as_echo "no
" >&6; }
9731 for ncn_progname in windres; do
9732 if test -n "$ncn_tool_prefix"; then
9733 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9734 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9736 $as_echo_n "checking
for $ac_word...
" >&6; }
9737 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9738 $as_echo_n "(cached
) " >&6
9740 if test -n "$WINDRES"; then
9741 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9747 test -z "$as_dir" && as_dir=.
9748 for ac_exec_ext in '' $ac_executable_extensions; do
9749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9750 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9751 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9760 WINDRES=$ac_cv_prog_WINDRES
9761 if test -n "$WINDRES"; then
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9763 $as_echo "$WINDRES" >&6; }
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9766 $as_echo "no
" >&6; }
9771 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9772 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9773 set dummy ${ncn_progname}; ac_word=$2
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9775 $as_echo_n "checking
for $ac_word...
" >&6; }
9776 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9777 $as_echo_n "(cached
) " >&6
9779 if test -n "$WINDRES"; then
9780 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9786 test -z "$as_dir" && as_dir=.
9787 for ac_exec_ext in '' $ac_executable_extensions; do
9788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9789 ac_cv_prog_WINDRES="${ncn_progname}"
9790 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9799 WINDRES=$ac_cv_prog_WINDRES
9800 if test -n "$WINDRES"; then
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9802 $as_echo "$WINDRES" >&6; }
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9805 $as_echo "no
" >&6; }
9810 test -n "$ac_cv_prog_WINDRES" && break
9813 if test -z "$ac_cv_prog_WINDRES" ; then
9815 if test $build = $host ; then
9818 WINDRES="${ncn_tool_prefix}$2"
9824 if test -n "$WINDMC"; then
9825 ac_cv_prog_WINDMC=$WINDMC
9826 elif test -n "$ac_cv_prog_WINDMC"; then
9827 WINDMC=$ac_cv_prog_WINDMC
9830 if test -n "$ac_cv_prog_WINDMC"; then
9831 for ncn_progname in windmc; do
9832 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9833 set dummy ${ncn_progname}; ac_word=$2
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9835 $as_echo_n "checking
for $ac_word...
" >&6; }
9836 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9837 $as_echo_n "(cached
) " >&6
9839 if test -n "$WINDMC"; then
9840 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9846 test -z "$as_dir" && as_dir=.
9847 for ac_exec_ext in '' $ac_executable_extensions; do
9848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9849 ac_cv_prog_WINDMC="${ncn_progname}"
9850 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9859 WINDMC=$ac_cv_prog_WINDMC
9860 if test -n "$WINDMC"; then
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9862 $as_echo "$WINDMC" >&6; }
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9865 $as_echo "no
" >&6; }
9872 for ncn_progname in windmc; do
9873 if test -n "$ncn_tool_prefix"; then
9874 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9875 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9877 $as_echo_n "checking
for $ac_word...
" >&6; }
9878 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9879 $as_echo_n "(cached
) " >&6
9881 if test -n "$WINDMC"; then
9882 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9888 test -z "$as_dir" && as_dir=.
9889 for ac_exec_ext in '' $ac_executable_extensions; do
9890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9891 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9901 WINDMC=$ac_cv_prog_WINDMC
9902 if test -n "$WINDMC"; then
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9904 $as_echo "$WINDMC" >&6; }
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9907 $as_echo "no
" >&6; }
9912 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9913 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9914 set dummy ${ncn_progname}; ac_word=$2
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9916 $as_echo_n "checking
for $ac_word...
" >&6; }
9917 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9918 $as_echo_n "(cached
) " >&6
9920 if test -n "$WINDMC"; then
9921 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9927 test -z "$as_dir" && as_dir=.
9928 for ac_exec_ext in '' $ac_executable_extensions; do
9929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9930 ac_cv_prog_WINDMC="${ncn_progname}"
9931 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9940 WINDMC=$ac_cv_prog_WINDMC
9941 if test -n "$WINDMC"; then
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9943 $as_echo "$WINDMC" >&6; }
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9946 $as_echo "no
" >&6; }
9951 test -n "$ac_cv_prog_WINDMC" && break
9954 if test -z "$ac_cv_prog_WINDMC" ; then
9956 if test $build = $host ; then
9959 WINDMC="${ncn_tool_prefix}$2"
9965 if test -n "$OBJCOPY"; then
9966 ac_cv_prog_OBJCOPY=$OBJCOPY
9967 elif test -n "$ac_cv_prog_OBJCOPY"; then
9968 OBJCOPY=$ac_cv_prog_OBJCOPY
9971 if test -n "$ac_cv_prog_OBJCOPY"; then
9972 for ncn_progname in objcopy; do
9973 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9974 set dummy ${ncn_progname}; ac_word=$2
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9976 $as_echo_n "checking
for $ac_word...
" >&6; }
9977 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9978 $as_echo_n "(cached
) " >&6
9980 if test -n "$OBJCOPY"; then
9981 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9987 test -z "$as_dir" && as_dir=.
9988 for ac_exec_ext in '' $ac_executable_extensions; do
9989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9990 ac_cv_prog_OBJCOPY="${ncn_progname}"
9991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10000 OBJCOPY=$ac_cv_prog_OBJCOPY
10001 if test -n "$OBJCOPY"; then
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
10003 $as_echo "$OBJCOPY" >&6; }
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10006 $as_echo "no
" >&6; }
10013 for ncn_progname in objcopy; do
10014 if test -n "$ncn_tool_prefix"; then
10015 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10016 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10018 $as_echo_n "checking
for $ac_word...
" >&6; }
10019 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
10020 $as_echo_n "(cached
) " >&6
10022 if test -n "$OBJCOPY"; then
10023 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
10025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10026 for as_dir in $PATH
10029 test -z "$as_dir" && as_dir=.
10030 for ac_exec_ext in '' $ac_executable_extensions; do
10031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10032 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
10033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10042 OBJCOPY=$ac_cv_prog_OBJCOPY
10043 if test -n "$OBJCOPY"; then
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
10045 $as_echo "$OBJCOPY" >&6; }
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10048 $as_echo "no
" >&6; }
10053 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
10054 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10055 set dummy ${ncn_progname}; ac_word=$2
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10057 $as_echo_n "checking
for $ac_word...
" >&6; }
10058 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
10059 $as_echo_n "(cached
) " >&6
10061 if test -n "$OBJCOPY"; then
10062 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
10064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10065 for as_dir in $PATH
10068 test -z "$as_dir" && as_dir=.
10069 for ac_exec_ext in '' $ac_executable_extensions; do
10070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10071 ac_cv_prog_OBJCOPY="${ncn_progname}"
10072 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10081 OBJCOPY=$ac_cv_prog_OBJCOPY
10082 if test -n "$OBJCOPY"; then
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
10084 $as_echo "$OBJCOPY" >&6; }
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10087 $as_echo "no
" >&6; }
10092 test -n "$ac_cv_prog_OBJCOPY" && break
10095 if test -z "$ac_cv_prog_OBJCOPY" ; then
10097 if test $build = $host ; then
10100 OBJCOPY="${ncn_tool_prefix}$2"
10106 if test -n "$OBJDUMP"; then
10107 ac_cv_prog_OBJDUMP=$OBJDUMP
10108 elif test -n "$ac_cv_prog_OBJDUMP"; then
10109 OBJDUMP=$ac_cv_prog_OBJDUMP
10112 if test -n "$ac_cv_prog_OBJDUMP"; then
10113 for ncn_progname in objdump; do
10114 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10115 set dummy ${ncn_progname}; ac_word=$2
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10117 $as_echo_n "checking
for $ac_word...
" >&6; }
10118 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
10119 $as_echo_n "(cached
) " >&6
10121 if test -n "$OBJDUMP"; then
10122 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
10124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10125 for as_dir in $PATH
10128 test -z "$as_dir" && as_dir=.
10129 for ac_exec_ext in '' $ac_executable_extensions; do
10130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10131 ac_cv_prog_OBJDUMP="${ncn_progname}"
10132 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10141 OBJDUMP=$ac_cv_prog_OBJDUMP
10142 if test -n "$OBJDUMP"; then
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
10144 $as_echo "$OBJDUMP" >&6; }
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10147 $as_echo "no
" >&6; }
10154 for ncn_progname in objdump; do
10155 if test -n "$ncn_tool_prefix"; then
10156 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10157 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10159 $as_echo_n "checking
for $ac_word...
" >&6; }
10160 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
10161 $as_echo_n "(cached
) " >&6
10163 if test -n "$OBJDUMP"; then
10164 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
10166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10167 for as_dir in $PATH
10170 test -z "$as_dir" && as_dir=.
10171 for ac_exec_ext in '' $ac_executable_extensions; do
10172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10173 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
10174 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10183 OBJDUMP=$ac_cv_prog_OBJDUMP
10184 if test -n "$OBJDUMP"; then
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
10186 $as_echo "$OBJDUMP" >&6; }
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10189 $as_echo "no
" >&6; }
10194 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
10195 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10196 set dummy ${ncn_progname}; ac_word=$2
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10198 $as_echo_n "checking
for $ac_word...
" >&6; }
10199 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
10200 $as_echo_n "(cached
) " >&6
10202 if test -n "$OBJDUMP"; then
10203 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
10205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10206 for as_dir in $PATH
10209 test -z "$as_dir" && as_dir=.
10210 for ac_exec_ext in '' $ac_executable_extensions; do
10211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10212 ac_cv_prog_OBJDUMP="${ncn_progname}"
10213 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10222 OBJDUMP=$ac_cv_prog_OBJDUMP
10223 if test -n "$OBJDUMP"; then
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
10225 $as_echo "$OBJDUMP" >&6; }
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10228 $as_echo "no
" >&6; }
10233 test -n "$ac_cv_prog_OBJDUMP" && break
10236 if test -z "$ac_cv_prog_OBJDUMP" ; then
10238 if test $build = $host ; then
10241 OBJDUMP="${ncn_tool_prefix}$2"
10252 # Check whether --with-build-time-tools was given.
10253 if test "${with_build_time_tools+set}" = set; then :
10254 withval=$with_build_time_tools; case x"$withval" in
10257 with_build_time_tools=
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
10259 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10263 with_build_time_tools=
10269 if test -n "$CC_FOR_TARGET"; then
10270 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10271 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10272 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10275 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10276 for ncn_progname in cc gcc; do
10277 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10278 set dummy ${ncn_progname}; ac_word=$2
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10280 $as_echo_n "checking
for $ac_word...
" >&6; }
10281 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10282 $as_echo_n "(cached
) " >&6
10284 if test -n "$CC_FOR_TARGET"; then
10285 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10288 for as_dir in $PATH
10291 test -z "$as_dir" && as_dir=.
10292 for ac_exec_ext in '' $ac_executable_extensions; do
10293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10294 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10295 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10304 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10305 if test -n "$CC_FOR_TARGET"; then
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10307 $as_echo "$CC_FOR_TARGET" >&6; }
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10310 $as_echo "no
" >&6; }
10317 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10318 for ncn_progname in cc gcc; do
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10320 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10321 if test -x $with_build_time_tools/${ncn_progname}; then
10322 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10324 $as_echo "yes" >&6; }
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10328 $as_echo "no
" >&6; }
10333 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10334 for ncn_progname in cc gcc; do
10335 if test -n "$ncn_target_tool_prefix"; then
10336 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10337 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10339 $as_echo_n "checking
for $ac_word...
" >&6; }
10340 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10341 $as_echo_n "(cached
) " >&6
10343 if test -n "$CC_FOR_TARGET"; then
10344 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10347 for as_dir in $PATH
10350 test -z "$as_dir" && as_dir=.
10351 for ac_exec_ext in '' $ac_executable_extensions; do
10352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10353 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10354 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10363 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10364 if test -n "$CC_FOR_TARGET"; then
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10366 $as_echo "$CC_FOR_TARGET" >&6; }
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10369 $as_echo "no
" >&6; }
10374 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10375 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10376 set dummy ${ncn_progname}; ac_word=$2
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10378 $as_echo_n "checking
for $ac_word...
" >&6; }
10379 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10380 $as_echo_n "(cached
) " >&6
10382 if test -n "$CC_FOR_TARGET"; then
10383 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10386 for as_dir in $PATH
10389 test -z "$as_dir" && as_dir=.
10390 for ac_exec_ext in '' $ac_executable_extensions; do
10391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10392 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10393 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10402 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10403 if test -n "$CC_FOR_TARGET"; then
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10405 $as_echo "$CC_FOR_TARGET" >&6; }
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10408 $as_echo "no
" >&6; }
10413 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10417 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10419 if test $build = $target ; then
10422 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10425 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10430 if test -n "$CXX_FOR_TARGET"; then
10431 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10432 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10433 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10436 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10437 for ncn_progname in c++ g++ cxx gxx; do
10438 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10439 set dummy ${ncn_progname}; ac_word=$2
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10441 $as_echo_n "checking
for $ac_word...
" >&6; }
10442 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10443 $as_echo_n "(cached
) " >&6
10445 if test -n "$CXX_FOR_TARGET"; then
10446 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10449 for as_dir in $PATH
10452 test -z "$as_dir" && as_dir=.
10453 for ac_exec_ext in '' $ac_executable_extensions; do
10454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10455 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10456 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10465 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10466 if test -n "$CXX_FOR_TARGET"; then
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10468 $as_echo "$CXX_FOR_TARGET" >&6; }
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10471 $as_echo "no
" >&6; }
10478 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10479 for ncn_progname in c++ g++ cxx gxx; do
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10481 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10482 if test -x $with_build_time_tools/${ncn_progname}; then
10483 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10485 $as_echo "yes" >&6; }
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10489 $as_echo "no
" >&6; }
10494 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10495 for ncn_progname in c++ g++ cxx gxx; do
10496 if test -n "$ncn_target_tool_prefix"; then
10497 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10498 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10500 $as_echo_n "checking
for $ac_word...
" >&6; }
10501 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10502 $as_echo_n "(cached
) " >&6
10504 if test -n "$CXX_FOR_TARGET"; then
10505 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10508 for as_dir in $PATH
10511 test -z "$as_dir" && as_dir=.
10512 for ac_exec_ext in '' $ac_executable_extensions; do
10513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10514 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10515 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10524 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10525 if test -n "$CXX_FOR_TARGET"; then
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10527 $as_echo "$CXX_FOR_TARGET" >&6; }
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10530 $as_echo "no
" >&6; }
10535 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10536 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10537 set dummy ${ncn_progname}; ac_word=$2
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10539 $as_echo_n "checking
for $ac_word...
" >&6; }
10540 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10541 $as_echo_n "(cached
) " >&6
10543 if test -n "$CXX_FOR_TARGET"; then
10544 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10547 for as_dir in $PATH
10550 test -z "$as_dir" && as_dir=.
10551 for ac_exec_ext in '' $ac_executable_extensions; do
10552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10553 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10554 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10563 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10564 if test -n "$CXX_FOR_TARGET"; then
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10566 $as_echo "$CXX_FOR_TARGET" >&6; }
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10569 $as_echo "no
" >&6; }
10574 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10578 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10579 set dummy c++ g++ cxx gxx
10580 if test $build = $target ; then
10581 CXX_FOR_TARGET="$2"
10583 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10586 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10591 if test -n "$GCC_FOR_TARGET"; then
10592 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10593 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10594 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10597 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10598 for ncn_progname in gcc; do
10599 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10600 set dummy ${ncn_progname}; ac_word=$2
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10602 $as_echo_n "checking
for $ac_word...
" >&6; }
10603 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10604 $as_echo_n "(cached
) " >&6
10606 if test -n "$GCC_FOR_TARGET"; then
10607 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10610 for as_dir in $PATH
10613 test -z "$as_dir" && as_dir=.
10614 for ac_exec_ext in '' $ac_executable_extensions; do
10615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10616 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10617 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10626 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10627 if test -n "$GCC_FOR_TARGET"; then
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10629 $as_echo "$GCC_FOR_TARGET" >&6; }
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10632 $as_echo "no
" >&6; }
10639 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10640 for ncn_progname in gcc; do
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10642 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10643 if test -x $with_build_time_tools/${ncn_progname}; then
10644 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10646 $as_echo "yes" >&6; }
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10650 $as_echo "no
" >&6; }
10655 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10656 for ncn_progname in gcc; do
10657 if test -n "$ncn_target_tool_prefix"; then
10658 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10659 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10661 $as_echo_n "checking
for $ac_word...
" >&6; }
10662 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10663 $as_echo_n "(cached
) " >&6
10665 if test -n "$GCC_FOR_TARGET"; then
10666 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10669 for as_dir in $PATH
10672 test -z "$as_dir" && as_dir=.
10673 for ac_exec_ext in '' $ac_executable_extensions; do
10674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10675 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10676 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10685 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10686 if test -n "$GCC_FOR_TARGET"; then
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10688 $as_echo "$GCC_FOR_TARGET" >&6; }
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10691 $as_echo "no
" >&6; }
10696 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10697 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10698 set dummy ${ncn_progname}; ac_word=$2
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10700 $as_echo_n "checking
for $ac_word...
" >&6; }
10701 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10702 $as_echo_n "(cached
) " >&6
10704 if test -n "$GCC_FOR_TARGET"; then
10705 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10708 for as_dir in $PATH
10711 test -z "$as_dir" && as_dir=.
10712 for ac_exec_ext in '' $ac_executable_extensions; do
10713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10714 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10715 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10724 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10725 if test -n "$GCC_FOR_TARGET"; then
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10727 $as_echo "$GCC_FOR_TARGET" >&6; }
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10730 $as_echo "no
" >&6; }
10735 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10739 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10740 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10742 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10747 if test -n "$GCJ_FOR_TARGET"; then
10748 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10749 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10750 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10753 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10754 for ncn_progname in gcj; do
10755 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10756 set dummy ${ncn_progname}; ac_word=$2
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10758 $as_echo_n "checking
for $ac_word...
" >&6; }
10759 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10760 $as_echo_n "(cached
) " >&6
10762 if test -n "$GCJ_FOR_TARGET"; then
10763 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10766 for as_dir in $PATH
10769 test -z "$as_dir" && as_dir=.
10770 for ac_exec_ext in '' $ac_executable_extensions; do
10771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10772 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10782 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10783 if test -n "$GCJ_FOR_TARGET"; then
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10785 $as_echo "$GCJ_FOR_TARGET" >&6; }
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10788 $as_echo "no
" >&6; }
10795 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10796 for ncn_progname in gcj; do
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10798 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10799 if test -x $with_build_time_tools/${ncn_progname}; then
10800 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10802 $as_echo "yes" >&6; }
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10806 $as_echo "no
" >&6; }
10811 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10812 for ncn_progname in gcj; do
10813 if test -n "$ncn_target_tool_prefix"; then
10814 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10815 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10817 $as_echo_n "checking
for $ac_word...
" >&6; }
10818 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10819 $as_echo_n "(cached
) " >&6
10821 if test -n "$GCJ_FOR_TARGET"; then
10822 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10825 for as_dir in $PATH
10828 test -z "$as_dir" && as_dir=.
10829 for ac_exec_ext in '' $ac_executable_extensions; do
10830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10831 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10832 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10841 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10842 if test -n "$GCJ_FOR_TARGET"; then
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10844 $as_echo "$GCJ_FOR_TARGET" >&6; }
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10847 $as_echo "no
" >&6; }
10852 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10853 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10854 set dummy ${ncn_progname}; ac_word=$2
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10856 $as_echo_n "checking
for $ac_word...
" >&6; }
10857 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10858 $as_echo_n "(cached
) " >&6
10860 if test -n "$GCJ_FOR_TARGET"; then
10861 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10864 for as_dir in $PATH
10867 test -z "$as_dir" && as_dir=.
10868 for ac_exec_ext in '' $ac_executable_extensions; do
10869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10870 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10871 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10880 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10881 if test -n "$GCJ_FOR_TARGET"; then
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10883 $as_echo "$GCJ_FOR_TARGET" >&6; }
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10886 $as_echo "no
" >&6; }
10891 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10895 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10897 if test $build = $target ; then
10898 GCJ_FOR_TARGET="$2"
10900 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10903 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10908 if test -n "$GFORTRAN_FOR_TARGET"; then
10909 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10910 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10911 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10914 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10915 for ncn_progname in gfortran; do
10916 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10917 set dummy ${ncn_progname}; ac_word=$2
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10919 $as_echo_n "checking
for $ac_word...
" >&6; }
10920 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10921 $as_echo_n "(cached
) " >&6
10923 if test -n "$GFORTRAN_FOR_TARGET"; then
10924 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10927 for as_dir in $PATH
10930 test -z "$as_dir" && as_dir=.
10931 for ac_exec_ext in '' $ac_executable_extensions; do
10932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10933 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10934 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10943 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10944 if test -n "$GFORTRAN_FOR_TARGET"; then
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10946 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10949 $as_echo "no
" >&6; }
10956 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10957 for ncn_progname in gfortran; do
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10959 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10960 if test -x $with_build_time_tools/${ncn_progname}; then
10961 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10963 $as_echo "yes" >&6; }
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10967 $as_echo "no
" >&6; }
10972 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10973 for ncn_progname in gfortran; do
10974 if test -n "$ncn_target_tool_prefix"; then
10975 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10976 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10978 $as_echo_n "checking
for $ac_word...
" >&6; }
10979 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10980 $as_echo_n "(cached
) " >&6
10982 if test -n "$GFORTRAN_FOR_TARGET"; then
10983 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10986 for as_dir in $PATH
10989 test -z "$as_dir" && as_dir=.
10990 for ac_exec_ext in '' $ac_executable_extensions; do
10991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10992 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11002 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
11003 if test -n "$GFORTRAN_FOR_TARGET"; then
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
11005 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11008 $as_echo "no
" >&6; }
11013 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
11014 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11015 set dummy ${ncn_progname}; ac_word=$2
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11017 $as_echo_n "checking
for $ac_word...
" >&6; }
11018 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
11019 $as_echo_n "(cached
) " >&6
11021 if test -n "$GFORTRAN_FOR_TARGET"; then
11022 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
11024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11025 for as_dir in $PATH
11028 test -z "$as_dir" && as_dir=.
11029 for ac_exec_ext in '' $ac_executable_extensions; do
11030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11031 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
11032 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11041 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
11042 if test -n "$GFORTRAN_FOR_TARGET"; then
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
11044 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11047 $as_echo "no
" >&6; }
11052 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
11056 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
11058 if test $build = $target ; then
11059 GFORTRAN_FOR_TARGET="$2"
11061 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
11064 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
11069 cat > conftest.c << \EOF
11074 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
11075 have_gcc_for_target=yes
11077 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
11078 have_gcc_for_target=no
11085 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11086 if test -n "$with_build_time_tools"; then
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
11088 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
11089 if test -x $with_build_time_tools/ar; then
11090 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
11091 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
11093 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11096 $as_echo "no
" >&6; }
11098 elif test $build != $host && test $have_gcc_for_target = yes; then
11099 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
11100 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
11101 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11104 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11105 # Extract the first word of "ar", so it can be a program name with args.
11106 set dummy ar; ac_word=$2
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11108 $as_echo_n "checking
for $ac_word...
" >&6; }
11109 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
11110 $as_echo_n "(cached
) " >&6
11112 case $AR_FOR_TARGET in
11114 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11118 for as_dir in $gcc_cv_tool_dirs
11121 test -z "$as_dir" && as_dir=.
11122 for ac_exec_ext in '' $ac_executable_extensions; do
11123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11124 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11125 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11135 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11136 if test -n "$AR_FOR_TARGET"; then
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11138 $as_echo "$AR_FOR_TARGET" >&6; }
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11141 $as_echo "no
" >&6; }
11146 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11149 if test -n "$AR_FOR_TARGET"; then
11150 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11151 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11152 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11155 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11156 for ncn_progname in ar; do
11157 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11158 set dummy ${ncn_progname}; ac_word=$2
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11160 $as_echo_n "checking
for $ac_word...
" >&6; }
11161 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11162 $as_echo_n "(cached
) " >&6
11164 if test -n "$AR_FOR_TARGET"; then
11165 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11168 for as_dir in $PATH
11171 test -z "$as_dir" && as_dir=.
11172 for ac_exec_ext in '' $ac_executable_extensions; do
11173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11174 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11175 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11184 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11185 if test -n "$AR_FOR_TARGET"; then
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11187 $as_echo "$AR_FOR_TARGET" >&6; }
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11190 $as_echo "no
" >&6; }
11197 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11198 for ncn_progname in ar; do
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11200 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11201 if test -x $with_build_time_tools/${ncn_progname}; then
11202 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11204 $as_echo "yes" >&6; }
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11208 $as_echo "no
" >&6; }
11213 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11214 for ncn_progname in ar; do
11215 if test -n "$ncn_target_tool_prefix"; then
11216 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11217 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11219 $as_echo_n "checking
for $ac_word...
" >&6; }
11220 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11221 $as_echo_n "(cached
) " >&6
11223 if test -n "$AR_FOR_TARGET"; then
11224 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11227 for as_dir in $PATH
11230 test -z "$as_dir" && as_dir=.
11231 for ac_exec_ext in '' $ac_executable_extensions; do
11232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11233 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11234 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11243 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11244 if test -n "$AR_FOR_TARGET"; then
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11246 $as_echo "$AR_FOR_TARGET" >&6; }
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11249 $as_echo "no
" >&6; }
11254 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11255 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11256 set dummy ${ncn_progname}; ac_word=$2
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11258 $as_echo_n "checking
for $ac_word...
" >&6; }
11259 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11260 $as_echo_n "(cached
) " >&6
11262 if test -n "$AR_FOR_TARGET"; then
11263 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11266 for as_dir in $PATH
11269 test -z "$as_dir" && as_dir=.
11270 for ac_exec_ext in '' $ac_executable_extensions; do
11271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11272 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11273 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11282 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11283 if test -n "$AR_FOR_TARGET"; then
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11285 $as_echo "$AR_FOR_TARGET" >&6; }
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11288 $as_echo "no
" >&6; }
11293 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11297 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11299 if test $build = $target ; then
11302 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11305 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11309 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11315 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11316 if test -n "$with_build_time_tools"; then
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11318 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11319 if test -x $with_build_time_tools/as; then
11320 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11321 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11323 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11326 $as_echo "no
" >&6; }
11328 elif test $build != $host && test $have_gcc_for_target = yes; then
11329 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11330 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11331 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11334 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11335 # Extract the first word of "as
", so it can be a program name with args.
11336 set dummy as; ac_word=$2
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11338 $as_echo_n "checking
for $ac_word...
" >&6; }
11339 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11340 $as_echo_n "(cached
) " >&6
11342 case $AS_FOR_TARGET in
11344 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11348 for as_dir in $gcc_cv_tool_dirs
11351 test -z "$as_dir" && as_dir=.
11352 for ac_exec_ext in '' $ac_executable_extensions; do
11353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11354 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11355 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11365 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11366 if test -n "$AS_FOR_TARGET"; then
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11368 $as_echo "$AS_FOR_TARGET" >&6; }
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11371 $as_echo "no
" >&6; }
11376 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11379 if test -n "$AS_FOR_TARGET"; then
11380 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11381 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11382 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11385 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11386 for ncn_progname in as; do
11387 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11388 set dummy ${ncn_progname}; ac_word=$2
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11390 $as_echo_n "checking
for $ac_word...
" >&6; }
11391 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11392 $as_echo_n "(cached
) " >&6
11394 if test -n "$AS_FOR_TARGET"; then
11395 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11398 for as_dir in $PATH
11401 test -z "$as_dir" && as_dir=.
11402 for ac_exec_ext in '' $ac_executable_extensions; do
11403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11404 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11405 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11414 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11415 if test -n "$AS_FOR_TARGET"; then
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11417 $as_echo "$AS_FOR_TARGET" >&6; }
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11420 $as_echo "no
" >&6; }
11427 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11428 for ncn_progname in as; do
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11430 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11431 if test -x $with_build_time_tools/${ncn_progname}; then
11432 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11434 $as_echo "yes" >&6; }
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11438 $as_echo "no
" >&6; }
11443 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11444 for ncn_progname in as; do
11445 if test -n "$ncn_target_tool_prefix"; then
11446 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11447 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11449 $as_echo_n "checking
for $ac_word...
" >&6; }
11450 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11451 $as_echo_n "(cached
) " >&6
11453 if test -n "$AS_FOR_TARGET"; then
11454 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11457 for as_dir in $PATH
11460 test -z "$as_dir" && as_dir=.
11461 for ac_exec_ext in '' $ac_executable_extensions; do
11462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11463 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11464 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11473 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11474 if test -n "$AS_FOR_TARGET"; then
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11476 $as_echo "$AS_FOR_TARGET" >&6; }
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11479 $as_echo "no
" >&6; }
11484 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11485 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11486 set dummy ${ncn_progname}; ac_word=$2
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11488 $as_echo_n "checking
for $ac_word...
" >&6; }
11489 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11490 $as_echo_n "(cached
) " >&6
11492 if test -n "$AS_FOR_TARGET"; then
11493 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11496 for as_dir in $PATH
11499 test -z "$as_dir" && as_dir=.
11500 for ac_exec_ext in '' $ac_executable_extensions; do
11501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11502 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11503 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11512 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11513 if test -n "$AS_FOR_TARGET"; then
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11515 $as_echo "$AS_FOR_TARGET" >&6; }
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11518 $as_echo "no
" >&6; }
11523 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11527 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11529 if test $build = $target ; then
11532 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11535 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11539 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11545 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11546 if test -n "$with_build_time_tools"; then
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11548 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11549 if test -x $with_build_time_tools/dlltool; then
11550 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11551 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11553 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11556 $as_echo "no
" >&6; }
11558 elif test $build != $host && test $have_gcc_for_target = yes; then
11559 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11560 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11561 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11564 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11565 # Extract the first word of "dlltool
", so it can be a program name with args.
11566 set dummy dlltool; ac_word=$2
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11568 $as_echo_n "checking
for $ac_word...
" >&6; }
11569 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11570 $as_echo_n "(cached
) " >&6
11572 case $DLLTOOL_FOR_TARGET in
11574 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11578 for as_dir in $gcc_cv_tool_dirs
11581 test -z "$as_dir" && as_dir=.
11582 for ac_exec_ext in '' $ac_executable_extensions; do
11583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11584 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11585 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11595 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11596 if test -n "$DLLTOOL_FOR_TARGET"; then
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11598 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11601 $as_echo "no
" >&6; }
11606 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11609 if test -n "$DLLTOOL_FOR_TARGET"; then
11610 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11611 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11612 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11615 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11616 for ncn_progname in dlltool; do
11617 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11618 set dummy ${ncn_progname}; ac_word=$2
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11620 $as_echo_n "checking
for $ac_word...
" >&6; }
11621 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11622 $as_echo_n "(cached
) " >&6
11624 if test -n "$DLLTOOL_FOR_TARGET"; then
11625 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11628 for as_dir in $PATH
11631 test -z "$as_dir" && as_dir=.
11632 for ac_exec_ext in '' $ac_executable_extensions; do
11633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11634 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11635 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11644 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11645 if test -n "$DLLTOOL_FOR_TARGET"; then
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11647 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11650 $as_echo "no
" >&6; }
11657 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11658 for ncn_progname in dlltool; do
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11660 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11661 if test -x $with_build_time_tools/${ncn_progname}; then
11662 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11664 $as_echo "yes" >&6; }
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11668 $as_echo "no
" >&6; }
11673 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11674 for ncn_progname in dlltool; do
11675 if test -n "$ncn_target_tool_prefix"; then
11676 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11677 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11679 $as_echo_n "checking
for $ac_word...
" >&6; }
11680 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11681 $as_echo_n "(cached
) " >&6
11683 if test -n "$DLLTOOL_FOR_TARGET"; then
11684 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11687 for as_dir in $PATH
11690 test -z "$as_dir" && as_dir=.
11691 for ac_exec_ext in '' $ac_executable_extensions; do
11692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11693 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11694 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11703 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11704 if test -n "$DLLTOOL_FOR_TARGET"; then
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11706 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11709 $as_echo "no
" >&6; }
11714 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11715 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11716 set dummy ${ncn_progname}; ac_word=$2
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11718 $as_echo_n "checking
for $ac_word...
" >&6; }
11719 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11720 $as_echo_n "(cached
) " >&6
11722 if test -n "$DLLTOOL_FOR_TARGET"; then
11723 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11726 for as_dir in $PATH
11729 test -z "$as_dir" && as_dir=.
11730 for ac_exec_ext in '' $ac_executable_extensions; do
11731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11732 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11733 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11742 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11743 if test -n "$DLLTOOL_FOR_TARGET"; then
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11745 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11748 $as_echo "no
" >&6; }
11753 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11757 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11759 if test $build = $target ; then
11760 DLLTOOL_FOR_TARGET="$2"
11762 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11765 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11769 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11775 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11776 if test -n "$with_build_time_tools"; then
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11778 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11779 if test -x $with_build_time_tools/ld; then
11780 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11781 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11783 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11786 $as_echo "no
" >&6; }
11788 elif test $build != $host && test $have_gcc_for_target = yes; then
11789 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11790 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11791 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11794 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11795 # Extract the first word of "ld
", so it can be a program name with args.
11796 set dummy ld; ac_word=$2
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11798 $as_echo_n "checking
for $ac_word...
" >&6; }
11799 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11800 $as_echo_n "(cached
) " >&6
11802 case $LD_FOR_TARGET in
11804 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11808 for as_dir in $gcc_cv_tool_dirs
11811 test -z "$as_dir" && as_dir=.
11812 for ac_exec_ext in '' $ac_executable_extensions; do
11813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11814 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11815 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11825 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11826 if test -n "$LD_FOR_TARGET"; then
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11828 $as_echo "$LD_FOR_TARGET" >&6; }
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11831 $as_echo "no
" >&6; }
11836 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11839 if test -n "$LD_FOR_TARGET"; then
11840 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11841 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11842 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11845 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11846 for ncn_progname in ld; do
11847 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11848 set dummy ${ncn_progname}; ac_word=$2
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11850 $as_echo_n "checking
for $ac_word...
" >&6; }
11851 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11852 $as_echo_n "(cached
) " >&6
11854 if test -n "$LD_FOR_TARGET"; then
11855 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11858 for as_dir in $PATH
11861 test -z "$as_dir" && as_dir=.
11862 for ac_exec_ext in '' $ac_executable_extensions; do
11863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11864 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11865 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11874 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11875 if test -n "$LD_FOR_TARGET"; then
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11877 $as_echo "$LD_FOR_TARGET" >&6; }
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11880 $as_echo "no
" >&6; }
11887 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11888 for ncn_progname in ld; do
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11890 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11891 if test -x $with_build_time_tools/${ncn_progname}; then
11892 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11894 $as_echo "yes" >&6; }
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11898 $as_echo "no
" >&6; }
11903 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11904 for ncn_progname in ld; do
11905 if test -n "$ncn_target_tool_prefix"; then
11906 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11907 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11909 $as_echo_n "checking
for $ac_word...
" >&6; }
11910 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11911 $as_echo_n "(cached
) " >&6
11913 if test -n "$LD_FOR_TARGET"; then
11914 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11917 for as_dir in $PATH
11920 test -z "$as_dir" && as_dir=.
11921 for ac_exec_ext in '' $ac_executable_extensions; do
11922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11923 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11924 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11933 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11934 if test -n "$LD_FOR_TARGET"; then
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11936 $as_echo "$LD_FOR_TARGET" >&6; }
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11939 $as_echo "no
" >&6; }
11944 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11945 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11946 set dummy ${ncn_progname}; ac_word=$2
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11948 $as_echo_n "checking
for $ac_word...
" >&6; }
11949 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11950 $as_echo_n "(cached
) " >&6
11952 if test -n "$LD_FOR_TARGET"; then
11953 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11956 for as_dir in $PATH
11959 test -z "$as_dir" && as_dir=.
11960 for ac_exec_ext in '' $ac_executable_extensions; do
11961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11962 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11963 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11972 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11973 if test -n "$LD_FOR_TARGET"; then
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11975 $as_echo "$LD_FOR_TARGET" >&6; }
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11978 $as_echo "no
" >&6; }
11983 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11987 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11989 if test $build = $target ; then
11992 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11995 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11999 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12005 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12006 if test -n "$with_build_time_tools"; then
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
12008 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
12009 if test -x $with_build_time_tools/lipo; then
12010 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
12011 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
12013 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12016 $as_echo "no
" >&6; }
12018 elif test $build != $host && test $have_gcc_for_target = yes; then
12019 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
12020 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
12021 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12024 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12025 # Extract the first word of "lipo
", so it can be a program name with args.
12026 set dummy lipo; ac_word=$2
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12028 $as_echo_n "checking
for $ac_word...
" >&6; }
12029 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
12030 $as_echo_n "(cached
) " >&6
12032 case $LIPO_FOR_TARGET in
12034 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
12037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12038 for as_dir in $gcc_cv_tool_dirs
12041 test -z "$as_dir" && as_dir=.
12042 for ac_exec_ext in '' $ac_executable_extensions; do
12043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12044 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12045 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12055 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12056 if test -n "$LIPO_FOR_TARGET"; then
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12058 $as_echo "$LIPO_FOR_TARGET" >&6; }
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12061 $as_echo "no
" >&6; }
12066 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12069 if test -n "$LIPO_FOR_TARGET"; then
12070 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12071 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12072 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12075 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12076 for ncn_progname in lipo; do
12077 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12078 set dummy ${ncn_progname}; ac_word=$2
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12080 $as_echo_n "checking
for $ac_word...
" >&6; }
12081 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12082 $as_echo_n "(cached
) " >&6
12084 if test -n "$LIPO_FOR_TARGET"; then
12085 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12088 for as_dir in $PATH
12091 test -z "$as_dir" && as_dir=.
12092 for ac_exec_ext in '' $ac_executable_extensions; do
12093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12094 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12095 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12104 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12105 if test -n "$LIPO_FOR_TARGET"; then
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12107 $as_echo "$LIPO_FOR_TARGET" >&6; }
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12110 $as_echo "no
" >&6; }
12117 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12118 for ncn_progname in lipo; do
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12120 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12121 if test -x $with_build_time_tools/${ncn_progname}; then
12122 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12124 $as_echo "yes" >&6; }
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12128 $as_echo "no
" >&6; }
12133 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12134 for ncn_progname in lipo; do
12135 if test -n "$ncn_target_tool_prefix"; then
12136 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12137 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12139 $as_echo_n "checking
for $ac_word...
" >&6; }
12140 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12141 $as_echo_n "(cached
) " >&6
12143 if test -n "$LIPO_FOR_TARGET"; then
12144 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12147 for as_dir in $PATH
12150 test -z "$as_dir" && as_dir=.
12151 for ac_exec_ext in '' $ac_executable_extensions; do
12152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12153 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12154 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12163 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12164 if test -n "$LIPO_FOR_TARGET"; then
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12166 $as_echo "$LIPO_FOR_TARGET" >&6; }
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12169 $as_echo "no
" >&6; }
12174 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12175 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12176 set dummy ${ncn_progname}; ac_word=$2
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12178 $as_echo_n "checking
for $ac_word...
" >&6; }
12179 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12180 $as_echo_n "(cached
) " >&6
12182 if test -n "$LIPO_FOR_TARGET"; then
12183 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12186 for as_dir in $PATH
12189 test -z "$as_dir" && as_dir=.
12190 for ac_exec_ext in '' $ac_executable_extensions; do
12191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12192 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12193 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12202 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12203 if test -n "$LIPO_FOR_TARGET"; then
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12205 $as_echo "$LIPO_FOR_TARGET" >&6; }
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12208 $as_echo "no
" >&6; }
12213 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12217 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12219 if test $build = $target ; then
12220 LIPO_FOR_TARGET="$2"
12222 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12225 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12229 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12235 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12236 if test -n "$with_build_time_tools"; then
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12238 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12239 if test -x $with_build_time_tools/nm; then
12240 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12241 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12243 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12246 $as_echo "no
" >&6; }
12248 elif test $build != $host && test $have_gcc_for_target = yes; then
12249 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12250 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12251 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12254 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12255 # Extract the first word of "nm
", so it can be a program name with args.
12256 set dummy nm; ac_word=$2
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12258 $as_echo_n "checking
for $ac_word...
" >&6; }
12259 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
12260 $as_echo_n "(cached
) " >&6
12262 case $NM_FOR_TARGET in
12264 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12268 for as_dir in $gcc_cv_tool_dirs
12271 test -z "$as_dir" && as_dir=.
12272 for ac_exec_ext in '' $ac_executable_extensions; do
12273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12274 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12275 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12285 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12286 if test -n "$NM_FOR_TARGET"; then
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12288 $as_echo "$NM_FOR_TARGET" >&6; }
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12291 $as_echo "no
" >&6; }
12296 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12299 if test -n "$NM_FOR_TARGET"; then
12300 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12301 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12302 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12305 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12306 for ncn_progname in nm; do
12307 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12308 set dummy ${ncn_progname}; ac_word=$2
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12310 $as_echo_n "checking
for $ac_word...
" >&6; }
12311 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12312 $as_echo_n "(cached
) " >&6
12314 if test -n "$NM_FOR_TARGET"; then
12315 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12318 for as_dir in $PATH
12321 test -z "$as_dir" && as_dir=.
12322 for ac_exec_ext in '' $ac_executable_extensions; do
12323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12324 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12325 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12334 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12335 if test -n "$NM_FOR_TARGET"; then
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12337 $as_echo "$NM_FOR_TARGET" >&6; }
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12340 $as_echo "no
" >&6; }
12347 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12348 for ncn_progname in nm; do
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12350 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12351 if test -x $with_build_time_tools/${ncn_progname}; then
12352 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12354 $as_echo "yes" >&6; }
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12358 $as_echo "no
" >&6; }
12363 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12364 for ncn_progname in nm; do
12365 if test -n "$ncn_target_tool_prefix"; then
12366 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12367 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12369 $as_echo_n "checking
for $ac_word...
" >&6; }
12370 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12371 $as_echo_n "(cached
) " >&6
12373 if test -n "$NM_FOR_TARGET"; then
12374 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12377 for as_dir in $PATH
12380 test -z "$as_dir" && as_dir=.
12381 for ac_exec_ext in '' $ac_executable_extensions; do
12382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12383 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12384 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12393 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12394 if test -n "$NM_FOR_TARGET"; then
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12396 $as_echo "$NM_FOR_TARGET" >&6; }
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12399 $as_echo "no
" >&6; }
12404 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12405 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12406 set dummy ${ncn_progname}; ac_word=$2
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12408 $as_echo_n "checking
for $ac_word...
" >&6; }
12409 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12410 $as_echo_n "(cached
) " >&6
12412 if test -n "$NM_FOR_TARGET"; then
12413 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12416 for as_dir in $PATH
12419 test -z "$as_dir" && as_dir=.
12420 for ac_exec_ext in '' $ac_executable_extensions; do
12421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12422 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12423 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12432 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12433 if test -n "$NM_FOR_TARGET"; then
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12435 $as_echo "$NM_FOR_TARGET" >&6; }
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12438 $as_echo "no
" >&6; }
12443 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12447 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12449 if test $build = $target ; then
12452 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12455 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12459 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12465 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12466 if test -n "$with_build_time_tools"; then
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12468 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12469 if test -x $with_build_time_tools/objdump; then
12470 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12471 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12473 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12476 $as_echo "no
" >&6; }
12478 elif test $build != $host && test $have_gcc_for_target = yes; then
12479 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12480 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12481 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12484 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12485 # Extract the first word of "objdump
", so it can be a program name with args.
12486 set dummy objdump; ac_word=$2
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12488 $as_echo_n "checking
for $ac_word...
" >&6; }
12489 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12490 $as_echo_n "(cached
) " >&6
12492 case $OBJDUMP_FOR_TARGET in
12494 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12498 for as_dir in $gcc_cv_tool_dirs
12501 test -z "$as_dir" && as_dir=.
12502 for ac_exec_ext in '' $ac_executable_extensions; do
12503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12504 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12505 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12515 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12516 if test -n "$OBJDUMP_FOR_TARGET"; then
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12518 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12521 $as_echo "no
" >&6; }
12526 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12529 if test -n "$OBJDUMP_FOR_TARGET"; then
12530 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12531 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12532 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12535 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12536 for ncn_progname in objdump; do
12537 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12538 set dummy ${ncn_progname}; ac_word=$2
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12540 $as_echo_n "checking
for $ac_word...
" >&6; }
12541 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12542 $as_echo_n "(cached
) " >&6
12544 if test -n "$OBJDUMP_FOR_TARGET"; then
12545 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12548 for as_dir in $PATH
12551 test -z "$as_dir" && as_dir=.
12552 for ac_exec_ext in '' $ac_executable_extensions; do
12553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12554 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12555 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12564 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12565 if test -n "$OBJDUMP_FOR_TARGET"; then
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12567 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12570 $as_echo "no
" >&6; }
12577 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12578 for ncn_progname in objdump; do
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12580 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12581 if test -x $with_build_time_tools/${ncn_progname}; then
12582 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12584 $as_echo "yes" >&6; }
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12588 $as_echo "no
" >&6; }
12593 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12594 for ncn_progname in objdump; do
12595 if test -n "$ncn_target_tool_prefix"; then
12596 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12597 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12599 $as_echo_n "checking
for $ac_word...
" >&6; }
12600 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12601 $as_echo_n "(cached
) " >&6
12603 if test -n "$OBJDUMP_FOR_TARGET"; then
12604 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12607 for as_dir in $PATH
12610 test -z "$as_dir" && as_dir=.
12611 for ac_exec_ext in '' $ac_executable_extensions; do
12612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12613 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12614 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12623 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12624 if test -n "$OBJDUMP_FOR_TARGET"; then
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12626 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12629 $as_echo "no
" >&6; }
12634 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12635 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12636 set dummy ${ncn_progname}; ac_word=$2
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12638 $as_echo_n "checking
for $ac_word...
" >&6; }
12639 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12640 $as_echo_n "(cached
) " >&6
12642 if test -n "$OBJDUMP_FOR_TARGET"; then
12643 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12646 for as_dir in $PATH
12649 test -z "$as_dir" && as_dir=.
12650 for ac_exec_ext in '' $ac_executable_extensions; do
12651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12652 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12653 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12662 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12663 if test -n "$OBJDUMP_FOR_TARGET"; then
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12665 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12668 $as_echo "no
" >&6; }
12673 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12677 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12679 if test $build = $target ; then
12680 OBJDUMP_FOR_TARGET="$2"
12682 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12685 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12689 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12695 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12696 if test -n "$with_build_time_tools"; then
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12698 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12699 if test -x $with_build_time_tools/ranlib; then
12700 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12701 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12703 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12706 $as_echo "no
" >&6; }
12708 elif test $build != $host && test $have_gcc_for_target = yes; then
12709 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12710 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12711 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12714 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12715 # Extract the first word of "ranlib
", so it can be a program name with args.
12716 set dummy ranlib; ac_word=$2
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12718 $as_echo_n "checking
for $ac_word...
" >&6; }
12719 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12720 $as_echo_n "(cached
) " >&6
12722 case $RANLIB_FOR_TARGET in
12724 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12728 for as_dir in $gcc_cv_tool_dirs
12731 test -z "$as_dir" && as_dir=.
12732 for ac_exec_ext in '' $ac_executable_extensions; do
12733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12734 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12735 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12745 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12746 if test -n "$RANLIB_FOR_TARGET"; then
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12748 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12751 $as_echo "no
" >&6; }
12756 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12759 if test -n "$RANLIB_FOR_TARGET"; then
12760 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12761 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12762 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12765 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12766 for ncn_progname in ranlib; do
12767 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12768 set dummy ${ncn_progname}; ac_word=$2
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12770 $as_echo_n "checking
for $ac_word...
" >&6; }
12771 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12772 $as_echo_n "(cached
) " >&6
12774 if test -n "$RANLIB_FOR_TARGET"; then
12775 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12778 for as_dir in $PATH
12781 test -z "$as_dir" && as_dir=.
12782 for ac_exec_ext in '' $ac_executable_extensions; do
12783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12784 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12785 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12794 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12795 if test -n "$RANLIB_FOR_TARGET"; then
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12797 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12800 $as_echo "no
" >&6; }
12807 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12808 for ncn_progname in ranlib; do
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12810 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12811 if test -x $with_build_time_tools/${ncn_progname}; then
12812 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12814 $as_echo "yes" >&6; }
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12818 $as_echo "no
" >&6; }
12823 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12824 for ncn_progname in ranlib; do
12825 if test -n "$ncn_target_tool_prefix"; then
12826 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12827 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12829 $as_echo_n "checking
for $ac_word...
" >&6; }
12830 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12831 $as_echo_n "(cached
) " >&6
12833 if test -n "$RANLIB_FOR_TARGET"; then
12834 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12837 for as_dir in $PATH
12840 test -z "$as_dir" && as_dir=.
12841 for ac_exec_ext in '' $ac_executable_extensions; do
12842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12843 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12844 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12853 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12854 if test -n "$RANLIB_FOR_TARGET"; then
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12856 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12859 $as_echo "no
" >&6; }
12864 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12865 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12866 set dummy ${ncn_progname}; ac_word=$2
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12868 $as_echo_n "checking
for $ac_word...
" >&6; }
12869 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12870 $as_echo_n "(cached
) " >&6
12872 if test -n "$RANLIB_FOR_TARGET"; then
12873 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12876 for as_dir in $PATH
12879 test -z "$as_dir" && as_dir=.
12880 for ac_exec_ext in '' $ac_executable_extensions; do
12881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12882 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12883 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12892 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12893 if test -n "$RANLIB_FOR_TARGET"; then
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12895 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12898 $as_echo "no
" >&6; }
12903 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12907 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12909 if test $build = $target ; then
12910 RANLIB_FOR_TARGET="$2"
12912 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12915 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12919 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12925 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12926 if test -n "$with_build_time_tools"; then
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12928 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12929 if test -x $with_build_time_tools/strip; then
12930 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12931 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12933 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12936 $as_echo "no
" >&6; }
12938 elif test $build != $host && test $have_gcc_for_target = yes; then
12939 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12940 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12941 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12944 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12945 # Extract the first word of "strip
", so it can be a program name with args.
12946 set dummy strip; ac_word=$2
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12948 $as_echo_n "checking
for $ac_word...
" >&6; }
12949 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12950 $as_echo_n "(cached
) " >&6
12952 case $STRIP_FOR_TARGET in
12954 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12958 for as_dir in $gcc_cv_tool_dirs
12961 test -z "$as_dir" && as_dir=.
12962 for ac_exec_ext in '' $ac_executable_extensions; do
12963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12964 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12965 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12975 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12976 if test -n "$STRIP_FOR_TARGET"; then
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12978 $as_echo "$STRIP_FOR_TARGET" >&6; }
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12981 $as_echo "no
" >&6; }
12986 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12989 if test -n "$STRIP_FOR_TARGET"; then
12990 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12991 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12992 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12995 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12996 for ncn_progname in strip; do
12997 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12998 set dummy ${ncn_progname}; ac_word=$2
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13000 $as_echo_n "checking
for $ac_word...
" >&6; }
13001 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13002 $as_echo_n "(cached
) " >&6
13004 if test -n "$STRIP_FOR_TARGET"; then
13005 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13008 for as_dir in $PATH
13011 test -z "$as_dir" && as_dir=.
13012 for ac_exec_ext in '' $ac_executable_extensions; do
13013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13014 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13015 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13024 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13025 if test -n "$STRIP_FOR_TARGET"; then
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13027 $as_echo "$STRIP_FOR_TARGET" >&6; }
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13030 $as_echo "no
" >&6; }
13037 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13038 for ncn_progname in strip; do
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13040 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13041 if test -x $with_build_time_tools/${ncn_progname}; then
13042 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13044 $as_echo "yes" >&6; }
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13048 $as_echo "no
" >&6; }
13053 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13054 for ncn_progname in strip; do
13055 if test -n "$ncn_target_tool_prefix"; then
13056 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13057 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13059 $as_echo_n "checking
for $ac_word...
" >&6; }
13060 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13061 $as_echo_n "(cached
) " >&6
13063 if test -n "$STRIP_FOR_TARGET"; then
13064 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13067 for as_dir in $PATH
13070 test -z "$as_dir" && as_dir=.
13071 for ac_exec_ext in '' $ac_executable_extensions; do
13072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13073 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13074 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13083 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13084 if test -n "$STRIP_FOR_TARGET"; then
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13086 $as_echo "$STRIP_FOR_TARGET" >&6; }
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13089 $as_echo "no
" >&6; }
13094 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13095 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13096 set dummy ${ncn_progname}; ac_word=$2
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13098 $as_echo_n "checking
for $ac_word...
" >&6; }
13099 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13100 $as_echo_n "(cached
) " >&6
13102 if test -n "$STRIP_FOR_TARGET"; then
13103 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13106 for as_dir in $PATH
13109 test -z "$as_dir" && as_dir=.
13110 for ac_exec_ext in '' $ac_executable_extensions; do
13111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13112 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13113 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13122 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13123 if test -n "$STRIP_FOR_TARGET"; then
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13125 $as_echo "$STRIP_FOR_TARGET" >&6; }
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13128 $as_echo "no
" >&6; }
13133 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13137 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13139 if test $build = $target ; then
13140 STRIP_FOR_TARGET="$2"
13142 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13145 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13149 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13155 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13156 if test -n "$with_build_time_tools"; then
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13158 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13159 if test -x $with_build_time_tools/windres; then
13160 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13161 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13163 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13166 $as_echo "no
" >&6; }
13168 elif test $build != $host && test $have_gcc_for_target = yes; then
13169 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13170 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13171 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13174 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13175 # Extract the first word of "windres
", so it can be a program name with args.
13176 set dummy windres; ac_word=$2
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13178 $as_echo_n "checking
for $ac_word...
" >&6; }
13179 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13180 $as_echo_n "(cached
) " >&6
13182 case $WINDRES_FOR_TARGET in
13184 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13188 for as_dir in $gcc_cv_tool_dirs
13191 test -z "$as_dir" && as_dir=.
13192 for ac_exec_ext in '' $ac_executable_extensions; do
13193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13194 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13195 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13205 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13206 if test -n "$WINDRES_FOR_TARGET"; then
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13208 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13211 $as_echo "no
" >&6; }
13216 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13219 if test -n "$WINDRES_FOR_TARGET"; then
13220 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13221 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13222 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13225 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13226 for ncn_progname in windres; do
13227 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13228 set dummy ${ncn_progname}; ac_word=$2
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13230 $as_echo_n "checking
for $ac_word...
" >&6; }
13231 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13232 $as_echo_n "(cached
) " >&6
13234 if test -n "$WINDRES_FOR_TARGET"; then
13235 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13238 for as_dir in $PATH
13241 test -z "$as_dir" && as_dir=.
13242 for ac_exec_ext in '' $ac_executable_extensions; do
13243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13244 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13245 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13254 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13255 if test -n "$WINDRES_FOR_TARGET"; then
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13257 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13260 $as_echo "no
" >&6; }
13267 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13268 for ncn_progname in windres; do
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13270 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13271 if test -x $with_build_time_tools/${ncn_progname}; then
13272 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13274 $as_echo "yes" >&6; }
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13278 $as_echo "no
" >&6; }
13283 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13284 for ncn_progname in windres; do
13285 if test -n "$ncn_target_tool_prefix"; then
13286 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13287 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13289 $as_echo_n "checking
for $ac_word...
" >&6; }
13290 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13291 $as_echo_n "(cached
) " >&6
13293 if test -n "$WINDRES_FOR_TARGET"; then
13294 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13297 for as_dir in $PATH
13300 test -z "$as_dir" && as_dir=.
13301 for ac_exec_ext in '' $ac_executable_extensions; do
13302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13303 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13304 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13313 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13314 if test -n "$WINDRES_FOR_TARGET"; then
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13316 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13319 $as_echo "no
" >&6; }
13324 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13325 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13326 set dummy ${ncn_progname}; ac_word=$2
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13328 $as_echo_n "checking
for $ac_word...
" >&6; }
13329 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13330 $as_echo_n "(cached
) " >&6
13332 if test -n "$WINDRES_FOR_TARGET"; then
13333 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13336 for as_dir in $PATH
13339 test -z "$as_dir" && as_dir=.
13340 for ac_exec_ext in '' $ac_executable_extensions; do
13341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13342 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13352 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13353 if test -n "$WINDRES_FOR_TARGET"; then
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13355 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13358 $as_echo "no
" >&6; }
13363 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13367 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13369 if test $build = $target ; then
13370 WINDRES_FOR_TARGET="$2"
13372 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13375 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13379 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13385 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13386 if test -n "$with_build_time_tools"; then
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13388 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13389 if test -x $with_build_time_tools/windmc; then
13390 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13391 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13393 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13396 $as_echo "no
" >&6; }
13398 elif test $build != $host && test $have_gcc_for_target = yes; then
13399 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13400 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13401 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13404 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13405 # Extract the first word of "windmc
", so it can be a program name with args.
13406 set dummy windmc; ac_word=$2
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13408 $as_echo_n "checking
for $ac_word...
" >&6; }
13409 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13410 $as_echo_n "(cached
) " >&6
13412 case $WINDMC_FOR_TARGET in
13414 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13418 for as_dir in $gcc_cv_tool_dirs
13421 test -z "$as_dir" && as_dir=.
13422 for ac_exec_ext in '' $ac_executable_extensions; do
13423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13424 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13425 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13435 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13436 if test -n "$WINDMC_FOR_TARGET"; then
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13438 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13441 $as_echo "no
" >&6; }
13446 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13449 if test -n "$WINDMC_FOR_TARGET"; then
13450 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13451 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13452 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13455 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13456 for ncn_progname in windmc; do
13457 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13458 set dummy ${ncn_progname}; ac_word=$2
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13460 $as_echo_n "checking
for $ac_word...
" >&6; }
13461 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13462 $as_echo_n "(cached
) " >&6
13464 if test -n "$WINDMC_FOR_TARGET"; then
13465 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13468 for as_dir in $PATH
13471 test -z "$as_dir" && as_dir=.
13472 for ac_exec_ext in '' $ac_executable_extensions; do
13473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13474 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13475 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13484 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13485 if test -n "$WINDMC_FOR_TARGET"; then
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13487 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13490 $as_echo "no
" >&6; }
13497 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13498 for ncn_progname in windmc; do
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13500 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13501 if test -x $with_build_time_tools/${ncn_progname}; then
13502 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13504 $as_echo "yes" >&6; }
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13508 $as_echo "no
" >&6; }
13513 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13514 for ncn_progname in windmc; do
13515 if test -n "$ncn_target_tool_prefix"; then
13516 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13517 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13519 $as_echo_n "checking
for $ac_word...
" >&6; }
13520 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13521 $as_echo_n "(cached
) " >&6
13523 if test -n "$WINDMC_FOR_TARGET"; then
13524 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13527 for as_dir in $PATH
13530 test -z "$as_dir" && as_dir=.
13531 for ac_exec_ext in '' $ac_executable_extensions; do
13532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13533 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13534 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13543 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13544 if test -n "$WINDMC_FOR_TARGET"; then
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13546 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13549 $as_echo "no
" >&6; }
13554 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13555 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13556 set dummy ${ncn_progname}; ac_word=$2
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13558 $as_echo_n "checking
for $ac_word...
" >&6; }
13559 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13560 $as_echo_n "(cached
) " >&6
13562 if test -n "$WINDMC_FOR_TARGET"; then
13563 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13566 for as_dir in $PATH
13569 test -z "$as_dir" && as_dir=.
13570 for ac_exec_ext in '' $ac_executable_extensions; do
13571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13572 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13573 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13582 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13583 if test -n "$WINDMC_FOR_TARGET"; then
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13585 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13588 $as_echo "no
" >&6; }
13593 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13597 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13599 if test $build = $target ; then
13600 WINDMC_FOR_TARGET="$2"
13602 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13605 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13609 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13613 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13616 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13617 if test "x
${build}" != "x
${host}" ; then
13618 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13619 # We already found the complete path
13620 ac_dir=`dirname $AR_FOR_TARGET`
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13622 $as_echo "pre-installed
in $ac_dir" >&6; }
13624 # Canadian cross, just use what we found
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13626 $as_echo "pre-installed
" >&6; }
13630 case " ${configdirs} " in
13635 if test $ok = yes; then
13636 # An in-tree tool is available and we can use it
13637 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13639 $as_echo "just compiled
" >&6; }
13640 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13641 # We already found the complete path
13642 ac_dir=`dirname $AR_FOR_TARGET`
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13644 $as_echo "pre-installed
in $ac_dir" >&6; }
13645 elif test "x
$target" = "x
$host"; then
13646 # We can use an host tool
13647 AR_FOR_TARGET='$(AR)'
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13649 $as_echo "host tool
" >&6; }
13651 # We need a cross tool
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13653 $as_echo "pre-installed
" >&6; }
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13658 $as_echo_n "checking where to
find the target as...
" >&6; }
13659 if test "x
${build}" != "x
${host}" ; then
13660 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13661 # We already found the complete path
13662 ac_dir=`dirname $AS_FOR_TARGET`
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13664 $as_echo "pre-installed
in $ac_dir" >&6; }
13666 # Canadian cross, just use what we found
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13668 $as_echo "pre-installed
" >&6; }
13672 case " ${configdirs} " in
13677 if test $ok = yes; then
13678 # An in-tree tool is available and we can use it
13679 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13681 $as_echo "just compiled
" >&6; }
13682 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13683 # We already found the complete path
13684 ac_dir=`dirname $AS_FOR_TARGET`
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13686 $as_echo "pre-installed
in $ac_dir" >&6; }
13687 elif test "x
$target" = "x
$host"; then
13688 # We can use an host tool
13689 AS_FOR_TARGET='$(AS)'
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13691 $as_echo "host tool
" >&6; }
13693 # We need a cross tool
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13695 $as_echo "pre-installed
" >&6; }
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13700 $as_echo_n "checking where to
find the target cc...
" >&6; }
13701 if test "x
${build}" != "x
${host}" ; then
13702 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13703 # We already found the complete path
13704 ac_dir=`dirname $CC_FOR_TARGET`
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13706 $as_echo "pre-installed
in $ac_dir" >&6; }
13708 # Canadian cross, just use what we found
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13710 $as_echo "pre-installed
" >&6; }
13714 case " ${configdirs} " in
13719 if test $ok = yes; then
13720 # An in-tree tool is available and we can use it
13721 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13723 $as_echo "just compiled
" >&6; }
13724 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13725 # We already found the complete path
13726 ac_dir=`dirname $CC_FOR_TARGET`
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13728 $as_echo "pre-installed
in $ac_dir" >&6; }
13729 elif test "x
$target" = "x
$host"; then
13730 # We can use an host tool
13731 CC_FOR_TARGET='$(CC)'
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13733 $as_echo "host tool
" >&6; }
13735 # We need a cross tool
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13737 $as_echo "pre-installed
" >&6; }
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13742 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13743 if test "x
${build}" != "x
${host}" ; then
13744 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13745 # We already found the complete path
13746 ac_dir=`dirname $CXX_FOR_TARGET`
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13748 $as_echo "pre-installed
in $ac_dir" >&6; }
13750 # Canadian cross, just use what we found
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13752 $as_echo "pre-installed
" >&6; }
13756 case " ${configdirs} " in
13760 case ,${enable_languages}, in
13764 if test $ok = yes; then
13765 # An in-tree tool is available and we can use it
13766 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'
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13768 $as_echo "just compiled
" >&6; }
13769 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13770 # We already found the complete path
13771 ac_dir=`dirname $CXX_FOR_TARGET`
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13773 $as_echo "pre-installed
in $ac_dir" >&6; }
13774 elif test "x
$target" = "x
$host"; then
13775 # We can use an host tool
13776 CXX_FOR_TARGET='$(CXX)'
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13778 $as_echo "host tool
" >&6; }
13780 # We need a cross tool
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13782 $as_echo "pre-installed
" >&6; }
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13787 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13788 if test "x
${build}" != "x
${host}" ; then
13789 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13790 # We already found the complete path
13791 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13793 $as_echo "pre-installed
in $ac_dir" >&6; }
13795 # Canadian cross, just use what we found
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13797 $as_echo "pre-installed
" >&6; }
13801 case " ${configdirs} " in
13805 case ,${enable_languages}, in
13809 if test $ok = yes; then
13810 # An in-tree tool is available and we can use it
13811 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'
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13813 $as_echo "just compiled
" >&6; }
13814 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13815 # We already found the complete path
13816 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13818 $as_echo "pre-installed
in $ac_dir" >&6; }
13819 elif test "x
$target" = "x
$host"; then
13820 # We can use an host tool
13821 RAW_CXX_FOR_TARGET='$(CXX)'
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13823 $as_echo "host tool
" >&6; }
13825 # We need a cross tool
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13827 $as_echo "pre-installed
" >&6; }
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13832 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13833 if test "x
${build}" != "x
${host}" ; then
13834 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13835 # We already found the complete path
13836 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13838 $as_echo "pre-installed
in $ac_dir" >&6; }
13840 # Canadian cross, just use what we found
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13842 $as_echo "pre-installed
" >&6; }
13846 case " ${configdirs} " in
13851 if test $ok = yes; then
13852 # An in-tree tool is available and we can use it
13853 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13855 $as_echo "just compiled
" >&6; }
13856 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13857 # We already found the complete path
13858 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13860 $as_echo "pre-installed
in $ac_dir" >&6; }
13861 elif test "x
$target" = "x
$host"; then
13862 # We can use an host tool
13863 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13865 $as_echo "host tool
" >&6; }
13867 # We need a cross tool
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13869 $as_echo "pre-installed
" >&6; }
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13874 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13875 if test "x
${build}" != "x
${host}" ; then
13876 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13877 # We already found the complete path
13878 ac_dir=`dirname $GCC_FOR_TARGET`
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13880 $as_echo "pre-installed
in $ac_dir" >&6; }
13882 # Canadian cross, just use what we found
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13884 $as_echo "pre-installed
" >&6; }
13888 case " ${configdirs} " in
13893 if test $ok = yes; then
13894 # An in-tree tool is available and we can use it
13895 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13897 $as_echo "just compiled
" >&6; }
13898 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13899 # We already found the complete path
13900 ac_dir=`dirname $GCC_FOR_TARGET`
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13902 $as_echo "pre-installed
in $ac_dir" >&6; }
13903 elif test "x
$target" = "x
$host"; then
13904 # We can use an host tool
13905 GCC_FOR_TARGET='$()'
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13907 $as_echo "host tool
" >&6; }
13909 # We need a cross tool
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13911 $as_echo "pre-installed
" >&6; }
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13916 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13917 if test "x
${build}" != "x
${host}" ; then
13918 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13919 # We already found the complete path
13920 ac_dir=`dirname $GCJ_FOR_TARGET`
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13922 $as_echo "pre-installed
in $ac_dir" >&6; }
13924 # Canadian cross, just use what we found
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13926 $as_echo "pre-installed
" >&6; }
13930 case " ${configdirs} " in
13934 case ,${enable_languages}, in
13938 if test $ok = yes; then
13939 # An in-tree tool is available and we can use it
13940 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13942 $as_echo "just compiled
" >&6; }
13943 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13944 # We already found the complete path
13945 ac_dir=`dirname $GCJ_FOR_TARGET`
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13947 $as_echo "pre-installed
in $ac_dir" >&6; }
13948 elif test "x
$target" = "x
$host"; then
13949 # We can use an host tool
13950 GCJ_FOR_TARGET='$(GCJ)'
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13952 $as_echo "host tool
" >&6; }
13954 # We need a cross tool
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13956 $as_echo "pre-installed
" >&6; }
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13961 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13962 if test "x
${build}" != "x
${host}" ; then
13963 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13964 # We already found the complete path
13965 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13967 $as_echo "pre-installed
in $ac_dir" >&6; }
13969 # Canadian cross, just use what we found
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13971 $as_echo "pre-installed
" >&6; }
13975 case " ${configdirs} " in
13979 case ,${enable_languages}, in
13983 if test $ok = yes; then
13984 # An in-tree tool is available and we can use it
13985 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13987 $as_echo "just compiled
" >&6; }
13988 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13989 # We already found the complete path
13990 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13992 $as_echo "pre-installed
in $ac_dir" >&6; }
13993 elif test "x
$target" = "x
$host"; then
13994 # We can use an host tool
13995 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13997 $as_echo "host tool
" >&6; }
13999 # We need a cross tool
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14001 $as_echo "pre-installed
" >&6; }
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14006 $as_echo_n "checking where to
find the target ld...
" >&6; }
14007 if test "x
${build}" != "x
${host}" ; then
14008 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14009 # We already found the complete path
14010 ac_dir=`dirname $LD_FOR_TARGET`
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14012 $as_echo "pre-installed
in $ac_dir" >&6; }
14014 # Canadian cross, just use what we found
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14016 $as_echo "pre-installed
" >&6; }
14020 case " ${configdirs} " in
14025 if test $ok = yes; then
14026 # An in-tree tool is available and we can use it
14027 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14029 $as_echo "just compiled
" >&6; }
14030 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14031 # We already found the complete path
14032 ac_dir=`dirname $LD_FOR_TARGET`
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14034 $as_echo "pre-installed
in $ac_dir" >&6; }
14035 elif test "x
$target" = "x
$host"; then
14036 # We can use an host tool
14037 LD_FOR_TARGET='$(LD)'
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14039 $as_echo "host tool
" >&6; }
14041 # We need a cross tool
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14043 $as_echo "pre-installed
" >&6; }
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14048 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14049 if test "x
${build}" != "x
${host}" ; then
14050 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14051 # We already found the complete path
14052 ac_dir=`dirname $LIPO_FOR_TARGET`
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14054 $as_echo "pre-installed
in $ac_dir" >&6; }
14056 # Canadian cross, just use what we found
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14058 $as_echo "pre-installed
" >&6; }
14061 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14062 # We already found the complete path
14063 ac_dir=`dirname $LIPO_FOR_TARGET`
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14065 $as_echo "pre-installed
in $ac_dir" >&6; }
14066 elif test "x
$target" = "x
$host"; then
14067 # We can use an host tool
14068 LIPO_FOR_TARGET='$(LIPO)'
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14070 $as_echo "host tool
" >&6; }
14072 # We need a cross tool
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14074 $as_echo "pre-installed
" >&6; }
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14079 $as_echo_n "checking where to
find the target nm...
" >&6; }
14080 if test "x
${build}" != "x
${host}" ; then
14081 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14082 # We already found the complete path
14083 ac_dir=`dirname $NM_FOR_TARGET`
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14085 $as_echo "pre-installed
in $ac_dir" >&6; }
14087 # Canadian cross, just use what we found
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14089 $as_echo "pre-installed
" >&6; }
14093 case " ${configdirs} " in
14098 if test $ok = yes; then
14099 # An in-tree tool is available and we can use it
14100 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14102 $as_echo "just compiled
" >&6; }
14103 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14104 # We already found the complete path
14105 ac_dir=`dirname $NM_FOR_TARGET`
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14107 $as_echo "pre-installed
in $ac_dir" >&6; }
14108 elif test "x
$target" = "x
$host"; then
14109 # We can use an host tool
14110 NM_FOR_TARGET='$(NM)'
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14112 $as_echo "host tool
" >&6; }
14114 # We need a cross tool
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14116 $as_echo "pre-installed
" >&6; }
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14121 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14122 if test "x
${build}" != "x
${host}" ; then
14123 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14124 # We already found the complete path
14125 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14127 $as_echo "pre-installed
in $ac_dir" >&6; }
14129 # Canadian cross, just use what we found
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14131 $as_echo "pre-installed
" >&6; }
14135 case " ${configdirs} " in
14140 if test $ok = yes; then
14141 # An in-tree tool is available and we can use it
14142 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14144 $as_echo "just compiled
" >&6; }
14145 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14146 # We already found the complete path
14147 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14149 $as_echo "pre-installed
in $ac_dir" >&6; }
14150 elif test "x
$target" = "x
$host"; then
14151 # We can use an host tool
14152 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14154 $as_echo "host tool
" >&6; }
14156 # We need a cross tool
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14158 $as_echo "pre-installed
" >&6; }
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14163 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14164 if test "x
${build}" != "x
${host}" ; then
14165 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14166 # We already found the complete path
14167 ac_dir=`dirname $RANLIB_FOR_TARGET`
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14169 $as_echo "pre-installed
in $ac_dir" >&6; }
14171 # Canadian cross, just use what we found
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14173 $as_echo "pre-installed
" >&6; }
14177 case " ${configdirs} " in
14182 if test $ok = yes; then
14183 # An in-tree tool is available and we can use it
14184 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14186 $as_echo "just compiled
" >&6; }
14187 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14188 # We already found the complete path
14189 ac_dir=`dirname $RANLIB_FOR_TARGET`
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14191 $as_echo "pre-installed
in $ac_dir" >&6; }
14192 elif test "x
$target" = "x
$host"; then
14193 # We can use an host tool
14194 RANLIB_FOR_TARGET='$(RANLIB)'
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14196 $as_echo "host tool
" >&6; }
14198 # We need a cross tool
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14200 $as_echo "pre-installed
" >&6; }
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14205 $as_echo_n "checking where to
find the target strip...
" >&6; }
14206 if test "x
${build}" != "x
${host}" ; then
14207 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14208 # We already found the complete path
14209 ac_dir=`dirname $STRIP_FOR_TARGET`
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14211 $as_echo "pre-installed
in $ac_dir" >&6; }
14213 # Canadian cross, just use what we found
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14215 $as_echo "pre-installed
" >&6; }
14219 case " ${configdirs} " in
14224 if test $ok = yes; then
14225 # An in-tree tool is available and we can use it
14226 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14228 $as_echo "just compiled
" >&6; }
14229 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14230 # We already found the complete path
14231 ac_dir=`dirname $STRIP_FOR_TARGET`
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14233 $as_echo "pre-installed
in $ac_dir" >&6; }
14234 elif test "x
$target" = "x
$host"; then
14235 # We can use an host tool
14236 STRIP_FOR_TARGET='$(STRIP)'
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14238 $as_echo "host tool
" >&6; }
14240 # We need a cross tool
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14242 $as_echo "pre-installed
" >&6; }
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14247 $as_echo_n "checking where to
find the target windres...
" >&6; }
14248 if test "x
${build}" != "x
${host}" ; then
14249 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14250 # We already found the complete path
14251 ac_dir=`dirname $WINDRES_FOR_TARGET`
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14253 $as_echo "pre-installed
in $ac_dir" >&6; }
14255 # Canadian cross, just use what we found
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14257 $as_echo "pre-installed
" >&6; }
14261 case " ${configdirs} " in
14266 if test $ok = yes; then
14267 # An in-tree tool is available and we can use it
14268 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14270 $as_echo "just compiled
" >&6; }
14271 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14272 # We already found the complete path
14273 ac_dir=`dirname $WINDRES_FOR_TARGET`
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14275 $as_echo "pre-installed
in $ac_dir" >&6; }
14276 elif test "x
$target" = "x
$host"; then
14277 # We can use an host tool
14278 WINDRES_FOR_TARGET='$(WINDRES)'
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14280 $as_echo "host tool
" >&6; }
14282 # We need a cross tool
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14284 $as_echo "pre-installed
" >&6; }
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14289 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14290 if test "x
${build}" != "x
${host}" ; then
14291 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14292 # We already found the complete path
14293 ac_dir=`dirname $WINDMC_FOR_TARGET`
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14295 $as_echo "pre-installed
in $ac_dir" >&6; }
14297 # Canadian cross, just use what we found
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14299 $as_echo "pre-installed
" >&6; }
14303 case " ${configdirs} " in
14308 if test $ok = yes; then
14309 # An in-tree tool is available and we can use it
14310 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14312 $as_echo "just compiled
" >&6; }
14313 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14314 # We already found the complete path
14315 ac_dir=`dirname $WINDMC_FOR_TARGET`
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14317 $as_echo "pre-installed
in $ac_dir" >&6; }
14318 elif test "x
$target" = "x
$host"; then
14319 # We can use an host tool
14320 WINDMC_FOR_TARGET='$(WINDMC)'
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14322 $as_echo "host tool
" >&6; }
14324 # We need a cross tool
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14326 $as_echo "pre-installed
" >&6; }
14334 # Certain tools may need extra flags.
14335 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14336 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14337 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14339 # When building target libraries, except in a Canadian cross, we use
14340 # the same toolchain as the compiler we just built.
14341 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14342 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14343 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14344 if test $host = $build; then
14345 case " $configdirs " in
14347 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14348 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14349 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14359 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14360 # Check whether --enable-maintainer-mode was given.
14361 if test "${enable_maintainer_mode+set}" = set; then :
14362 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14364 USE_MAINTAINER_MODE=no
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14368 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14371 if test "$USE_MAINTAINER_MODE" = yes; then
14372 MAINTAINER_MODE_TRUE=
14373 MAINTAINER_MODE_FALSE='#'
14375 MAINTAINER_MODE_TRUE='#'
14376 MAINTAINER_MODE_FALSE=
14378 MAINT=$MAINTAINER_MODE_TRUE
14380 # ---------------------
14381 # GCC bootstrap support
14382 # ---------------------
14384 # Stage specific cflags for build.
14389 yes) stage1_cflags="-g -Wa,-J" ;;
14390 *) stage1_cflags="-g -J" ;;
14394 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
14395 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
14396 saved_CFLAGS="$CFLAGS"
14398 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
14399 CFLAGS="$CFLAGS -fkeep-inline-functions"
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
14401 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
14402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14403 /* end confdefs.h. */
14405 #if (__GNUC__ < 3) \
14406 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
14407 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
14408 #error http://gcc.gnu.org/PR29382
14419 if ac_fn_c_try_compile "$LINENO"; then :
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14421 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14424 $as_echo "no
" >&6; }
14426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14428 CFLAGS="$saved_CFLAGS"
14433 # Enable --enable-checking in stage1 of the compiler.
14434 # Check whether --enable-stage1-checking was given.
14435 if test "${enable_stage1_checking+set}" = set; then :
14436 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14438 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14439 stage1_checking=--enable-checking=yes,types
14441 stage1_checking=--enable-checking=$enable_checking,types
14447 # Enable -Werror in bootstrap stage2 and later.
14448 # Check whether --enable-werror was given.
14449 if test "${enable_werror+set}" = set; then :
14450 enableval=$enable_werror;
14452 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14459 case ${enable_werror} in
14460 yes) stage2_werror_flag="--enable-werror-always" ;;
14461 *) stage2_werror_flag="" ;;
14465 # Specify what files to not compare during bootstrap.
14467 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14469 hppa*64*-*-hpux*) ;;
14470 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14472 case " $configdirs " in
14473 *" ppl
"*) compare_exclusions="$compare_exclusions | ppl
/src
/ppl-config.o
" ;;
14477 ac_config_files="$ac_config_files Makefile
"
14479 cat >confcache <<\_ACEOF
14480 # This file is a shell script that caches the results of configure
14481 # tests run on this system so they can be shared between configure
14482 # scripts and configure runs, see configure's option --config-cache.
14483 # It is not useful on other systems. If it contains results you don't
14484 # want to keep, you may remove or edit it.
14486 # config.status only pays attention to the cache file if you give it
14487 # the --recheck option to rerun configure.
14489 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14490 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14491 # following values.
14495 # The following way of writing the cache mishandles newlines in values,
14496 # but we know of no workaround that is simple, portable, and efficient.
14497 # So, we kill variables containing newlines.
14498 # Ultrix sh set writes to stderr and can't be redirected directly,
14499 # and sets the high bit in the cache file unless we assign to the vars.
14501 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14502 eval ac_val=\$$ac_var
14506 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14507 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14510 _ | IFS | as_nl) ;; #(
14511 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14512 *) { eval $ac_var=; unset $ac_var;} ;;
14518 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14519 *${as_nl}ac_space=\ *)
14520 # `set' does not quote correctly, so add quotes: double-quote
14521 # substitution turns \\\\ into \\, and sed turns \\ into \.
14524 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14527 # `set' quotes correctly as required by POSIX, so do not add quotes.
14528 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14537 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14539 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14541 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14542 if test -w "$cache_file"; then
14543 test "x
$cache_file" != "x
/dev
/null
" &&
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14545 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14546 cat confcache >$cache_file
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14549 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14554 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14555 # Let make expand exec_prefix.
14556 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14558 # Transform confdefs.h into DEFS.
14559 # Protect against shell expansion while executing Makefile rules.
14560 # Protect against Makefile macro expansion.
14562 # If the first sed substitution is executed (which looks for macros that
14563 # take arguments), then branch to the quote section. Otherwise,
14564 # look for a macro that doesn't take arguments.
14574 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14576 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14580 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14593 DEFS=`sed -n "$ac_script" confdefs.h`
14598 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14599 # 1. Remove the extension, and $U if already installed.
14600 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14601 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14602 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14603 # will be set to the directory where LIBOBJS objects are built.
14604 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14605 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14607 LIBOBJS=$ac_libobjs
14609 LTLIBOBJS=$ac_ltlibobjs
14613 : ${CONFIG_STATUS=./config.status}
14615 ac_clean_files_save=$ac_clean_files
14616 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14618 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14620 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14622 # Generated by $as_me.
14623 # Run this file to recreate the current configuration.
14624 # Compiler output produced by configure, useful for debugging
14625 # configure, is in config.log if it exists.
14628 ac_cs_recheck=false
14631 SHELL=\${CONFIG_SHELL-$SHELL}
14634 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14635 ## -------------------- ##
14636 ## M4sh Initialization. ##
14637 ## -------------------- ##
14639 # Be more Bourne compatible
14640 DUALCASE=1; export DUALCASE # for MKS sh
14641 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14644 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14645 # is contrary to our usage. Disable this feature.
14646 alias -g '${1+"$@"}'='"$@"'
14647 setopt NO_GLOB_SUBST
14649 case `(set -o) 2>/dev/null` in #(
14661 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14662 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14663 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14664 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14665 # Prefer a ksh shell builtin over an external printf program on Solaris,
14666 # but without wasting forks for bash or zsh.
14667 if test -z "$BASH_VERSION$ZSH_VERSION" \
14668 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14669 as_echo
='print -r --'
14670 as_echo_n
='print -rn --'
14671 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14672 as_echo
='printf %s\n'
14673 as_echo_n
='printf %s'
14675 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14676 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14677 as_echo_n
='/usr/ucb/echo -n'
14679 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14680 as_echo_n_body
='eval
14684 expr "X$arg" : "X\\(.*\\)$as_nl";
14685 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14687 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14689 export as_echo_n_body
14690 as_echo_n
='sh -c $as_echo_n_body as_echo'
14692 export as_echo_body
14693 as_echo
='sh -c $as_echo_body as_echo'
14696 # The user is always right.
14697 if test "${PATH_SEPARATOR+set}" != set; then
14699 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14700 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14707 # We need space, tab and new line, in precisely that order. Quoting is
14708 # there to prevent editors from complaining about space-tab.
14709 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14710 # splitting by setting IFS to empty value.)
14713 # Find who we are. Look in the path if we contain no directory separator.
14715 *[\\/]* ) as_myself
=$0 ;;
14716 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14717 for as_dir
in $PATH
14720 test -z "$as_dir" && as_dir
=.
14721 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14727 # We did not find ourselves, most probably we were run as `sh COMMAND'
14728 # in which case we are not to be found in the path.
14729 if test "x$as_myself" = x
; then
14732 if test ! -f "$as_myself"; then
14733 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14737 # Unset variables that we do not need and which cause bugs (e.g. in
14738 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14739 # suppresses any "Segmentation fault" message there. '((' could
14740 # trigger a bug in pdksh 5.2.14.
14741 for as_var
in BASH_ENV ENV MAIL MAILPATH
14742 do eval test x\
${$as_var+set} = xset \
14743 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14756 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14759 # as_fn_error ERROR [LINENO LOG_FD]
14760 # ---------------------------------
14761 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14762 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14763 # script with status $?, using 1 if that was 0.
14766 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14768 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14769 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14771 $as_echo "$as_me: error: $1" >&2
14772 as_fn_exit
$as_status
14776 # as_fn_set_status STATUS
14777 # -----------------------
14778 # Set $? to STATUS, without forking.
14779 as_fn_set_status
()
14782 } # as_fn_set_status
14784 # as_fn_exit STATUS
14785 # -----------------
14786 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14790 as_fn_set_status
$1
14796 # Portably unset VAR.
14799 { eval $1=; unset $1;}
14801 as_unset
=as_fn_unset
14802 # as_fn_append VAR VALUE
14803 # ----------------------
14804 # Append the text in VALUE to the end of the definition contained in VAR. Take
14805 # advantage of any shell optimizations that allow amortized linear growth over
14806 # repeated appends, instead of the typical quadratic growth present in naive
14808 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14809 eval 'as_fn_append ()
14820 # as_fn_arith ARG...
14821 # ------------------
14822 # Perform arithmetic evaluation on the ARGs, and store the result in the
14823 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14824 # must be portable across $(()) and expr.
14825 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14826 eval 'as_fn_arith ()
14833 as_val
=`expr "$@" || test $? -eq 1`
14838 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14839 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14845 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14846 as_basename
=basename
14851 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14857 as_me
=`$as_basename -- "$0" ||
14858 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14859 X"$0" : 'X\(//\)$' \| \
14860 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14862 sed '/^.*\/\([^/][^/]*\)\/*$/{
14876 # Avoid depending upon Character Ranges.
14877 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14878 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14879 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14880 as_cr_digits
='0123456789'
14881 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14883 ECHO_C
= ECHO_N
= ECHO_T
=
14884 case `echo -n x` in #(((((
14886 case `echo 'xy\c'` in
14887 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14889 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14896 rm -f conf$$ conf$$.exe conf$$.
file
14897 if test -d conf$$.dir
; then
14898 rm -f conf$$.dir
/conf$$.
file
14901 mkdir conf$$.dir
2>/dev
/null
14903 if (echo >conf$$.
file) 2>/dev
/null
; then
14904 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14906 # ... but there are two gotchas:
14907 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14908 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14909 # In both cases, we have to default to `cp -p'.
14910 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14912 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14920 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14921 rmdir conf$$.dir
2>/dev
/null
14926 # Create "$as_dir" as a directory, including parents if necessary.
14931 -*) as_dir
=.
/$as_dir;;
14933 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14937 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14938 *) as_qdir
=$as_dir;;
14940 as_dirs
="'$as_qdir' $as_dirs"
14941 as_dir
=`$as_dirname -- "$as_dir" ||
14942 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14943 X"$as_dir" : 'X\(//\)[^/]' \| \
14944 X"$as_dir" : 'X\(//\)$' \| \
14945 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14946 $as_echo X"$as_dir" |
14947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14951 /^X\(\/\/\)[^/].*/{
14964 test -d "$as_dir" && break
14966 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14967 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14971 if mkdir
-p .
2>/dev
/null
; then
14972 as_mkdir_p
='mkdir -p "$as_dir"'
14974 test -d .
/-p && rmdir .
/-p
14978 if test -x / >/dev
/null
2>&1; then
14979 as_test_x
='test -x'
14981 if ls -dL / >/dev
/null
2>&1; then
14988 if test -d "$1"; then
14994 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14995 ???[sx]*):;;*)false;;esac;fi
14999 as_executable_p
=$as_test_x
15001 # Sed expression to map a string onto a valid CPP name.
15002 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15004 # Sed expression to map a string onto a valid variable name.
15005 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15009 ## ----------------------------------- ##
15010 ## Main body of $CONFIG_STATUS script. ##
15011 ## ----------------------------------- ##
15013 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15016 # Save the log message, to keep $0 and so on meaningful, and to
15017 # report actual input values of CONFIG_FILES etc. instead of their
15018 # values after options handling.
15020 This file was extended by $as_me, which was
15021 generated by GNU Autoconf 2.64. Invocation command line was
15023 CONFIG_FILES = $CONFIG_FILES
15024 CONFIG_HEADERS = $CONFIG_HEADERS
15025 CONFIG_LINKS = $CONFIG_LINKS
15026 CONFIG_COMMANDS = $CONFIG_COMMANDS
15029 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15034 case $ac_config_files in *"
15035 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15041 # Files that config.status was made for.
15042 config_files="$ac_config_files"
15046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15048 \`$as_me' instantiates files and other configuration actions
15049 from templates according to the current configuration. Unless the files
15050 and actions are specified as TAGs, all are instantiated by default.
15052 Usage: $0 [OPTION]... [TAG]...
15054 -h, --help print this help, then exit
15055 -V, --version print version number and configuration settings, then exit
15056 -q, --quiet, --silent
15057 do not print progress messages
15058 -d, --debug don't remove temporary files
15059 --recheck update $as_me by reconfiguring in the same conditions
15060 --file=FILE[:TEMPLATE]
15061 instantiate the configuration file FILE
15063 Configuration files:
15066 Report bugs to the package provider."
15069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15072 configured by $0, generated by GNU Autoconf 2.64,
15073 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15075 Copyright (C) 2009 Free Software Foundation, Inc.
15076 This config.status script is free software; the Free Software Foundation
15077 gives unlimited permission to copy, distribute and modify it."
15083 test -n "\$AWK" || AWK=awk
15086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15087 # The default lists apply if the user does not specify any file.
15093 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15094 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15105 # Handling of the options.
15106 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15108 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15109 $as_echo "$ac_cs_version"; exit ;;
15110 --debug |
--debu |
--deb |
--de |
--d |
-d )
15112 --file |
--fil |
--fi |
--f )
15115 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15117 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15118 ac_need_defaults
=false
;;
15119 --he |
--h |
--help |
--hel |
-h )
15120 $as_echo "$ac_cs_usage"; exit ;;
15121 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15122 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15125 # This is an error.
15126 -*) as_fn_error
"unrecognized option: \`$1'
15127 Try \`$0 --help' for more information." ;;
15129 *) as_fn_append ac_config_targets
" $1"
15130 ac_need_defaults
=false
;;
15136 ac_configure_extra_args
=
15138 if $ac_cs_silent; then
15140 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15145 if \$ac_cs_recheck; then
15146 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15148 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15149 CONFIG_SHELL='$SHELL'
15150 export CONFIG_SHELL
15155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15159 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15160 ## Running $as_me. ##
15166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15170 extrasub_build="$extrasub_build"
15171 extrasub_host="$extrasub_host"
15172 extrasub_target="$extrasub_target"
15176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15178 # Handling of arguments.
15179 for ac_config_target
in $ac_config_targets
15181 case $ac_config_target in
15182 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15184 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15189 # If the user did not use the arguments to specify the items to instantiate,
15190 # then the envvar interface is used. Set only those that are not.
15191 # We use the long form for the default assignment because of an extremely
15192 # bizarre bug on SunOS 4.1.3.
15193 if $ac_need_defaults; then
15194 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15197 # Have a temporary directory for convenience. Make it in the build tree
15198 # simply because there is no reason against having it here, and in addition,
15199 # creating and moving files from /tmp can sometimes cause problems.
15200 # Hook for its removal unless debugging.
15201 # Note that there is a small window in which the directory will not be cleaned:
15202 # after its creation but before its name has been assigned to `$tmp'.
15206 trap 'exit_status=$?
15207 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15209 trap 'as_fn_exit 1' 1 2 13 15
15211 # Create a (secure) tmp directory for tmp files.
15214 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15215 test -n "$tmp" && test -d "$tmp"
15218 tmp
=.
/conf$$
-$RANDOM
15219 (umask 077 && mkdir
"$tmp")
15220 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15222 # Set up the scripts for CONFIG_FILES section.
15223 # No need to generate them if there are no CONFIG_FILES.
15224 # This happens for instance with `./config.status config.h'.
15225 if test -n "$CONFIG_FILES"; then
15227 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15228 ac_cs_awk_getline
=:
15229 ac_cs_awk_pipe_init
=
15230 ac_cs_awk_read_file
='
15231 while ((getline aline < (F[key])) > 0)
15234 ac_cs_awk_pipe_fini
=
15236 ac_cs_awk_getline
=false
15237 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15238 ac_cs_awk_read_file
='
15240 print "cat " F[key] " &&"
15241 '$ac_cs_awk_pipe_init
15242 # The final `:' finishes the AND list.
15243 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15245 ac_cr
=`echo X | tr X '\015'`
15246 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15247 # But we know of no other shell where ac_cr would be empty at this
15248 # point, so we can use a bashism as a fallback.
15249 if test "x$ac_cr" = x
; then
15250 eval ac_cr
=\$
\'\\r
\'
15252 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15253 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15256 ac_cs_awk_cr
=$ac_cr
15259 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15262 # Create commands to substitute file output variables.
15264 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15265 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15266 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15269 } >conf$
$files.sh
&&
15270 . .
/conf$
$files.sh ||
15271 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15272 rm -f conf$
$files.sh
15275 echo "cat >conf$$subs.awk <<_ACEOF" &&
15276 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15278 } >conf$$subs.sh ||
15279 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15280 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15282 for ac_last_try in false false false false false :; do
15283 . ./conf$$subs.sh ||
15284 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15286 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15287 if test $ac_delim_n = $ac_delim_num; then
15289 elif $ac_last_try; then
15290 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15292 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15295 rm -f conf$$subs.sh
15297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15298 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15302 s/^/S["/; s
/!.
*/"]=/
15312 s/\(.\{148\}\).*/\1/
15314 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15319 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15326 s/\(.\{148\}\).*/\1/
15328 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15332 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15337 ' <conf$$subs.awk | sed '
15342 ' >>$CONFIG_STATUS || ac_write_fail=1
15343 rm -f conf$$subs.awk
15344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15346 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15347 for (key in S) S_is_set[key] = 1
15349 \$ac_cs_awk_pipe_init
15353 nfields = split(line, field, "@
")
15355 len = length(field[1])
15356 for (i = 2; i < nfields; i++) {
15358 keylen = length(key)
15359 if (S_is_set[key]) {
15361 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15362 len += length(value) + length(field[++i])
15367 if (nfields == 3 && !substed) {
15369 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15370 \$ac_cs_awk_read_file
15376 \$ac_cs_awk_pipe_fini
15379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15380 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15381 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15384 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15385 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15388 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15389 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15390 # trailing colons and then remove the whole line if VPATH becomes empty
15391 # (actually we leave an empty line to preserve line numbers).
15392 if test "x
$srcdir" = x.; then
15393 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15394 s/:*\$(srcdir):*/:/
15395 s/:*\${srcdir}:*/:/
15397 s/^\([^=]*=[ ]*\):*/\1/
15403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15404 fi # test -n "$CONFIG_FILES"
15407 eval set X " :F
$CONFIG_FILES "
15412 :[FHLC]) ac_mode=$ac_tag; continue;;
15414 case $ac_mode$ac_tag in
15416 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15417 :[FH]-) ac_tag=-:-;;
15418 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15435 -) ac_f="$tmp/stdin";;
15436 *) # Look for the file first in the build tree, then in the source tree
15437 # (if the path is not absolute). The absolute path cannot be DOS-style,
15438 # because $ac_f cannot contain `:'.
15442 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15444 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15446 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15447 as_fn_append ac_file_inputs " '$ac_f'"
15450 # Let's still pretend it is `configure' which instantiates (i.e., don't
15451 # use $as_me), people would be surprised to read:
15452 # /* config.h. Generated by config.status. */
15453 configure_input='Generated from '`
15454 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15456 if test x"$ac_file" != x-; then
15457 configure_input="$ac_file.
$configure_input"
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15459 $as_echo "$as_me: creating
$ac_file" >&6;}
15461 # Neutralize special characters interpreted by sed in replacement strings.
15462 case $configure_input in #(
15463 *\&* | *\|* | *\\* )
15464 ac_sed_conf_input=`$as_echo "$configure_input" |
15465 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15466 *) ac_sed_conf_input=$configure_input;;
15470 *:-:* | *:-) cat >"$tmp/stdin
" \
15471 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15476 ac_dir=`$as_dirname -- "$ac_file" ||
15477 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15478 X"$ac_file" : 'X\(//\)[^/]' \| \
15479 X"$ac_file" : 'X\(//\)$' \| \
15480 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15481 $as_echo X"$ac_file" |
15482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15486 /^X\(\/\/\)[^/].*/{
15499 as_dir="$ac_dir"; as_fn_mkdir_p
15503 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15505 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15506 # A "..
" for each directory in $ac_dir_suffix.
15507 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15508 case $ac_top_builddir_sub in
15509 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15510 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15513 ac_abs_top_builddir=$ac_pwd
15514 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15515 # for backward compatibility:
15516 ac_top_builddir=$ac_top_build_prefix
15519 .) # We are building in place.
15521 ac_top_srcdir=$ac_top_builddir_sub
15522 ac_abs_top_srcdir=$ac_pwd ;;
15523 [\\/]* | ?:[\\/]* ) # Absolute name.
15524 ac_srcdir=$srcdir$ac_dir_suffix;
15525 ac_top_srcdir=$srcdir
15526 ac_abs_top_srcdir=$srcdir ;;
15527 *) # Relative name.
15528 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15529 ac_top_srcdir=$ac_top_build_prefix$srcdir
15530 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15532 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15542 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15543 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15548 # If the template does not know about datarootdir, expand it.
15549 # FIXME: This hack should be removed a few years after 2.60.
15550 ac_datarootdir_hack=; ac_datarootdir_seen=
15561 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15562 *datarootdir*) ac_datarootdir_seen=yes;;
15563 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15565 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15568 ac_datarootdir_hack='
15569 s&@datadir@&$datadir&g
15570 s&@docdir@&$docdir&g
15571 s&@infodir@&$infodir&g
15572 s&@localedir@&$localedir&g
15573 s&@mandir@&$mandir&g
15574 s&\\\${datarootdir}&$datarootdir&g' ;;
15578 # Neutralize VPATH when `$srcdir' = `.'.
15579 # Shell code in configure.ac might set extrasub.
15580 # FIXME: do we really want to maintain this feature?
15581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15582 ac_sed_extra="$ac_vpsub
15585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15587 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15588 s|@configure_input@|
$ac_sed_conf_input|
;t t
15589 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15590 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15591 s
&@srcdir@
&$ac_srcdir&;t t
15592 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15593 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15594 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15595 s
&@builddir@
&$ac_builddir&;t t
15596 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15597 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15598 s
&@INSTALL@
&$ac_INSTALL&;t t
15599 $ac_datarootdir_hack
15601 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15602 if $ac_cs_awk_getline; then
15603 $AWK -f "$tmp/subs.
awk"
15605 $AWK -f "$tmp/subs.
awk" | $SHELL
15607 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15609 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15610 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15611 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15613 which seems to be undefined. Please make sure it is defined." >&5
15614 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15615 which seems to be undefined. Please make sure it is defined." >&2;}
15619 -) cat "$tmp/out" && rm -f "$tmp/out";;
15620 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15622 || as_fn_error "could not create $ac_file" "$LINENO" 5
15630 case $ac_file$ac_mode in
15631 "Makefile":F) sed "$extrasub_build" Makefile |
15632 sed "$extrasub_host" |
15633 sed "$extrasub_target" > mf$$
15634 mv -f mf$$ Makefile ;;
15642 ac_clean_files=$ac_clean_files_save
15644 test $ac_write_fail = 0 ||
15645 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15648 # configure is writing to config.log, and then calls config.status.
15649 # config.status does its own redirection, appending to config.log.
15650 # Unfortunately, on DOS this fails, as config.log is still kept open
15651 # by configure, so config.status won't be able to
write to it
; its
15652 # output is simply discarded. So we exec the FD to /dev/null,
15653 # effectively closing config.log, so it can be properly (re)opened and
15654 # appended to by config.status. When coming back to configure, we
15655 # need to make the FD available again.
15656 if test "$no_create" != yes; then
15658 ac_config_status_args
=
15659 test "$silent" = yes &&
15660 ac_config_status_args
="$ac_config_status_args --quiet"
15662 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15664 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15665 # would make configure fail if this is the last instruction.
15666 $ac_cs_success || as_fn_exit $?
15668 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15670 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}