2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="move-if-change"
555 enable_option_checking
=no
556 ac_subst_vars
='LTLIBOBJS
563 MAINTAINER_MODE_FALSE
565 COMPILER_NM_FOR_TARGET
566 COMPILER_LD_FOR_TARGET
567 COMPILER_AS_FOR_TARGET
638 DEBUG_PREFIX_CFLAGS_FOR_TARGET
639 SYSROOT_CFLAGS_FOR_TARGET
641 extra_host_libiberty_configure_flags
650 extra_mpc_mpfr_configure_flags
651 extra_mpc_gmp_configure_flags
652 extra_mpfr_configure_flags
694 TOPLEVEL_CONFIGURE_ARGUMENTS
722 program_transform_name
733 ac_subst_files
='serialization_dependencies
739 enable_option_checking
744 enable_build_with_cxx
764 enable_ppl_version_check
768 enable_cloog_version_check
770 enable_stage1_languages
773 with_debug_prefix_map
776 enable_serial_configure
777 with_build_time_tools
778 enable_maintainer_mode
779 enable_stage1_checking
782 ac_precious_vars
='build_alias
826 # Initialize some variables set by options.
828 ac_init_version
=false
829 ac_unrecognized_opts
=
831 # The variables have the same names as the options, with
832 # dashes changed to underlines.
840 program_transform_name
=s
,x
,x
,
848 # Installation directory options.
849 # These are left unexpanded so users can "make install exec_prefix=/foo"
850 # and all the variables that are supposed to be based on exec_prefix
851 # by default will actually change.
852 # Use braces instead of parens because sh, perl, etc. also accept them.
853 # (The list follows the same order as the GNU Coding Standards.)
854 bindir
='${exec_prefix}/bin'
855 sbindir
='${exec_prefix}/sbin'
856 libexecdir
='${exec_prefix}/libexec'
857 datarootdir
='${prefix}/share'
858 datadir
='${datarootdir}'
859 sysconfdir
='${prefix}/etc'
860 sharedstatedir
='${prefix}/com'
861 localstatedir
='${prefix}/var'
862 includedir
='${prefix}/include'
863 oldincludedir
='/usr/include'
864 docdir
='${datarootdir}/doc/${PACKAGE}'
865 infodir
='${datarootdir}/info'
870 libdir
='${exec_prefix}/lib'
871 localedir
='${datarootdir}/locale'
872 mandir
='${datarootdir}/man'
878 # If the previous option needs an argument, assign it.
879 if test -n "$ac_prev"; then
880 eval $ac_prev=\
$ac_option
886 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
890 # Accept the important Cygnus configure options, so we can diagnose typos.
892 case $ac_dashdash$ac_option in
896 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
898 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
901 -build |
--build |
--buil |
--bui |
--bu)
902 ac_prev
=build_alias
;;
903 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
904 build_alias
=$ac_optarg ;;
906 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
907 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
908 ac_prev
=cache_file
;;
909 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
910 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
911 cache_file
=$ac_optarg ;;
914 cache_file
=config.cache
;;
916 -datadir |
--datadir |
--datadi |
--datad)
918 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
919 datadir
=$ac_optarg ;;
921 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
922 |
--dataroo |
--dataro |
--datar)
923 ac_prev
=datarootdir
;;
924 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
925 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
926 datarootdir
=$ac_optarg ;;
928 -disable-* |
--disable-*)
929 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
930 # Reject names that are not valid shell variable names.
931 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
932 as_fn_error
"invalid feature name: $ac_useropt"
933 ac_useropt_orig
=$ac_useropt
934 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
935 case $ac_user_opts in
939 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
940 ac_unrecognized_sep
=', ';;
942 eval enable_
$ac_useropt=no
;;
944 -docdir |
--docdir |
--docdi |
--doc |
--do)
946 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
949 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
951 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
954 -enable-* |
--enable-*)
955 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
956 # Reject names that are not valid shell variable names.
957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
958 as_fn_error
"invalid feature name: $ac_useropt"
959 ac_useropt_orig
=$ac_useropt
960 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
961 case $ac_user_opts in
965 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
966 ac_unrecognized_sep
=', ';;
968 eval enable_
$ac_useropt=\
$ac_optarg ;;
970 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
971 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
972 |
--exec |
--exe |
--ex)
973 ac_prev
=exec_prefix
;;
974 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
975 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
976 |
--exec=* |
--exe=* |
--ex=*)
977 exec_prefix
=$ac_optarg ;;
979 -gas |
--gas |
--ga |
--g)
980 # Obsolete; use --with-gas.
983 -help |
--help |
--hel |
--he |
-h)
985 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
986 ac_init_help
=recursive
;;
987 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
988 ac_init_help
=short
;;
990 -host |
--host |
--hos |
--ho)
991 ac_prev
=host_alias
;;
992 -host=* |
--host=* |
--hos=* |
--ho=*)
993 host_alias
=$ac_optarg ;;
995 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
997 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
999 htmldir
=$ac_optarg ;;
1001 -includedir |
--includedir |
--includedi |
--included |
--include \
1002 |
--includ |
--inclu |
--incl |
--inc)
1003 ac_prev
=includedir
;;
1004 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1005 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1006 includedir
=$ac_optarg ;;
1008 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1010 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1011 infodir
=$ac_optarg ;;
1013 -libdir |
--libdir |
--libdi |
--libd)
1015 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1016 libdir
=$ac_optarg ;;
1018 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1019 |
--libexe |
--libex |
--libe)
1020 ac_prev
=libexecdir
;;
1021 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1022 |
--libexe=* |
--libex=* |
--libe=*)
1023 libexecdir
=$ac_optarg ;;
1025 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1026 ac_prev
=localedir
;;
1027 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1028 localedir
=$ac_optarg ;;
1030 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1031 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1032 ac_prev
=localstatedir
;;
1033 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1034 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1035 localstatedir
=$ac_optarg ;;
1037 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1039 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1040 mandir
=$ac_optarg ;;
1042 -nfp |
--nfp |
--nf)
1043 # Obsolete; use --without-fp.
1046 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1047 |
--no-cr |
--no-c |
-n)
1050 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1051 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1054 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1055 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1056 |
--oldin |
--oldi |
--old |
--ol |
--o)
1057 ac_prev
=oldincludedir
;;
1058 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1059 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1060 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1061 oldincludedir
=$ac_optarg ;;
1063 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1065 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1066 prefix
=$ac_optarg ;;
1068 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1069 |
--program-pre |
--program-pr |
--program-p)
1070 ac_prev
=program_prefix
;;
1071 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1072 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1073 program_prefix
=$ac_optarg ;;
1075 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1076 |
--program-suf |
--program-su |
--program-s)
1077 ac_prev
=program_suffix
;;
1078 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1079 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1080 program_suffix
=$ac_optarg ;;
1082 -program-transform-name |
--program-transform-name \
1083 |
--program-transform-nam |
--program-transform-na \
1084 |
--program-transform-n |
--program-transform- \
1085 |
--program-transform |
--program-transfor \
1086 |
--program-transfo |
--program-transf \
1087 |
--program-trans |
--program-tran \
1088 |
--progr-tra |
--program-tr |
--program-t)
1089 ac_prev
=program_transform_name
;;
1090 -program-transform-name=* |
--program-transform-name=* \
1091 |
--program-transform-nam=* |
--program-transform-na=* \
1092 |
--program-transform-n=* |
--program-transform-=* \
1093 |
--program-transform=* |
--program-transfor=* \
1094 |
--program-transfo=* |
--program-transf=* \
1095 |
--program-trans=* |
--program-tran=* \
1096 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1097 program_transform_name
=$ac_optarg ;;
1099 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1101 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1102 pdfdir
=$ac_optarg ;;
1104 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1106 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1109 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1110 |
-silent |
--silent |
--silen |
--sile |
--sil)
1113 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1115 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1117 sbindir
=$ac_optarg ;;
1119 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1120 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1121 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1123 ac_prev
=sharedstatedir
;;
1124 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1125 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1126 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1128 sharedstatedir
=$ac_optarg ;;
1130 -site |
--site |
--sit)
1132 -site=* |
--site=* |
--sit=*)
1135 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1137 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1138 srcdir
=$ac_optarg ;;
1140 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1141 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1142 ac_prev
=sysconfdir
;;
1143 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1144 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1145 sysconfdir
=$ac_optarg ;;
1147 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1148 ac_prev
=target_alias
;;
1149 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1150 target_alias
=$ac_optarg ;;
1152 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1155 -version |
--version |
--versio |
--versi |
--vers |
-V)
1156 ac_init_version
=: ;;
1159 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1162 as_fn_error
"invalid package name: $ac_useropt"
1163 ac_useropt_orig
=$ac_useropt
1164 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1165 case $ac_user_opts in
1169 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1170 ac_unrecognized_sep
=', ';;
1172 eval with_
$ac_useropt=\
$ac_optarg ;;
1174 -without-* |
--without-*)
1175 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1178 as_fn_error
"invalid package name: $ac_useropt"
1179 ac_useropt_orig
=$ac_useropt
1180 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1186 ac_unrecognized_sep
=', ';;
1188 eval with_
$ac_useropt=no
;;
1191 # Obsolete; use --with-x.
1194 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1195 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1196 ac_prev
=x_includes
;;
1197 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1198 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1199 x_includes
=$ac_optarg ;;
1201 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1202 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1203 ac_prev
=x_libraries
;;
1204 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1205 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1206 x_libraries
=$ac_optarg ;;
1208 -*) as_fn_error
"unrecognized option: \`$ac_option'
1209 Try \`$0 --help' for more information."
1213 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1214 # Reject names that are not valid shell variable names.
1215 case $ac_envvar in #(
1216 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1217 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1219 eval $ac_envvar=\
$ac_optarg
1220 export $ac_envvar ;;
1223 # FIXME: should be removed in autoconf 3.0.
1224 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1225 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1226 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1227 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1233 if test -n "$ac_prev"; then
1234 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1235 as_fn_error
"missing argument to $ac_option"
1238 if test -n "$ac_unrecognized_opts"; then
1239 case $enable_option_checking in
1241 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1242 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1246 # Check all directory arguments for consistency.
1247 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1248 datadir sysconfdir sharedstatedir localstatedir includedir \
1249 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1250 libdir localedir mandir
1252 eval ac_val
=\$
$ac_var
1253 # Remove trailing slashes.
1256 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1257 eval $ac_var=\
$ac_val;;
1259 # Be sure to have absolute directory names.
1261 [\\/$
]* | ?
:[\\/]* ) continue;;
1262 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1264 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1267 # There might be people who depend on the old broken behavior: `$host'
1268 # used to hold the argument of --host etc.
1269 # FIXME: To remove some day.
1272 target
=$target_alias
1274 # FIXME: To remove some day.
1275 if test "x$host_alias" != x
; then
1276 if test "x$build_alias" = x
; then
1277 cross_compiling
=maybe
1278 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1279 If a cross compiler is detected then cross compile mode will be used." >&2
1280 elif test "x$build_alias" != "x$host_alias"; then
1286 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1288 test "$silent" = yes && exec 6>/dev
/null
1291 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1292 ac_ls_di
=`ls -di .` &&
1293 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1294 as_fn_error
"working directory cannot be determined"
1295 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1296 as_fn_error
"pwd does not report name of working directory"
1299 # Find the source files, if location was not specified.
1300 if test -z "$srcdir"; then
1301 ac_srcdir_defaulted
=yes
1302 # Try the directory containing this script, then the parent directory.
1303 ac_confdir
=`$as_dirname -- "$as_myself" ||
1304 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1305 X"$as_myself" : 'X\(//\)[^/]' \| \
1306 X"$as_myself" : 'X\(//\)$' \| \
1307 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1308 $as_echo X"$as_myself" |
1309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1327 if test ! -r "$srcdir/$ac_unique_file"; then
1331 ac_srcdir_defaulted
=no
1333 if test ! -r "$srcdir/$ac_unique_file"; then
1334 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1335 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1337 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1339 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1341 # When building in place, set srcdir=.
1342 if test "$ac_abs_confdir" = "$ac_pwd"; then
1345 # Remove unnecessary trailing slashes from srcdir.
1346 # Double slashes in file names in object file debugging info
1347 # mess up M-x gdb in Emacs.
1349 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1353 as_fn_error
"path to source, $srcdir, contains spaces"
1356 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1358 for ac_var
in $ac_precious_vars; do
1359 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1360 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1361 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1362 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1366 # Report the --help message.
1368 if test "$ac_init_help" = "long"; then
1369 # Omit some internal or obsolete options to make the list less imposing.
1370 # This message is too long to be a string in the A/UX 3.1 sh.
1372 \`configure' configures this package to adapt to many kinds of systems.
1374 Usage: $0 [OPTION]... [VAR=VALUE]...
1376 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1377 VAR=VALUE. See below for descriptions of some of the useful variables.
1379 Defaults for the options are specified in brackets.
1382 -h, --help display this help and exit
1383 --help=short display options specific to this package
1384 --help=recursive display the short help of all the included packages
1385 -V, --version display version information and exit
1386 -q, --quiet, --silent do not print \`checking...' messages
1387 --cache-file=FILE cache test results in FILE [disabled]
1388 -C, --config-cache alias for \`--cache-file=config.cache'
1389 -n, --no-create do not create output files
1390 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1392 Installation directories:
1393 --prefix=PREFIX install architecture-independent files in PREFIX
1394 [$ac_default_prefix]
1395 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1398 By default, \`make install' will install all the files in
1399 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1400 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1401 for instance \`--prefix=\$HOME'.
1403 For better control, use the options below.
1405 Fine tuning of the installation directories:
1406 --bindir=DIR user executables [EPREFIX/bin]
1407 --sbindir=DIR system admin executables [EPREFIX/sbin]
1408 --libexecdir=DIR program executables [EPREFIX/libexec]
1409 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1410 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1411 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1412 --libdir=DIR object code libraries [EPREFIX/lib]
1413 --includedir=DIR C header files [PREFIX/include]
1414 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1415 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1416 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1417 --infodir=DIR info documentation [DATAROOTDIR/info]
1418 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1419 --mandir=DIR man documentation [DATAROOTDIR/man]
1420 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1421 --htmldir=DIR html documentation [DOCDIR]
1422 --dvidir=DIR dvi documentation [DOCDIR]
1423 --pdfdir=DIR pdf documentation [DOCDIR]
1424 --psdir=DIR ps documentation [DOCDIR]
1430 --program-prefix=PREFIX prepend PREFIX to installed program names
1431 --program-suffix=SUFFIX append SUFFIX to installed program names
1432 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1435 --build=BUILD configure
for building on BUILD
[guessed
]
1436 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1437 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1441 if test -n "$ac_init_help"; then
1446 --disable-option-checking ignore unrecognized
--enable/--with options
1447 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1448 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1449 --enable-gold[=ARG
] build gold
[ARG
={both
}[/{gold
,ld
}]]
1450 --enable-libada build libada directory
1451 --enable-libssp build libssp directory
1452 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1453 --disable-ppl-version-check disable check
for PPL version
1454 --disable-cloog-version-check
1455 disable check
for CLooG version
1456 --enable-lto enable link
time optimization support
1457 --enable-stage1-languages[=all
] choose additional languages to build during
1458 stage1. Mostly useful
for compiler development.
1459 --enable-objc-gc enable use of Boehm
's garbage collector with the
1460 GNU Objective-C runtime
1461 --enable-bootstrap enable bootstrapping [yes if native build]
1462 --enable-serial-[{host,target,build}-]configure
1463 force sequential configuration of
1464 sub-packages for the host, target or build
1465 machine, or all sub-packages
1466 --enable-maintainer-mode enable make rules and dependencies not useful
1467 (and sometimes confusing) to the casual installer
1468 --enable-stage1-checking[=all] choose additional checking for stage1
1470 --enable-werror enable -Werror in bootstrap stage2 and later
1473 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1474 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1475 --with-build-libsubdir=DIR Directory where to find libraries for build system
1476 --with-mpc=PATH specify prefix directory for installed MPC package.
1477 Equivalent to --with-mpc-include=PATH/include
1478 plus --with-mpc-lib=PATH/lib
1479 --with-mpc-include=PATH
1480 specify directory for installed MPC include files
1481 --with-mpc-lib=PATH specify directory for the installed MPC library
1482 --with-mpfr-dir=PATH this option has been REMOVED
1483 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1484 Equivalent to --with-mpfr-include=PATH/include
1485 plus --with-mpfr-lib=PATH/lib
1486 --with-mpfr-include=PATH
1487 specify directory for installed MPFR include files
1488 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1489 --with-gmp-dir=PATH this option has been REMOVED
1490 --with-gmp=PATH specify prefix directory for the installed GMP package.
1491 Equivalent to --with-gmp-include=PATH/include
1492 plus --with-gmp-lib=PATH/lib
1493 --with-gmp-include=PATH specify directory for installed GMP include files
1494 --with-gmp-lib=PATH specify directory for the installed GMP library
1495 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
1496 when linking with PPL
1497 --with-stage1-ldflags=FLAGS Linker flags for stage1
1498 -with-stage1-libs=LIBS Libraries for stage1
1499 --with-boot-libs=LIBS Libraries for stage2 and later
1500 --with-boot-ldflags=FLAGS Linker flags for stage2 and later
1501 --with-ppl=PATH Specify prefix directory for the installed PPL package
1502 Equivalent to --with-ppl-include=PATH/include
1503 plus --with-ppl-lib=PATH/lib
1504 --with-ppl-include=PATH Specify directory for installed PPL include files
1505 --with-ppl-lib=PATH Specify the directory for the installed PPL library
1506 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
1507 package. Equivalent to
1508 --with-cloog-include=PATH/include plus
1509 --with-cloog-lib=PATH/lib
1510 --with-cloog-include=PATH
1511 Specify directory for installed CLooG include files
1512 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1514 --with-build-sysroot=SYSROOT
1515 use sysroot as the system root during the build
1516 --with-debug-prefix-map='A
=B C
=D ...
'
1517 map A to B, C to D ... in debug information
1518 --with-build-config='NAME NAME2...
'
1519 Use config/NAME.mk build configuration
1520 --with-build-time-tools=PATH
1521 use given path to find target tools during the build
1523 Some influential environment variables:
1524 CC C compiler command
1525 CFLAGS C compiler flags
1526 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1527 nonstandard directory <lib dir>
1528 LIBS libraries to pass to the linker, e.g. -l<library>
1529 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1530 you have headers in a nonstandard directory <include dir>
1531 CXX C++ compiler command
1532 CXXFLAGS C++ compiler flags
1534 additional configure arguments for build directories
1536 additional configure arguments for host directories
1538 additional configure arguments for target directories
1541 DLLTOOL DLLTOOL for the host
1543 LIPO LIPO for the host
1545 RANLIB RANLIB for the host
1546 STRIP STRIP for the host
1547 WINDRES WINDRES for the host
1548 WINDMC WINDMC for the host
1549 OBJCOPY OBJCOPY for the host
1550 OBJDUMP OBJDUMP for the host
1560 GFORTRAN for the target
1566 DLLTOOL for the target
1574 OBJDUMP for the target
1576 RANLIB for the target
1578 STRIP for the target
1580 WINDRES for the target
1582 WINDMC for the target
1584 Use these variables to override the choices made by `configure' or to
help
1585 it to
find libraries and programs with nonstandard names
/locations.
1587 Report bugs to the package provider.
1592 if test "$ac_init_help" = "recursive"; then
1593 # If there are subdirs, report their specific --help.
1594 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1595 test -d "$ac_dir" ||
1596 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1601 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1603 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1604 # A ".." for each directory in $ac_dir_suffix.
1605 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1606 case $ac_top_builddir_sub in
1607 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1608 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1611 ac_abs_top_builddir
=$ac_pwd
1612 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1613 # for backward compatibility:
1614 ac_top_builddir
=$ac_top_build_prefix
1617 .
) # We are building in place.
1619 ac_top_srcdir
=$ac_top_builddir_sub
1620 ac_abs_top_srcdir
=$ac_pwd ;;
1621 [\\/]* | ?
:[\\/]* ) # Absolute name.
1622 ac_srcdir
=$srcdir$ac_dir_suffix;
1623 ac_top_srcdir
=$srcdir
1624 ac_abs_top_srcdir
=$srcdir ;;
1626 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1627 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1628 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1630 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1632 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1633 # Check for guested configure.
1634 if test -f "$ac_srcdir/configure.gnu"; then
1636 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1637 elif test -f "$ac_srcdir/configure"; then
1639 $SHELL "$ac_srcdir/configure" --help=recursive
1641 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1643 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1647 test -n "$ac_init_help" && exit $ac_status
1648 if $ac_init_version; then
1651 generated by GNU Autoconf
2.64
1653 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1654 This configure
script is free software
; the Free Software Foundation
1655 gives unlimited permission to copy
, distribute and modify it.
1660 ## ------------------------ ##
1661 ## Autoconf initialization. ##
1662 ## ------------------------ ##
1664 # ac_fn_c_try_compile LINENO
1665 # --------------------------
1666 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1667 ac_fn_c_try_compile
()
1669 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1670 rm -f conftest.
$ac_objext
1671 if { { ac_try
="$ac_compile"
1673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1674 *) ac_try_echo=$ac_try;;
1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678 (eval "$ac_compile") 2>conftest.err
1680 if test -s conftest.err; then
1681 grep -v '^ *+' conftest.err >conftest.er1
1682 cat conftest.er1 >&5
1683 mv -f conftest.er1 conftest.err
1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 test $ac_status = 0; } && {
1687 test -z "$ac_c_werror_flag" ||
1688 test ! -s conftest.err
1689 } && test -s conftest.$ac_objext; then :
1692 $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.$ac_ext >&5
1697 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1700 } # ac_fn_c_try_compile
1702 # ac_fn_cxx_try_compile LINENO
1703 # ----------------------------
1704 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1705 ac_fn_cxx_try_compile ()
1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708 rm -f conftest.$ac_objext
1709 if { { ac_try="$ac_compile"
1711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1712 *) ac_try_echo
=$ac_try;;
1714 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715 $as_echo "$ac_try_echo"; } >&5
1716 (eval "$ac_compile") 2>conftest.err
1718 if test -s conftest.err
; then
1719 grep -v '^ *+' conftest.err
>conftest.er1
1720 cat conftest.er1
>&5
1721 mv -f conftest.er1 conftest.err
1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724 test $ac_status = 0; } && {
1725 test -z "$ac_cxx_werror_flag" ||
1726 test ! -s conftest.err
1727 } && test -s conftest.
$ac_objext; then :
1730 $as_echo "$as_me: failed program was:" >&5
1731 sed 's/^/| /' conftest.
$ac_ext >&5
1735 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1738 } # ac_fn_cxx_try_compile
1740 # ac_fn_c_try_link LINENO
1741 # -----------------------
1742 # Try to link conftest.$ac_ext, and return whether this succeeded.
1745 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1746 rm -f conftest.
$ac_objext conftest
$ac_exeext
1747 if { { ac_try
="$ac_link"
1749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1750 *) ac_try_echo=$ac_try;;
1752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1753 $as_echo "$ac_try_echo"; } >&5
1754 (eval "$ac_link") 2>conftest.err
1756 if test -s conftest.err; then
1757 grep -v '^ *+' conftest.err >conftest.er1
1758 cat conftest.er1 >&5
1759 mv -f conftest.er1 conftest.err
1761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1762 test $ac_status = 0; } && {
1763 test -z "$ac_c_werror_flag" ||
1764 test ! -s conftest.err
1765 } && test -s conftest$ac_exeext && {
1766 test "$cross_compiling" = yes ||
1767 $as_test_x conftest$ac_exeext
1771 $as_echo "$as_me: failed program was:" >&5
1772 sed 's/^/| /' conftest.$ac_ext >&5
1776 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1777 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1778 # interfere with the next link command; also delete a directory that is
1779 # left behind by Apple's compiler. We do this before executing the actions.
1780 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1781 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1784 } # ac_fn_c_try_link
1785 cat >config.log <<_ACEOF
1786 This file contains any messages produced by compilers while
1787 running configure, to aid debugging if configure makes a mistake.
1789 It was created by $as_me, which was
1790 generated by GNU Autoconf 2.64. Invocation command line was
1802 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1803 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1804 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1805 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1806 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1808 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1809 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1811 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1812 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1813 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1814 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1815 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1816 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1817 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1825 test -z "$as_dir" && as_dir=.
1826 $as_echo "PATH: $as_dir"
1842 # Keep a trace of the command line.
1843 # Strip out --no-create and --no-recursion so they do not pile up.
1844 # Strip out --silent because we don't want to record it for future runs.
1845 # Also quote any args containing shell meta-characters.
1846 # Make two passes to allow for proper duplicate-argument suppression.
1850 ac_must_keep_next=false
1856 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1857 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1858 | -silent | --silent | --silen | --sile | --sil)
1861 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1864 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1866 as_fn_append ac_configure_args1 " '$ac_arg'"
1867 if test $ac_must_keep_next = true; then
1868 ac_must_keep_next=false # Got value, back to normal.
1871 *=* | --config-cache | -C | -disable-* | --disable-* \
1872 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1873 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1874 | -with-* | --with-* | -without-* | --without-* | --x)
1875 case "$ac_configure_args0 " in
1876 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1879 -* ) ac_must_keep_next=true ;;
1882 as_fn_append ac_configure_args " '$ac_arg'"
1887 { ac_configure_args0=; unset ac_configure_args0;}
1888 { ac_configure_args1=; unset ac_configure_args1;}
1890 # When interrupted or exit'd, cleanup temporary files, and complete
1891 # config.log. We remove comments because anyway the quotes in there
1892 # would cause problems or look ugly.
1893 # WARNING: Use '\'' to represent an apostrophe within the trap.
1894 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1895 trap 'exit_status=$?
1896 # Save into config.log some information that might help in debugging.
1901 ## ---------------- ##
1902 ## Cache variables. ##
1903 ## ---------------- ##
1906 # The following way of writing the cache mishandles newlines in values,
1908 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1909 eval ac_val=\$$ac_var
1913 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1914 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1917 _ | IFS | as_nl) ;; #(
1918 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1919 *) { eval $ac_var=; unset $ac_var;} ;;
1924 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1925 *${as_nl}ac_space=\ *)
1927 "s/'\''/'\''\\\\'\'''\''/g;
1928 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1931 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1939 ## ----------------- ##
1940 ## Output variables. ##
1941 ## ----------------- ##
1944 for ac_var in $ac_subst_vars
1946 eval ac_val=\$$ac_var
1948 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1950 $as_echo "$ac_var='\''$ac_val'\''"
1954 if test -n "$ac_subst_files"; then
1956 ## ------------------- ##
1957 ## File substitutions. ##
1958 ## ------------------- ##
1961 for ac_var in $ac_subst_files
1963 eval ac_val=\$$ac_var
1965 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1967 $as_echo "$ac_var='\''$ac_val'\''"
1972 if test -s confdefs.h; then
1982 test "$ac_signal" != 0 &&
1983 $as_echo "$as_me: caught signal $ac_signal"
1984 $as_echo "$as_me: exit $exit_status"
1986 rm -f core *.core core.conftest.* &&
1987 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1990 for ac_signal in 1 2 13 15; do
1991 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1995 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1996 rm -f -r conftest* confdefs.h
1998 $as_echo "/* confdefs.h */" > confdefs.h
2000 # Predefined preprocessor variables.
2002 cat >>confdefs.h <<_ACEOF
2003 #define PACKAGE_NAME "$PACKAGE_NAME"
2006 cat >>confdefs.h <<_ACEOF
2007 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2010 cat >>confdefs.h <<_ACEOF
2011 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2014 cat >>confdefs.h <<_ACEOF
2015 #define PACKAGE_STRING "$PACKAGE_STRING"
2018 cat >>confdefs.h <<_ACEOF
2019 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2022 cat >>confdefs.h <<_ACEOF
2023 #define PACKAGE_URL "$PACKAGE_URL"
2027 # Let the site file select an alternate cache file if it wants to.
2028 # Prefer an explicitly selected file to automatically selected ones.
2031 if test -n "$CONFIG_SITE"; then
2032 ac_site_file1=$CONFIG_SITE
2033 elif test "x$prefix" != xNONE; then
2034 ac_site_file1=$prefix/share/config.site
2035 ac_site_file2=$prefix/etc/config.site
2037 ac_site_file1=$ac_default_prefix/share/config.site
2038 ac_site_file2=$ac_default_prefix/etc/config.site
2040 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2042 test "x$ac_site_file" = xNONE && continue
2043 if test -r "$ac_site_file"; then
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2045 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2046 sed 's/^/| /' "$ac_site_file" >&5
2051 if test -r "$cache_file"; then
2052 # Some versions of bash will fail to source /dev/null (special
2053 # files actually), so we avoid doing that.
2054 if test -f "$cache_file"; then
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2056 $as_echo "$as_me: loading cache $cache_file" >&6;}
2058 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2059 *) . "./$cache_file";;
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2064 $as_echo "$as_me: creating cache $cache_file" >&6;}
2068 # Check that the precious variables saved in the cache have kept the same
2070 ac_cache_corrupted=false
2071 for ac_var in $ac_precious_vars; do
2072 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2073 eval ac_new_set=\$ac_env_${ac_var}_set
2074 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2075 eval ac_new_val=\$ac_env_${ac_var}_value
2076 case $ac_old_set,$ac_new_set in
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2079 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2080 ac_cache_corrupted=: ;;
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2083 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2084 ac_cache_corrupted=: ;;
2087 if test "x$ac_old_val" != "x$ac_new_val"; then
2088 # differences in whitespace do not lead to failure.
2089 ac_old_val_w=`echo x
$ac_old_val`
2090 ac_new_val_w=`echo x
$ac_new_val`
2091 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2093 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2094 ac_cache_corrupted=:
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2097 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2098 eval $ac_var=\$ac_old_val
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2101 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2103 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2106 # Pass precious variables to config.status.
2107 if test "$ac_new_set" = set; then
2109 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2110 *) ac_arg=$ac_var=$ac_new_val ;;
2112 case " $ac_configure_args " in
2113 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2114 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2118 if $ac_cache_corrupted; then
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2122 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2123 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2125 ## -------------------- ##
2126 ## Main body of script. ##
2127 ## -------------------- ##
2130 ac_cpp='$CPP $CPPFLAGS'
2131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2144 # if PWD already has a value, it is probably wrong.
2145 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2147 # Export original configure arguments for use by sub-configures.
2148 # Quote arguments with shell meta charatcers.
2149 TOPLEVEL_CONFIGURE_ARGUMENTS=
2150 set -- "$progname" "$@"
2154 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2155 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2156 # if the argument is of the form -foo=baz, quote the baz part only
2157 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2160 # Add the quoted argument to the list.
2161 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2163 if test "$silent" = yes; then
2164 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2166 # Remove the initial space we just introduced and, as these will be
2167 # expanded by make, quote '$'.
2168 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2171 # Find the build, host, and target systems.
2173 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2174 for ac_t in install-sh install.sh shtool; do
2175 if test -f "$ac_dir/$ac_t"; then
2177 ac_install_sh="$ac_aux_dir/$ac_t -c"
2182 if test -z "$ac_aux_dir"; then
2183 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2186 # These three variables are undocumented and unsupported,
2187 # and are intended to be withdrawn in a future Autoconf release.
2188 # They can cause serious problems if a builder's source tree is in a directory
2189 # whose full name contains unusual characters.
2190 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2191 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2192 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2195 # Make sure we can run config.sub.
2196 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2197 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2200 $as_echo_n "checking build system type... " >&6; }
2201 if test "${ac_cv_build+set}" = set; then :
2202 $as_echo_n "(cached) " >&6
2204 ac_build_alias=$build_alias
2205 test "x$ac_build_alias" = x &&
2206 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2207 test "x$ac_build_alias" = x &&
2208 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2209 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2210 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2214 $as_echo "$ac_cv_build" >&6; }
2215 case $ac_cv_build in
2217 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2220 ac_save_IFS=$IFS; IFS='-'
2226 # Remember, the first character of IFS is used to create $*,
2227 # except with old shells:
2230 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2233 case ${build_alias} in
2234 "") build_noncanonical=${build} ;;
2235 *) build_noncanonical=${build_alias} ;;
2240 case ${host_alias} in
2241 "") host_noncanonical=${build_noncanonical} ;;
2242 *) host_noncanonical=${host_alias} ;;
2247 case ${target_alias} in
2248 "") target_noncanonical=${host_noncanonical} ;;
2249 *) target_noncanonical=${target_alias} ;;
2255 test "$host_noncanonical" = "$target_noncanonical" &&
2256 test "$program_prefix$program_suffix$program_transform_name" = \
2258 program_transform_name=s,y,y,
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2261 $as_echo_n "checking host system type... " >&6; }
2262 if test "${ac_cv_host+set}" = set; then :
2263 $as_echo_n "(cached) " >&6
2265 if test "x$host_alias" = x; then
2266 ac_cv_host=$ac_cv_build
2268 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2269 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2274 $as_echo "$ac_cv_host" >&6; }
2277 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2280 ac_save_IFS=$IFS; IFS='-'
2286 # Remember, the first character of IFS is used to create $*,
2287 # except with old shells:
2290 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2294 $as_echo_n "checking target system type... " >&6; }
2295 if test "${ac_cv_target+set}" = set; then :
2296 $as_echo_n "(cached) " >&6
2298 if test "x$target_alias" = x; then
2299 ac_cv_target=$ac_cv_host
2301 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2302 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2307 $as_echo "$ac_cv_target" >&6; }
2308 case $ac_cv_target in
2310 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2312 target=$ac_cv_target
2313 ac_save_IFS=$IFS; IFS='-'
2319 # Remember, the first character of IFS is used to create $*,
2320 # except with old shells:
2323 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2326 # The aliases save the names the user supplied, while $host etc.
2327 # will get canonicalized.
2328 test -n "$target_alias" &&
2329 test "$program_prefix$program_suffix$program_transform_name" = \
2331 program_prefix=${target_alias}-
2333 test "$program_prefix" != NONE &&
2334 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2335 # Use a double $ so make ignores it.
2336 test "$program_suffix" != NONE &&
2337 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2338 # Double any \ or $.
2339 # By default was `s
,x
,x
', remove it if useless.
2340 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2341 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2345 # Get 'install' or 'install-sh
' and its variants.
2346 # Find a good install program. We prefer a C program (faster),
2347 # so one script is as good as another. But avoid the broken or
2348 # incompatible versions:
2349 # SysV /etc/install, /usr/sbin/install
2350 # SunOS /usr/etc/install
2351 # IRIX /sbin/install
2353 # AmigaOS /C/install, which installs bootblocks on floppy discs
2354 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2355 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2356 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2357 # OS/2's system install, which has a completely different semantic
2358 # ./install, which can be erroneously created by make from ./install.sh.
2359 # Reject install programs that cannot install multiple files.
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2361 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2362 if test -z "$INSTALL"; then
2363 if test "${ac_cv_path_install+set}" = set; then :
2364 $as_echo_n "(cached) " >&6
2366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2370 test -z "$as_dir" && as_dir
=.
2371 # Account for people who put trailing slashes in PATH elements.
2372 case $as_dir/ in #((
2373 .
/ | .
// |
/[cC
]/* | \
2374 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2375 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2378 # OSF1 and SCO ODT 3.0 have their own names for install.
2379 # Don't use installbsd from OSF since it installs stuff as root
2381 for ac_prog
in ginstall scoinst
install; do
2382 for ac_exec_ext
in '' $ac_executable_extensions; do
2383 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2384 if test $ac_prog = install &&
2385 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2386 # AIX install. It has an incompatible calling convention.
2388 elif test $ac_prog = install &&
2389 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2390 # program-specific install script used by HP pwplus--don't use.
2393 rm -rf conftest.one conftest.two conftest.dir
2394 echo one
> conftest.one
2395 echo two
> conftest.two
2397 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2398 test -s conftest.one
&& test -s conftest.two
&&
2399 test -s conftest.dir
/conftest.one
&&
2400 test -s conftest.dir
/conftest.two
2402 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2415 rm -rf conftest.one conftest.two conftest.dir
2418 if test "${ac_cv_path_install+set}" = set; then
2419 INSTALL
=$ac_cv_path_install
2421 # As a last resort, use the slow shell script. Don't cache a
2422 # value for INSTALL within a source directory, because that will
2423 # break other packages using the cache if that directory is
2424 # removed, or if the value is a relative name.
2425 INSTALL
=$ac_install_sh
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2429 $as_echo "$INSTALL" >&6; }
2431 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2432 # It thinks the first close brace ends the variable substitution.
2433 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2435 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2437 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2440 $as_echo_n "checking whether ln works... " >&6; }
2441 if test "${acx_cv_prog_LN+set}" = set; then :
2442 $as_echo_n "(cached) " >&6
2444 rm -f conftestdata_t
2445 echo >conftestdata_f
2446 if ln conftestdata_f conftestdata_t
2>/dev
/null
2452 rm -f conftestdata_f conftestdata_t
2455 if test $acx_cv_prog_LN = no
; then
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2458 $as_echo "no, using $LN" >&6; }
2460 LN
="$acx_cv_prog_LN"
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2462 $as_echo "yes" >&6; }
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2466 $as_echo_n "checking whether ln -s works... " >&6; }
2468 if test "$LN_S" = "ln -s"; then
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2470 $as_echo "yes" >&6; }
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2473 $as_echo "no, using $LN_S" >&6; }
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2477 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2478 if test "${ac_cv_path_SED+set}" = set; then :
2479 $as_echo_n "(cached) " >&6
2481 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2482 for ac_i
in 1 2 3 4 5 6 7; do
2483 ac_script
="$ac_script$as_nl$ac_script"
2485 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2486 { ac_script
=; unset ac_script
;}
2487 if test -z "$SED"; then
2488 ac_path_SED_found
=false
2489 # Loop through the user's path and test for each of PROGNAME-LIST
2490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2494 test -z "$as_dir" && as_dir
=.
2495 for ac_prog
in sed gsed
; do
2496 for ac_exec_ext
in '' $ac_executable_extensions; do
2497 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2498 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2499 # Check for GNU ac_path_SED and select it if it is found.
2500 # Check for GNU $ac_path_SED
2501 case `"$ac_path_SED" --version 2>&1` in
2503 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2506 $as_echo_n 0123456789 >"conftest.in"
2509 cat "conftest.in" "conftest.in" >"conftest.tmp"
2510 mv "conftest.tmp" "conftest.in"
2511 cp "conftest.in" "conftest.nl"
2512 $as_echo '' >> "conftest.nl"
2513 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2514 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2515 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2516 if test $ac_count -gt ${ac_path_SED_max-0}; then
2517 # Best one so far, save it but keep looking for a better one
2518 ac_cv_path_SED
="$ac_path_SED"
2519 ac_path_SED_max
=$ac_count
2521 # 10*(2^10) chars as input seems more than enough
2522 test $ac_count -gt 10 && break
2524 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2527 $ac_path_SED_found && break 3
2532 if test -z "$ac_cv_path_SED"; then
2533 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2541 $as_echo "$ac_cv_path_SED" >&6; }
2542 SED
="$ac_cv_path_SED"
2545 for ac_prog
in gawk mawk nawk
awk
2547 # Extract the first word of "$ac_prog", so it can be a program name with args.
2548 set dummy
$ac_prog; ac_word
=$2
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2550 $as_echo_n "checking for $ac_word... " >&6; }
2551 if test "${ac_cv_prog_AWK+set}" = set; then :
2552 $as_echo_n "(cached) " >&6
2554 if test -n "$AWK"; then
2555 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2561 test -z "$as_dir" && as_dir
=.
2562 for ac_exec_ext
in '' $ac_executable_extensions; do
2563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2564 ac_cv_prog_AWK
="$ac_prog"
2565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2575 if test -n "$AWK"; then
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2577 $as_echo "$AWK" >&6; }
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2580 $as_echo "no" >&6; }
2584 test -n "$AWK" && break
2588 ### we might need to use some other shell than /bin/sh for running subshells
2589 ### If we are on Windows, search for the shell. This will permit people
2590 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
2591 ### without also having to set CONFIG_SHELL. This code will work when
2592 ### using bash, which sets OSTYPE.
2595 if test x
${CONFIG_SHELL} = x
; then
2596 if test ! -f /bin
/sh
; then
2597 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
2598 CONFIG_SHELL
=${SHELL}
2601 for prog
in sh sh.exe bash bash.exe
; do
2602 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2603 for dir
in $PATH; do
2604 test -z "$dir" && dir
=.
2605 if test -f $dir/$prog; then
2606 CONFIG_SHELL
=$dir/$prog
2612 test -n "${CONFIG_SHELL}" && break
2620 config_shell
=${CONFIG_SHELL-/bin/sh}
2622 moveifchange
=${srcdir}/move-if-change
2624 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2626 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2628 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2629 INSTALL
="${srcpwd}/install-sh -c"
2632 # Set srcdir to "." if that's what it is.
2633 # This is important for multilib support.
2635 if test "${pwd}" = "${srcpwd}" ; then
2643 ### To add a new directory to the tree, first choose whether it is a target
2644 ### or a host dependent tool. Then put it into the appropriate list
2645 ### (library or tools, host or target), doing a dependency sort.
2647 # Subdirs will be configured in the order listed in build_configdirs,
2648 # configdirs, or target_configdirs; see the serialization section below.
2650 # Dependency sorting is only needed when *configuration* must be done in
2651 # a particular order. In all cases a dependency should be specified in
2652 # the Makefile, whether or not it's implicitly specified here.
2654 # Double entries in build_configdirs, configdirs, or target_configdirs may
2655 # cause circular dependencies and break everything horribly.
2657 # these library is used by various programs built for the build
2660 build_libs
="build-libiberty"
2662 # these tools are built for the build environment
2663 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
2665 # these libraries are used by various programs built for the host environment
2667 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2669 # these tools are built for the host environment
2670 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2671 # know that we are building the simulator.
2672 # binutils, gas and ld appear in that order because it makes sense to run
2673 # "make check" in that particular order.
2674 # If --enable-gold is used, "gold" may replace "ld".
2675 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"
2677 # libgcj represents the runtime libraries only used by gcj.
2678 libgcj
="target-libffi \
2683 # these libraries are built for the target environment, and are built after
2684 # the host libraries and the host tools (which may be a cross compiler)
2686 target_libraries
="target-libgcc \
2691 target-libstdc++-v3 \
2694 target-libgfortran \
2700 # these tools are built using the target libraries, and are intended to
2701 # run only in the target environment
2703 # note: any program that *uses* libraries that are in the "target_libraries"
2704 # list belongs in this list. those programs are also very likely
2705 # candidates for the "native_only" list which follows
2707 target_tools
="target-examples target-groff target-gperf target-rda"
2709 ################################################################################
2711 ## All tools belong in one of the four categories, and are assigned above
2712 ## We assign ${configdirs} this way to remove all embedded newlines. This
2713 ## is important because configure will choke if they ever get through.
2714 ## ${configdirs} is directories we build using the host tools.
2715 ## ${target_configdirs} is directories we build using the target tools.
2716 configdirs
=`echo ${host_libs} ${host_tools}`
2717 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2718 build_configdirs
=`echo ${build_libs} ${build_tools}`
2722 ################################################################################
2724 srcname
="gnu development package"
2726 # This gets set non-empty for some net releases of packages.
2729 # Define is_cross_compiler to save on calls to 'test'.
2731 if test x
"${host}" = x
"${target}" ; then
2732 is_cross_compiler
=no
2734 is_cross_compiler
=yes
2737 # Find the build and target subdir names.
2739 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2740 # have matching libraries, they should use host libraries: Makefile.tpl
2741 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2742 # However, they still use the build modules, because the corresponding
2743 # host modules (e.g. bison) are only built for the host when bootstrap
2745 # - build_subdir is where we find build modules, and never changes.
2746 # - build_libsubdir is where we find build libraries, and can be overridden.
2748 # Prefix 'build-' so this never conflicts with target_subdir.
2749 build_subdir
="build-${build_noncanonical}"
2751 # Check whether --with-build-libsubdir was given.
2752 if test "${with_build_libsubdir+set}" = set; then :
2753 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2755 build_libsubdir
="$build_subdir"
2758 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2759 if ( test $srcdir = .
&& test -d gcc
) \
2760 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2761 host_subdir
="host-${host_noncanonical}"
2766 target_subdir
=${target_noncanonical}
2768 # Be sure to cover against remnants of an in-tree build.
2769 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2770 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2771 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2774 # Skipdirs are removed silently.
2776 # Noconfigdirs are removed loudly.
2780 # Make sure we don't let GNU ld be added if we didn't want it.
2781 if test x
$with_gnu_ld = xno
; then
2783 noconfigdirs
="$noconfigdirs ld gold"
2787 # Make sure we don't let GNU as be added if we didn't want it.
2788 if test x
$with_gnu_as = xno
; then
2790 noconfigdirs
="$noconfigdirs gas"
2794 # Make sure we don't let ZLIB be added if we didn't want it.
2795 if test x
$with_system_zlib = xyes
; then
2796 use_included_zlib
=no
2797 noconfigdirs
="$noconfigdirs zlib"
2800 # some tools are so dependent upon X11 that if we're not building with X,
2801 # it's not even worth trying to configure, much less build, that tool.
2804 yes |
"") ;; # the default value for this tree is that X11 is available
2806 skipdirs
="${skipdirs} tk itcl libgui"
2807 # We won't be able to build gdbtk without X.
2810 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2813 # Some tools are only suitable for building in a "native" situation.
2814 # Remove these if host!=target.
2815 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"
2817 # Similarly, some are only suitable for cross toolchains.
2818 # Remove these if host=target.
2819 cross_only
="target-libgloss target-newlib target-opcodes"
2821 case $is_cross_compiler in
2822 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2823 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2826 # If both --with-headers and --with-libs are specified, default to
2828 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2829 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2830 if test x
"${with_newlib}" = x
; then
2835 # Recognize --with-newlib/--without-newlib.
2836 case ${with_newlib} in
2837 no
) skipdirs
="${skipdirs} target-newlib" ;;
2838 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2841 # Handle --enable-gold.
2842 # --enable-gold Build only gold
2843 # --disable-gold [default] Build only ld
2844 # --enable-gold=both Build both gold and ld, ld is default
2845 # --enable-gold=both/ld Same
2846 # --enable-gold=both/gold Build both gold and ld, gold is default, ld is renamed ld.bfd
2848 # Check whether --enable-gold was given.
2849 if test "${enable_gold+set}" = set; then :
2850 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2855 case "${ENABLE_GOLD}" in
2856 yes|both|both
/gold|both
/ld
)
2857 # Check for ELF target.
2860 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2861 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2862 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2* |
*-*-nto*)
2864 *-*-linux*aout
* |
*-*-linux*oldld
*)
2872 if test "$is_elf" = "yes"; then
2873 # Check for target supported by gold.
2875 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2876 case "${ENABLE_GOLD}" in
2878 configdirs
="$configdirs gold"
2881 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / gold /'`
2892 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2896 # Configure extra directories which are host specific
2900 configdirs
="$configdirs libtermcap" ;;
2903 # A target can indicate whether a language isn't supported for some reason.
2904 # Only spaces may be used in this macro; not newlines or tabs.
2905 unsupported_languages
=
2907 # Remove more programs from consideration, based on the host or
2908 # target this usually means that a port of the program doesn't
2913 noconfigdirs
="$noconfigdirs byacc"
2915 i
[3456789]86-*-vsta)
2916 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2918 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2919 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2922 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2924 i
[3456789]86-*-mingw32*)
2925 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2926 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2928 i
[3456789]86-*-beos*)
2929 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2932 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2935 noconfigdirs
="$noconfigdirs rcs"
2938 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2941 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2946 # Check whether --enable-libada was given.
2947 if test "${enable_libada+set}" = set; then :
2948 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
2953 if test "${ENABLE_LIBADA}" != "yes" ; then
2954 noconfigdirs
="$noconfigdirs gnattools"
2957 # Check whether --enable-libssp was given.
2958 if test "${enable_libssp+set}" = set; then :
2959 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
2965 # Save it here so that, even in case of --enable-libgcj, if the Java
2966 # front-end isn't enabled, we still get libgcj disabled.
2967 libgcj_saved
=$libgcj
2968 case $enable_libgcj in
2970 # If we reset it here, it won't get added to noconfigdirs in the
2971 # target-specific build rules, so it will be forcibly enabled
2972 # (unless the Java language itself isn't enabled).
2976 # Make sure we get it printed in the list of not supported target libs.
2977 noconfigdirs
="$noconfigdirs ${libgcj}"
2982 # Disable libmudflap on some systems.
2983 if test x
$enable_libmudflap = x
; then
2985 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
2986 # Enable libmudflap by default in GNU and friends.
2989 # Enable libmudflap by default in FreeBSD.
2992 # Disable it by default everywhere else.
2993 noconfigdirs
="$noconfigdirs target-libmudflap"
2998 # Disable libgomp on non POSIX hosted systems.
2999 if test x
$enable_libgomp = x
; then
3000 # Enable libgomp by default on hosted POSIX systems.
3002 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3004 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
3006 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
3008 *-*-darwin* |
*-*-aix*)
3011 noconfigdirs
="$noconfigdirs target-libgomp"
3016 # Default libgloss CPU subdirectory.
3017 libgloss_dir
="$target_cpu"
3021 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3024 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3025 noconfigdirs
="$noconfigdirs sim target-rda"
3027 i
[3456789]86-*-darwin*)
3028 noconfigdirs
="$noconfigdirs ld gprof"
3029 noconfigdirs
="$noconfigdirs sim target-rda"
3031 x86_64-
*-darwin[912]*)
3032 noconfigdirs
="$noconfigdirs ld gas gprof"
3033 noconfigdirs
="$noconfigdirs sim target-rda"
3036 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3037 noconfigdirs
="$noconfigdirs sim target-rda"
3038 noconfigdirs
="$noconfigdirs ${libgcj}"
3040 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
3041 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3044 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3045 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3046 && test -f /usr
/local
/include
/gmp.h
; then
3050 # Skip some stuff that's unsupported on some FreeBSD configurations.
3056 noconfigdirs
="$noconfigdirs ${libgcj}"
3061 # Remove unsupported stuff on all kaOS configurations.
3062 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
3063 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
3064 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
3065 noconfigdirs
="$noconfigdirs target-libgloss"
3068 # Skip some stuff on all NetBSD configurations.
3069 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
3071 # Skip some stuff that's unsupported on some NetBSD configurations.
3073 i
*86-*-netbsdelf*) ;;
3074 arm
*-*-netbsdelf*) ;;
3076 noconfigdirs
="$noconfigdirs ${libgcj}"
3081 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
3084 skipdirs
="${skipdirs} target-libiberty"
3085 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3087 # The tpf target doesn't support gdb yet.
3089 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
3092 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
3095 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
3098 # ld works, but does not support shared libraries.
3099 # newlib is not 64 bit ready. I'm not sure about fileutils.
3100 # gas doesn't generate exception information.
3101 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
3104 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3107 # newlib is not 64 bit ready
3108 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3111 # newlib is not 64 bit ready
3112 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3115 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3118 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3120 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3121 noconfigdirs
="$noconfigdirs ${libgcj}"
3122 noconfigdirs
="$noconfigdirs target-examples"
3123 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
3124 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3125 noconfigdirs
="$noconfigdirs expect dejagnu"
3126 # the C++ libraries don't build on top of CE's C libraries
3127 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3128 noconfigdirs
="$noconfigdirs target-newlib"
3130 *-*-cygwin*) ;; # keep gdb and readline
3131 *) noconfigdirs
="$noconfigdirs gdb readline"
3137 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3141 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
3142 noconfigdirs
="$noconfigdirs ${libgcj}"
3145 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
3146 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
3149 arm
*-*-linux-gnueabi)
3150 noconfigdirs
="$noconfigdirs target-qthreads"
3151 case ${with_newlib} in
3152 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3157 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
3161 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3164 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3167 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3170 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3173 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3176 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
3179 unsupported_languages
="$unsupported_languages java"
3180 noconfigdirs
="$noconfigdirs target-boehm-gc gdb"
3181 if test x
${is_cross_compiler} != xno
; then
3182 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
3185 c4x-
*-* | tic4x-
*-*)
3186 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3188 c54x
*-*-* | tic54x-
*-*)
3189 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
3192 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3194 cris-
*-* | crisv32-
*-*)
3195 unsupported_languages
="$unsupported_languages java"
3198 unsupported_languages
="$unsupported_languages fortran"
3199 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3201 noconfigdirs
="$noconfigdirs target-boehm-gc";;
3203 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
3205 unsupported_languages
="$unsupported_languages fortran"
3206 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
3211 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
3214 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3217 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3219 ep9312-
*-elf | ep9312-
*-coff)
3223 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3226 noconfigdirs
="$noconfigdirs ${libgcj}"
3229 noconfigdirs
="$noconfigdirs ${libgcj}"
3230 noconfigdirs
="$noconfigdirs gprof"
3233 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3236 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3238 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3240 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
3241 # In this case, it's because the hppa64-linux target is for
3242 # the kernel only at this point and has no libc, and thus no
3243 # headers, crt*.o, etc., all of which are needed by these.
3244 noconfigdirs
="$noconfigdirs target-zlib"
3246 parisc
*-*-linux* | hppa
*-*-linux*)
3250 hppa
*-*-openbsd* | \
3252 noconfigdirs
="$noconfigdirs ${libgcj}"
3255 noconfigdirs
="$noconfigdirs ld shellutils"
3261 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3262 # build on HP-UX 10.20.
3263 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
3266 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3269 # No gdb support yet.
3270 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
3273 # No gdb or ld support yet.
3274 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
3277 # No gdb or ld support yet.
3278 noconfigdirs
="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
3282 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
3283 noconfigdirs
="$noconfigdirs ${libgcj}"
3286 i
[3456789]86-*-linux*)
3287 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
3288 # not build java stuff by default.
3291 noconfigdirs
="$noconfigdirs ${libgcj}";;
3294 # This section makes it possible to build newlib natively on linux.
3295 # If we are using a cross compiler then don't configure newlib.
3296 if test x
${is_cross_compiler} != xno
; then
3297 noconfigdirs
="$noconfigdirs target-newlib"
3299 noconfigdirs
="$noconfigdirs target-libgloss"
3300 # If we are not using a cross compiler, do configure newlib.
3301 # Note however, that newlib will only be configured in this situation
3302 # if the --with-newlib option has been given, because otherwise
3303 # 'target-newlib' will appear in skipdirs.
3305 i
[3456789]86-w64-mingw*)
3306 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3308 i
[3456789]86-*-mingw*)
3309 target_configdirs
="$target_configdirs target-winsup"
3310 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3313 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3316 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3317 noconfigdirs
="$noconfigdirs target-gperf target-libgloss"
3318 # always build newlib if winsup directory is present.
3319 if test -d "$srcdir/winsup/cygwin"; then
3320 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3321 elif test -d "$srcdir/newlib"; then
3322 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3325 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
3326 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
3329 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3331 i
[3456789]86-*-sco3.2v5
*)
3332 # The linker does not yet know about weak symbols in COFF,
3333 # and is not configured to handle mixed ELF and COFF.
3334 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3336 i
[3456789]86-*-sco*)
3337 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3339 i
[3456789]86-*-solaris2*)
3340 noconfigdirs
="$noconfigdirs target-libgloss"
3342 i
[3456789]86-*-sysv4*)
3343 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3345 i
[3456789]86-*-beos*)
3346 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3348 i
[3456789]86-*-rdos*)
3349 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3352 noconfigdirs
="$noconfigdirs ${libgcj}"
3354 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3355 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3356 libgloss_dir
=m68hc11
3359 noconfigdirs
="$noconfigdirs ${libgcj}"
3362 noconfigdirs
="$noconfigdirs ${libgcj}"
3364 m68
*-*-* | fido-
*-*)
3368 # The EPOC C++ environment does not support exceptions or rtti,
3369 # and so building libstdc++-v3 tends not to always work.
3370 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3373 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
3374 unsupported_languages
="$unsupported_languages fortran java"
3377 noconfigdirs
="$noconfigdirs ${libgcj}"
3380 noconfigdirs
="$noconfigdirs ${libgcj}"
3383 noconfigdirs
="$noconfigdirs sim"
3386 # copied from rs6000-*-* entry
3387 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3389 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
3390 target_configdirs
="$target_configdirs target-winsup"
3391 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
3392 # always build newlib.
3393 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3395 # This is temporary until we can link against shared libraries
3396 powerpcle-
*-solaris*)
3397 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
3401 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3404 noconfigdirs
="$noconfigdirs ${libgcj}"
3407 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
3411 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
3414 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3417 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3420 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
3423 noconfigdirs
="$noconfigdirs gprof target-libssp ${libgcj}"
3426 skipdirs
="$skipdirs target-libiberty"
3427 noconfigdirs
="$noconfigdirs ${libgcj}"
3428 if test x
$with_newlib = xyes
; then
3429 noconfigdirs
="$noconfigdirs gprof"
3434 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3437 # Linking libjava exceeds command-line length limits on at least
3438 # IRIX 6.2, but not on IRIX 6.5.
3439 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3440 # <oldham@codesourcery.com>
3441 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3444 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3447 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3450 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3454 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
3458 i
[3456789]86-*-vsta) ;; # don't add gprof back in
3459 i
[3456789]86-*-go32*) ;; # don't add gprof back in
3460 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
3461 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
3465 noconfigdirs
="$noconfigdirs ${libgcj}" ;;
3467 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}" ;;
3470 sparclet-
*-aout* | sparc86x-
*-*)
3474 noconfigdirs
="$noconfigdirs ${libgcj}"
3477 noconfigdirs
="$noconfigdirs ${libgcj}"
3481 noconfigdirs
="$noconfigdirs ${libgcj}"
3485 noconfigdirs
="$noconfigdirs ${libgcj}"
3486 if test x
${is_cross_compiler} != xno
; then
3487 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3492 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
3493 noconfigdirs
="$noconfigdirs ${libgcj}"
3495 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
3498 noconfigdirs
="$noconfigdirs gdb sim ${libgcj}"
3501 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
3504 noconfigdirs
="$noconfigdirs ${libgcj}"
3507 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
3510 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3513 noconfigdirs
="$noconfigdirs ${libgcj}"
3516 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3518 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3519 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3522 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3525 noconfigdirs
="$noconfigdirs ${libgcj}"
3529 # If we aren't building newlib, then don't build libgloss, since libgloss
3530 # depends upon some newlib header files.
3531 case "${noconfigdirs}" in
3532 *target-libgloss
*) ;;
3533 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3536 # Work in distributions that contain no compiler tools, like Autoconf.
3538 host_makefile_frag
=/dev
/null
3539 if test -d ${srcdir}/config
; then
3542 # Avoid "too much defining" errors from HPUX compiler.
3543 tentative_cc
="cc -Wp,-H256000"
3544 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
3545 # If it's HP/UX ar, this should be harmless.
3549 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
3552 #None of the Apollo compilers can compile gas or binutils. The preprocessor
3553 # chokes on bfd, the compiler won't let you assign integers to enums, and
3554 # other problems. Defining CC to gcc is a questionable way to say "don't use
3555 # the apollo compiler" (the preferred version of GCC could be called cc,
3556 # or whatever), but I'm not sure leaving CC as cc is any better...
3557 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
3558 # Used to have BISON=yacc.
3562 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3565 # Under CX/UX, we want to tell the compiler to use ANSI mode.
3566 tentative_cc
="cc -Xa"
3567 host_makefile_frag
="config/mh-cxux"
3569 m88k-motorola-sysv
*)
3572 tentative_cc
="cc -Wf,-XNg1000"
3573 host_makefile_frag
="config/mh-decstation"
3576 # The C compiler on NEC MIPS SVR4 needs bigger tables.
3577 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
3578 host_makefile_frag
="config/mh-necv4"
3581 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
3582 # environment. Also bump switch table size so that cp-parse will
3583 # compile. Bump string length limit so linker builds.
3584 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
3587 host_makefile_frag
="config/mh-sysv4"
3590 # This is for a MIPS running RISC/os 4.52C.
3592 # This is needed for GDB, but needs to be in the top-level make because
3593 # if a library is compiled with the bsd headers and gets linked with the
3594 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
3595 # a different size).
3596 # ptrace(2) apparently has problems in the BSD environment. No workaround is
3597 # known except to select the sysv environment. Could we use /proc instead?
3598 # These "sysv environments" and "bsd environments" often end up being a pain.
3600 # This is not part of CFLAGS because perhaps not all C compilers have this
3602 tentative_cc
="cc -systype sysv"
3607 i
[3456789]86-*-sysv5*)
3608 host_makefile_frag
="config/mh-sysv5"
3610 i
[3456789]86-*-dgux*)
3611 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3612 host_makefile_frag
="config/mh-dgux386"
3614 i
[3456789]86-ncr-sysv4.3
*)
3615 # The MetaWare compiler will generate a copyright message unless you
3616 # turn it off by adding the -Hnocopyr flag.
3617 tentative_cc
="cc -Hnocopyr"
3619 i
[3456789]86-ncr-sysv4*)
3620 # for an NCR 3000 (i486/SVR4) system.
3621 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
3622 # This compiler not only emits obnoxious copyright messages every time
3623 # you run it, but it chokes and dies on a whole bunch of GNU source
3624 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
3625 tentative_cc
="/usr/ccs/ATT/cc"
3626 host_makefile_frag
="config/mh-ncr3000"
3628 i
[3456789]86-*-sco3.2v5
*)
3630 i
[3456789]86-*-sco*)
3631 # The native C compiler botches some simple uses of const. Unfortunately,
3632 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
3633 tentative_cc
="cc -Dconst="
3634 host_makefile_frag
="config/mh-sco"
3636 i
[3456789]86-*-udk*)
3637 host_makefile_frag
="config/mh-sysv5"
3639 i
[3456789]86-*-solaris2*)
3640 host_makefile_frag
="config/mh-sysv4"
3642 i
[3456789]86-*-msdosdjgpp*)
3643 host_makefile_frag
="config/mh-djgpp"
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3648 $as_echo_n "checking to see if cat works as expected... " >&6; }
3649 echo a
>cygwin-cat-check
3650 if test `cat cygwin-cat-check` = a
; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3653 $as_echo "yes" >&6; }
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657 $as_echo "no" >&6; }
3658 as_fn_error
"The cat command does not ignore carriage return characters.
3659 Please either mount the build directory in binary mode or run the following
3660 commands before running any configure script:
3666 host_makefile_frag
="config/mh-cygwin"
3669 host_makefile_frag
="config/mh-mingw"
3672 host_makefile_frag
="config/mh-interix"
3675 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
3679 host_makefile_frag
="config/mh-solaris"
3682 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
3683 # without overflowing the jump tables (-J says to use a 32 bit table)
3684 tentative_cc
="cc -J"
3687 tentative_cc
="cc -Wp,-H256000"
3688 host_makefile_frag
="config/mh-pa-hpux10"
3690 hppa
*-hp-hpux* | hppa
*-*-hiux*)
3691 tentative_cc
="cc -Wp,-H256000"
3692 host_makefile_frag
="config/mh-pa"
3695 host_makefile_frag
="config/mh-pa"
3697 *-hp-hpux* |
*-*-hiux*)
3698 tentative_cc
="cc -Wp,-H256000"
3701 # /bin/cc is less than useful for our purposes. Always use GCC
3702 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
3703 host_makefile_frag
="config/mh-lynxrs6k"
3706 host_makefile_frag
="config/mh-darwin"
3709 host_makefile_frag
="config/mh-ppc-aix"
3712 host_makefile_frag
="config/mh-ppc-aix"
3715 # /bin/cc is less than useful for our purposes. Always use GCC
3716 tentative_cc
="/bin/gcc"
3719 host_makefile_frag
="config/mh-sysv4"
3721 # This is placed last to prevent interfering with the cases above.
3723 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
3724 host_makefile_frag
="config/mh-x86omitfp"
3729 # If we aren't going to be using gcc, see if we can extract a definition
3730 # of CC from the fragment.
3731 # Actually, use the 'pre-extracted' version above.
3732 if test -z "${CC}" && test "${build}" = "${host}" ; then
3733 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
3735 for dir
in $PATH; do
3736 test -z "$dir" && dir
=.
3737 if test -f $dir/gcc
; then
3743 if test -z "${found}" && test -n "${tentative_cc}" ; then
3748 if test "${build}" != "${host}" ; then
3749 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3750 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3751 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3752 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3753 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3754 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3755 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3756 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3757 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3758 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3759 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3760 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3762 AR_FOR_BUILD
="\$(AR)"
3763 AS_FOR_BUILD
="\$(AS)"
3764 CC_FOR_BUILD
="\$(CC)"
3765 CXX_FOR_BUILD
="\$(CXX)"
3766 GCJ_FOR_BUILD
="\$(GCJ)"
3767 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3768 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3769 LD_FOR_BUILD
="\$(LD)"
3770 NM_FOR_BUILD
="\$(NM)"
3771 RANLIB_FOR_BUILD
="\$(RANLIB)"
3772 WINDRES_FOR_BUILD
="\$(WINDRES)"
3773 WINDMC_FOR_BUILD
="\$(WINDMC)"
3777 ac_cpp
='$CPP $CPPFLAGS'
3778 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3779 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3780 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3781 if test -n "$ac_tool_prefix"; then
3782 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3783 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3785 $as_echo_n "checking for $ac_word... " >&6; }
3786 if test "${ac_cv_prog_CC+set}" = set; then :
3787 $as_echo_n "(cached) " >&6
3789 if test -n "$CC"; then
3790 ac_cv_prog_CC
="$CC" # Let the user override the test.
3792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3796 test -z "$as_dir" && as_dir
=.
3797 for ac_exec_ext
in '' $ac_executable_extensions; do
3798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3799 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3810 if test -n "$CC"; then
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3812 $as_echo "$CC" >&6; }
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 $as_echo "no" >&6; }
3820 if test -z "$ac_cv_prog_CC"; then
3822 # Extract the first word of "gcc", so it can be a program name with args.
3823 set dummy gcc
; ac_word
=$2
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3825 $as_echo_n "checking for $ac_word... " >&6; }
3826 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3827 $as_echo_n "(cached) " >&6
3829 if test -n "$ac_ct_CC"; then
3830 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3836 test -z "$as_dir" && as_dir
=.
3837 for ac_exec_ext
in '' $ac_executable_extensions; do
3838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3839 ac_cv_prog_ac_ct_CC
="gcc"
3840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3849 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3850 if test -n "$ac_ct_CC"; then
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3852 $as_echo "$ac_ct_CC" >&6; }
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855 $as_echo "no" >&6; }
3858 if test "x$ac_ct_CC" = x
; then
3861 case $cross_compiling:$ac_tool_warned in
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3865 ac_tool_warned
=yes ;;
3873 if test -z "$CC"; then
3874 if test -n "$ac_tool_prefix"; then
3875 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3876 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3878 $as_echo_n "checking for $ac_word... " >&6; }
3879 if test "${ac_cv_prog_CC+set}" = set; then :
3880 $as_echo_n "(cached) " >&6
3882 if test -n "$CC"; then
3883 ac_cv_prog_CC
="$CC" # Let the user override the test.
3885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3889 test -z "$as_dir" && as_dir
=.
3890 for ac_exec_ext
in '' $ac_executable_extensions; do
3891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3892 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3903 if test -n "$CC"; then
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3905 $as_echo "$CC" >&6; }
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3908 $as_echo "no" >&6; }
3914 if test -z "$CC"; then
3915 # Extract the first word of "cc", so it can be a program name with args.
3916 set dummy cc
; ac_word
=$2
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3918 $as_echo_n "checking for $ac_word... " >&6; }
3919 if test "${ac_cv_prog_CC+set}" = set; then :
3920 $as_echo_n "(cached) " >&6
3922 if test -n "$CC"; then
3923 ac_cv_prog_CC
="$CC" # Let the user override the test.
3926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3930 test -z "$as_dir" && as_dir
=.
3931 for ac_exec_ext
in '' $ac_executable_extensions; do
3932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3933 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3934 ac_prog_rejected
=yes
3938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3945 if test $ac_prog_rejected = yes; then
3946 # We found a bogon in the path, so make sure we never use it.
3947 set dummy
$ac_cv_prog_CC
3949 if test $# != 0; then
3950 # We chose a different compiler from the bogus one.
3951 # However, it has the same basename, so the bogon will be chosen
3952 # first if we set CC to just the basename; use the full file name.
3954 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3960 if test -n "$CC"; then
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3962 $as_echo "$CC" >&6; }
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3965 $as_echo "no" >&6; }
3970 if test -z "$CC"; then
3971 if test -n "$ac_tool_prefix"; then
3972 for ac_prog
in cl.exe
3974 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3975 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977 $as_echo_n "checking for $ac_word... " >&6; }
3978 if test "${ac_cv_prog_CC+set}" = set; then :
3979 $as_echo_n "(cached) " >&6
3981 if test -n "$CC"; then
3982 ac_cv_prog_CC
="$CC" # Let the user override the test.
3984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3988 test -z "$as_dir" && as_dir
=.
3989 for ac_exec_ext
in '' $ac_executable_extensions; do
3990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3991 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 if test -n "$CC"; then
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4004 $as_echo "$CC" >&6; }
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4011 test -n "$CC" && break
4014 if test -z "$CC"; then
4016 for ac_prog
in cl.exe
4018 # Extract the first word of "$ac_prog", so it can be a program name with args.
4019 set dummy
$ac_prog; ac_word
=$2
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4021 $as_echo_n "checking for $ac_word... " >&6; }
4022 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4023 $as_echo_n "(cached) " >&6
4025 if test -n "$ac_ct_CC"; then
4026 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4032 test -z "$as_dir" && as_dir
=.
4033 for ac_exec_ext
in '' $ac_executable_extensions; do
4034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4035 ac_cv_prog_ac_ct_CC
="$ac_prog"
4036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4046 if test -n "$ac_ct_CC"; then
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4048 $as_echo "$ac_ct_CC" >&6; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4051 $as_echo "no" >&6; }
4055 test -n "$ac_ct_CC" && break
4058 if test "x$ac_ct_CC" = x
; then
4061 case $cross_compiling:$ac_tool_warned in
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4065 ac_tool_warned
=yes ;;
4074 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4076 as_fn_error
"no acceptable C compiler found in \$PATH
4077 See \`config.log' for more details." "$LINENO" 5; }
4079 # Provide some information about the compiler.
4080 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4083 for ac_option
in --version -v -V -qversion; do
4084 { { ac_try
="$ac_compiler $ac_option >&5"
4086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4087 *) ac_try_echo=$ac_try;;
4089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4090 $as_echo "$ac_try_echo"; } >&5
4091 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4093 if test -s conftest.err; then
4095 ... rest of stderr output deleted ...
4096 10q' conftest.err >conftest.er1
4097 cat conftest.er1 >&5
4098 rm -f conftest.er1 conftest.err
4100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4101 test $ac_status = 0; }
4104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4105 /* end confdefs.h. */
4115 ac_clean_files_save=$ac_clean_files
4116 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4117 # Try to create an executable without -o first, disregard a.out.
4118 # It will help us diagnose broken compilers, and finding out an intuition
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4121 $as_echo_n "checking for C compiler default output file name... " >&6; }
4122 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4124 # The possible output files:
4125 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4128 for ac_file in $ac_files
4131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4132 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4137 if { { ac_try="$ac_link_default"
4139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4140 *) ac_try_echo
=$ac_try;;
4142 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4143 $as_echo "$ac_try_echo"; } >&5
4144 (eval "$ac_link_default") 2>&5
4146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4147 test $ac_status = 0; }; then :
4148 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4149 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4150 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4151 # so that the user can short-circuit this test for compilers unknown to
4153 for ac_file
in $ac_files ''
4155 test -f "$ac_file" ||
continue
4157 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4160 # We found the default executable, but exeext='' is most
4164 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4166 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4168 # We set ac_cv_exeext here because the later test for it is not
4169 # safe: cross compilers may not add the suffix if given an `-o'
4170 # argument, so we may need to know it at that point already.
4171 # Even if this section looks crufty: it has the advantage of
4178 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4184 $as_echo "$ac_file" >&6; }
4185 if test -z "$ac_file"; then :
4186 $as_echo "$as_me: failed program was:" >&5
4187 sed 's/^/| /' conftest.
$ac_ext >&5
4189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4191 { as_fn_set_status
77
4192 as_fn_error
"C compiler cannot create executables
4193 See \`config.log' for more details." "$LINENO" 5; }; }
4195 ac_exeext
=$ac_cv_exeext
4197 # Check that the compiler produces executables we can run. If not, either
4198 # the compiler is broken, or we cross compile.
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4200 $as_echo_n "checking whether the C compiler works... " >&6; }
4201 # If not cross compiling, check that we can run a simple program.
4202 if test "$cross_compiling" != yes; then
4203 if { ac_try
='./$ac_file'
4204 { { case "(($ac_try" in
4205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4206 *) ac_try_echo=$ac_try;;
4208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4209 $as_echo "$ac_try_echo"; } >&5
4210 (eval "$ac_try") 2>&5
4212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4213 test $ac_status = 0; }; }; then
4216 if test "$cross_compiling" = maybe; then
4219 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4221 as_fn_error "cannot run C compiled programs.
4222 If you meant to cross compile
, use \
`--host'.
4223 See \`config.log
' for more details." "$LINENO" 5; }
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4228 $as_echo "yes" >&6; }
4230 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4231 ac_clean_files=$ac_clean_files_save
4232 # Check that the compiler produces executables we can run. If not, either
4233 # the compiler is broken, or we cross compile.
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4235 $as_echo_n "checking whether we are cross compiling... " >&6; }
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4237 $as_echo "$cross_compiling" >&6; }
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4240 $as_echo_n "checking for suffix of executables... " >&6; }
4241 if { { ac_try="$ac_link"
4243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4244 *) ac_try_echo=$ac_try;;
4246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4247 $as_echo "$ac_try_echo"; } >&5
4248 (eval "$ac_link") 2>&5
4250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4251 test $ac_status = 0; }; then :
4252 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4253 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4254 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4256 for ac_file
in conftest.exe conftest conftest.
*; do
4257 test -f "$ac_file" ||
continue
4259 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4260 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4268 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4269 See \`config.log' for more details." "$LINENO" 5; }
4271 rm -f conftest
$ac_cv_exeext
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4273 $as_echo "$ac_cv_exeext" >&6; }
4275 rm -f conftest.
$ac_ext
4276 EXEEXT
=$ac_cv_exeext
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4279 $as_echo_n "checking for suffix of object files... " >&6; }
4280 if test "${ac_cv_objext+set}" = set; then :
4281 $as_echo_n "(cached) " >&6
4283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4284 /* end confdefs.h. */
4294 rm -f conftest.o conftest.obj
4295 if { { ac_try
="$ac_compile"
4297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4298 *) ac_try_echo=$ac_try;;
4300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4301 $as_echo "$ac_try_echo"; } >&5
4302 (eval "$ac_compile") 2>&5
4304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4305 test $ac_status = 0; }; then :
4306 for ac_file in conftest.o conftest.obj conftest.*; do
4307 test -f "$ac_file" || continue;
4309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4310 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4315 $as_echo "$as_me: failed program was:" >&5
4316 sed 's/^/| /' conftest.$ac_ext >&5
4318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4320 as_fn_error "cannot compute suffix of object files
: cannot compile
4321 See \
`config.log' for more details." "$LINENO" 5; }
4323 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4326 $as_echo "$ac_cv_objext" >&6; }
4327 OBJEXT=$ac_cv_objext
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4330 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4331 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4332 $as_echo_n "(cached) " >&6
4334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4335 /* end confdefs.h. */
4348 if ac_fn_c_try_compile "$LINENO"; then :
4353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4354 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4358 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4359 if test $ac_compiler_gnu = yes; then
4364 ac_test_CFLAGS=${CFLAGS+set}
4365 ac_save_CFLAGS=$CFLAGS
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4367 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4368 if test "${ac_cv_prog_cc_g+set}" = set; then :
4369 $as_echo_n "(cached) " >&6
4371 ac_save_c_werror_flag=$ac_c_werror_flag
4372 ac_c_werror_flag=yes
4375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4376 /* end confdefs.h. */
4386 if ac_fn_c_try_compile "$LINENO"; then :
4390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4391 /* end confdefs.h. */
4401 if ac_fn_c_try_compile "$LINENO"; then :
4404 ac_c_werror_flag=$ac_save_c_werror_flag
4406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4407 /* end confdefs.h. */
4417 if ac_fn_c_try_compile "$LINENO"; then :
4420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4425 ac_c_werror_flag=$ac_save_c_werror_flag
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4428 $as_echo "$ac_cv_prog_cc_g" >&6; }
4429 if test "$ac_test_CFLAGS" = set; then
4430 CFLAGS=$ac_save_CFLAGS
4431 elif test $ac_cv_prog_cc_g = yes; then
4432 if test "$GCC" = yes; then
4438 if test "$GCC" = yes; then
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4445 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4446 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4447 $as_echo_n "(cached) " >&6
4449 ac_cv_prog_cc_c89=no
4451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4452 /* end confdefs.h. */
4455 #include <sys/types.h>
4456 #include <sys/stat.h>
4457 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4458 struct buf { int x; };
4459 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4460 static char *e (p, i)
4466 static char *f (char * (*g) (char **, int), char **p, ...)
4471 s = g (p, va_arg (v,int));
4476 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4477 function prototypes and stuff, but not '\xHH' hex character constants.
4478 These don't provoke an error unfortunately, instead are silently treated
4479 as 'x'. The following induces an error, until -std is added to get
4480 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4481 array size at least. It's necessary to write '\x00'==0 to get something
4482 that's true only with -std. */
4483 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4485 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4486 inside strings and character constants. */
4488 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4490 int test (int i, double x);
4491 struct s1 {int (*f) (int a);};
4492 struct s2 {int (*f) (double a);};
4493 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4499 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4504 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4505 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4507 CC="$ac_save_CC $ac_arg"
4508 if ac_fn_c_try_compile "$LINENO"; then :
4509 ac_cv_prog_cc_c89=$ac_arg
4511 rm -f core conftest.err conftest.$ac_objext
4512 test "x$ac_cv_prog_cc_c89" != "xno" && break
4514 rm -f conftest.$ac_ext
4519 case "x$ac_cv_prog_cc_c89" in
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4522 $as_echo "none needed" >&6; } ;;
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4525 $as_echo "unsupported" >&6; } ;;
4527 CC="$CC $ac_cv_prog_cc_c89"
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4529 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4531 if test "x$ac_cv_prog_cc_c89" != xno; then :
4536 ac_cpp='$CPP $CPPFLAGS'
4537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4542 ac_cpp='$CXXCPP $CPPFLAGS'
4543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4546 if test -z "$CXX"; then
4547 if test -n "$CCC"; then
4550 if test -n "$ac_tool_prefix"; then
4551 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4553 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4554 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4556 $as_echo_n "checking for $ac_word... " >&6; }
4557 if test "${ac_cv_prog_CXX+set}" = set; then :
4558 $as_echo_n "(cached) " >&6
4560 if test -n "$CXX"; then
4561 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4567 test -z "$as_dir" && as_dir=.
4568 for ac_exec_ext in '' $ac_executable_extensions; do
4569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4570 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4581 if test -n "$CXX"; then
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4583 $as_echo "$CXX" >&6; }
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4586 $as_echo "no" >&6; }
4590 test -n "$CXX" && break
4593 if test -z "$CXX"; then
4595 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4597 # Extract the first word of "$ac_prog", so it can be a program name with args.
4598 set dummy $ac_prog; ac_word=$2
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4600 $as_echo_n "checking for $ac_word... " >&6; }
4601 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4602 $as_echo_n "(cached) " >&6
4604 if test -n "$ac_ct_CXX"; then
4605 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4611 test -z "$as_dir" && as_dir=.
4612 for ac_exec_ext in '' $ac_executable_extensions; do
4613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4614 ac_cv_prog_ac_ct_CXX="$ac_prog"
4615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4625 if test -n "$ac_ct_CXX"; then
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4627 $as_echo "$ac_ct_CXX" >&6; }
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4630 $as_echo "no" >&6; }
4634 test -n "$ac_ct_CXX" && break
4637 if test "x$ac_ct_CXX" = x; then
4640 case $cross_compiling:$ac_tool_warned in
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4644 ac_tool_warned=yes ;;
4652 # Provide some information about the compiler.
4653 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4656 for ac_option in --version -v -V -qversion; do
4657 { { ac_try="$ac_compiler $ac_option >&5"
4659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4660 *) ac_try_echo
=$ac_try;;
4662 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4663 $as_echo "$ac_try_echo"; } >&5
4664 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4666 if test -s conftest.err
; then
4668 ... rest of stderr output deleted ...
4669 10q' conftest.err
>conftest.er1
4670 cat conftest.er1
>&5
4671 rm -f conftest.er1 conftest.err
4673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4674 test $ac_status = 0; }
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4678 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4679 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4680 $as_echo_n "(cached) " >&6
4682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4683 /* end confdefs.h. */
4696 if ac_fn_cxx_try_compile
"$LINENO"; then :
4701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4702 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4706 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4707 if test $ac_compiler_gnu = yes; then
4712 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4713 ac_save_CXXFLAGS
=$CXXFLAGS
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4715 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4716 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4717 $as_echo_n "(cached) " >&6
4719 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4720 ac_cxx_werror_flag
=yes
4723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4724 /* end confdefs.h. */
4734 if ac_fn_cxx_try_compile
"$LINENO"; then :
4735 ac_cv_prog_cxx_g
=yes
4738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4739 /* end confdefs.h. */
4749 if ac_fn_cxx_try_compile
"$LINENO"; then :
4752 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4755 /* end confdefs.h. */
4765 if ac_fn_cxx_try_compile
"$LINENO"; then :
4766 ac_cv_prog_cxx_g
=yes
4768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4773 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4776 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4777 if test "$ac_test_CXXFLAGS" = set; then
4778 CXXFLAGS
=$ac_save_CXXFLAGS
4779 elif test $ac_cv_prog_cxx_g = yes; then
4780 if test "$GXX" = yes; then
4786 if test "$GXX" = yes; then
4793 ac_cpp
='$CPP $CPPFLAGS'
4794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4799 # We must set the default linker to the linker used by gcc for the correct
4800 # operation of libtool. If LD is not defined and we are using gcc, try to
4801 # set the LD default to the ld used by gcc.
4802 if test -z "$LD"; then
4803 if test "$GCC" = yes; then
4806 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4808 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4810 case $gcc_prog_ld in
4811 # Accept absolute paths.
4812 [\\/]* |
[A-Za-z
]:[\\/]*)
4813 LD
="$gcc_prog_ld" ;;
4821 if test -n "$ac_tool_prefix"; then
4822 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4823 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4825 $as_echo_n "checking for $ac_word... " >&6; }
4826 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4827 $as_echo_n "(cached) " >&6
4829 if test -n "$GNATBIND"; then
4830 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4836 test -z "$as_dir" && as_dir
=.
4837 for ac_exec_ext
in '' $ac_executable_extensions; do
4838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4839 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 GNATBIND
=$ac_cv_prog_GNATBIND
4850 if test -n "$GNATBIND"; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4852 $as_echo "$GNATBIND" >&6; }
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4855 $as_echo "no" >&6; }
4860 if test -z "$ac_cv_prog_GNATBIND"; then
4861 ac_ct_GNATBIND
=$GNATBIND
4862 # Extract the first word of "gnatbind", so it can be a program name with args.
4863 set dummy gnatbind
; ac_word
=$2
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4865 $as_echo_n "checking for $ac_word... " >&6; }
4866 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4867 $as_echo_n "(cached) " >&6
4869 if test -n "$ac_ct_GNATBIND"; then
4870 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4876 test -z "$as_dir" && as_dir
=.
4877 for ac_exec_ext
in '' $ac_executable_extensions; do
4878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4879 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4890 if test -n "$ac_ct_GNATBIND"; then
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4892 $as_echo "$ac_ct_GNATBIND" >&6; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4895 $as_echo "no" >&6; }
4898 if test "x$ac_ct_GNATBIND" = x
; then
4901 case $cross_compiling:$ac_tool_warned in
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4905 ac_tool_warned
=yes ;;
4907 GNATBIND
=$ac_ct_GNATBIND
4910 GNATBIND
="$ac_cv_prog_GNATBIND"
4913 if test -n "$ac_tool_prefix"; then
4914 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4915 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4917 $as_echo_n "checking for $ac_word... " >&6; }
4918 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4919 $as_echo_n "(cached) " >&6
4921 if test -n "$GNATMAKE"; then
4922 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4928 test -z "$as_dir" && as_dir
=.
4929 for ac_exec_ext
in '' $ac_executable_extensions; do
4930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4931 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4941 GNATMAKE
=$ac_cv_prog_GNATMAKE
4942 if test -n "$GNATMAKE"; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4944 $as_echo "$GNATMAKE" >&6; }
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947 $as_echo "no" >&6; }
4952 if test -z "$ac_cv_prog_GNATMAKE"; then
4953 ac_ct_GNATMAKE
=$GNATMAKE
4954 # Extract the first word of "gnatmake", so it can be a program name with args.
4955 set dummy gnatmake
; ac_word
=$2
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4957 $as_echo_n "checking for $ac_word... " >&6; }
4958 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4959 $as_echo_n "(cached) " >&6
4961 if test -n "$ac_ct_GNATMAKE"; then
4962 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4968 test -z "$as_dir" && as_dir
=.
4969 for ac_exec_ext
in '' $ac_executable_extensions; do
4970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4971 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4981 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4982 if test -n "$ac_ct_GNATMAKE"; then
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4984 $as_echo "$ac_ct_GNATMAKE" >&6; }
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4987 $as_echo "no" >&6; }
4990 if test "x$ac_ct_GNATMAKE" = x
; then
4993 case $cross_compiling:$ac_tool_warned in
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4997 ac_tool_warned
=yes ;;
4999 GNATMAKE
=$ac_ct_GNATMAKE
5002 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5006 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5007 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5008 $as_echo_n "(cached) " >&6
5010 cat >conftest.adb
<<EOF
5011 procedure conftest is begin null; end conftest;
5013 acx_cv_cc_gcc_supports_ada
=no
5014 # There is a bug in old released versions of GCC which causes the
5015 # driver to exit successfully when the appropriate language module
5016 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5017 # Therefore we must check for the error message as well as an
5018 # unsuccessful exit.
5019 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5020 # given a .adb file, but produce no object file. So we must check
5021 # if an object file was really produced to guard against this.
5022 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5023 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5024 acx_cv_cc_gcc_supports_ada
=yes
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5029 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5031 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5038 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5039 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5040 $as_echo_n "(cached) " >&6
5044 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5045 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5046 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5049 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5052 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5053 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5056 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5063 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5064 do_compare
="$gcc_cv_prog_cmp_skip"
5068 # See if we are building gcc with C++.
5069 # Check whether --enable-build-with-cxx was given.
5070 if test "${enable_build_with_cxx+set}" = set; then :
5071 enableval
=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX
=$enableval
5073 ENABLE_BUILD_WITH_CXX
=no
5077 # Used for setting $lt_cv_objdir
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5079 $as_echo_n "checking for objdir... " >&6; }
5080 if test "${lt_cv_objdir+set}" = set; then :
5081 $as_echo_n "(cached) " >&6
5083 rm -f .libs
2>/dev
/null
5084 mkdir .libs
2>/dev
/null
5085 if test -d .libs
; then
5088 # MS-DOS does not allow filenames that begin with a dot.
5091 rmdir .libs
2>/dev
/null
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5094 $as_echo "$lt_cv_objdir" >&6; }
5095 objdir
=$lt_cv_objdir
5101 cat >>confdefs.h
<<_ACEOF
5102 #define LT_OBJDIR "$lt_cv_objdir/"
5107 # Check for GMP, MPFR and MPC
5108 gmplibs
="-lmpc -lmpfr -lgmp"
5112 # Specify a location for mpc
5113 # check for this first so it ends up on the link line before mpfr.
5115 # Check whether --with-mpc was given.
5116 if test "${with_mpc+set}" = set; then :
5121 # Check whether --with-mpc_include was given.
5122 if test "${with_mpc_include+set}" = set; then :
5123 withval
=$with_mpc_include;
5127 # Check whether --with-mpc_lib was given.
5128 if test "${with_mpc_lib+set}" = set; then :
5129 withval
=$with_mpc_lib;
5133 if test "x$with_mpc" != x
; then
5134 gmplibs
="-L$with_mpc/lib $gmplibs"
5135 gmpinc
="-I$with_mpc/include $gmpinc"
5137 if test "x$with_mpc_include" != x
; then
5138 gmpinc
="-I$with_mpc_include $gmpinc"
5140 if test "x$with_mpc_lib" != x
; then
5141 gmplibs
="-L$with_mpc_lib $gmplibs"
5143 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5144 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5145 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5146 # Do not test the mpc version. Assume that it is sufficient, since
5147 # it is in the source tree, and the library has not been built yet
5148 # but it would be included on the link line in the version check below
5149 # hence making the test fail.
5153 # Specify a location for mpfr
5154 # check for this first so it ends up on the link line before gmp.
5156 # Check whether --with-mpfr-dir was given.
5157 if test "${with_mpfr_dir+set}" = set; then :
5158 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5159 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5164 # Check whether --with-mpfr was given.
5165 if test "${with_mpfr+set}" = set; then :
5170 # Check whether --with-mpfr_include was given.
5171 if test "${with_mpfr_include+set}" = set; then :
5172 withval
=$with_mpfr_include;
5176 # Check whether --with-mpfr_lib was given.
5177 if test "${with_mpfr_lib+set}" = set; then :
5178 withval
=$with_mpfr_lib;
5182 if test "x$with_mpfr" != x
; then
5183 gmplibs
="-L$with_mpfr/lib $gmplibs"
5184 gmpinc
="-I$with_mpfr/include $gmpinc"
5186 if test "x$with_mpfr_include" != x
; then
5187 gmpinc
="-I$with_mpfr_include $gmpinc"
5189 if test "x$with_mpfr_lib" != x
; then
5190 gmplibs
="-L$with_mpfr_lib $gmplibs"
5192 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5193 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5194 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5195 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5196 # Do not test the mpfr version. Assume that it is sufficient, since
5197 # it is in the source tree, and the library has not been built yet
5198 # but it would be included on the link line in the version check below
5199 # hence making the test fail.
5203 # Specify a location for gmp
5205 # Check whether --with-gmp-dir was given.
5206 if test "${with_gmp_dir+set}" = set; then :
5207 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5208 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5213 # Check whether --with-gmp was given.
5214 if test "${with_gmp+set}" = set; then :
5219 # Check whether --with-gmp_include was given.
5220 if test "${with_gmp_include+set}" = set; then :
5221 withval
=$with_gmp_include;
5225 # Check whether --with-gmp_lib was given.
5226 if test "${with_gmp_lib+set}" = set; then :
5227 withval
=$with_gmp_lib;
5232 if test "x$with_gmp" != x
; then
5233 gmplibs
="-L$with_gmp/lib $gmplibs"
5234 gmpinc
="-I$with_gmp/include $gmpinc"
5236 if test "x$with_gmp_include" != x
; then
5237 gmpinc
="-I$with_gmp_include $gmpinc"
5239 if test "x$with_gmp_lib" != x
; then
5240 gmplibs
="-L$with_gmp_lib $gmplibs"
5242 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5243 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5244 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5245 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5246 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5247 # Do not test the gmp version. Assume that it is sufficient, since
5248 # it is in the source tree, and the library has not been built yet
5249 # but it would be included on the link line in the version check below
5250 # hence making the test fail.
5254 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5256 saved_CFLAGS
="$CFLAGS"
5257 CFLAGS
="$CFLAGS $gmpinc"
5258 # Check for the recommended and required versions of GMP.
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5260 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5263 /* end confdefs.h. */
5269 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5270 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5271 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5279 if ac_fn_c_try_compile
"$LINENO"; then :
5280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5281 /* end confdefs.h. */
5287 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5288 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5289 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5297 if ac_fn_c_try_compile
"$LINENO"; then :
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5299 $as_echo "yes" >&6; }
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5302 $as_echo "buggy but acceptable" >&6; }
5304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5307 $as_echo "no" >&6; }; have_gmp
=no
5309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5311 # If we have GMP, check the MPFR version.
5312 if test x
"$have_gmp" = xyes
; then
5313 # Check for the recommended and required versions of MPFR.
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5315 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h. */
5324 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5332 if ac_fn_c_try_compile
"$LINENO"; then :
5333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5334 /* end confdefs.h. */
5341 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5349 if ac_fn_c_try_compile
"$LINENO"; then :
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5351 $as_echo "yes" >&6; }
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5354 $as_echo "buggy but acceptable" >&6; }
5356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359 $as_echo "no" >&6; }; have_gmp
=no
5361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5364 # Check for the MPC header version.
5365 if test x
"$have_gmp" = xyes
; then
5366 # Check for the recommended and required versions of MPC.
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5368 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5370 /* end confdefs.h. */
5376 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5384 if ac_fn_c_try_compile
"$LINENO"; then :
5385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5386 /* end confdefs.h. */
5392 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5400 if ac_fn_c_try_compile
"$LINENO"; then :
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5402 $as_echo "yes" >&6; }
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5405 $as_echo "buggy but acceptable" >&6; }
5407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410 $as_echo "no" >&6; }; have_gmp
=no
5412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5415 # Now check the MPFR library.
5416 if test x
"$have_gmp" = xyes
; then
5418 LIBS
="$LIBS $gmplibs"
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5420 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5422 /* end confdefs.h. */
5434 mpfr_atan2 (n, n, x, GMP_RNDN);
5435 mpfr_erfc (n, x, GMP_RNDN);
5436 mpfr_subnormalize (x, t, GMP_RNDN);
5440 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5441 mpc_cosh (c, c, MPC_RNDNN);
5442 mpc_pow (c, c, c, MPC_RNDNN);
5443 mpc_acosh (c, c, MPC_RNDNN);
5450 if ac_fn_c_try_link
"$LINENO"; then :
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5452 $as_echo "yes" >&6; }
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5455 $as_echo "no" >&6; }; have_gmp
=no
5457 rm -f core conftest.err conftest.
$ac_objext \
5458 conftest
$ac_exeext conftest.
$ac_ext
5462 CFLAGS
="$saved_CFLAGS"
5464 # The library versions listed in the error message below should match
5465 # the HARD-minimums enforced above.
5466 if test x
$have_gmp != xyes
; then
5467 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
5468 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5469 their locations. Source code for these libraries can be found at
5470 their respective hosting sites as well as at
5471 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5472 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5473 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5474 make sure that you have installed both the libraries and the header
5475 files. They may be located in separate packages." "$LINENO" 5
5479 # Flags needed for both GMP, MPFR and/or MPC.
5486 # Allow host libstdc++ to be specified for static linking with PPL.
5488 # Check whether --with-host-libstdcxx was given.
5489 if test "${with_host_libstdcxx+set}" = set; then :
5490 withval
=$with_host_libstdcxx;
5494 case $with_host_libstdcxx in
5496 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5500 # Linker flags to use for stage1 or when not boostrapping.
5502 # Check whether --with-stage1-ldflags was given.
5503 if test "${with_stage1_ldflags+set}" = set; then :
5504 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5507 stage1_ldflags
=$withval
5515 # Libraries to use for stage1 or when not bootstrapping.
5517 # Check whether --with-stage1-libs was given.
5518 if test "${with_stage1_libs+set}" = set; then :
5519 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5522 stage1_libs
=$withval
5525 stage1_libs
=$with_host_libstdcxx
5530 # Libraries to use for stage2 and later builds. This defaults to the
5531 # argument passed to --with-host-libstdcxx.
5533 # Check whether --with-boot-libs was given.
5534 if test "${with_boot_libs+set}" = set; then :
5535 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5538 poststage1_libs
=$withval
5541 poststage1_libs
=$with_host_libstdcxx
5546 # Linker flags to use for stage2 and later builds.
5548 # Check whether --with-boot-ldflags was given.
5549 if test "${with_boot_ldflags+set}" = set; then :
5550 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5553 poststage1_ldflags
=$withval
5557 # With --enable-build-with-cxx, default to linking libstdc++ and
5558 # libgcc statically. But if the user explicitly specified the
5559 # libraries to use, trust that they are doing what they want.
5560 if test "$ENABLE_BUILD_WITH_CXX" = "yes" -a "$poststage1_libs" = ""; then
5561 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5568 ppllibs
=" -lppl_c -lppl -lgmpxx"
5572 # Check whether --with-ppl was given.
5573 if test "${with_ppl+set}" = set; then :
5578 # Check whether --with-ppl_include was given.
5579 if test "${with_ppl_include+set}" = set; then :
5580 withval
=$with_ppl_include;
5584 # Check whether --with-ppl_lib was given.
5585 if test "${with_ppl_lib+set}" = set; then :
5586 withval
=$with_ppl_lib;
5597 ppllibs
="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
5598 pplinc
="-I$with_ppl/include $pplinc"
5601 if test "x$with_ppl_include" != x
; then
5602 pplinc
="-I$with_ppl_include $pplinc"
5604 if test "x$with_ppl_lib" != x
; then
5605 ppllibs
="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
5607 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5608 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"' -lppl_c -lppl -lgmpxx '
5609 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5610 enable_ppl_version_check
=no
5613 # Check whether --enable-ppl-version-check was given.
5614 if test "${enable_ppl_version_check+set}" = set; then :
5615 enableval
=$enable_ppl_version_check; ENABLE_PPL_CHECK
=$enableval
5617 ENABLE_PPL_CHECK
=yes
5621 if test "x$with_ppl" != "xno" -a "${ENABLE_PPL_CHECK}" = "yes"; then
5622 saved_CFLAGS
="$CFLAGS"
5623 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 (or later revision) of PPL" >&5
5625 $as_echo_n "checking for version 0.10 (or later revision) of PPL... " >&6; }
5626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5627 /* end confdefs.h. */
5633 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 10
5641 if ac_fn_c_try_compile
"$LINENO"; then :
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5643 $as_echo "yes" >&6; }
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5646 $as_echo "no" >&6; }; ppllibs
= ; pplinc
= ; with_ppl
=no
5648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5649 CFLAGS
="$saved_CFLAGS"
5652 # Flags needed for PPL
5661 # Check whether --with-cloog was given.
5662 if test "${with_cloog+set}" = set; then :
5663 withval
=$with_cloog;
5667 # Check whether --with-cloog_include was given.
5668 if test "${with_cloog_include+set}" = set; then :
5669 withval
=$with_cloog_include;
5673 # Check whether --with-cloog_lib was given.
5674 if test "${with_cloog_lib+set}" = set; then :
5675 withval
=$with_cloog_lib;
5679 # Check whether --enable-cloog-version-check was given.
5680 if test "${enable_cloog_version_check+set}" = set; then :
5681 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5683 ENABLE_CLOOG_CHECK
=yes
5687 # Initialize clooglibs and clooginc.
5696 clooglibs
="-L$with_cloog/lib"
5697 clooginc
="-I$with_cloog/include"
5700 if test "x${with_cloog_include}" != x
; then
5701 clooginc
="-I$with_cloog_include"
5703 if test "x${with_cloog_lib}" != x
; then
5704 clooglibs
="-L$with_cloog_lib"
5711 if test "x$with_ppl" = "xno"; then
5714 if test "x${with_cloog}" = x
&& test "x${with_cloog_include}" = x \
5715 && test "x${with_cloog_lib}" = x
&& test -d ${srcdir}/cloog
; then
5716 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5717 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
5719 if test "x$with_cloog" != "xno"; then
5723 _cloog_saved_CFLAGS
=$CFLAGS
5724 _cloog_saved_CPPFLAGS
=$CPPFLAGS
5725 _cloog_saved_LDFLAGS
=$LDFLAGS
5726 _cloog_saved_LIBS
=$LIBS
5728 _clooglegacyinc
="-DCLOOG_PPL_BACKEND"
5729 _cloogorginc
="-DCLOOG_INT_GMP -DCLOOG_ORG"
5731 CFLAGS
="${CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
5732 CPPFLAGS
="${CPPFLAGS} ${_clooglegacyinc} ${_cloogorginc}"
5733 LDFLAGS
="${LDFLAGS} ${clooglibs}"
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG" >&5
5736 $as_echo_n "checking for installed CLooG... " >&6; }
5737 if test "${gcc_cv_cloog_type+set}" = set; then :
5738 $as_echo_n "(cached) " >&6
5740 LIBS
="-lcloog ${_cloog_saved_LIBS}"
5741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5743 #include <cloog/cloog.h>
5747 ppl_version_major ()
5752 if ac_fn_c_try_link
"$LINENO"; then :
5753 gcc_cv_cloog_type
="PPL Legacy"
5755 LIBS
="-lcloog-isl -lisl ${_cloog_saved_LIBS}"
5756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5757 /* end confdefs.h. */
5758 #include <cloog/cloog.h>
5767 if ac_fn_c_try_link
"$LINENO"; then :
5768 gcc_cv_cloog_type
=ISL
5770 LIBS
="-lcloog-ppl ${_cloog_saved_LIBS}"
5771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5772 /* end confdefs.h. */
5773 #include <cloog/cloog.h>
5782 if ac_fn_c_try_link
"$LINENO"; then :
5783 gcc_cv_cloog_type
=PPL
5785 gcc_cv_cloog_type
=no
5787 rm -f core conftest.err conftest.
$ac_objext \
5788 conftest
$ac_exeext conftest.
$ac_ext
5790 rm -f core conftest.err conftest.
$ac_objext \
5791 conftest
$ac_exeext conftest.
$ac_ext
5793 rm -f core conftest.err conftest.
$ac_objext \
5794 conftest
$ac_exeext conftest.
$ac_ext
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5797 $as_echo "$gcc_cv_cloog_type" >&6; }
5799 case $gcc_cv_cloog_type in
5801 clooginc
="${clooginc} ${_clooglegacyinc}"
5802 clooglibs
="${clooglibs} -lcloog"
5806 clooginc
="${clooginc} ${_cloogorginc}"
5807 clooglibs
="${clooglibs} -lcloog-isl"
5811 clooginc
="${clooginc} ${_cloogorginc}"
5812 clooglibs
="${clooglibs} -lcloog-ppl"
5822 LIBS
=$_cloog_saved_LIBS
5823 CFLAGS
=$_cloog_saved_CFLAGS
5824 CPPFLAGS
=$_cloog_saved_CPPFLAGS
5825 LDFLAGS
=$_cloog_saved_LDFLAGS
5831 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5832 _cloog_saved_CFLAGS
=$CFLAGS
5833 _cloog_saved_LDFLAGS
=$LDFLAGS
5835 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
5836 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs}"
5838 if test "${cloog_org}" = yes ; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for verison 0.14.0 of CLooG" >&5
5840 $as_echo_n "checking for verison 0.14.0 of CLooG... " >&6; }
5841 if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
5842 $as_echo_n "(cached) " >&6
5844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5845 /* end confdefs.h. */
5846 #include "cloog/cloog.h"
5850 #if CLOOG_VERSION_MAJOR != 0 \
5851 || CLOOG_VERSION_MINOR != 14 \
5852 || CLOOG_VERSION_REVISION < 0
5859 if ac_fn_c_try_compile
"$LINENO"; then :
5860 gcc_cv_cloog_ct_0_14_0
=yes
5862 gcc_cv_cloog_ct_0_14_0
=no
5864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_14_0" >&5
5867 $as_echo "$gcc_cv_cloog_ct_0_14_0" >&6; }
5868 elif test "${cloog_org}" = no
; then
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
5870 $as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
5871 if test "${gcc_cv_cloog_ct_0_15_5+set}" = set; then :
5872 $as_echo_n "(cached) " >&6
5874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5875 /* end confdefs.h. */
5876 #include "cloog/cloog.h"
5880 #if CLOOG_VERSION_MAJOR != 0 \
5881 || CLOOG_VERSION_MINOR != 15 \
5882 || CLOOG_VERSION_REVISION < 5
5889 if ac_fn_c_try_compile
"$LINENO"; then :
5890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5891 /* end confdefs.h. */
5892 #include "cloog/cloog.h"
5896 #if CLOOG_VERSION_MAJOR != 0 \
5897 || CLOOG_VERSION_MINOR != 15 \
5898 || CLOOG_VERSION_REVISION < 9
5905 if ac_fn_c_try_compile
"$LINENO"; then :
5906 gcc_cv_cloog_ct_0_15_5
=yes
5908 gcc_cv_cloog_ct_0_15_5
="buggy but acceptable"
5910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5912 gcc_cv_cloog_ct_0_15_5
=no
5914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_15_5" >&5
5917 $as_echo "$gcc_cv_cloog_ct_0_15_5" >&6; }
5920 CFLAGS
=$_cloog_saved_CFLAGS
5921 LDFLAGS
=$_cloog_saved_LDFLAGS
5930 if test "x${with_cloog}" != x \
5931 ||
test "x${with_cloog_include}" != x \
5932 ||
test "x${with_cloog_lib}" != x
; then
5933 graphite_requested
=yes
5935 graphite_requested
=no
5940 if test "${gcc_cv_cloog_ct_0_14_0}" = no \
5941 ||
test "${gcc_cv_cloog_rt_0_14_0}" = no \
5942 ||
test "${gcc_cv_cloog_ct_0_15_5}" = no
; then
5947 if test "${graphite_requested}" = yes \
5948 && test "x${clooglibs}" = x \
5949 && test "x${clooginc}" = x
; then
5951 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
5957 # Check for LTO support.
5958 # Check whether --enable-lto was given.
5959 if test "${enable_lto+set}" = set; then :
5960 enableval
=$enable_lto; enable_lto
=$enableval
5962 enable_lto
=yes; default_enable_lto
=yes
5971 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
5972 *-msdosdjgpp* |
*-netware* |
*-vms* |
*-wince* |
*-*-pe* | \
5973 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
5981 if test $target_elf = yes; then :
5982 # ELF platforms build the lto-plugin always.
5983 build_lto_plugin
=yes
5986 if test x
"$default_enable_lto" = x
"yes" ; then
5988 *-apple-darwin* |
*-cygwin* |
*-mingw*) ;;
5989 # On other non-ELF platforms, LTO has yet to be validated.
5993 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
5994 # It would also be nice to check the binutils support, but we don't
5995 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
5996 # warn during gcc/ subconfigure; unless you're bootstrapping with
5997 # -flto it won't be needed until after installation anyway.
5999 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6000 *) if test x
"$enable_lto" = x
"yes"; then
6001 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6006 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6007 # Build it unless LTO was explicitly disabled.
6009 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6017 # By default, C is the only stage 1 language.
6018 stage1_languages
=,c
,
6020 # Target libraries that we bootstrap.
6021 bootstrap_target_libs
=,target-libgcc
,
6023 # Figure out what language subdirectories are present.
6024 # Look if the user specified --enable-languages="..."; if not, use
6025 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6027 # NB: embedded tabs in this IF block -- do not untabify
6028 if test -d ${srcdir}/gcc
; then
6029 if test x
"${enable_languages+set}" != xset
; then
6030 if test x
"${LANGUAGES+set}" = xset
; then
6031 enable_languages
="${LANGUAGES}"
6032 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6034 enable_languages
=all
6037 if test x
"${enable_languages}" = x ||
6038 test x
"${enable_languages}" = xyes
;
6040 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6044 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6046 # 'f95' is the old name for the 'fortran' language. We issue a warning
6047 # and make the substitution.
6048 case ,${enable_languages}, in
6050 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6051 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6055 # First scan to see if an enabled language requires some other language.
6056 # We assume that a given config-lang.in will list all the language
6057 # front ends it requires, even if some are required indirectly.
6058 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6059 case ${lang_frag} in
6061 # The odd quoting in the next line works around
6062 # an apparent bug in bash 1.12 on linux.
6063 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6065 # From the config-lang.in, get $language, $lang_requires
6069 for other
in ${lang_requires} ; do
6070 case ,${enable_languages}, in
6074 echo " \`$other' language required by \`$language'; enabling" 1>&2
6075 enable_languages
="${enable_languages},${other}"
6083 new_enable_languages
=,c
,
6085 # If LTO is enabled, add the LTO front end.
6086 extra_host_libiberty_configure_flags
=
6087 if test "$enable_lto" = "yes" ; then
6088 case ,${enable_languages}, in
6090 *) enable_languages
="${enable_languages},lto" ;;
6092 if test "${build_lto_plugin}" = "yes" ; then
6093 configdirs
="$configdirs lto-plugin"
6094 extra_host_libiberty_configure_flags
=--enable-shared
6099 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6100 potential_languages
=,c
,
6102 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6103 case ${lang_frag} in
6105 # The odd quoting in the next line works around
6106 # an apparent bug in bash 1.12 on linux.
6107 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6109 # From the config-lang.in, get $language, $target_libs,
6110 # $lang_dirs, $boot_language, and $build_by_default
6116 build_by_default
=yes
6118 if test x
${language} = x
; then
6119 echo "${lang_frag} doesn't set \$language." 1>&2
6123 if test "$language" = "c++" \
6124 && test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
6128 case ,${enable_languages}, in
6130 # Language was explicitly selected; include it.
6134 # 'all' was selected, select it if it is a default language
6135 add_this_lang
=${build_by_default}
6142 # Disable languages that need other directories if these aren't available.
6143 for i
in $subdir_requires; do
6144 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6145 case ,${enable_languages}, in
6147 # Specifically requested language; tell them.
6148 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6152 add_this_lang
=unsupported
6157 # Disable Ada if no preexisting GNAT is available.
6158 case ,${enable_languages},:${language}:${have_gnat} in
6159 *,${language},*:ada
:no
)
6160 # Specifically requested language; tell them.
6161 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6165 add_this_lang
=unsupported
6169 # Disable a language that is unsupported by the target.
6170 case " $unsupported_languages " in
6172 add_this_lang
=unsupported
6176 case $add_this_lang in
6178 # Remove language-dependent dirs.
6179 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
6182 # Remove language-dependent dirs; still show language as supported.
6183 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
6184 potential_languages
="${potential_languages}${language},"
6187 new_enable_languages
="${new_enable_languages}${language},"
6188 potential_languages
="${potential_languages}${language},"
6189 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6190 case "${boot_language}:,$enable_stage1_languages," in
6191 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6192 # Add to (comma-separated) list of stage 1 languages.
6193 case ",$stage1_languages," in
6194 *,$language,* |
,yes, |
,all
,) ;;
6195 *) stage1_languages
="${stage1_languages}${language}," ;;
6197 # We need to bootstrap any supporting libraries.
6198 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6207 # Check whether --enable-stage1-languages was given.
6208 if test "${enable_stage1_languages+set}" = set; then :
6209 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6211 # Set it to something that will have no effect in the loop below
6212 enable_stage1_languages
=c
;;
6214 enable_stage1_languages
=`echo $new_enable_languages | \
6215 sed -e "s/^,//" -e "s/,$//" ` ;;
6217 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6218 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6221 # Add "good" languages from enable_stage1_languages to stage1_languages,
6222 # while "bad" languages go in missing_languages. Leave no duplicates.
6223 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6224 case $potential_languages in
6226 case $stage1_languages in
6228 *) stage1_languages
="$stage1_languages$i," ;;
6231 case $missing_languages in
6233 *) missing_languages
="$missing_languages$i," ;;
6240 # Remove leading/trailing commas that were added for simplicity
6241 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6242 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6243 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6244 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6246 if test "x$missing_languages" != x
; then
6248 The following requested languages could not be built: ${missing_languages}
6249 Supported languages are: ${potential_languages}" "$LINENO" 5
6251 if test "x$new_enable_languages" != "x$enable_languages"; then
6252 echo The following languages will be built
: ${new_enable_languages}
6253 enable_languages
="$new_enable_languages"
6257 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6260 # Handle --disable-<component> generically.
6261 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6262 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6263 varname
=`echo $dirname | sed -e s/+/_/g`
6264 if eval test x\
${enable_${varname}} "=" xno
; then
6265 noconfigdirs
="$noconfigdirs $dir"
6269 # Check for Boehm's garbage collector
6270 # Check whether --enable-objc-gc was given.
6271 if test "${enable_objc_gc+set}" = set; then :
6272 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6273 *,objc
,*:*:yes:*target-boehm-gc
*)
6274 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6280 # Make sure we only build Boehm's garbage collector if required.
6281 case ,${enable_languages},:${enable_objc_gc} in
6283 # Keep target-boehm-gc if requested for Objective-C.
6286 # Otherwise remove target-boehm-gc depending on target-libjava.
6287 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6288 noconfigdirs
="$noconfigdirs target-boehm-gc"
6293 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6294 # $build_configdirs and $target_configdirs.
6295 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6298 for dir
in .
$skipdirs $noconfigdirs ; do
6299 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6300 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6301 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6302 if test -r $srcdir/$dirname/configure
; then
6303 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6306 notsupp
="$notsupp $dir"
6310 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6311 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6312 if test -r $srcdir/$dirname/configure
; then
6313 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6316 notsupp
="$notsupp $dir"
6320 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6321 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6322 if test -r $srcdir/$dirname/configure
; then
6323 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6326 notsupp
="$notsupp $dir"
6332 # Sometimes the tools are distributed with libiberty but with no other
6333 # libraries. In that case, we don't want to build target-libiberty.
6334 # Don't let libgcc imply libiberty either.
6335 if test -n "${target_configdirs}" ; then
6338 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
6339 if test "$i" = "libgcc"; then
6340 libgcc
=target-libgcc
6341 elif test "$i" != "libiberty" ; then
6342 if test -r $srcdir/$i/configure
; then
6348 if test -z "${others}" ; then
6349 target_configdirs
=$libgcc
6353 # Quietly strip out all directories which aren't configurable in this tree.
6354 # This relies on all configurable subdirectories being autoconfiscated, which
6356 build_configdirs_all
="$build_configdirs"
6358 for i
in ${build_configdirs_all} ; do
6359 j
=`echo $i | sed -e s/build-//g`
6360 if test -f ${srcdir}/$j/configure
; then
6361 build_configdirs
="${build_configdirs} $i"
6365 configdirs_all
="$configdirs"
6367 for i
in ${configdirs_all} ; do
6368 if test -f ${srcdir}/$i/configure
; then
6369 configdirs
="${configdirs} $i"
6373 target_configdirs_all
="$target_configdirs"
6375 for i
in ${target_configdirs_all} ; do
6376 j
=`echo $i | sed -e s/target-//g`
6377 if test -f ${srcdir}/$j/configure
; then
6378 target_configdirs
="${target_configdirs} $i"
6382 # Produce a warning message for the subdirs we can't configure.
6383 # This isn't especially interesting in the Cygnus tree, but in the individual
6384 # FSF releases, it's important to let people know when their machine isn't
6385 # supported by the one or two programs in a package.
6387 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6388 # If $appdirs is non-empty, at least one of those directories must still
6389 # be configured, or we error out. (E.g., if the gas release supports a
6390 # specified target in some subdirs but not the gas subdir, we shouldn't
6391 # pretend that all is well.)
6392 if test -n "$appdirs" ; then
6393 for dir
in $appdirs ; do
6394 if test -r $dir/Makefile.
in ; then
6395 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6399 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6405 if test -n "$appdirs" ; then
6406 echo "*** This configuration is not supported by this package." 1>&2
6410 # Okay, some application will build, or we don't care to check. Still
6411 # notify of subdirs not getting built.
6412 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6413 echo " ${notsupp}" 1>&2
6414 echo " (Any other directories should still work fine.)" 1>&2
6422 # To find our prefix, in gcc_cv_tool_prefix.
6424 # The user is always right.
6425 if test "${PATH_SEPARATOR+set}" != set; then
6426 echo "#! /bin/sh" >conf$$.sh
6427 echo "exit 0" >>conf$$.sh
6429 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6439 if test "x$exec_prefix" = xNONE
; then
6440 if test "x$prefix" = xNONE
; then
6441 gcc_cv_tool_prefix
=$ac_default_prefix
6443 gcc_cv_tool_prefix
=$prefix
6446 gcc_cv_tool_prefix
=$exec_prefix
6449 # If there is no compiler in the tree, use the PATH only. In any
6450 # case, if there is no compiler in the tree nobody should use
6451 # AS_FOR_TARGET and LD_FOR_TARGET.
6452 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6453 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6454 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6455 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6456 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6457 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6458 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6459 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6464 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6465 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6473 # Check whether --with-build-sysroot was given.
6474 if test "${with_build_sysroot+set}" = set; then :
6475 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6476 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6479 SYSROOT_CFLAGS_FOR_TARGET
=
6485 # Check whether --with-debug-prefix-map was given.
6486 if test "${with_debug_prefix_map+set}" = set; then :
6487 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6488 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6489 for debug_map
in $withval; do
6490 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6494 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6499 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6500 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6501 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6502 # We want to ensure that TARGET libraries (which we know are built with
6503 # gcc) are built with "-O2 -g", so include those options when setting
6504 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6505 if test "x$CFLAGS_FOR_TARGET" = x
; then
6506 CFLAGS_FOR_TARGET
=$CFLAGS
6509 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
6512 *" -g "* |
*" -g3 "*) ;;
6513 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
6518 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6519 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6520 case " $CXXFLAGS " in
6522 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
6524 case " $CXXFLAGS " in
6525 *" -g "* |
*" -g3 "*) ;;
6526 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
6531 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6532 # the named directory are copied to $(tooldir)/sys-include.
6533 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6534 if test x
${is_cross_compiler} = xno
; then
6535 echo 1>&2 '***' --with-headers is only supported when cross compiling
6538 if test x
"${with_headers}" != xyes
; then
6539 x
=${gcc_cv_tool_prefix}
6540 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6544 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6545 # the name directories are copied to $(tooldir)/lib. Multiple directories
6547 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6548 if test x
${is_cross_compiler} = xno
; then
6549 echo 1>&2 '***' --with-libs is only supported when cross compiling
6552 if test x
"${with_libs}" != xyes
; then
6553 # Copy the libraries in reverse order, so that files in the first named
6554 # library override files in subsequent libraries.
6555 x
=${gcc_cv_tool_prefix}
6556 for l
in ${with_libs}; do
6557 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6562 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6564 # This is done by determining whether or not the appropriate directory
6565 # is available, and by checking whether or not specific configurations
6566 # have requested that this magic not happen.
6568 # The command line options always override the explicit settings in
6569 # configure.in, and the settings in configure.in override this magic.
6571 # If the default for a toolchain is to use GNU as and ld, and you don't
6572 # want to do that, then you should use the --without-gnu-as and
6573 # --without-gnu-ld options for the configure script. Similarly, if
6574 # the default is to use the included zlib and you don't want to do that,
6575 # you should use the --with-system-zlib option for the configure script.
6577 if test x
${use_gnu_as} = x
&&
6578 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6580 extra_host_args
="$extra_host_args --with-gnu-as"
6583 if test x
${use_gnu_ld} = x
&&
6584 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6586 extra_host_args
="$extra_host_args --with-gnu-ld"
6589 if test x
${use_included_zlib} = x
&&
6590 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6593 with_system_zlib
=yes
6594 extra_host_args
="$extra_host_args --with-system-zlib"
6597 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6598 # can detect this case.
6600 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6602 extra_host_args
="$extra_host_args --with-newlib"
6605 # Handle ${copy_dirs}
6606 set fnord
${copy_dirs}
6608 while test $# != 0 ; do
6609 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6612 echo Copying
$1 to
$2
6614 # Use the install script to create the directory and all required
6615 # parent directories.
6616 if test -d $2 ; then
6620 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6623 # Copy the directory, assuming we have tar.
6624 # FIXME: Should we use B in the second tar? Not all systems support it.
6625 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6627 # It is the responsibility of the user to correctly adjust all
6628 # symlinks. If somebody can figure out how to handle them correctly
6629 # here, feel free to add the code.
6636 # Determine a target-dependent exec_prefix that the installed
6637 # gcc will search in. Keep this list sorted by triplet, with
6638 # the *-*-osname triplets last.
6642 md_exec_prefix
=/gnu
/lib
/gcc-lib
6644 i
[34567]86-pc-msdosdjgpp*)
6645 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6647 i
[34567]86-*-sco3.2v5
*)
6648 if test $with_gnu_as = yes; then
6649 md_exec_prefix
=/usr
/gnu
/bin
6651 md_exec_prefix
=/usr
/ccs
/bin
/elf
6656 powerpc-
*-chorusos* | \
6657 powerpc
*-*-eabi* | \
6658 powerpc
*-*-sysv* | \
6659 powerpc
*-*-kaos* | \
6661 md_exec_prefix
=/usr
/ccs
/bin
6666 md_exec_prefix
=/usr
/ccs
/bin
6681 md_exec_prefix
=/usr
/ccs
/bin
6685 extra_arflags_for_target
=
6686 extra_nmflags_for_target
=
6687 extra_ranlibflags_for_target
=
6688 target_makefile_frag
=/dev
/null
6691 target_makefile_frag
="config/mt-mep"
6694 target_makefile_frag
="config/mt-spu"
6697 target_makefile_frag
="config/mt-sde"
6699 mipsisa
*-*-elfoabi*)
6700 target_makefile_frag
="config/mt-mips-elfoabi"
6702 mips
*-*-*linux
* | mips
*-*-gnu*)
6703 target_makefile_frag
="config/mt-mips-gnu"
6706 target_makefile_frag
="config/mt-netware"
6708 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6709 target_makefile_frag
="config/mt-gnu"
6711 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6712 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6713 # commands to handle both 32-bit and 64-bit objects. These flags are
6714 # harmless if we're using GNU nm or ar.
6715 extra_arflags_for_target
=" -X32_64"
6716 extra_nmflags_for_target
=" -B -X32_64"
6719 # ranlib before Darwin10 requires the -c flag to look at common symbols.
6720 extra_ranlibflags_for_target
=" -c"
6722 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
6723 target_makefile_frag
="config/mt-wince"
6727 alphaieee_frag
=/dev
/null
6730 # This just makes sure to use the -mieee option to build target libs.
6731 # This should probably be set individually by each library.
6732 alphaieee_frag
="config/mt-alphaieee"
6736 # If --enable-target-optspace always use -Os instead of -O2 to build
6737 # the target libraries, similarly if it is not specified, use -Os
6738 # on selected platforms.
6739 ospace_frag
=/dev
/null
6740 case "${enable_target_optspace}:${target}" in
6742 ospace_frag
="config/mt-ospace"
6745 ospace_frag
="config/mt-d30v"
6747 :m32r-
* |
:d10v-
* |
:fr30-
*)
6748 ospace_frag
="config/mt-ospace"
6753 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6757 # Default to using --with-stabs for certain targets.
6758 if test x
${with_stabs} = x
; then
6762 mips
*-*-* | alpha
*-*-osf*)
6764 extra_host_args
="${extra_host_args} --with-stabs"
6769 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6770 # them automatically.
6773 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6777 # Some systems (e.g., one of the i386-aix systems the gas testers are
6778 # using) don't handle "\$" correctly, so don't use it here.
6779 tooldir
='${exec_prefix}'/${target_noncanonical}
6780 build_tooldir
=${tooldir}
6782 # Create a .gdbinit file which runs the one in srcdir
6783 # and tells GDB to look there for source files.
6785 if test -r ${srcdir}/.gdbinit
; then
6788 *) cat > .
/.gdbinit
<<EOF
6792 source ${srcdir}/.gdbinit
6798 # Make sure that the compiler is able to generate an executable. If it
6799 # can't, we are probably in trouble. We don't care whether we can run the
6800 # executable--we might be using a cross compiler--we only care whether it
6801 # can be created. At this point the main configure script has set CC.
6803 echo "int main () { return 0; }" > conftest.c
6804 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6805 if test $?
= 0 ; then
6806 if test -s conftest ||
test -s conftest.exe
; then
6812 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6813 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6820 # The Solaris /usr/ucb/cc compiler does not appear to work.
6822 sparc-sun-solaris2
*)
6823 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
6824 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6826 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
6827 if test -d /opt
/cygnus
/bin
; then
6828 if test "$could_use" = "" ; then
6829 could_use
="/opt/cygnus/bin"
6831 could_use
="$could_use or /opt/cygnus/bin"
6834 if test "$could_use" = "" ; then
6835 echo "Warning: compilation may fail because you're using"
6836 echo "/usr/ucb/cc. You should change your PATH or CC "
6837 echo "variable and rerun configure."
6839 echo "Warning: compilation may fail because you're using"
6840 echo "/usr/ucb/cc, when you should use the C compiler from"
6841 echo "$could_use. You should change your"
6842 echo "PATH or CC variable and rerun configure."
6848 # Decide which environment variable is used to find dynamic libraries.
6850 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6851 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6852 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6853 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6856 # On systems where the dynamic library environment variable is PATH,
6857 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6858 # built executables to PATH.
6859 if test "$RPATH_ENVVAR" = PATH
; then
6860 GCC_SHLIB_SUBDIR
=/shlib
6865 # Record target_configdirs and the configure arguments for target and
6866 # build configuration in Makefile.
6867 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6868 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6870 # If we are building libgomp, bootstrap it.
6871 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6872 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6875 # Determine whether gdb needs tk/tcl or not.
6876 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6877 # and in that case we want gdb to be built without tk. Ugh!
6878 # In fact I believe gdb is the *only* package directly dependent on tk,
6879 # so we should be able to put the 'maybe's in unconditionally and
6880 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6881 # 100% sure that that's safe though.
6883 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6884 case "$enable_gdbtk" in
6888 GDB_TK
="${gdb_tk}" ;;
6890 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6891 # distro. Eventually someone will fix this and move Insight, nee
6892 # gdbtk to a separate directory.
6893 if test -d ${srcdir}/gdb
/gdbtk
; then
6900 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6901 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6903 # Strip out unwanted targets.
6905 # While at that, we remove Makefiles if we were started for recursive
6906 # configuration, so that the top-level Makefile reconfigures them,
6907 # like we used to do when configure itself was recursive.
6909 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6910 # but now we're fixing up the Makefile ourselves with the additional
6911 # commands passed to AC_CONFIG_FILES. Use separate variables
6912 # extrasub-{build,host,target} not because there is any reason to split
6913 # the substitutions up that way, but only to remain below the limit of
6914 # 99 commands in a script, for HP-UX sed.
6915 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6917 # Check whether --enable-bootstrap was given.
6918 if test "${enable_bootstrap+set}" = set; then :
6919 enableval
=$enable_bootstrap;
6921 enable_bootstrap
=default
6925 # Issue errors and warnings for invalid/strange bootstrap combinations.
6926 case "$configdirs" in
6927 *gcc
*) have_compiler
=yes ;;
6928 *) have_compiler
=no
;;
6931 case "$have_compiler:$host:$target:$enable_bootstrap" in
6934 # Default behavior. Enable bootstrap if we have a compiler
6935 # and we are in a native configuration.
6936 yes:$build:$build:default
)
6937 enable_bootstrap
=yes ;;
6940 enable_bootstrap
=no
;;
6942 # We have a compiler and we are in a native configuration, bootstrap is ok
6943 yes:$build:$build:yes)
6946 # Other configurations, but we have a compiler. Assume the user knows
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
6950 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
6953 # No compiler: if they passed --enable-bootstrap explicitly, fail
6955 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
6957 # Fail if wrong command line
6959 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
6963 case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
6966 as_fn_error
"bootstrapping with --enable-build-with-cxx requires c++ in --enable-languages" "$LINENO" 5
6970 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
6971 yes:yes:*\ gold\
*:*,c
++,*) ;;
6972 yes:yes:*\ gold\
*:*)
6973 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
6977 # Adjust the toplevel makefile according to whether bootstrap was selected.
6978 case $enable_bootstrap in
6980 bootstrap_suffix
=bootstrap
6981 BUILD_CONFIG
=bootstrap-debug
6984 bootstrap_suffix
=no-bootstrap
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6990 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6993 # Check whether --with-build-config was given.
6994 if test "${with_build_config+set}" = set; then :
6995 withval
=$with_build_config; case $with_build_config in
6996 yes) with_build_config
= ;;
6997 no
) with_build_config
= BUILD_CONFIG
= ;;
7002 if test "x${with_build_config}" != x
; then
7003 BUILD_CONFIG
=$with_build_config
7005 case $BUILD_CONFIG in
7007 if echo "int f (void) { return 0; }" > conftest.c
&&
7008 ${CC} -c conftest.c
&&
7009 mv conftest.o conftest.o.g0
&&
7010 ${CC} -c -g conftest.c
&&
7011 mv conftest.o conftest.o.g
&&
7012 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7017 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7022 $as_echo "$BUILD_CONFIG" >&6; }
7026 for module
in ${build_configdirs} ; do
7027 if test -z "${no_recursion}" \
7028 && test -f ${build_subdir}/${module}/Makefile
; then
7029 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7030 rm -f ${build_subdir}/${module}/Makefile
7032 extrasub_build
="$extrasub_build
7033 /^@if build-$module\$/d
7034 /^@endif build-$module\$/d
7035 /^@if build-$module-$bootstrap_suffix\$/d
7036 /^@endif build-$module-$bootstrap_suffix\$/d"
7039 for module
in ${configdirs} ; do
7040 if test -z "${no_recursion}"; then
7041 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7042 if test -f ${file}; then
7043 echo 1>&2 "*** removing ${file} to force reconfigure"
7048 extrasub_host
="$extrasub_host
7050 /^@endif $module\$/d
7051 /^@if $module-$bootstrap_suffix\$/d
7052 /^@endif $module-$bootstrap_suffix\$/d"
7055 for module
in ${target_configdirs} ; do
7056 if test -z "${no_recursion}" \
7057 && test -f ${target_subdir}/${module}/Makefile
; then
7058 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7059 rm -f ${target_subdir}/${module}/Makefile
7062 # We only bootstrap target libraries listed in bootstrap_target_libs.
7063 case $bootstrap_target_libs in
7064 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7065 *) target_bootstrap_suffix
=no-bootstrap
;;
7068 extrasub_target
="$extrasub_target
7069 /^@if target-$module\$/d
7070 /^@endif target-$module\$/d
7071 /^@if target-$module-$target_bootstrap_suffix\$/d
7072 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7075 # Do the final fixup along with target modules.
7076 extrasub_target
="$extrasub_target
7077 /^@if /,/^@endif /d"
7079 # Create the serialization dependencies. This uses a temporary file.
7081 # Check whether --enable-serial-configure was given.
7082 if test "${enable_serial_configure+set}" = set; then :
7083 enableval
=$enable_serial_configure;
7087 case ${enable_serial_configure} in
7089 enable_serial_build_configure
=yes
7090 enable_serial_host_configure
=yes
7091 enable_serial_target_configure
=yes
7095 # These force 'configure's to be done one at a time, to avoid problems
7096 # with contention over a shared config.cache.
7098 echo '# serdep.tmp' > serdep.tmp
7100 test "x${enable_serial_build_configure}" = xyes
&&
7101 for item
in ${build_configdirs} ; do
7104 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7109 test "x${enable_serial_host_configure}" = xyes
&&
7110 for item
in ${configdirs} ; do
7113 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7118 test "x${enable_serial_target_configure}" = xyes
&&
7119 for item
in ${target_configdirs} ; do
7122 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7126 serialization_dependencies
=serdep.tmp
7129 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7130 # target, nonopt, and variable assignments. These are the ones we
7131 # might not want to pass down to subconfigures. The exception being
7132 # --cache-file=/dev/null, which is used to turn off the use of cache
7133 # files altogether, and which should be passed on to subconfigures.
7134 # Also strip program-prefix, program-suffix, and program-transform-name,
7135 # so that we can pass down a consistent program-transform-name.
7139 eval "set -- $ac_configure_args"
7142 if test X
"$skip_next" = X
"yes"; then
7146 if test X
"$keep_next" = X
"yes"; then
7149 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7151 baseargs
="$baseargs '$ac_arg'"
7156 # Handle separated arguments. Based on the logic generated by
7159 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7160 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7161 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7162 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7174 --cache-file=/dev
/null | \
7175 -cache-file=/dev
/null
)
7176 # Handled here to avoid the test to skip args below.
7177 baseargs
="$baseargs '$ac_arg'"
7178 # Assert: $separate_arg should always be no.
7179 keep_next
=$separate_arg
7195 -program-prefix* | \
7196 -program-suffix* | \
7197 -program-transform-name* )
7198 skip_next
=$separate_arg
7202 # An option. Add it.
7205 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7207 baseargs
="$baseargs '$ac_arg'"
7208 keep_next
=$separate_arg
7211 # Either a variable assignment, or a nonopt (triplet). Don't
7212 # pass it down; let the Makefile handle this.
7217 # Remove the initial space we just introduced and, as these will be
7218 # expanded by make, quote '$'.
7219 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7221 # Add in --program-transform-name, after --program-prefix and
7222 # --program-suffix have been applied to it. Autoconf has already
7223 # doubled dollar signs and backslashes in program_transform_name; we want
7224 # the backslashes un-doubled, and then the entire thing wrapped in single
7225 # quotes, because this will be expanded first by make and then by the shell.
7226 # Also, because we want to override the logic in subdir configure scripts to
7227 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7228 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7229 ${program_transform_name}
7231 gcc_transform_name
=`cat conftestsed.out`
7232 rm -f conftestsed.out
7233 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7234 if test "$silent" = yes; then
7235 baseargs
="$baseargs --silent"
7237 baseargs
="$baseargs --disable-option-checking"
7239 # Record and document user additions to sub configure arguments.
7244 # For the build-side libraries, we just need to pretend we're native,
7245 # and not use the same cache file. Multilibs are neither needed nor
7247 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7249 # For host modules, accept cache file option, or specification as blank.
7250 case "${cache_file}" in
7252 cache_file_option
="" ;;
7253 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7254 cache_file_option
="--cache-file=${cache_file}" ;;
7256 cache_file_option
="--cache-file=../${cache_file}" ;;
7259 # Host dirs don't like to share a cache file either, horribly enough.
7260 # This seems to be due to autoconf 2.5x stupidity.
7261 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7263 target_configargs
="$target_configargs ${baseargs}"
7265 # Passing a --with-cross-host argument lets the target libraries know
7266 # whether they are being built with a cross-compiler or being built
7267 # native. However, it would be better to use other mechanisms to make the
7268 # sorts of decisions they want to make on this basis. Please consider
7269 # this option to be deprecated. FIXME.
7270 if test x
${is_cross_compiler} = xyes
; then
7271 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7274 # Default to --enable-multilib.
7275 if test x
${enable_multilib} = x
; then
7276 target_configargs
="--enable-multilib ${target_configargs}"
7279 # Pass --with-newlib if appropriate. Note that target_configdirs has
7280 # changed from the earlier setting of with_newlib.
7281 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7282 target_configargs
="--with-newlib ${target_configargs}"
7285 # Different target subdirs use different values of certain variables
7286 # (notably CXX). Worse, multilibs use *lots* of different values.
7287 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7288 # it doesn't automatically accept command-line overrides of them.
7289 # This means it's not safe for target subdirs to share a cache file,
7290 # which is disgusting, but there you have it. Hopefully this can be
7291 # fixed in future. It's still worthwhile to use a cache file for each
7292 # directory. I think.
7294 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7295 # We need to pass --target, as newer autoconf's requires consistency
7296 # for target_alias and gcc doesn't manage it consistently.
7297 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7300 case " $target_configdirs " in
7302 case " $target_configargs " in
7303 *" --with-newlib "*)
7306 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'
7310 # If we're not building GCC, don't discard standard headers.
7311 if test -d ${srcdir}/gcc
; then
7312 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7314 if test "${build}" != "${host}"; then
7315 # On Canadian crosses, CC_FOR_TARGET will have already been set
7316 # by `configure', so we won't have an opportunity to add -Bgcc/
7317 # to it. This is right: we don't want to search that directory
7318 # for binaries, but we want the header files in there, so add
7320 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
7322 # Someone might think of using the pre-installed headers on
7323 # Canadian crosses, in case the installed compiler is not fully
7324 # compatible with the compiler being built. In this case, it
7325 # would be better to flag an error than risking having
7326 # incompatible object files being constructed. We can't
7327 # guarantee that an error will be flagged, but let's hope the
7328 # compiler will do it, when presented with incompatible header
7333 case "${target}-${is_cross_compiler}" in
7334 i
[3456789]86-*-linux*-no)
7335 # Here host == target, so we don't need to build gcc,
7336 # so we don't want to discard standard headers.
7337 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7340 # If we're building newlib, use its generic headers last, but search
7341 # for any libc-related directories first (so make it the last -B
7343 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7345 # If we're building libgloss, find the startup file, simulator library
7346 # and linker script.
7347 case " $target_configdirs " in
7349 # Look for startup file, simulator library and maybe linker script.
7350 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7351 # Look for libnosys.a in case the target needs it.
7352 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7353 # Most targets have the linker script in the source directory.
7354 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7365 x86_64-
*mingw
* |
*-w64-mingw*)
7366 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7367 # however, use a symlink named 'mingw' in ${prefix} .
7368 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7371 # MinGW can't be handled as Cygwin above since it does not use newlib.
7372 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'
7376 # Allow the user to override the flags for
7377 # our build compiler if desired.
7378 if test x
"${build}" = x
"${host}" ; then
7379 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7380 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7381 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7384 # On Canadian crosses, we'll be searching the right directories for
7385 # the previously-installed cross compiler, so don't bother to add
7386 # flags for directories within the install tree of the compiler
7387 # being built; programs in there won't even run.
7388 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7389 # Search for pre-installed headers if nothing else fits.
7390 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7393 if test "x
${use_gnu_ld}" = x &&
7394 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7395 # Arrange for us to find uninstalled linker scripts.
7396 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7399 # Search for other target-specific linker scripts and such.
7402 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7406 # Makefile fragments.
7407 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7409 eval fragval=\$$frag
7410 if test $fragval != /dev/null; then
7411 eval $frag=${srcdir}/$fragval
7419 # Miscellanea: directories, flags, etc.
7428 # Build module lists & subconfigure args.
7432 # Host module lists & subconfigure args.
7437 # Target module lists & subconfigure args.
7459 # Generate default definitions for YACC, M4, LEX and other programs that run
7460 # on the build machine. These are used if the Makefile can't locate these
7461 # programs in objdir.
7462 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7464 for ac_prog in 'bison -y' byacc yacc
7466 # Extract the first word of "$ac_prog", so it can be a program name with args.
7467 set dummy $ac_prog; ac_word=$2
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7469 $as_echo_n "checking
for $ac_word...
" >&6; }
7470 if test "${ac_cv_prog_YACC+set}" = set; then :
7471 $as_echo_n "(cached
) " >&6
7473 if test -n "$YACC"; then
7474 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7480 test -z "$as_dir" && as_dir=.
7481 for ac_exec_ext in '' $ac_executable_extensions; do
7482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7483 ac_cv_prog_YACC="$ac_prog"
7484 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7493 YACC=$ac_cv_prog_YACC
7494 if test -n "$YACC"; then
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7496 $as_echo "$YACC" >&6; }
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7499 $as_echo "no
" >&6; }
7503 test -n "$YACC" && break
7505 test -n "$YACC" || YACC="$MISSING bison
-y"
7507 case " $build_configdirs " in
7508 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7509 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
7512 for ac_prog in bison
7514 # Extract the first word of "$ac_prog", so it can be a program name with args.
7515 set dummy $ac_prog; ac_word=$2
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7517 $as_echo_n "checking
for $ac_word...
" >&6; }
7518 if test "${ac_cv_prog_BISON+set}" = set; then :
7519 $as_echo_n "(cached
) " >&6
7521 if test -n "$BISON"; then
7522 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7528 test -z "$as_dir" && as_dir=.
7529 for ac_exec_ext in '' $ac_executable_extensions; do
7530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7531 ac_cv_prog_BISON="$ac_prog"
7532 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7541 BISON=$ac_cv_prog_BISON
7542 if test -n "$BISON"; then
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7544 $as_echo "$BISON" >&6; }
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7547 $as_echo "no
" >&6; }
7551 test -n "$BISON" && break
7553 test -n "$BISON" || BISON="$MISSING bison
"
7555 case " $build_configdirs " in
7556 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7559 for ac_prog in gm4 gnum4 m4
7561 # Extract the first word of "$ac_prog", so it can be a program name with args.
7562 set dummy $ac_prog; ac_word=$2
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7564 $as_echo_n "checking
for $ac_word...
" >&6; }
7565 if test "${ac_cv_prog_M4+set}" = set; then :
7566 $as_echo_n "(cached
) " >&6
7568 if test -n "$M4"; then
7569 ac_cv_prog_M4="$M4" # Let the user override the test.
7571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7575 test -z "$as_dir" && as_dir=.
7576 for ac_exec_ext in '' $ac_executable_extensions; do
7577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7578 ac_cv_prog_M4="$ac_prog"
7579 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7589 if test -n "$M4"; then
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7591 $as_echo "$M4" >&6; }
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7594 $as_echo "no
" >&6; }
7598 test -n "$M4" && break
7600 test -n "$M4" || M4="$MISSING m4"
7602 case " $build_configdirs " in
7603 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7606 for ac_prog in flex lex
7608 # Extract the first word of "$ac_prog", so it can be a program name with args.
7609 set dummy $ac_prog; ac_word=$2
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7611 $as_echo_n "checking
for $ac_word...
" >&6; }
7612 if test "${ac_cv_prog_LEX+set}" = set; then :
7613 $as_echo_n "(cached
) " >&6
7615 if test -n "$LEX"; then
7616 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7622 test -z "$as_dir" && as_dir=.
7623 for ac_exec_ext in '' $ac_executable_extensions; do
7624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7625 ac_cv_prog_LEX="$ac_prog"
7626 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7636 if test -n "$LEX"; then
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7638 $as_echo "$LEX" >&6; }
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7641 $as_echo "no
" >&6; }
7645 test -n "$LEX" && break
7647 test -n "$LEX" || LEX="$MISSING flex
"
7649 case " $build_configdirs " in
7650 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7651 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7656 # Extract the first word of "$ac_prog", so it can be a program name with args.
7657 set dummy $ac_prog; ac_word=$2
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7659 $as_echo_n "checking
for $ac_word...
" >&6; }
7660 if test "${ac_cv_prog_FLEX+set}" = set; then :
7661 $as_echo_n "(cached
) " >&6
7663 if test -n "$FLEX"; then
7664 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7670 test -z "$as_dir" && as_dir=.
7671 for ac_exec_ext in '' $ac_executable_extensions; do
7672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7673 ac_cv_prog_FLEX="$ac_prog"
7674 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7683 FLEX=$ac_cv_prog_FLEX
7684 if test -n "$FLEX"; then
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7686 $as_echo "$FLEX" >&6; }
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7689 $as_echo "no
" >&6; }
7693 test -n "$FLEX" && break
7695 test -n "$FLEX" || FLEX="$MISSING flex
"
7697 case " $build_configdirs " in
7698 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7701 for ac_prog in makeinfo
7703 # Extract the first word of "$ac_prog", so it can be a program name with args.
7704 set dummy $ac_prog; ac_word=$2
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7706 $as_echo_n "checking
for $ac_word...
" >&6; }
7707 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7708 $as_echo_n "(cached
) " >&6
7710 if test -n "$MAKEINFO"; then
7711 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7717 test -z "$as_dir" && as_dir=.
7718 for ac_exec_ext in '' $ac_executable_extensions; do
7719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7720 ac_cv_prog_MAKEINFO="$ac_prog"
7721 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7730 MAKEINFO=$ac_cv_prog_MAKEINFO
7731 if test -n "$MAKEINFO"; then
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7733 $as_echo "$MAKEINFO" >&6; }
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7736 $as_echo "no
" >&6; }
7740 test -n "$MAKEINFO" && break
7742 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7744 case " $build_configdirs " in
7745 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7748 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7749 # higher, else we use the "missing
" dummy.
7750 if ${MAKEINFO} --version \
7751 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7754 MAKEINFO="$MISSING makeinfo
"
7760 # FIXME: expect and dejagnu may become build tools?
7762 for ac_prog in expect
7764 # Extract the first word of "$ac_prog", so it can be a program name with args.
7765 set dummy $ac_prog; ac_word=$2
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7767 $as_echo_n "checking
for $ac_word...
" >&6; }
7768 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7769 $as_echo_n "(cached
) " >&6
7771 if test -n "$EXPECT"; then
7772 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7778 test -z "$as_dir" && as_dir=.
7779 for ac_exec_ext in '' $ac_executable_extensions; do
7780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7781 ac_cv_prog_EXPECT="$ac_prog"
7782 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7791 EXPECT=$ac_cv_prog_EXPECT
7792 if test -n "$EXPECT"; then
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7794 $as_echo "$EXPECT" >&6; }
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7797 $as_echo "no
" >&6; }
7801 test -n "$EXPECT" && break
7803 test -n "$EXPECT" || EXPECT="expect
"
7805 case " $configdirs " in
7807 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7811 for ac_prog in runtest
7813 # Extract the first word of "$ac_prog", so it can be a program name with args.
7814 set dummy $ac_prog; ac_word=$2
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7816 $as_echo_n "checking
for $ac_word...
" >&6; }
7817 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7818 $as_echo_n "(cached
) " >&6
7820 if test -n "$RUNTEST"; then
7821 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7827 test -z "$as_dir" && as_dir=.
7828 for ac_exec_ext in '' $ac_executable_extensions; do
7829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7830 ac_cv_prog_RUNTEST="$ac_prog"
7831 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7840 RUNTEST=$ac_cv_prog_RUNTEST
7841 if test -n "$RUNTEST"; then
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7843 $as_echo "$RUNTEST" >&6; }
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7846 $as_echo "no
" >&6; }
7850 test -n "$RUNTEST" && break
7852 test -n "$RUNTEST" || RUNTEST="runtest
"
7854 case " $configdirs " in
7856 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7863 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7864 ncn_target_tool_prefix=
7865 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7869 if test -n "$AR"; then
7871 elif test -n "$ac_cv_prog_AR"; then
7875 if test -n "$ac_cv_prog_AR"; then
7876 for ncn_progname in ar; do
7877 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7878 set dummy ${ncn_progname}; ac_word=$2
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7880 $as_echo_n "checking
for $ac_word...
" >&6; }
7881 if test "${ac_cv_prog_AR+set}" = set; then :
7882 $as_echo_n "(cached
) " >&6
7884 if test -n "$AR"; then
7885 ac_cv_prog_AR="$AR" # Let the user override the test.
7887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7891 test -z "$as_dir" && as_dir=.
7892 for ac_exec_ext in '' $ac_executable_extensions; do
7893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7894 ac_cv_prog_AR="${ncn_progname}"
7895 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7905 if test -n "$AR"; then
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7907 $as_echo "$AR" >&6; }
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7910 $as_echo "no
" >&6; }
7917 for ncn_progname in ar; do
7918 if test -n "$ncn_tool_prefix"; then
7919 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7920 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7922 $as_echo_n "checking
for $ac_word...
" >&6; }
7923 if test "${ac_cv_prog_AR+set}" = set; then :
7924 $as_echo_n "(cached
) " >&6
7926 if test -n "$AR"; then
7927 ac_cv_prog_AR="$AR" # Let the user override the test.
7929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7933 test -z "$as_dir" && as_dir=.
7934 for ac_exec_ext in '' $ac_executable_extensions; do
7935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7936 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7937 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7947 if test -n "$AR"; then
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7949 $as_echo "$AR" >&6; }
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7952 $as_echo "no
" >&6; }
7957 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7958 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7959 set dummy ${ncn_progname}; ac_word=$2
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7961 $as_echo_n "checking
for $ac_word...
" >&6; }
7962 if test "${ac_cv_prog_AR+set}" = set; then :
7963 $as_echo_n "(cached
) " >&6
7965 if test -n "$AR"; then
7966 ac_cv_prog_AR="$AR" # Let the user override the test.
7968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7972 test -z "$as_dir" && as_dir=.
7973 for ac_exec_ext in '' $ac_executable_extensions; do
7974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7975 ac_cv_prog_AR="${ncn_progname}"
7976 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7986 if test -n "$AR"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7988 $as_echo "$AR" >&6; }
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7991 $as_echo "no
" >&6; }
7996 test -n "$ac_cv_prog_AR" && break
7999 if test -z "$ac_cv_prog_AR" ; then
8001 if test $build = $host ; then
8004 AR="${ncn_tool_prefix}$2"
8010 if test -n "$AS"; then
8012 elif test -n "$ac_cv_prog_AS"; then
8016 if test -n "$ac_cv_prog_AS"; then
8017 for ncn_progname in as; do
8018 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8019 set dummy ${ncn_progname}; ac_word=$2
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8021 $as_echo_n "checking
for $ac_word...
" >&6; }
8022 if test "${ac_cv_prog_AS+set}" = set; then :
8023 $as_echo_n "(cached
) " >&6
8025 if test -n "$AS"; then
8026 ac_cv_prog_AS="$AS" # Let the user override the test.
8028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8032 test -z "$as_dir" && as_dir=.
8033 for ac_exec_ext in '' $ac_executable_extensions; do
8034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8035 ac_cv_prog_AS="${ncn_progname}"
8036 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8046 if test -n "$AS"; then
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8048 $as_echo "$AS" >&6; }
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8051 $as_echo "no
" >&6; }
8058 for ncn_progname in as; do
8059 if test -n "$ncn_tool_prefix"; then
8060 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8061 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8063 $as_echo_n "checking
for $ac_word...
" >&6; }
8064 if test "${ac_cv_prog_AS+set}" = set; then :
8065 $as_echo_n "(cached
) " >&6
8067 if test -n "$AS"; then
8068 ac_cv_prog_AS="$AS" # Let the user override the test.
8070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8074 test -z "$as_dir" && as_dir=.
8075 for ac_exec_ext in '' $ac_executable_extensions; do
8076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8077 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8078 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8088 if test -n "$AS"; then
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8090 $as_echo "$AS" >&6; }
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8093 $as_echo "no
" >&6; }
8098 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8099 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8100 set dummy ${ncn_progname}; ac_word=$2
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8102 $as_echo_n "checking
for $ac_word...
" >&6; }
8103 if test "${ac_cv_prog_AS+set}" = set; then :
8104 $as_echo_n "(cached
) " >&6
8106 if test -n "$AS"; then
8107 ac_cv_prog_AS="$AS" # Let the user override the test.
8109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8113 test -z "$as_dir" && as_dir=.
8114 for ac_exec_ext in '' $ac_executable_extensions; do
8115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8116 ac_cv_prog_AS="${ncn_progname}"
8117 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8127 if test -n "$AS"; then
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8129 $as_echo "$AS" >&6; }
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8132 $as_echo "no
" >&6; }
8137 test -n "$ac_cv_prog_AS" && break
8140 if test -z "$ac_cv_prog_AS" ; then
8142 if test $build = $host ; then
8145 AS="${ncn_tool_prefix}$2"
8151 if test -n "$DLLTOOL"; then
8152 ac_cv_prog_DLLTOOL=$DLLTOOL
8153 elif test -n "$ac_cv_prog_DLLTOOL"; then
8154 DLLTOOL=$ac_cv_prog_DLLTOOL
8157 if test -n "$ac_cv_prog_DLLTOOL"; then
8158 for ncn_progname in dlltool; do
8159 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8160 set dummy ${ncn_progname}; ac_word=$2
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8162 $as_echo_n "checking
for $ac_word...
" >&6; }
8163 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8164 $as_echo_n "(cached
) " >&6
8166 if test -n "$DLLTOOL"; then
8167 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8173 test -z "$as_dir" && as_dir=.
8174 for ac_exec_ext in '' $ac_executable_extensions; do
8175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8176 ac_cv_prog_DLLTOOL="${ncn_progname}"
8177 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8186 DLLTOOL=$ac_cv_prog_DLLTOOL
8187 if test -n "$DLLTOOL"; then
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8189 $as_echo "$DLLTOOL" >&6; }
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8192 $as_echo "no
" >&6; }
8199 for ncn_progname in dlltool; do
8200 if test -n "$ncn_tool_prefix"; then
8201 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8202 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8204 $as_echo_n "checking
for $ac_word...
" >&6; }
8205 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8206 $as_echo_n "(cached
) " >&6
8208 if test -n "$DLLTOOL"; then
8209 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8215 test -z "$as_dir" && as_dir=.
8216 for ac_exec_ext in '' $ac_executable_extensions; do
8217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8218 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8219 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8228 DLLTOOL=$ac_cv_prog_DLLTOOL
8229 if test -n "$DLLTOOL"; then
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8231 $as_echo "$DLLTOOL" >&6; }
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8234 $as_echo "no
" >&6; }
8239 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8240 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8241 set dummy ${ncn_progname}; ac_word=$2
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8243 $as_echo_n "checking
for $ac_word...
" >&6; }
8244 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8245 $as_echo_n "(cached
) " >&6
8247 if test -n "$DLLTOOL"; then
8248 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8254 test -z "$as_dir" && as_dir=.
8255 for ac_exec_ext in '' $ac_executable_extensions; do
8256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8257 ac_cv_prog_DLLTOOL="${ncn_progname}"
8258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8267 DLLTOOL=$ac_cv_prog_DLLTOOL
8268 if test -n "$DLLTOOL"; then
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8270 $as_echo "$DLLTOOL" >&6; }
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8273 $as_echo "no
" >&6; }
8278 test -n "$ac_cv_prog_DLLTOOL" && break
8281 if test -z "$ac_cv_prog_DLLTOOL" ; then
8283 if test $build = $host ; then
8286 DLLTOOL="${ncn_tool_prefix}$2"
8292 if test -n "$LD"; then
8294 elif test -n "$ac_cv_prog_LD"; then
8298 if test -n "$ac_cv_prog_LD"; then
8299 for ncn_progname in ld; do
8300 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8301 set dummy ${ncn_progname}; ac_word=$2
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8303 $as_echo_n "checking
for $ac_word...
" >&6; }
8304 if test "${ac_cv_prog_LD+set}" = set; then :
8305 $as_echo_n "(cached
) " >&6
8307 if test -n "$LD"; then
8308 ac_cv_prog_LD="$LD" # Let the user override the test.
8310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8314 test -z "$as_dir" && as_dir=.
8315 for ac_exec_ext in '' $ac_executable_extensions; do
8316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8317 ac_cv_prog_LD="${ncn_progname}"
8318 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8328 if test -n "$LD"; then
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8330 $as_echo "$LD" >&6; }
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8333 $as_echo "no
" >&6; }
8340 for ncn_progname in ld; do
8341 if test -n "$ncn_tool_prefix"; then
8342 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8343 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8345 $as_echo_n "checking
for $ac_word...
" >&6; }
8346 if test "${ac_cv_prog_LD+set}" = set; then :
8347 $as_echo_n "(cached
) " >&6
8349 if test -n "$LD"; then
8350 ac_cv_prog_LD="$LD" # Let the user override the test.
8352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8356 test -z "$as_dir" && as_dir=.
8357 for ac_exec_ext in '' $ac_executable_extensions; do
8358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8359 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8360 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8370 if test -n "$LD"; then
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8372 $as_echo "$LD" >&6; }
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8375 $as_echo "no
" >&6; }
8380 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8381 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8382 set dummy ${ncn_progname}; ac_word=$2
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8384 $as_echo_n "checking
for $ac_word...
" >&6; }
8385 if test "${ac_cv_prog_LD+set}" = set; then :
8386 $as_echo_n "(cached
) " >&6
8388 if test -n "$LD"; then
8389 ac_cv_prog_LD="$LD" # Let the user override the test.
8391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8395 test -z "$as_dir" && as_dir=.
8396 for ac_exec_ext in '' $ac_executable_extensions; do
8397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8398 ac_cv_prog_LD="${ncn_progname}"
8399 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8409 if test -n "$LD"; then
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8411 $as_echo "$LD" >&6; }
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8414 $as_echo "no
" >&6; }
8419 test -n "$ac_cv_prog_LD" && break
8422 if test -z "$ac_cv_prog_LD" ; then
8424 if test $build = $host ; then
8427 LD="${ncn_tool_prefix}$2"
8433 if test -n "$LIPO"; then
8434 ac_cv_prog_LIPO=$LIPO
8435 elif test -n "$ac_cv_prog_LIPO"; then
8436 LIPO=$ac_cv_prog_LIPO
8439 if test -n "$ac_cv_prog_LIPO"; then
8440 for ncn_progname in lipo; do
8441 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8442 set dummy ${ncn_progname}; ac_word=$2
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8444 $as_echo_n "checking
for $ac_word...
" >&6; }
8445 if test "${ac_cv_prog_LIPO+set}" = set; then :
8446 $as_echo_n "(cached
) " >&6
8448 if test -n "$LIPO"; then
8449 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8455 test -z "$as_dir" && as_dir=.
8456 for ac_exec_ext in '' $ac_executable_extensions; do
8457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8458 ac_cv_prog_LIPO="${ncn_progname}"
8459 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8468 LIPO=$ac_cv_prog_LIPO
8469 if test -n "$LIPO"; then
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8471 $as_echo "$LIPO" >&6; }
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8474 $as_echo "no
" >&6; }
8481 for ncn_progname in lipo; do
8482 if test -n "$ncn_tool_prefix"; then
8483 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8484 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8486 $as_echo_n "checking
for $ac_word...
" >&6; }
8487 if test "${ac_cv_prog_LIPO+set}" = set; then :
8488 $as_echo_n "(cached
) " >&6
8490 if test -n "$LIPO"; then
8491 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8497 test -z "$as_dir" && as_dir=.
8498 for ac_exec_ext in '' $ac_executable_extensions; do
8499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8500 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8501 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8510 LIPO=$ac_cv_prog_LIPO
8511 if test -n "$LIPO"; then
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8513 $as_echo "$LIPO" >&6; }
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8516 $as_echo "no
" >&6; }
8521 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8522 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8523 set dummy ${ncn_progname}; ac_word=$2
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8525 $as_echo_n "checking
for $ac_word...
" >&6; }
8526 if test "${ac_cv_prog_LIPO+set}" = set; then :
8527 $as_echo_n "(cached
) " >&6
8529 if test -n "$LIPO"; then
8530 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8536 test -z "$as_dir" && as_dir=.
8537 for ac_exec_ext in '' $ac_executable_extensions; do
8538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8539 ac_cv_prog_LIPO="${ncn_progname}"
8540 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8549 LIPO=$ac_cv_prog_LIPO
8550 if test -n "$LIPO"; then
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8552 $as_echo "$LIPO" >&6; }
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8555 $as_echo "no
" >&6; }
8560 test -n "$ac_cv_prog_LIPO" && break
8563 if test -z "$ac_cv_prog_LIPO" ; then
8565 if test $build = $host ; then
8568 LIPO="${ncn_tool_prefix}$2"
8574 if test -n "$NM"; then
8576 elif test -n "$ac_cv_prog_NM"; then
8580 if test -n "$ac_cv_prog_NM"; then
8581 for ncn_progname in nm; do
8582 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8583 set dummy ${ncn_progname}; ac_word=$2
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8585 $as_echo_n "checking
for $ac_word...
" >&6; }
8586 if test "${ac_cv_prog_NM+set}" = set; then :
8587 $as_echo_n "(cached
) " >&6
8589 if test -n "$NM"; then
8590 ac_cv_prog_NM="$NM" # Let the user override the test.
8592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8596 test -z "$as_dir" && as_dir=.
8597 for ac_exec_ext in '' $ac_executable_extensions; do
8598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8599 ac_cv_prog_NM="${ncn_progname}"
8600 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8610 if test -n "$NM"; then
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8612 $as_echo "$NM" >&6; }
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8615 $as_echo "no
" >&6; }
8622 for ncn_progname in nm; do
8623 if test -n "$ncn_tool_prefix"; then
8624 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8625 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8627 $as_echo_n "checking
for $ac_word...
" >&6; }
8628 if test "${ac_cv_prog_NM+set}" = set; then :
8629 $as_echo_n "(cached
) " >&6
8631 if test -n "$NM"; then
8632 ac_cv_prog_NM="$NM" # Let the user override the test.
8634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8638 test -z "$as_dir" && as_dir=.
8639 for ac_exec_ext in '' $ac_executable_extensions; do
8640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8641 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8642 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8652 if test -n "$NM"; then
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8654 $as_echo "$NM" >&6; }
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8657 $as_echo "no
" >&6; }
8662 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8663 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8664 set dummy ${ncn_progname}; ac_word=$2
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8666 $as_echo_n "checking
for $ac_word...
" >&6; }
8667 if test "${ac_cv_prog_NM+set}" = set; then :
8668 $as_echo_n "(cached
) " >&6
8670 if test -n "$NM"; then
8671 ac_cv_prog_NM="$NM" # Let the user override the test.
8673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8677 test -z "$as_dir" && as_dir=.
8678 for ac_exec_ext in '' $ac_executable_extensions; do
8679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8680 ac_cv_prog_NM="${ncn_progname}"
8681 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8691 if test -n "$NM"; then
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8693 $as_echo "$NM" >&6; }
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8696 $as_echo "no
" >&6; }
8701 test -n "$ac_cv_prog_NM" && break
8704 if test -z "$ac_cv_prog_NM" ; then
8706 if test $build = $host ; then
8709 NM="${ncn_tool_prefix}$2"
8715 if test -n "$RANLIB"; then
8716 ac_cv_prog_RANLIB=$RANLIB
8717 elif test -n "$ac_cv_prog_RANLIB"; then
8718 RANLIB=$ac_cv_prog_RANLIB
8721 if test -n "$ac_cv_prog_RANLIB"; then
8722 for ncn_progname in ranlib; do
8723 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8724 set dummy ${ncn_progname}; ac_word=$2
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8726 $as_echo_n "checking
for $ac_word...
" >&6; }
8727 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8728 $as_echo_n "(cached
) " >&6
8730 if test -n "$RANLIB"; then
8731 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8737 test -z "$as_dir" && as_dir=.
8738 for ac_exec_ext in '' $ac_executable_extensions; do
8739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8740 ac_cv_prog_RANLIB="${ncn_progname}"
8741 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8750 RANLIB=$ac_cv_prog_RANLIB
8751 if test -n "$RANLIB"; then
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8753 $as_echo "$RANLIB" >&6; }
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8756 $as_echo "no
" >&6; }
8763 for ncn_progname in ranlib; do
8764 if test -n "$ncn_tool_prefix"; then
8765 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8766 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8768 $as_echo_n "checking
for $ac_word...
" >&6; }
8769 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8770 $as_echo_n "(cached
) " >&6
8772 if test -n "$RANLIB"; then
8773 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8779 test -z "$as_dir" && as_dir=.
8780 for ac_exec_ext in '' $ac_executable_extensions; do
8781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8782 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8783 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8792 RANLIB=$ac_cv_prog_RANLIB
8793 if test -n "$RANLIB"; then
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8795 $as_echo "$RANLIB" >&6; }
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8798 $as_echo "no
" >&6; }
8803 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8804 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8805 set dummy ${ncn_progname}; ac_word=$2
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8807 $as_echo_n "checking
for $ac_word...
" >&6; }
8808 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8809 $as_echo_n "(cached
) " >&6
8811 if test -n "$RANLIB"; then
8812 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8818 test -z "$as_dir" && as_dir=.
8819 for ac_exec_ext in '' $ac_executable_extensions; do
8820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8821 ac_cv_prog_RANLIB="${ncn_progname}"
8822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8831 RANLIB=$ac_cv_prog_RANLIB
8832 if test -n "$RANLIB"; then
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8834 $as_echo "$RANLIB" >&6; }
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8837 $as_echo "no
" >&6; }
8842 test -n "$ac_cv_prog_RANLIB" && break
8845 if test -z "$ac_cv_prog_RANLIB" ; then
8851 if test -n "$STRIP"; then
8852 ac_cv_prog_STRIP=$STRIP
8853 elif test -n "$ac_cv_prog_STRIP"; then
8854 STRIP=$ac_cv_prog_STRIP
8857 if test -n "$ac_cv_prog_STRIP"; then
8858 for ncn_progname in strip; do
8859 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8860 set dummy ${ncn_progname}; ac_word=$2
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8862 $as_echo_n "checking
for $ac_word...
" >&6; }
8863 if test "${ac_cv_prog_STRIP+set}" = set; then :
8864 $as_echo_n "(cached
) " >&6
8866 if test -n "$STRIP"; then
8867 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8873 test -z "$as_dir" && as_dir=.
8874 for ac_exec_ext in '' $ac_executable_extensions; do
8875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8876 ac_cv_prog_STRIP="${ncn_progname}"
8877 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8886 STRIP=$ac_cv_prog_STRIP
8887 if test -n "$STRIP"; then
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8889 $as_echo "$STRIP" >&6; }
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8892 $as_echo "no
" >&6; }
8899 for ncn_progname in strip; do
8900 if test -n "$ncn_tool_prefix"; then
8901 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8902 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8904 $as_echo_n "checking
for $ac_word...
" >&6; }
8905 if test "${ac_cv_prog_STRIP+set}" = set; then :
8906 $as_echo_n "(cached
) " >&6
8908 if test -n "$STRIP"; then
8909 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8915 test -z "$as_dir" && as_dir=.
8916 for ac_exec_ext in '' $ac_executable_extensions; do
8917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8918 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8919 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8928 STRIP=$ac_cv_prog_STRIP
8929 if test -n "$STRIP"; then
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8931 $as_echo "$STRIP" >&6; }
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8934 $as_echo "no
" >&6; }
8939 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8940 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8941 set dummy ${ncn_progname}; ac_word=$2
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8943 $as_echo_n "checking
for $ac_word...
" >&6; }
8944 if test "${ac_cv_prog_STRIP+set}" = set; then :
8945 $as_echo_n "(cached
) " >&6
8947 if test -n "$STRIP"; then
8948 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8954 test -z "$as_dir" && as_dir=.
8955 for ac_exec_ext in '' $ac_executable_extensions; do
8956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8957 ac_cv_prog_STRIP="${ncn_progname}"
8958 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8967 STRIP=$ac_cv_prog_STRIP
8968 if test -n "$STRIP"; then
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8970 $as_echo "$STRIP" >&6; }
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8973 $as_echo "no
" >&6; }
8978 test -n "$ac_cv_prog_STRIP" && break
8981 if test -z "$ac_cv_prog_STRIP" ; then
8987 if test -n "$WINDRES"; then
8988 ac_cv_prog_WINDRES=$WINDRES
8989 elif test -n "$ac_cv_prog_WINDRES"; then
8990 WINDRES=$ac_cv_prog_WINDRES
8993 if test -n "$ac_cv_prog_WINDRES"; then
8994 for ncn_progname in windres; do
8995 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8996 set dummy ${ncn_progname}; ac_word=$2
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8998 $as_echo_n "checking
for $ac_word...
" >&6; }
8999 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9000 $as_echo_n "(cached
) " >&6
9002 if test -n "$WINDRES"; then
9003 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9009 test -z "$as_dir" && as_dir=.
9010 for ac_exec_ext in '' $ac_executable_extensions; do
9011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9012 ac_cv_prog_WINDRES="${ncn_progname}"
9013 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9022 WINDRES=$ac_cv_prog_WINDRES
9023 if test -n "$WINDRES"; then
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9025 $as_echo "$WINDRES" >&6; }
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9028 $as_echo "no
" >&6; }
9035 for ncn_progname in windres; do
9036 if test -n "$ncn_tool_prefix"; then
9037 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9038 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9040 $as_echo_n "checking
for $ac_word...
" >&6; }
9041 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9042 $as_echo_n "(cached
) " >&6
9044 if test -n "$WINDRES"; then
9045 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9051 test -z "$as_dir" && as_dir=.
9052 for ac_exec_ext in '' $ac_executable_extensions; do
9053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9054 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9055 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9064 WINDRES=$ac_cv_prog_WINDRES
9065 if test -n "$WINDRES"; then
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9067 $as_echo "$WINDRES" >&6; }
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9070 $as_echo "no
" >&6; }
9075 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9076 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9077 set dummy ${ncn_progname}; ac_word=$2
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9079 $as_echo_n "checking
for $ac_word...
" >&6; }
9080 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9081 $as_echo_n "(cached
) " >&6
9083 if test -n "$WINDRES"; then
9084 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9090 test -z "$as_dir" && as_dir=.
9091 for ac_exec_ext in '' $ac_executable_extensions; do
9092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9093 ac_cv_prog_WINDRES="${ncn_progname}"
9094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9103 WINDRES=$ac_cv_prog_WINDRES
9104 if test -n "$WINDRES"; then
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9106 $as_echo "$WINDRES" >&6; }
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9109 $as_echo "no
" >&6; }
9114 test -n "$ac_cv_prog_WINDRES" && break
9117 if test -z "$ac_cv_prog_WINDRES" ; then
9119 if test $build = $host ; then
9122 WINDRES="${ncn_tool_prefix}$2"
9128 if test -n "$WINDMC"; then
9129 ac_cv_prog_WINDMC=$WINDMC
9130 elif test -n "$ac_cv_prog_WINDMC"; then
9131 WINDMC=$ac_cv_prog_WINDMC
9134 if test -n "$ac_cv_prog_WINDMC"; then
9135 for ncn_progname in windmc; do
9136 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9137 set dummy ${ncn_progname}; ac_word=$2
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9139 $as_echo_n "checking
for $ac_word...
" >&6; }
9140 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9141 $as_echo_n "(cached
) " >&6
9143 if test -n "$WINDMC"; then
9144 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9150 test -z "$as_dir" && as_dir=.
9151 for ac_exec_ext in '' $ac_executable_extensions; do
9152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9153 ac_cv_prog_WINDMC="${ncn_progname}"
9154 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9163 WINDMC=$ac_cv_prog_WINDMC
9164 if test -n "$WINDMC"; then
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9166 $as_echo "$WINDMC" >&6; }
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9169 $as_echo "no
" >&6; }
9176 for ncn_progname in windmc; do
9177 if test -n "$ncn_tool_prefix"; then
9178 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9179 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9181 $as_echo_n "checking
for $ac_word...
" >&6; }
9182 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9183 $as_echo_n "(cached
) " >&6
9185 if test -n "$WINDMC"; then
9186 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9192 test -z "$as_dir" && as_dir=.
9193 for ac_exec_ext in '' $ac_executable_extensions; do
9194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9195 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9196 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9205 WINDMC=$ac_cv_prog_WINDMC
9206 if test -n "$WINDMC"; then
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9208 $as_echo "$WINDMC" >&6; }
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9211 $as_echo "no
" >&6; }
9216 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9217 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9218 set dummy ${ncn_progname}; ac_word=$2
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9220 $as_echo_n "checking
for $ac_word...
" >&6; }
9221 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9222 $as_echo_n "(cached
) " >&6
9224 if test -n "$WINDMC"; then
9225 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9231 test -z "$as_dir" && as_dir=.
9232 for ac_exec_ext in '' $ac_executable_extensions; do
9233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9234 ac_cv_prog_WINDMC="${ncn_progname}"
9235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9244 WINDMC=$ac_cv_prog_WINDMC
9245 if test -n "$WINDMC"; then
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9247 $as_echo "$WINDMC" >&6; }
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9250 $as_echo "no
" >&6; }
9255 test -n "$ac_cv_prog_WINDMC" && break
9258 if test -z "$ac_cv_prog_WINDMC" ; then
9260 if test $build = $host ; then
9263 WINDMC="${ncn_tool_prefix}$2"
9269 if test -n "$OBJCOPY"; then
9270 ac_cv_prog_OBJCOPY=$OBJCOPY
9271 elif test -n "$ac_cv_prog_OBJCOPY"; then
9272 OBJCOPY=$ac_cv_prog_OBJCOPY
9275 if test -n "$ac_cv_prog_OBJCOPY"; then
9276 for ncn_progname in objcopy; do
9277 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9278 set dummy ${ncn_progname}; ac_word=$2
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9280 $as_echo_n "checking
for $ac_word...
" >&6; }
9281 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9282 $as_echo_n "(cached
) " >&6
9284 if test -n "$OBJCOPY"; then
9285 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9291 test -z "$as_dir" && as_dir=.
9292 for ac_exec_ext in '' $ac_executable_extensions; do
9293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9294 ac_cv_prog_OBJCOPY="${ncn_progname}"
9295 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9304 OBJCOPY=$ac_cv_prog_OBJCOPY
9305 if test -n "$OBJCOPY"; then
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9307 $as_echo "$OBJCOPY" >&6; }
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9310 $as_echo "no
" >&6; }
9317 for ncn_progname in objcopy; do
9318 if test -n "$ncn_tool_prefix"; then
9319 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9320 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9322 $as_echo_n "checking
for $ac_word...
" >&6; }
9323 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9324 $as_echo_n "(cached
) " >&6
9326 if test -n "$OBJCOPY"; then
9327 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9333 test -z "$as_dir" && as_dir=.
9334 for ac_exec_ext in '' $ac_executable_extensions; do
9335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9336 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9337 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9346 OBJCOPY=$ac_cv_prog_OBJCOPY
9347 if test -n "$OBJCOPY"; then
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9349 $as_echo "$OBJCOPY" >&6; }
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9352 $as_echo "no
" >&6; }
9357 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9358 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9359 set dummy ${ncn_progname}; ac_word=$2
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9361 $as_echo_n "checking
for $ac_word...
" >&6; }
9362 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9363 $as_echo_n "(cached
) " >&6
9365 if test -n "$OBJCOPY"; then
9366 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9372 test -z "$as_dir" && as_dir=.
9373 for ac_exec_ext in '' $ac_executable_extensions; do
9374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9375 ac_cv_prog_OBJCOPY="${ncn_progname}"
9376 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9385 OBJCOPY=$ac_cv_prog_OBJCOPY
9386 if test -n "$OBJCOPY"; then
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9388 $as_echo "$OBJCOPY" >&6; }
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9391 $as_echo "no
" >&6; }
9396 test -n "$ac_cv_prog_OBJCOPY" && break
9399 if test -z "$ac_cv_prog_OBJCOPY" ; then
9401 if test $build = $host ; then
9404 OBJCOPY="${ncn_tool_prefix}$2"
9410 if test -n "$OBJDUMP"; then
9411 ac_cv_prog_OBJDUMP=$OBJDUMP
9412 elif test -n "$ac_cv_prog_OBJDUMP"; then
9413 OBJDUMP=$ac_cv_prog_OBJDUMP
9416 if test -n "$ac_cv_prog_OBJDUMP"; then
9417 for ncn_progname in objdump; do
9418 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9419 set dummy ${ncn_progname}; ac_word=$2
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9421 $as_echo_n "checking
for $ac_word...
" >&6; }
9422 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9423 $as_echo_n "(cached
) " >&6
9425 if test -n "$OBJDUMP"; then
9426 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9432 test -z "$as_dir" && as_dir=.
9433 for ac_exec_ext in '' $ac_executable_extensions; do
9434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9435 ac_cv_prog_OBJDUMP="${ncn_progname}"
9436 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9445 OBJDUMP=$ac_cv_prog_OBJDUMP
9446 if test -n "$OBJDUMP"; then
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9448 $as_echo "$OBJDUMP" >&6; }
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9451 $as_echo "no
" >&6; }
9458 for ncn_progname in objdump; do
9459 if test -n "$ncn_tool_prefix"; then
9460 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9461 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9463 $as_echo_n "checking
for $ac_word...
" >&6; }
9464 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9465 $as_echo_n "(cached
) " >&6
9467 if test -n "$OBJDUMP"; then
9468 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9474 test -z "$as_dir" && as_dir=.
9475 for ac_exec_ext in '' $ac_executable_extensions; do
9476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9477 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9478 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9487 OBJDUMP=$ac_cv_prog_OBJDUMP
9488 if test -n "$OBJDUMP"; then
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9490 $as_echo "$OBJDUMP" >&6; }
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9493 $as_echo "no
" >&6; }
9498 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9499 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9500 set dummy ${ncn_progname}; ac_word=$2
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9502 $as_echo_n "checking
for $ac_word...
" >&6; }
9503 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9504 $as_echo_n "(cached
) " >&6
9506 if test -n "$OBJDUMP"; then
9507 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9513 test -z "$as_dir" && as_dir=.
9514 for ac_exec_ext in '' $ac_executable_extensions; do
9515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9516 ac_cv_prog_OBJDUMP="${ncn_progname}"
9517 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9526 OBJDUMP=$ac_cv_prog_OBJDUMP
9527 if test -n "$OBJDUMP"; then
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9529 $as_echo "$OBJDUMP" >&6; }
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9532 $as_echo "no
" >&6; }
9537 test -n "$ac_cv_prog_OBJDUMP" && break
9540 if test -z "$ac_cv_prog_OBJDUMP" ; then
9542 if test $build = $host ; then
9545 OBJDUMP="${ncn_tool_prefix}$2"
9556 # Check whether --with-build-time-tools was given.
9557 if test "${with_build_time_tools+set}" = set; then :
9558 withval=$with_build_time_tools; case x"$withval" in
9561 with_build_time_tools=
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9563 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9567 with_build_time_tools=
9573 if test -n "$CC_FOR_TARGET"; then
9574 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9575 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9576 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9579 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9580 for ncn_progname in cc gcc; do
9581 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9582 set dummy ${ncn_progname}; ac_word=$2
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9584 $as_echo_n "checking
for $ac_word...
" >&6; }
9585 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9586 $as_echo_n "(cached
) " >&6
9588 if test -n "$CC_FOR_TARGET"; then
9589 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9595 test -z "$as_dir" && as_dir=.
9596 for ac_exec_ext in '' $ac_executable_extensions; do
9597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9598 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9599 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9608 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9609 if test -n "$CC_FOR_TARGET"; then
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9611 $as_echo "$CC_FOR_TARGET" >&6; }
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9614 $as_echo "no
" >&6; }
9621 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9622 for ncn_progname in cc gcc; do
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9624 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9625 if test -x $with_build_time_tools/${ncn_progname}; then
9626 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9628 $as_echo "yes" >&6; }
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9632 $as_echo "no
" >&6; }
9637 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9638 for ncn_progname in cc gcc; do
9639 if test -n "$ncn_target_tool_prefix"; then
9640 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9641 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9643 $as_echo_n "checking
for $ac_word...
" >&6; }
9644 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9645 $as_echo_n "(cached
) " >&6
9647 if test -n "$CC_FOR_TARGET"; then
9648 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9654 test -z "$as_dir" && as_dir=.
9655 for ac_exec_ext in '' $ac_executable_extensions; do
9656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9657 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9658 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9667 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9668 if test -n "$CC_FOR_TARGET"; then
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9670 $as_echo "$CC_FOR_TARGET" >&6; }
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9673 $as_echo "no
" >&6; }
9678 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9679 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9680 set dummy ${ncn_progname}; ac_word=$2
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9682 $as_echo_n "checking
for $ac_word...
" >&6; }
9683 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9684 $as_echo_n "(cached
) " >&6
9686 if test -n "$CC_FOR_TARGET"; then
9687 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9693 test -z "$as_dir" && as_dir=.
9694 for ac_exec_ext in '' $ac_executable_extensions; do
9695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9696 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9697 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9706 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9707 if test -n "$CC_FOR_TARGET"; then
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9709 $as_echo "$CC_FOR_TARGET" >&6; }
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9712 $as_echo "no
" >&6; }
9717 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9721 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9723 if test $build = $target ; then
9726 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9729 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9734 if test -n "$CXX_FOR_TARGET"; then
9735 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9736 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9737 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9740 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9741 for ncn_progname in c++ g++ cxx gxx; do
9742 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9743 set dummy ${ncn_progname}; ac_word=$2
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9745 $as_echo_n "checking
for $ac_word...
" >&6; }
9746 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9747 $as_echo_n "(cached
) " >&6
9749 if test -n "$CXX_FOR_TARGET"; then
9750 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9756 test -z "$as_dir" && as_dir=.
9757 for ac_exec_ext in '' $ac_executable_extensions; do
9758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9759 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9760 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9769 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9770 if test -n "$CXX_FOR_TARGET"; then
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9772 $as_echo "$CXX_FOR_TARGET" >&6; }
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9775 $as_echo "no
" >&6; }
9782 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9783 for ncn_progname in c++ g++ cxx gxx; do
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9785 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9786 if test -x $with_build_time_tools/${ncn_progname}; then
9787 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9789 $as_echo "yes" >&6; }
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9793 $as_echo "no
" >&6; }
9798 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9799 for ncn_progname in c++ g++ cxx gxx; do
9800 if test -n "$ncn_target_tool_prefix"; then
9801 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9802 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9804 $as_echo_n "checking
for $ac_word...
" >&6; }
9805 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9806 $as_echo_n "(cached
) " >&6
9808 if test -n "$CXX_FOR_TARGET"; then
9809 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9815 test -z "$as_dir" && as_dir=.
9816 for ac_exec_ext in '' $ac_executable_extensions; do
9817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9818 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9819 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9828 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9829 if test -n "$CXX_FOR_TARGET"; then
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9831 $as_echo "$CXX_FOR_TARGET" >&6; }
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9834 $as_echo "no
" >&6; }
9839 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9840 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9841 set dummy ${ncn_progname}; ac_word=$2
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9843 $as_echo_n "checking
for $ac_word...
" >&6; }
9844 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9845 $as_echo_n "(cached
) " >&6
9847 if test -n "$CXX_FOR_TARGET"; then
9848 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9854 test -z "$as_dir" && as_dir=.
9855 for ac_exec_ext in '' $ac_executable_extensions; do
9856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9857 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9858 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9867 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9868 if test -n "$CXX_FOR_TARGET"; then
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9870 $as_echo "$CXX_FOR_TARGET" >&6; }
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9873 $as_echo "no
" >&6; }
9878 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9882 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9883 set dummy c++ g++ cxx gxx
9884 if test $build = $target ; then
9887 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9890 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9895 if test -n "$GCC_FOR_TARGET"; then
9896 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9897 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9898 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9901 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9902 for ncn_progname in gcc; do
9903 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9904 set dummy ${ncn_progname}; ac_word=$2
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9906 $as_echo_n "checking
for $ac_word...
" >&6; }
9907 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9908 $as_echo_n "(cached
) " >&6
9910 if test -n "$GCC_FOR_TARGET"; then
9911 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9917 test -z "$as_dir" && as_dir=.
9918 for ac_exec_ext in '' $ac_executable_extensions; do
9919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9920 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9921 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9930 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9931 if test -n "$GCC_FOR_TARGET"; then
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9933 $as_echo "$GCC_FOR_TARGET" >&6; }
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9936 $as_echo "no
" >&6; }
9943 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9944 for ncn_progname in gcc; do
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9946 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9947 if test -x $with_build_time_tools/${ncn_progname}; then
9948 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9950 $as_echo "yes" >&6; }
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9954 $as_echo "no
" >&6; }
9959 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
9960 for ncn_progname in gcc; do
9961 if test -n "$ncn_target_tool_prefix"; then
9962 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9963 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9965 $as_echo_n "checking
for $ac_word...
" >&6; }
9966 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9967 $as_echo_n "(cached
) " >&6
9969 if test -n "$GCC_FOR_TARGET"; then
9970 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9976 test -z "$as_dir" && as_dir=.
9977 for ac_exec_ext in '' $ac_executable_extensions; do
9978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9979 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9980 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9989 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9990 if test -n "$GCC_FOR_TARGET"; then
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9992 $as_echo "$GCC_FOR_TARGET" >&6; }
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9995 $as_echo "no
" >&6; }
10000 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10001 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10002 set dummy ${ncn_progname}; ac_word=$2
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10004 $as_echo_n "checking
for $ac_word...
" >&6; }
10005 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10006 $as_echo_n "(cached
) " >&6
10008 if test -n "$GCC_FOR_TARGET"; then
10009 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10012 for as_dir in $PATH
10015 test -z "$as_dir" && as_dir=.
10016 for ac_exec_ext in '' $ac_executable_extensions; do
10017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10018 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10019 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10028 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10029 if test -n "$GCC_FOR_TARGET"; then
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10031 $as_echo "$GCC_FOR_TARGET" >&6; }
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10034 $as_echo "no
" >&6; }
10039 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10043 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10044 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10046 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10051 if test -n "$GCJ_FOR_TARGET"; then
10052 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10053 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10054 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10057 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10058 for ncn_progname in gcj; do
10059 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10060 set dummy ${ncn_progname}; ac_word=$2
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10062 $as_echo_n "checking
for $ac_word...
" >&6; }
10063 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10064 $as_echo_n "(cached
) " >&6
10066 if test -n "$GCJ_FOR_TARGET"; then
10067 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10070 for as_dir in $PATH
10073 test -z "$as_dir" && as_dir=.
10074 for ac_exec_ext in '' $ac_executable_extensions; do
10075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10076 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10077 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10086 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10087 if test -n "$GCJ_FOR_TARGET"; then
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10089 $as_echo "$GCJ_FOR_TARGET" >&6; }
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10092 $as_echo "no
" >&6; }
10099 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10100 for ncn_progname in gcj; do
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10102 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10103 if test -x $with_build_time_tools/${ncn_progname}; then
10104 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10106 $as_echo "yes" >&6; }
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10110 $as_echo "no
" >&6; }
10115 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10116 for ncn_progname in gcj; do
10117 if test -n "$ncn_target_tool_prefix"; then
10118 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10119 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10121 $as_echo_n "checking
for $ac_word...
" >&6; }
10122 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10123 $as_echo_n "(cached
) " >&6
10125 if test -n "$GCJ_FOR_TARGET"; then
10126 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10129 for as_dir in $PATH
10132 test -z "$as_dir" && as_dir=.
10133 for ac_exec_ext in '' $ac_executable_extensions; do
10134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10135 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10145 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10146 if test -n "$GCJ_FOR_TARGET"; then
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10148 $as_echo "$GCJ_FOR_TARGET" >&6; }
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10151 $as_echo "no
" >&6; }
10156 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10157 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10158 set dummy ${ncn_progname}; ac_word=$2
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10160 $as_echo_n "checking
for $ac_word...
" >&6; }
10161 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10162 $as_echo_n "(cached
) " >&6
10164 if test -n "$GCJ_FOR_TARGET"; then
10165 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10168 for as_dir in $PATH
10171 test -z "$as_dir" && as_dir=.
10172 for ac_exec_ext in '' $ac_executable_extensions; do
10173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10174 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10175 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10184 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10185 if test -n "$GCJ_FOR_TARGET"; then
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10187 $as_echo "$GCJ_FOR_TARGET" >&6; }
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10190 $as_echo "no
" >&6; }
10195 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10199 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10201 if test $build = $target ; then
10202 GCJ_FOR_TARGET="$2"
10204 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10207 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10212 if test -n "$GFORTRAN_FOR_TARGET"; then
10213 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10214 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10215 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10218 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10219 for ncn_progname in gfortran; do
10220 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10221 set dummy ${ncn_progname}; ac_word=$2
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10223 $as_echo_n "checking
for $ac_word...
" >&6; }
10224 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10225 $as_echo_n "(cached
) " >&6
10227 if test -n "$GFORTRAN_FOR_TARGET"; then
10228 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10231 for as_dir in $PATH
10234 test -z "$as_dir" && as_dir=.
10235 for ac_exec_ext in '' $ac_executable_extensions; do
10236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10237 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10238 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10247 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10248 if test -n "$GFORTRAN_FOR_TARGET"; then
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10250 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10253 $as_echo "no
" >&6; }
10260 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10261 for ncn_progname in gfortran; do
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10263 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10264 if test -x $with_build_time_tools/${ncn_progname}; then
10265 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10267 $as_echo "yes" >&6; }
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10271 $as_echo "no
" >&6; }
10276 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10277 for ncn_progname in gfortran; do
10278 if test -n "$ncn_target_tool_prefix"; then
10279 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10280 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10282 $as_echo_n "checking
for $ac_word...
" >&6; }
10283 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10284 $as_echo_n "(cached
) " >&6
10286 if test -n "$GFORTRAN_FOR_TARGET"; then
10287 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10290 for as_dir in $PATH
10293 test -z "$as_dir" && as_dir=.
10294 for ac_exec_ext in '' $ac_executable_extensions; do
10295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10296 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10297 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10306 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10307 if test -n "$GFORTRAN_FOR_TARGET"; then
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10309 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10312 $as_echo "no
" >&6; }
10317 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10318 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10319 set dummy ${ncn_progname}; ac_word=$2
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10321 $as_echo_n "checking
for $ac_word...
" >&6; }
10322 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10323 $as_echo_n "(cached
) " >&6
10325 if test -n "$GFORTRAN_FOR_TARGET"; then
10326 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10329 for as_dir in $PATH
10332 test -z "$as_dir" && as_dir=.
10333 for ac_exec_ext in '' $ac_executable_extensions; do
10334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10335 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10336 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10345 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10346 if test -n "$GFORTRAN_FOR_TARGET"; then
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10348 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10351 $as_echo "no
" >&6; }
10356 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10360 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10362 if test $build = $target ; then
10363 GFORTRAN_FOR_TARGET="$2"
10365 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10368 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10373 cat > conftest.c << \EOF
10378 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10379 have_gcc_for_target=yes
10381 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10382 have_gcc_for_target=no
10389 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10390 if test -n "$with_build_time_tools"; then
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10392 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10393 if test -x $with_build_time_tools/ar; then
10394 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10395 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10397 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10400 $as_echo "no
" >&6; }
10402 elif test $build != $host && test $have_gcc_for_target = yes; then
10403 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10404 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10405 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10408 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10409 # Extract the first word of "ar", so it can be a program name with args.
10410 set dummy ar; ac_word=$2
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10412 $as_echo_n "checking
for $ac_word...
" >&6; }
10413 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10414 $as_echo_n "(cached
) " >&6
10416 case $AR_FOR_TARGET in
10418 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10422 for as_dir in $gcc_cv_tool_dirs
10425 test -z "$as_dir" && as_dir=.
10426 for ac_exec_ext in '' $ac_executable_extensions; do
10427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10428 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10429 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10439 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10440 if test -n "$AR_FOR_TARGET"; then
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10442 $as_echo "$AR_FOR_TARGET" >&6; }
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10445 $as_echo "no
" >&6; }
10450 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10453 if test -n "$AR_FOR_TARGET"; then
10454 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10455 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10456 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10459 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10460 for ncn_progname in ar; do
10461 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10462 set dummy ${ncn_progname}; ac_word=$2
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10464 $as_echo_n "checking
for $ac_word...
" >&6; }
10465 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10466 $as_echo_n "(cached
) " >&6
10468 if test -n "$AR_FOR_TARGET"; then
10469 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10472 for as_dir in $PATH
10475 test -z "$as_dir" && as_dir=.
10476 for ac_exec_ext in '' $ac_executable_extensions; do
10477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10478 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10479 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10488 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10489 if test -n "$AR_FOR_TARGET"; then
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10491 $as_echo "$AR_FOR_TARGET" >&6; }
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10494 $as_echo "no
" >&6; }
10501 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10502 for ncn_progname in ar; do
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10504 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10505 if test -x $with_build_time_tools/${ncn_progname}; then
10506 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10508 $as_echo "yes" >&6; }
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10512 $as_echo "no
" >&6; }
10517 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10518 for ncn_progname in ar; do
10519 if test -n "$ncn_target_tool_prefix"; then
10520 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10521 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10523 $as_echo_n "checking
for $ac_word...
" >&6; }
10524 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10525 $as_echo_n "(cached
) " >&6
10527 if test -n "$AR_FOR_TARGET"; then
10528 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10531 for as_dir in $PATH
10534 test -z "$as_dir" && as_dir=.
10535 for ac_exec_ext in '' $ac_executable_extensions; do
10536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10537 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10538 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10547 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10548 if test -n "$AR_FOR_TARGET"; then
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10550 $as_echo "$AR_FOR_TARGET" >&6; }
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10553 $as_echo "no
" >&6; }
10558 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10559 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10560 set dummy ${ncn_progname}; ac_word=$2
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10562 $as_echo_n "checking
for $ac_word...
" >&6; }
10563 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10564 $as_echo_n "(cached
) " >&6
10566 if test -n "$AR_FOR_TARGET"; then
10567 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10570 for as_dir in $PATH
10573 test -z "$as_dir" && as_dir=.
10574 for ac_exec_ext in '' $ac_executable_extensions; do
10575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10576 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10577 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10586 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10587 if test -n "$AR_FOR_TARGET"; then
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10589 $as_echo "$AR_FOR_TARGET" >&6; }
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10592 $as_echo "no
" >&6; }
10597 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10601 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10603 if test $build = $target ; then
10606 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10609 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10613 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10619 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10620 if test -n "$with_build_time_tools"; then
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10622 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10623 if test -x $with_build_time_tools/as; then
10624 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10625 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10627 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10630 $as_echo "no
" >&6; }
10632 elif test $build != $host && test $have_gcc_for_target = yes; then
10633 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10634 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10635 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10638 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10639 # Extract the first word of "as
", so it can be a program name with args.
10640 set dummy as; ac_word=$2
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10642 $as_echo_n "checking
for $ac_word...
" >&6; }
10643 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10644 $as_echo_n "(cached
) " >&6
10646 case $AS_FOR_TARGET in
10648 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10652 for as_dir in $gcc_cv_tool_dirs
10655 test -z "$as_dir" && as_dir=.
10656 for ac_exec_ext in '' $ac_executable_extensions; do
10657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10658 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10659 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10669 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10670 if test -n "$AS_FOR_TARGET"; then
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10672 $as_echo "$AS_FOR_TARGET" >&6; }
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10675 $as_echo "no
" >&6; }
10680 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10683 if test -n "$AS_FOR_TARGET"; then
10684 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10685 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10686 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10689 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10690 for ncn_progname in as; do
10691 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10692 set dummy ${ncn_progname}; ac_word=$2
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10694 $as_echo_n "checking
for $ac_word...
" >&6; }
10695 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10696 $as_echo_n "(cached
) " >&6
10698 if test -n "$AS_FOR_TARGET"; then
10699 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10702 for as_dir in $PATH
10705 test -z "$as_dir" && as_dir=.
10706 for ac_exec_ext in '' $ac_executable_extensions; do
10707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10708 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10709 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10718 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10719 if test -n "$AS_FOR_TARGET"; then
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10721 $as_echo "$AS_FOR_TARGET" >&6; }
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10724 $as_echo "no
" >&6; }
10731 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10732 for ncn_progname in as; do
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10734 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10735 if test -x $with_build_time_tools/${ncn_progname}; then
10736 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10738 $as_echo "yes" >&6; }
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10742 $as_echo "no
" >&6; }
10747 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10748 for ncn_progname in as; do
10749 if test -n "$ncn_target_tool_prefix"; then
10750 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10751 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10753 $as_echo_n "checking
for $ac_word...
" >&6; }
10754 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10755 $as_echo_n "(cached
) " >&6
10757 if test -n "$AS_FOR_TARGET"; then
10758 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10761 for as_dir in $PATH
10764 test -z "$as_dir" && as_dir=.
10765 for ac_exec_ext in '' $ac_executable_extensions; do
10766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10767 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10777 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10778 if test -n "$AS_FOR_TARGET"; then
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10780 $as_echo "$AS_FOR_TARGET" >&6; }
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10783 $as_echo "no
" >&6; }
10788 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
10789 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10790 set dummy ${ncn_progname}; ac_word=$2
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10792 $as_echo_n "checking
for $ac_word...
" >&6; }
10793 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10794 $as_echo_n "(cached
) " >&6
10796 if test -n "$AS_FOR_TARGET"; then
10797 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10800 for as_dir in $PATH
10803 test -z "$as_dir" && as_dir=.
10804 for ac_exec_ext in '' $ac_executable_extensions; do
10805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10806 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10816 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10817 if test -n "$AS_FOR_TARGET"; then
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10819 $as_echo "$AS_FOR_TARGET" >&6; }
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10822 $as_echo "no
" >&6; }
10827 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
10831 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
10833 if test $build = $target ; then
10836 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
10839 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
10843 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10849 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10850 if test -n "$with_build_time_tools"; then
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
10852 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
10853 if test -x $with_build_time_tools/dlltool; then
10854 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
10855 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
10857 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10860 $as_echo "no
" >&6; }
10862 elif test $build != $host && test $have_gcc_for_target = yes; then
10863 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
10864 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
10865 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10868 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10869 # Extract the first word of "dlltool
", so it can be a program name with args.
10870 set dummy dlltool; ac_word=$2
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10872 $as_echo_n "checking
for $ac_word...
" >&6; }
10873 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
10874 $as_echo_n "(cached
) " >&6
10876 case $DLLTOOL_FOR_TARGET in
10878 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
10881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10882 for as_dir in $gcc_cv_tool_dirs
10885 test -z "$as_dir" && as_dir=.
10886 for ac_exec_ext in '' $ac_executable_extensions; do
10887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10888 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10889 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10899 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10900 if test -n "$DLLTOOL_FOR_TARGET"; then
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
10902 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10905 $as_echo "no
" >&6; }
10910 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10913 if test -n "$DLLTOOL_FOR_TARGET"; then
10914 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10915 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10916 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10919 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10920 for ncn_progname in dlltool; do
10921 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10922 set dummy ${ncn_progname}; ac_word=$2
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10924 $as_echo_n "checking
for $ac_word...
" >&6; }
10925 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10926 $as_echo_n "(cached
) " >&6
10928 if test -n "$DLLTOOL_FOR_TARGET"; then
10929 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10932 for as_dir in $PATH
10935 test -z "$as_dir" && as_dir=.
10936 for ac_exec_ext in '' $ac_executable_extensions; do
10937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10938 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10939 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10948 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10949 if test -n "$DLLTOOL_FOR_TARGET"; then
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
10951 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10954 $as_echo "no
" >&6; }
10961 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
10962 for ncn_progname in dlltool; do
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10964 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10965 if test -x $with_build_time_tools/${ncn_progname}; then
10966 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10968 $as_echo "yes" >&6; }
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10972 $as_echo "no
" >&6; }
10977 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10978 for ncn_progname in dlltool; do
10979 if test -n "$ncn_target_tool_prefix"; then
10980 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10981 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10983 $as_echo_n "checking
for $ac_word...
" >&6; }
10984 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10985 $as_echo_n "(cached
) " >&6
10987 if test -n "$DLLTOOL_FOR_TARGET"; then
10988 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10991 for as_dir in $PATH
10994 test -z "$as_dir" && as_dir=.
10995 for ac_exec_ext in '' $ac_executable_extensions; do
10996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10997 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10998 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11007 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11008 if test -n "$DLLTOOL_FOR_TARGET"; then
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11010 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11013 $as_echo "no
" >&6; }
11018 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11019 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11020 set dummy ${ncn_progname}; ac_word=$2
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11022 $as_echo_n "checking
for $ac_word...
" >&6; }
11023 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11024 $as_echo_n "(cached
) " >&6
11026 if test -n "$DLLTOOL_FOR_TARGET"; then
11027 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11030 for as_dir in $PATH
11033 test -z "$as_dir" && as_dir=.
11034 for ac_exec_ext in '' $ac_executable_extensions; do
11035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11036 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11037 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11046 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11047 if test -n "$DLLTOOL_FOR_TARGET"; then
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11049 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11052 $as_echo "no
" >&6; }
11057 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11061 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11063 if test $build = $target ; then
11064 DLLTOOL_FOR_TARGET="$2"
11066 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11069 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11073 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11079 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11080 if test -n "$with_build_time_tools"; then
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11082 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11083 if test -x $with_build_time_tools/ld; then
11084 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11085 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11087 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11090 $as_echo "no
" >&6; }
11092 elif test $build != $host && test $have_gcc_for_target = yes; then
11093 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11094 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11095 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11098 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11099 # Extract the first word of "ld
", so it can be a program name with args.
11100 set dummy ld; ac_word=$2
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11102 $as_echo_n "checking
for $ac_word...
" >&6; }
11103 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11104 $as_echo_n "(cached
) " >&6
11106 case $LD_FOR_TARGET in
11108 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11112 for as_dir in $gcc_cv_tool_dirs
11115 test -z "$as_dir" && as_dir=.
11116 for ac_exec_ext in '' $ac_executable_extensions; do
11117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11118 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11119 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11129 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11130 if test -n "$LD_FOR_TARGET"; then
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11132 $as_echo "$LD_FOR_TARGET" >&6; }
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11135 $as_echo "no
" >&6; }
11140 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11143 if test -n "$LD_FOR_TARGET"; then
11144 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11145 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11146 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11149 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11150 for ncn_progname in ld; do
11151 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11152 set dummy ${ncn_progname}; ac_word=$2
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11154 $as_echo_n "checking
for $ac_word...
" >&6; }
11155 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11156 $as_echo_n "(cached
) " >&6
11158 if test -n "$LD_FOR_TARGET"; then
11159 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11162 for as_dir in $PATH
11165 test -z "$as_dir" && as_dir=.
11166 for ac_exec_ext in '' $ac_executable_extensions; do
11167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11168 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11169 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11178 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11179 if test -n "$LD_FOR_TARGET"; then
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11181 $as_echo "$LD_FOR_TARGET" >&6; }
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11184 $as_echo "no
" >&6; }
11191 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11192 for ncn_progname in ld; do
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11194 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11195 if test -x $with_build_time_tools/${ncn_progname}; then
11196 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11198 $as_echo "yes" >&6; }
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11202 $as_echo "no
" >&6; }
11207 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11208 for ncn_progname in ld; do
11209 if test -n "$ncn_target_tool_prefix"; then
11210 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11211 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11213 $as_echo_n "checking
for $ac_word...
" >&6; }
11214 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11215 $as_echo_n "(cached
) " >&6
11217 if test -n "$LD_FOR_TARGET"; then
11218 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11221 for as_dir in $PATH
11224 test -z "$as_dir" && as_dir=.
11225 for ac_exec_ext in '' $ac_executable_extensions; do
11226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11227 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11228 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11237 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11238 if test -n "$LD_FOR_TARGET"; then
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11240 $as_echo "$LD_FOR_TARGET" >&6; }
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11243 $as_echo "no
" >&6; }
11248 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11249 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11250 set dummy ${ncn_progname}; ac_word=$2
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11252 $as_echo_n "checking
for $ac_word...
" >&6; }
11253 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11254 $as_echo_n "(cached
) " >&6
11256 if test -n "$LD_FOR_TARGET"; then
11257 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11260 for as_dir in $PATH
11263 test -z "$as_dir" && as_dir=.
11264 for ac_exec_ext in '' $ac_executable_extensions; do
11265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11266 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11267 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11276 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11277 if test -n "$LD_FOR_TARGET"; then
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11279 $as_echo "$LD_FOR_TARGET" >&6; }
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11282 $as_echo "no
" >&6; }
11287 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11291 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11293 if test $build = $target ; then
11296 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11299 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11303 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11309 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11310 if test -n "$with_build_time_tools"; then
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11312 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11313 if test -x $with_build_time_tools/lipo; then
11314 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11315 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11317 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11320 $as_echo "no
" >&6; }
11322 elif test $build != $host && test $have_gcc_for_target = yes; then
11323 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11324 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11325 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11328 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11329 # Extract the first word of "lipo
", so it can be a program name with args.
11330 set dummy lipo; ac_word=$2
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11332 $as_echo_n "checking
for $ac_word...
" >&6; }
11333 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11334 $as_echo_n "(cached
) " >&6
11336 case $LIPO_FOR_TARGET in
11338 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11342 for as_dir in $gcc_cv_tool_dirs
11345 test -z "$as_dir" && as_dir=.
11346 for ac_exec_ext in '' $ac_executable_extensions; do
11347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11348 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11349 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11359 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11360 if test -n "$LIPO_FOR_TARGET"; then
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11362 $as_echo "$LIPO_FOR_TARGET" >&6; }
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11365 $as_echo "no
" >&6; }
11370 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11373 if test -n "$LIPO_FOR_TARGET"; then
11374 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11375 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11376 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11379 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11380 for ncn_progname in lipo; do
11381 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11382 set dummy ${ncn_progname}; ac_word=$2
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11384 $as_echo_n "checking
for $ac_word...
" >&6; }
11385 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11386 $as_echo_n "(cached
) " >&6
11388 if test -n "$LIPO_FOR_TARGET"; then
11389 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11392 for as_dir in $PATH
11395 test -z "$as_dir" && as_dir=.
11396 for ac_exec_ext in '' $ac_executable_extensions; do
11397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11398 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11399 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11408 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11409 if test -n "$LIPO_FOR_TARGET"; then
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11411 $as_echo "$LIPO_FOR_TARGET" >&6; }
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11414 $as_echo "no
" >&6; }
11421 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11422 for ncn_progname in lipo; do
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11424 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11425 if test -x $with_build_time_tools/${ncn_progname}; then
11426 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11428 $as_echo "yes" >&6; }
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11432 $as_echo "no
" >&6; }
11437 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11438 for ncn_progname in lipo; do
11439 if test -n "$ncn_target_tool_prefix"; then
11440 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11441 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11443 $as_echo_n "checking
for $ac_word...
" >&6; }
11444 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11445 $as_echo_n "(cached
) " >&6
11447 if test -n "$LIPO_FOR_TARGET"; then
11448 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11451 for as_dir in $PATH
11454 test -z "$as_dir" && as_dir=.
11455 for ac_exec_ext in '' $ac_executable_extensions; do
11456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11457 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11458 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11467 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11468 if test -n "$LIPO_FOR_TARGET"; then
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11470 $as_echo "$LIPO_FOR_TARGET" >&6; }
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11473 $as_echo "no
" >&6; }
11478 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11479 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11480 set dummy ${ncn_progname}; ac_word=$2
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11482 $as_echo_n "checking
for $ac_word...
" >&6; }
11483 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11484 $as_echo_n "(cached
) " >&6
11486 if test -n "$LIPO_FOR_TARGET"; then
11487 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11490 for as_dir in $PATH
11493 test -z "$as_dir" && as_dir=.
11494 for ac_exec_ext in '' $ac_executable_extensions; do
11495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11496 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11497 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11506 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11507 if test -n "$LIPO_FOR_TARGET"; then
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11509 $as_echo "$LIPO_FOR_TARGET" >&6; }
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11512 $as_echo "no
" >&6; }
11517 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11521 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11523 if test $build = $target ; then
11524 LIPO_FOR_TARGET="$2"
11526 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11529 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11533 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11539 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11540 if test -n "$with_build_time_tools"; then
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11542 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11543 if test -x $with_build_time_tools/nm; then
11544 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11545 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11547 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11550 $as_echo "no
" >&6; }
11552 elif test $build != $host && test $have_gcc_for_target = yes; then
11553 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11554 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11555 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11558 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11559 # Extract the first word of "nm
", so it can be a program name with args.
11560 set dummy nm; ac_word=$2
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11562 $as_echo_n "checking
for $ac_word...
" >&6; }
11563 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11564 $as_echo_n "(cached
) " >&6
11566 case $NM_FOR_TARGET in
11568 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11572 for as_dir in $gcc_cv_tool_dirs
11575 test -z "$as_dir" && as_dir=.
11576 for ac_exec_ext in '' $ac_executable_extensions; do
11577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11578 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11579 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11589 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11590 if test -n "$NM_FOR_TARGET"; then
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11592 $as_echo "$NM_FOR_TARGET" >&6; }
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11595 $as_echo "no
" >&6; }
11600 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11603 if test -n "$NM_FOR_TARGET"; then
11604 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11605 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11606 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11609 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11610 for ncn_progname in nm; do
11611 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11612 set dummy ${ncn_progname}; ac_word=$2
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11614 $as_echo_n "checking
for $ac_word...
" >&6; }
11615 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11616 $as_echo_n "(cached
) " >&6
11618 if test -n "$NM_FOR_TARGET"; then
11619 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11622 for as_dir in $PATH
11625 test -z "$as_dir" && as_dir=.
11626 for ac_exec_ext in '' $ac_executable_extensions; do
11627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11628 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11629 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11638 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11639 if test -n "$NM_FOR_TARGET"; then
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11641 $as_echo "$NM_FOR_TARGET" >&6; }
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11644 $as_echo "no
" >&6; }
11651 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11652 for ncn_progname in nm; do
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11654 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11655 if test -x $with_build_time_tools/${ncn_progname}; then
11656 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11658 $as_echo "yes" >&6; }
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11662 $as_echo "no
" >&6; }
11667 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11668 for ncn_progname in nm; do
11669 if test -n "$ncn_target_tool_prefix"; then
11670 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11671 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11673 $as_echo_n "checking
for $ac_word...
" >&6; }
11674 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11675 $as_echo_n "(cached
) " >&6
11677 if test -n "$NM_FOR_TARGET"; then
11678 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11681 for as_dir in $PATH
11684 test -z "$as_dir" && as_dir=.
11685 for ac_exec_ext in '' $ac_executable_extensions; do
11686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11687 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11688 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11697 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11698 if test -n "$NM_FOR_TARGET"; then
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11700 $as_echo "$NM_FOR_TARGET" >&6; }
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11703 $as_echo "no
" >&6; }
11708 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11709 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11710 set dummy ${ncn_progname}; ac_word=$2
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11712 $as_echo_n "checking
for $ac_word...
" >&6; }
11713 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11714 $as_echo_n "(cached
) " >&6
11716 if test -n "$NM_FOR_TARGET"; then
11717 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11720 for as_dir in $PATH
11723 test -z "$as_dir" && as_dir=.
11724 for ac_exec_ext in '' $ac_executable_extensions; do
11725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11726 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11736 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11737 if test -n "$NM_FOR_TARGET"; then
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11739 $as_echo "$NM_FOR_TARGET" >&6; }
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11742 $as_echo "no
" >&6; }
11747 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11751 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11753 if test $build = $target ; then
11756 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
11759 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
11763 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11769 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11770 if test -n "$with_build_time_tools"; then
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
11772 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
11773 if test -x $with_build_time_tools/objdump; then
11774 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
11775 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
11777 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11780 $as_echo "no
" >&6; }
11782 elif test $build != $host && test $have_gcc_for_target = yes; then
11783 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
11784 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
11785 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11788 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11789 # Extract the first word of "objdump
", so it can be a program name with args.
11790 set dummy objdump; ac_word=$2
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11792 $as_echo_n "checking
for $ac_word...
" >&6; }
11793 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
11794 $as_echo_n "(cached
) " >&6
11796 case $OBJDUMP_FOR_TARGET in
11798 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
11801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11802 for as_dir in $gcc_cv_tool_dirs
11805 test -z "$as_dir" && as_dir=.
11806 for ac_exec_ext in '' $ac_executable_extensions; do
11807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11808 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11819 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11820 if test -n "$OBJDUMP_FOR_TARGET"; then
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11822 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11825 $as_echo "no
" >&6; }
11830 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11833 if test -n "$OBJDUMP_FOR_TARGET"; then
11834 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11835 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11836 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11839 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11840 for ncn_progname in objdump; do
11841 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11842 set dummy ${ncn_progname}; ac_word=$2
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11844 $as_echo_n "checking
for $ac_word...
" >&6; }
11845 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11846 $as_echo_n "(cached
) " >&6
11848 if test -n "$OBJDUMP_FOR_TARGET"; then
11849 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11852 for as_dir in $PATH
11855 test -z "$as_dir" && as_dir=.
11856 for ac_exec_ext in '' $ac_executable_extensions; do
11857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11858 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
11859 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11868 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11869 if test -n "$OBJDUMP_FOR_TARGET"; then
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11871 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11874 $as_echo "no
" >&6; }
11881 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11882 for ncn_progname in objdump; do
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11884 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11885 if test -x $with_build_time_tools/${ncn_progname}; then
11886 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11888 $as_echo "yes" >&6; }
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11892 $as_echo "no
" >&6; }
11897 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11898 for ncn_progname in objdump; do
11899 if test -n "$ncn_target_tool_prefix"; then
11900 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11901 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11903 $as_echo_n "checking
for $ac_word...
" >&6; }
11904 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11905 $as_echo_n "(cached
) " >&6
11907 if test -n "$OBJDUMP_FOR_TARGET"; then
11908 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11911 for as_dir in $PATH
11914 test -z "$as_dir" && as_dir=.
11915 for ac_exec_ext in '' $ac_executable_extensions; do
11916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11917 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11918 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11927 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11928 if test -n "$OBJDUMP_FOR_TARGET"; then
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11930 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11933 $as_echo "no
" >&6; }
11938 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
11939 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11940 set dummy ${ncn_progname}; ac_word=$2
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11942 $as_echo_n "checking
for $ac_word...
" >&6; }
11943 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11944 $as_echo_n "(cached
) " >&6
11946 if test -n "$OBJDUMP_FOR_TARGET"; then
11947 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11950 for as_dir in $PATH
11953 test -z "$as_dir" && as_dir=.
11954 for ac_exec_ext in '' $ac_executable_extensions; do
11955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11956 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
11957 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11966 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11967 if test -n "$OBJDUMP_FOR_TARGET"; then
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11969 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11972 $as_echo "no
" >&6; }
11977 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
11981 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
11983 if test $build = $target ; then
11984 OBJDUMP_FOR_TARGET="$2"
11986 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11989 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
11993 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11999 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12000 if test -n "$with_build_time_tools"; then
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12002 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12003 if test -x $with_build_time_tools/ranlib; then
12004 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12005 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12007 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12010 $as_echo "no
" >&6; }
12012 elif test $build != $host && test $have_gcc_for_target = yes; then
12013 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12014 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12015 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12018 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12019 # Extract the first word of "ranlib
", so it can be a program name with args.
12020 set dummy ranlib; ac_word=$2
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12022 $as_echo_n "checking
for $ac_word...
" >&6; }
12023 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12024 $as_echo_n "(cached
) " >&6
12026 case $RANLIB_FOR_TARGET in
12028 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12032 for as_dir in $gcc_cv_tool_dirs
12035 test -z "$as_dir" && as_dir=.
12036 for ac_exec_ext in '' $ac_executable_extensions; do
12037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12038 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12039 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12049 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12050 if test -n "$RANLIB_FOR_TARGET"; then
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12052 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12055 $as_echo "no
" >&6; }
12060 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12063 if test -n "$RANLIB_FOR_TARGET"; then
12064 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12065 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12066 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12069 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12070 for ncn_progname in ranlib; do
12071 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12072 set dummy ${ncn_progname}; ac_word=$2
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12074 $as_echo_n "checking
for $ac_word...
" >&6; }
12075 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12076 $as_echo_n "(cached
) " >&6
12078 if test -n "$RANLIB_FOR_TARGET"; then
12079 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12082 for as_dir in $PATH
12085 test -z "$as_dir" && as_dir=.
12086 for ac_exec_ext in '' $ac_executable_extensions; do
12087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12088 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12089 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12098 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12099 if test -n "$RANLIB_FOR_TARGET"; then
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12101 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12104 $as_echo "no
" >&6; }
12111 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12112 for ncn_progname in ranlib; do
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12114 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12115 if test -x $with_build_time_tools/${ncn_progname}; then
12116 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12118 $as_echo "yes" >&6; }
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12122 $as_echo "no
" >&6; }
12127 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12128 for ncn_progname in ranlib; do
12129 if test -n "$ncn_target_tool_prefix"; then
12130 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12131 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12133 $as_echo_n "checking
for $ac_word...
" >&6; }
12134 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12135 $as_echo_n "(cached
) " >&6
12137 if test -n "$RANLIB_FOR_TARGET"; then
12138 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12141 for as_dir in $PATH
12144 test -z "$as_dir" && as_dir=.
12145 for ac_exec_ext in '' $ac_executable_extensions; do
12146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12147 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12148 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12157 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12158 if test -n "$RANLIB_FOR_TARGET"; then
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12160 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12163 $as_echo "no
" >&6; }
12168 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12169 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12170 set dummy ${ncn_progname}; ac_word=$2
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12172 $as_echo_n "checking
for $ac_word...
" >&6; }
12173 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12174 $as_echo_n "(cached
) " >&6
12176 if test -n "$RANLIB_FOR_TARGET"; then
12177 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12180 for as_dir in $PATH
12183 test -z "$as_dir" && as_dir=.
12184 for ac_exec_ext in '' $ac_executable_extensions; do
12185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12186 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12187 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12196 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12197 if test -n "$RANLIB_FOR_TARGET"; then
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12199 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12202 $as_echo "no
" >&6; }
12207 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12211 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12213 if test $build = $target ; then
12214 RANLIB_FOR_TARGET="$2"
12216 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12219 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12223 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12229 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12230 if test -n "$with_build_time_tools"; then
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12232 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12233 if test -x $with_build_time_tools/strip; then
12234 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12235 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12237 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12240 $as_echo "no
" >&6; }
12242 elif test $build != $host && test $have_gcc_for_target = yes; then
12243 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12244 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12245 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12248 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12249 # Extract the first word of "strip
", so it can be a program name with args.
12250 set dummy strip; ac_word=$2
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12252 $as_echo_n "checking
for $ac_word...
" >&6; }
12253 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12254 $as_echo_n "(cached
) " >&6
12256 case $STRIP_FOR_TARGET in
12258 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12262 for as_dir in $gcc_cv_tool_dirs
12265 test -z "$as_dir" && as_dir=.
12266 for ac_exec_ext in '' $ac_executable_extensions; do
12267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12268 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12269 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12279 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12280 if test -n "$STRIP_FOR_TARGET"; then
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12282 $as_echo "$STRIP_FOR_TARGET" >&6; }
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12285 $as_echo "no
" >&6; }
12290 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12293 if test -n "$STRIP_FOR_TARGET"; then
12294 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12295 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12296 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12299 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12300 for ncn_progname in strip; do
12301 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12302 set dummy ${ncn_progname}; ac_word=$2
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12304 $as_echo_n "checking
for $ac_word...
" >&6; }
12305 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12306 $as_echo_n "(cached
) " >&6
12308 if test -n "$STRIP_FOR_TARGET"; then
12309 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12312 for as_dir in $PATH
12315 test -z "$as_dir" && as_dir=.
12316 for ac_exec_ext in '' $ac_executable_extensions; do
12317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12318 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12319 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12328 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12329 if test -n "$STRIP_FOR_TARGET"; then
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12331 $as_echo "$STRIP_FOR_TARGET" >&6; }
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12334 $as_echo "no
" >&6; }
12341 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12342 for ncn_progname in strip; do
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12344 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12345 if test -x $with_build_time_tools/${ncn_progname}; then
12346 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12348 $as_echo "yes" >&6; }
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12352 $as_echo "no
" >&6; }
12357 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12358 for ncn_progname in strip; do
12359 if test -n "$ncn_target_tool_prefix"; then
12360 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12361 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12363 $as_echo_n "checking
for $ac_word...
" >&6; }
12364 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12365 $as_echo_n "(cached
) " >&6
12367 if test -n "$STRIP_FOR_TARGET"; then
12368 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12371 for as_dir in $PATH
12374 test -z "$as_dir" && as_dir=.
12375 for ac_exec_ext in '' $ac_executable_extensions; do
12376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12377 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12378 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12387 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12388 if test -n "$STRIP_FOR_TARGET"; then
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12390 $as_echo "$STRIP_FOR_TARGET" >&6; }
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12393 $as_echo "no
" >&6; }
12398 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12399 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12400 set dummy ${ncn_progname}; ac_word=$2
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12402 $as_echo_n "checking
for $ac_word...
" >&6; }
12403 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12404 $as_echo_n "(cached
) " >&6
12406 if test -n "$STRIP_FOR_TARGET"; then
12407 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12410 for as_dir in $PATH
12413 test -z "$as_dir" && as_dir=.
12414 for ac_exec_ext in '' $ac_executable_extensions; do
12415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12416 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12417 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12426 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12427 if test -n "$STRIP_FOR_TARGET"; then
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12429 $as_echo "$STRIP_FOR_TARGET" >&6; }
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12432 $as_echo "no
" >&6; }
12437 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12441 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12443 if test $build = $target ; then
12444 STRIP_FOR_TARGET="$2"
12446 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12449 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12453 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12459 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12460 if test -n "$with_build_time_tools"; then
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12462 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12463 if test -x $with_build_time_tools/windres; then
12464 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12465 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12467 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12470 $as_echo "no
" >&6; }
12472 elif test $build != $host && test $have_gcc_for_target = yes; then
12473 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12474 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12475 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12478 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12479 # Extract the first word of "windres
", so it can be a program name with args.
12480 set dummy windres; ac_word=$2
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12482 $as_echo_n "checking
for $ac_word...
" >&6; }
12483 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12484 $as_echo_n "(cached
) " >&6
12486 case $WINDRES_FOR_TARGET in
12488 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12492 for as_dir in $gcc_cv_tool_dirs
12495 test -z "$as_dir" && as_dir=.
12496 for ac_exec_ext in '' $ac_executable_extensions; do
12497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12498 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12499 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12509 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12510 if test -n "$WINDRES_FOR_TARGET"; then
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12512 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12515 $as_echo "no
" >&6; }
12520 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12523 if test -n "$WINDRES_FOR_TARGET"; then
12524 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12525 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12526 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12529 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12530 for ncn_progname in windres; do
12531 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12532 set dummy ${ncn_progname}; ac_word=$2
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12534 $as_echo_n "checking
for $ac_word...
" >&6; }
12535 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12536 $as_echo_n "(cached
) " >&6
12538 if test -n "$WINDRES_FOR_TARGET"; then
12539 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12542 for as_dir in $PATH
12545 test -z "$as_dir" && as_dir=.
12546 for ac_exec_ext in '' $ac_executable_extensions; do
12547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12548 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12549 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12558 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12559 if test -n "$WINDRES_FOR_TARGET"; then
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12561 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12564 $as_echo "no
" >&6; }
12571 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12572 for ncn_progname in windres; do
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12574 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12575 if test -x $with_build_time_tools/${ncn_progname}; then
12576 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12578 $as_echo "yes" >&6; }
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12582 $as_echo "no
" >&6; }
12587 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12588 for ncn_progname in windres; do
12589 if test -n "$ncn_target_tool_prefix"; then
12590 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12591 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12593 $as_echo_n "checking
for $ac_word...
" >&6; }
12594 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12595 $as_echo_n "(cached
) " >&6
12597 if test -n "$WINDRES_FOR_TARGET"; then
12598 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12601 for as_dir in $PATH
12604 test -z "$as_dir" && as_dir=.
12605 for ac_exec_ext in '' $ac_executable_extensions; do
12606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12607 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12608 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12617 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12618 if test -n "$WINDRES_FOR_TARGET"; then
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12620 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12623 $as_echo "no
" >&6; }
12628 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12629 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12630 set dummy ${ncn_progname}; ac_word=$2
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12632 $as_echo_n "checking
for $ac_word...
" >&6; }
12633 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12634 $as_echo_n "(cached
) " >&6
12636 if test -n "$WINDRES_FOR_TARGET"; then
12637 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12640 for as_dir in $PATH
12643 test -z "$as_dir" && as_dir=.
12644 for ac_exec_ext in '' $ac_executable_extensions; do
12645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12646 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12656 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12657 if test -n "$WINDRES_FOR_TARGET"; then
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12659 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12662 $as_echo "no
" >&6; }
12667 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12671 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12673 if test $build = $target ; then
12674 WINDRES_FOR_TARGET="$2"
12676 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12679 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12683 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12689 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12690 if test -n "$with_build_time_tools"; then
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
12692 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
12693 if test -x $with_build_time_tools/windmc; then
12694 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
12695 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
12697 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12700 $as_echo "no
" >&6; }
12702 elif test $build != $host && test $have_gcc_for_target = yes; then
12703 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
12704 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
12705 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12708 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12709 # Extract the first word of "windmc
", so it can be a program name with args.
12710 set dummy windmc; ac_word=$2
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12712 $as_echo_n "checking
for $ac_word...
" >&6; }
12713 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
12714 $as_echo_n "(cached
) " >&6
12716 case $WINDMC_FOR_TARGET in
12718 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
12721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12722 for as_dir in $gcc_cv_tool_dirs
12725 test -z "$as_dir" && as_dir=.
12726 for ac_exec_ext in '' $ac_executable_extensions; do
12727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12728 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12729 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12739 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12740 if test -n "$WINDMC_FOR_TARGET"; then
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12742 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12745 $as_echo "no
" >&6; }
12750 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12753 if test -n "$WINDMC_FOR_TARGET"; then
12754 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12755 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12756 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12759 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12760 for ncn_progname in windmc; do
12761 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12762 set dummy ${ncn_progname}; ac_word=$2
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12764 $as_echo_n "checking
for $ac_word...
" >&6; }
12765 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12766 $as_echo_n "(cached
) " >&6
12768 if test -n "$WINDMC_FOR_TARGET"; then
12769 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12772 for as_dir in $PATH
12775 test -z "$as_dir" && as_dir=.
12776 for ac_exec_ext in '' $ac_executable_extensions; do
12777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12778 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12779 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12788 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12789 if test -n "$WINDMC_FOR_TARGET"; then
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12791 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12794 $as_echo "no
" >&6; }
12801 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12802 for ncn_progname in windmc; do
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12804 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12805 if test -x $with_build_time_tools/${ncn_progname}; then
12806 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12808 $as_echo "yes" >&6; }
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12812 $as_echo "no
" >&6; }
12817 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12818 for ncn_progname in windmc; do
12819 if test -n "$ncn_target_tool_prefix"; then
12820 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12821 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12823 $as_echo_n "checking
for $ac_word...
" >&6; }
12824 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12825 $as_echo_n "(cached
) " >&6
12827 if test -n "$WINDMC_FOR_TARGET"; then
12828 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12831 for as_dir in $PATH
12834 test -z "$as_dir" && as_dir=.
12835 for ac_exec_ext in '' $ac_executable_extensions; do
12836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12837 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12838 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12847 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12848 if test -n "$WINDMC_FOR_TARGET"; then
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12850 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12853 $as_echo "no
" >&6; }
12858 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
12859 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12860 set dummy ${ncn_progname}; ac_word=$2
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12862 $as_echo_n "checking
for $ac_word...
" >&6; }
12863 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12864 $as_echo_n "(cached
) " >&6
12866 if test -n "$WINDMC_FOR_TARGET"; then
12867 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12870 for as_dir in $PATH
12873 test -z "$as_dir" && as_dir=.
12874 for ac_exec_ext in '' $ac_executable_extensions; do
12875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12876 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12877 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12886 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12887 if test -n "$WINDMC_FOR_TARGET"; then
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12889 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12892 $as_echo "no
" >&6; }
12897 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
12901 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
12903 if test $build = $target ; then
12904 WINDMC_FOR_TARGET="$2"
12906 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
12909 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
12913 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12917 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
12920 $as_echo_n "checking where to
find the target
ar...
" >&6; }
12921 if test "x
${build}" != "x
${host}" ; then
12922 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
12923 # We already found the complete path
12924 ac_dir=`dirname $AR_FOR_TARGET`
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12926 $as_echo "pre-installed
in $ac_dir" >&6; }
12928 # Canadian cross, just use what we found
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12930 $as_echo "pre-installed
" >&6; }
12934 case " ${configdirs} " in
12939 if test $ok = yes; then
12940 # An in-tree tool is available and we can use it
12941 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12943 $as_echo "just compiled
" >&6; }
12944 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
12945 # We already found the complete path
12946 ac_dir=`dirname $AR_FOR_TARGET`
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12948 $as_echo "pre-installed
in $ac_dir" >&6; }
12949 elif test "x
$target" = "x
$host"; then
12950 # We can use an host tool
12951 AR_FOR_TARGET='$(AR)'
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12953 $as_echo "host tool
" >&6; }
12955 # We need a cross tool
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12957 $as_echo "pre-installed
" >&6; }
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
12962 $as_echo_n "checking where to
find the target as...
" >&6; }
12963 if test "x
${build}" != "x
${host}" ; then
12964 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
12965 # We already found the complete path
12966 ac_dir=`dirname $AS_FOR_TARGET`
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12968 $as_echo "pre-installed
in $ac_dir" >&6; }
12970 # Canadian cross, just use what we found
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12972 $as_echo "pre-installed
" >&6; }
12976 case " ${configdirs} " in
12981 if test $ok = yes; then
12982 # An in-tree tool is available and we can use it
12983 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12985 $as_echo "just compiled
" >&6; }
12986 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
12987 # We already found the complete path
12988 ac_dir=`dirname $AS_FOR_TARGET`
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12990 $as_echo "pre-installed
in $ac_dir" >&6; }
12991 elif test "x
$target" = "x
$host"; then
12992 # We can use an host tool
12993 AS_FOR_TARGET='$(AS)'
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12995 $as_echo "host tool
" >&6; }
12997 # We need a cross tool
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12999 $as_echo "pre-installed
" >&6; }
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13004 $as_echo_n "checking where to
find the target cc...
" >&6; }
13005 if test "x
${build}" != "x
${host}" ; then
13006 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13007 # We already found the complete path
13008 ac_dir=`dirname $CC_FOR_TARGET`
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13010 $as_echo "pre-installed
in $ac_dir" >&6; }
13012 # Canadian cross, just use what we found
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13014 $as_echo "pre-installed
" >&6; }
13018 case " ${configdirs} " in
13023 if test $ok = yes; then
13024 # An in-tree tool is available and we can use it
13025 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13027 $as_echo "just compiled
" >&6; }
13028 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13029 # We already found the complete path
13030 ac_dir=`dirname $CC_FOR_TARGET`
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13032 $as_echo "pre-installed
in $ac_dir" >&6; }
13033 elif test "x
$target" = "x
$host"; then
13034 # We can use an host tool
13035 CC_FOR_TARGET='$(CC)'
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13037 $as_echo "host tool
" >&6; }
13039 # We need a cross tool
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13041 $as_echo "pre-installed
" >&6; }
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13046 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13047 if test "x
${build}" != "x
${host}" ; then
13048 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13049 # We already found the complete path
13050 ac_dir=`dirname $CXX_FOR_TARGET`
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13052 $as_echo "pre-installed
in $ac_dir" >&6; }
13054 # Canadian cross, just use what we found
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13056 $as_echo "pre-installed
" >&6; }
13060 case " ${configdirs} " in
13064 case ,${enable_languages}, in
13068 if test $ok = yes; then
13069 # An in-tree tool is available and we can use it
13070 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'
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13072 $as_echo "just compiled
" >&6; }
13073 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13074 # We already found the complete path
13075 ac_dir=`dirname $CXX_FOR_TARGET`
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13077 $as_echo "pre-installed
in $ac_dir" >&6; }
13078 elif test "x
$target" = "x
$host"; then
13079 # We can use an host tool
13080 CXX_FOR_TARGET='$(CXX)'
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13082 $as_echo "host tool
" >&6; }
13084 # We need a cross tool
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13086 $as_echo "pre-installed
" >&6; }
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13091 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13092 if test "x
${build}" != "x
${host}" ; then
13093 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13094 # We already found the complete path
13095 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13097 $as_echo "pre-installed
in $ac_dir" >&6; }
13099 # Canadian cross, just use what we found
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13101 $as_echo "pre-installed
" >&6; }
13105 case " ${configdirs} " in
13109 case ,${enable_languages}, in
13113 if test $ok = yes; then
13114 # An in-tree tool is available and we can use it
13115 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'
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13117 $as_echo "just compiled
" >&6; }
13118 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13119 # We already found the complete path
13120 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13122 $as_echo "pre-installed
in $ac_dir" >&6; }
13123 elif test "x
$target" = "x
$host"; then
13124 # We can use an host tool
13125 RAW_CXX_FOR_TARGET='$(CXX)'
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13127 $as_echo "host tool
" >&6; }
13129 # We need a cross tool
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13131 $as_echo "pre-installed
" >&6; }
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13136 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13137 if test "x
${build}" != "x
${host}" ; then
13138 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13139 # We already found the complete path
13140 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13142 $as_echo "pre-installed
in $ac_dir" >&6; }
13144 # Canadian cross, just use what we found
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13146 $as_echo "pre-installed
" >&6; }
13150 case " ${configdirs} " in
13155 if test $ok = yes; then
13156 # An in-tree tool is available and we can use it
13157 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13159 $as_echo "just compiled
" >&6; }
13160 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13161 # We already found the complete path
13162 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13164 $as_echo "pre-installed
in $ac_dir" >&6; }
13165 elif test "x
$target" = "x
$host"; then
13166 # We can use an host tool
13167 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13169 $as_echo "host tool
" >&6; }
13171 # We need a cross tool
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13173 $as_echo "pre-installed
" >&6; }
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13178 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13179 if test "x
${build}" != "x
${host}" ; then
13180 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13181 # We already found the complete path
13182 ac_dir=`dirname $GCC_FOR_TARGET`
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13184 $as_echo "pre-installed
in $ac_dir" >&6; }
13186 # Canadian cross, just use what we found
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13188 $as_echo "pre-installed
" >&6; }
13192 case " ${configdirs} " in
13197 if test $ok = yes; then
13198 # An in-tree tool is available and we can use it
13199 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13201 $as_echo "just compiled
" >&6; }
13202 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13203 # We already found the complete path
13204 ac_dir=`dirname $GCC_FOR_TARGET`
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13206 $as_echo "pre-installed
in $ac_dir" >&6; }
13207 elif test "x
$target" = "x
$host"; then
13208 # We can use an host tool
13209 GCC_FOR_TARGET='$()'
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13211 $as_echo "host tool
" >&6; }
13213 # We need a cross tool
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13215 $as_echo "pre-installed
" >&6; }
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13220 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13221 if test "x
${build}" != "x
${host}" ; then
13222 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13223 # We already found the complete path
13224 ac_dir=`dirname $GCJ_FOR_TARGET`
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13226 $as_echo "pre-installed
in $ac_dir" >&6; }
13228 # Canadian cross, just use what we found
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13230 $as_echo "pre-installed
" >&6; }
13234 case " ${configdirs} " in
13238 case ,${enable_languages}, in
13242 if test $ok = yes; then
13243 # An in-tree tool is available and we can use it
13244 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13246 $as_echo "just compiled
" >&6; }
13247 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13248 # We already found the complete path
13249 ac_dir=`dirname $GCJ_FOR_TARGET`
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13251 $as_echo "pre-installed
in $ac_dir" >&6; }
13252 elif test "x
$target" = "x
$host"; then
13253 # We can use an host tool
13254 GCJ_FOR_TARGET='$(GCJ)'
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13256 $as_echo "host tool
" >&6; }
13258 # We need a cross tool
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13260 $as_echo "pre-installed
" >&6; }
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13265 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13266 if test "x
${build}" != "x
${host}" ; then
13267 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13268 # We already found the complete path
13269 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13271 $as_echo "pre-installed
in $ac_dir" >&6; }
13273 # Canadian cross, just use what we found
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13275 $as_echo "pre-installed
" >&6; }
13279 case " ${configdirs} " in
13283 case ,${enable_languages}, in
13287 if test $ok = yes; then
13288 # An in-tree tool is available and we can use it
13289 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13291 $as_echo "just compiled
" >&6; }
13292 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13293 # We already found the complete path
13294 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13296 $as_echo "pre-installed
in $ac_dir" >&6; }
13297 elif test "x
$target" = "x
$host"; then
13298 # We can use an host tool
13299 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13301 $as_echo "host tool
" >&6; }
13303 # We need a cross tool
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13305 $as_echo "pre-installed
" >&6; }
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13310 $as_echo_n "checking where to
find the target ld...
" >&6; }
13311 if test "x
${build}" != "x
${host}" ; then
13312 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13313 # We already found the complete path
13314 ac_dir=`dirname $LD_FOR_TARGET`
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13316 $as_echo "pre-installed
in $ac_dir" >&6; }
13318 # Canadian cross, just use what we found
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13320 $as_echo "pre-installed
" >&6; }
13324 case " ${configdirs} " in
13329 if test $ok = yes; then
13330 # An in-tree tool is available and we can use it
13331 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13333 $as_echo "just compiled
" >&6; }
13334 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13335 # We already found the complete path
13336 ac_dir=`dirname $LD_FOR_TARGET`
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13338 $as_echo "pre-installed
in $ac_dir" >&6; }
13339 elif test "x
$target" = "x
$host"; then
13340 # We can use an host tool
13341 LD_FOR_TARGET='$(LD)'
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13343 $as_echo "host tool
" >&6; }
13345 # We need a cross tool
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13347 $as_echo "pre-installed
" >&6; }
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13352 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13353 if test "x
${build}" != "x
${host}" ; then
13354 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13355 # We already found the complete path
13356 ac_dir=`dirname $LIPO_FOR_TARGET`
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13358 $as_echo "pre-installed
in $ac_dir" >&6; }
13360 # Canadian cross, just use what we found
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13362 $as_echo "pre-installed
" >&6; }
13365 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13366 # We already found the complete path
13367 ac_dir=`dirname $LIPO_FOR_TARGET`
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13369 $as_echo "pre-installed
in $ac_dir" >&6; }
13370 elif test "x
$target" = "x
$host"; then
13371 # We can use an host tool
13372 LIPO_FOR_TARGET='$(LIPO)'
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13374 $as_echo "host tool
" >&6; }
13376 # We need a cross tool
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13378 $as_echo "pre-installed
" >&6; }
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
13383 $as_echo_n "checking where to
find the target nm...
" >&6; }
13384 if test "x
${build}" != "x
${host}" ; then
13385 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13386 # We already found the complete path
13387 ac_dir=`dirname $NM_FOR_TARGET`
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13389 $as_echo "pre-installed
in $ac_dir" >&6; }
13391 # Canadian cross, just use what we found
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13393 $as_echo "pre-installed
" >&6; }
13397 case " ${configdirs} " in
13402 if test $ok = yes; then
13403 # An in-tree tool is available and we can use it
13404 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13406 $as_echo "just compiled
" >&6; }
13407 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13408 # We already found the complete path
13409 ac_dir=`dirname $NM_FOR_TARGET`
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13411 $as_echo "pre-installed
in $ac_dir" >&6; }
13412 elif test "x
$target" = "x
$host"; then
13413 # We can use an host tool
13414 NM_FOR_TARGET='$(NM)'
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13416 $as_echo "host tool
" >&6; }
13418 # We need a cross tool
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13420 $as_echo "pre-installed
" >&6; }
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
13425 $as_echo_n "checking where to
find the target objdump...
" >&6; }
13426 if test "x
${build}" != "x
${host}" ; then
13427 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13428 # We already found the complete path
13429 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13431 $as_echo "pre-installed
in $ac_dir" >&6; }
13433 # Canadian cross, just use what we found
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13435 $as_echo "pre-installed
" >&6; }
13439 case " ${configdirs} " in
13444 if test $ok = yes; then
13445 # An in-tree tool is available and we can use it
13446 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13448 $as_echo "just compiled
" >&6; }
13449 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13450 # We already found the complete path
13451 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13453 $as_echo "pre-installed
in $ac_dir" >&6; }
13454 elif test "x
$target" = "x
$host"; then
13455 # We can use an host tool
13456 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13458 $as_echo "host tool
" >&6; }
13460 # We need a cross tool
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13462 $as_echo "pre-installed
" >&6; }
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
13467 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
13468 if test "x
${build}" != "x
${host}" ; then
13469 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13470 # We already found the complete path
13471 ac_dir=`dirname $RANLIB_FOR_TARGET`
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13473 $as_echo "pre-installed
in $ac_dir" >&6; }
13475 # Canadian cross, just use what we found
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13477 $as_echo "pre-installed
" >&6; }
13481 case " ${configdirs} " in
13486 if test $ok = yes; then
13487 # An in-tree tool is available and we can use it
13488 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13490 $as_echo "just compiled
" >&6; }
13491 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13492 # We already found the complete path
13493 ac_dir=`dirname $RANLIB_FOR_TARGET`
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13495 $as_echo "pre-installed
in $ac_dir" >&6; }
13496 elif test "x
$target" = "x
$host"; then
13497 # We can use an host tool
13498 RANLIB_FOR_TARGET='$(RANLIB)'
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13500 $as_echo "host tool
" >&6; }
13502 # We need a cross tool
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13504 $as_echo "pre-installed
" >&6; }
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
13509 $as_echo_n "checking where to
find the target strip...
" >&6; }
13510 if test "x
${build}" != "x
${host}" ; then
13511 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13512 # We already found the complete path
13513 ac_dir=`dirname $STRIP_FOR_TARGET`
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13515 $as_echo "pre-installed
in $ac_dir" >&6; }
13517 # Canadian cross, just use what we found
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13519 $as_echo "pre-installed
" >&6; }
13523 case " ${configdirs} " in
13528 if test $ok = yes; then
13529 # An in-tree tool is available and we can use it
13530 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13532 $as_echo "just compiled
" >&6; }
13533 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13534 # We already found the complete path
13535 ac_dir=`dirname $STRIP_FOR_TARGET`
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13537 $as_echo "pre-installed
in $ac_dir" >&6; }
13538 elif test "x
$target" = "x
$host"; then
13539 # We can use an host tool
13540 STRIP_FOR_TARGET='$(STRIP)'
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13542 $as_echo "host tool
" >&6; }
13544 # We need a cross tool
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13546 $as_echo "pre-installed
" >&6; }
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
13551 $as_echo_n "checking where to
find the target windres...
" >&6; }
13552 if test "x
${build}" != "x
${host}" ; then
13553 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13554 # We already found the complete path
13555 ac_dir=`dirname $WINDRES_FOR_TARGET`
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13557 $as_echo "pre-installed
in $ac_dir" >&6; }
13559 # Canadian cross, just use what we found
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13561 $as_echo "pre-installed
" >&6; }
13565 case " ${configdirs} " in
13570 if test $ok = yes; then
13571 # An in-tree tool is available and we can use it
13572 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13574 $as_echo "just compiled
" >&6; }
13575 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13576 # We already found the complete path
13577 ac_dir=`dirname $WINDRES_FOR_TARGET`
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13579 $as_echo "pre-installed
in $ac_dir" >&6; }
13580 elif test "x
$target" = "x
$host"; then
13581 # We can use an host tool
13582 WINDRES_FOR_TARGET='$(WINDRES)'
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13584 $as_echo "host tool
" >&6; }
13586 # We need a cross tool
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13588 $as_echo "pre-installed
" >&6; }
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
13593 $as_echo_n "checking where to
find the target windmc...
" >&6; }
13594 if test "x
${build}" != "x
${host}" ; then
13595 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13596 # We already found the complete path
13597 ac_dir=`dirname $WINDMC_FOR_TARGET`
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13599 $as_echo "pre-installed
in $ac_dir" >&6; }
13601 # Canadian cross, just use what we found
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13603 $as_echo "pre-installed
" >&6; }
13607 case " ${configdirs} " in
13612 if test $ok = yes; then
13613 # An in-tree tool is available and we can use it
13614 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13616 $as_echo "just compiled
" >&6; }
13617 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13618 # We already found the complete path
13619 ac_dir=`dirname $WINDMC_FOR_TARGET`
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13621 $as_echo "pre-installed
in $ac_dir" >&6; }
13622 elif test "x
$target" = "x
$host"; then
13623 # We can use an host tool
13624 WINDMC_FOR_TARGET='$(WINDMC)'
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13626 $as_echo "host tool
" >&6; }
13628 # We need a cross tool
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13630 $as_echo "pre-installed
" >&6; }
13638 # Certain tools may need extra flags.
13639 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13640 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13641 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13643 # When building target libraries, except in a Canadian cross, we use
13644 # the same toolchain as the compiler we just built.
13645 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
13646 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
13647 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
13648 if test $host = $build; then
13649 case " $configdirs " in
13651 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
13652 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
13653 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
13663 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
13664 # Check whether --enable-maintainer-mode was given.
13665 if test "${enable_maintainer_mode+set}" = set; then :
13666 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13668 USE_MAINTAINER_MODE=no
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
13672 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13675 if test "$USE_MAINTAINER_MODE" = yes; then
13676 MAINTAINER_MODE_TRUE=
13677 MAINTAINER_MODE_FALSE='#'
13679 MAINTAINER_MODE_TRUE='#'
13680 MAINTAINER_MODE_FALSE=
13682 MAINT=$MAINTAINER_MODE_TRUE
13684 # ---------------------
13685 # GCC bootstrap support
13686 # ---------------------
13688 # Stage specific cflags for build.
13693 yes) stage1_cflags="-g -Wa,-J" ;;
13694 *) stage1_cflags="-g -J" ;;
13698 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
13699 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
13700 saved_CFLAGS="$CFLAGS"
13702 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
13703 CFLAGS="$CFLAGS -fkeep-inline-functions"
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
13705 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
13706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13707 /* end confdefs.h. */
13709 #if (__GNUC__ < 3) \
13710 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
13711 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
13712 #error http://gcc.gnu.org/PR29382
13723 if ac_fn_c_try_compile "$LINENO"; then :
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13725 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13728 $as_echo "no
" >&6; }
13730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13732 CFLAGS="$saved_CFLAGS"
13737 # Enable --enable-checking in stage1 of the compiler.
13738 # Check whether --enable-stage1-checking was given.
13739 if test "${enable_stage1_checking+set}" = set; then :
13740 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
13742 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
13743 stage1_checking=--enable-checking=yes,types
13745 stage1_checking=--enable-checking=$enable_checking,types
13751 # Enable -Werror in bootstrap stage2 and later.
13752 # Check whether --enable-werror was given.
13753 if test "${enable_werror+set}" = set; then :
13754 enableval=$enable_werror;
13756 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
13763 case ${enable_werror} in
13764 yes) stage2_werror_flag="--enable-werror-always" ;;
13765 *) stage2_werror_flag="" ;;
13769 # Specify what files to not compare during bootstrap.
13771 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
13773 hppa*64*-*-hpux*) ;;
13774 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
13776 case " $configdirs " in
13777 *" ppl
"*) compare_exclusions="$compare_exclusions | ppl
/src
/ppl-config.o
" ;;
13781 ac_config_files="$ac_config_files Makefile
"
13783 cat >confcache <<\_ACEOF
13784 # This file is a shell script that caches the results of configure
13785 # tests run on this system so they can be shared between configure
13786 # scripts and configure runs, see configure's option --config-cache.
13787 # It is not useful on other systems. If it contains results you don't
13788 # want to keep, you may remove or edit it.
13790 # config.status only pays attention to the cache file if you give it
13791 # the --recheck option to rerun configure.
13793 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13794 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13795 # following values.
13799 # The following way of writing the cache mishandles newlines in values,
13800 # but we know of no workaround that is simple, portable, and efficient.
13801 # So, we kill variables containing newlines.
13802 # Ultrix sh set writes to stderr and can't be redirected directly,
13803 # and sets the high bit in the cache file unless we assign to the vars.
13805 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13806 eval ac_val=\$$ac_var
13810 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
13811 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
13814 _ | IFS | as_nl) ;; #(
13815 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13816 *) { eval $ac_var=; unset $ac_var;} ;;
13822 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13823 *${as_nl}ac_space=\ *)
13824 # `set' does not quote correctly, so add quotes: double-quote
13825 # substitution turns \\\\ into \\, and sed turns \\ into \.
13828 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
13831 # `set' quotes correctly as required by POSIX, so do not add quotes.
13832 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
13841 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13843 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13845 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13846 if test -w "$cache_file"; then
13847 test "x
$cache_file" != "x
/dev
/null
" &&
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
13849 $as_echo "$as_me: updating cache
$cache_file" >&6;}
13850 cat confcache >$cache_file
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
13853 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
13858 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
13859 # Let make expand exec_prefix.
13860 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
13862 # Transform confdefs.h into DEFS.
13863 # Protect against shell expansion while executing Makefile rules.
13864 # Protect against Makefile macro expansion.
13866 # If the first sed substitution is executed (which looks for macros that
13867 # take arguments), then branch to the quote section. Otherwise,
13868 # look for a macro that doesn't take arguments.
13878 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
13880 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
13884 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
13897 DEFS=`sed -n "$ac_script" confdefs.h`
13902 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13903 # 1. Remove the extension, and $U if already installed.
13904 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
13905 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13906 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13907 # will be set to the directory where LIBOBJS objects are built.
13908 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13909 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
13911 LIBOBJS=$ac_libobjs
13913 LTLIBOBJS=$ac_ltlibobjs
13917 : ${CONFIG_STATUS=./config.status}
13919 ac_clean_files_save=$ac_clean_files
13920 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13922 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13924 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13926 # Generated by $as_me.
13927 # Run this file to recreate the current configuration.
13928 # Compiler output produced by configure, useful for debugging
13929 # configure, is in config.log if it exists.
13932 ac_cs_recheck=false
13935 SHELL=\${CONFIG_SHELL-$SHELL}
13938 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13939 ## -------------------- ##
13940 ## M4sh Initialization. ##
13941 ## -------------------- ##
13943 # Be more Bourne compatible
13944 DUALCASE=1; export DUALCASE # for MKS sh
13945 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13948 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13949 # is contrary to our usage. Disable this feature.
13950 alias -g '${1+"$@"}'='"$@"'
13951 setopt NO_GLOB_SUBST
13953 case `(set -o) 2>/dev/null` in #(
13965 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13966 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13967 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
13968 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13969 # Prefer a ksh shell builtin over an external printf program on Solaris,
13970 # but without wasting forks for bash or zsh.
13971 if test -z "$BASH_VERSION$ZSH_VERSION" \
13972 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
13973 as_echo
='print -r --'
13974 as_echo_n
='print -rn --'
13975 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
13976 as_echo
='printf %s\n'
13977 as_echo_n
='printf %s'
13979 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13980 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
13981 as_echo_n
='/usr/ucb/echo -n'
13983 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
13984 as_echo_n_body
='eval
13988 expr "X$arg" : "X\\(.*\\)$as_nl";
13989 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13991 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13993 export as_echo_n_body
13994 as_echo_n
='sh -c $as_echo_n_body as_echo'
13996 export as_echo_body
13997 as_echo
='sh -c $as_echo_body as_echo'
14000 # The user is always right.
14001 if test "${PATH_SEPARATOR+set}" != set; then
14003 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14004 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14011 # We need space, tab and new line, in precisely that order. Quoting is
14012 # there to prevent editors from complaining about space-tab.
14013 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14014 # splitting by setting IFS to empty value.)
14017 # Find who we are. Look in the path if we contain no directory separator.
14019 *[\\/]* ) as_myself
=$0 ;;
14020 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14021 for as_dir
in $PATH
14024 test -z "$as_dir" && as_dir
=.
14025 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14031 # We did not find ourselves, most probably we were run as `sh COMMAND'
14032 # in which case we are not to be found in the path.
14033 if test "x$as_myself" = x
; then
14036 if test ! -f "$as_myself"; then
14037 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14041 # Unset variables that we do not need and which cause bugs (e.g. in
14042 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14043 # suppresses any "Segmentation fault" message there. '((' could
14044 # trigger a bug in pdksh 5.2.14.
14045 for as_var
in BASH_ENV ENV MAIL MAILPATH
14046 do eval test x\
${$as_var+set} = xset \
14047 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14060 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14063 # as_fn_error ERROR [LINENO LOG_FD]
14064 # ---------------------------------
14065 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14066 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14067 # script with status $?, using 1 if that was 0.
14070 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14072 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14073 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14075 $as_echo "$as_me: error: $1" >&2
14076 as_fn_exit
$as_status
14080 # as_fn_set_status STATUS
14081 # -----------------------
14082 # Set $? to STATUS, without forking.
14083 as_fn_set_status
()
14086 } # as_fn_set_status
14088 # as_fn_exit STATUS
14089 # -----------------
14090 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14094 as_fn_set_status
$1
14100 # Portably unset VAR.
14103 { eval $1=; unset $1;}
14105 as_unset
=as_fn_unset
14106 # as_fn_append VAR VALUE
14107 # ----------------------
14108 # Append the text in VALUE to the end of the definition contained in VAR. Take
14109 # advantage of any shell optimizations that allow amortized linear growth over
14110 # repeated appends, instead of the typical quadratic growth present in naive
14112 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14113 eval 'as_fn_append ()
14124 # as_fn_arith ARG...
14125 # ------------------
14126 # Perform arithmetic evaluation on the ARGs, and store the result in the
14127 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14128 # must be portable across $(()) and expr.
14129 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14130 eval 'as_fn_arith ()
14137 as_val
=`expr "$@" || test $? -eq 1`
14142 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14143 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14149 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14150 as_basename
=basename
14155 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14161 as_me
=`$as_basename -- "$0" ||
14162 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14163 X"$0" : 'X\(//\)$' \| \
14164 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14166 sed '/^.*\/\([^/][^/]*\)\/*$/{
14180 # Avoid depending upon Character Ranges.
14181 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14182 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14183 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14184 as_cr_digits
='0123456789'
14185 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14187 ECHO_C
= ECHO_N
= ECHO_T
=
14188 case `echo -n x` in #(((((
14190 case `echo 'xy\c'` in
14191 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14193 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14200 rm -f conf$$ conf$$.exe conf$$.
file
14201 if test -d conf$$.dir
; then
14202 rm -f conf$$.dir
/conf$$.
file
14205 mkdir conf$$.dir
2>/dev
/null
14207 if (echo >conf$$.
file) 2>/dev
/null
; then
14208 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14210 # ... but there are two gotchas:
14211 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14212 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14213 # In both cases, we have to default to `cp -p'.
14214 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14216 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14224 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14225 rmdir conf$$.dir
2>/dev
/null
14230 # Create "$as_dir" as a directory, including parents if necessary.
14235 -*) as_dir
=.
/$as_dir;;
14237 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14241 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14242 *) as_qdir
=$as_dir;;
14244 as_dirs
="'$as_qdir' $as_dirs"
14245 as_dir
=`$as_dirname -- "$as_dir" ||
14246 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14247 X"$as_dir" : 'X\(//\)[^/]' \| \
14248 X"$as_dir" : 'X\(//\)$' \| \
14249 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14250 $as_echo X"$as_dir" |
14251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14255 /^X\(\/\/\)[^/].*/{
14268 test -d "$as_dir" && break
14270 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14271 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14275 if mkdir
-p .
2>/dev
/null
; then
14276 as_mkdir_p
='mkdir -p "$as_dir"'
14278 test -d .
/-p && rmdir .
/-p
14282 if test -x / >/dev
/null
2>&1; then
14283 as_test_x
='test -x'
14285 if ls -dL / >/dev
/null
2>&1; then
14292 if test -d "$1"; then
14298 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14299 ???[sx]*):;;*)false;;esac;fi
14303 as_executable_p
=$as_test_x
14305 # Sed expression to map a string onto a valid CPP name.
14306 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14308 # Sed expression to map a string onto a valid variable name.
14309 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14313 ## ----------------------------------- ##
14314 ## Main body of $CONFIG_STATUS script. ##
14315 ## ----------------------------------- ##
14317 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14320 # Save the log message, to keep $0 and so on meaningful, and to
14321 # report actual input values of CONFIG_FILES etc. instead of their
14322 # values after options handling.
14324 This file was extended by $as_me, which was
14325 generated by GNU Autoconf 2.64. Invocation command line was
14327 CONFIG_FILES = $CONFIG_FILES
14328 CONFIG_HEADERS = $CONFIG_HEADERS
14329 CONFIG_LINKS = $CONFIG_LINKS
14330 CONFIG_COMMANDS = $CONFIG_COMMANDS
14333 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14338 case $ac_config_files in *"
14339 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14345 # Files that config.status was made for.
14346 config_files="$ac_config_files"
14350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14352 \`$as_me' instantiates files and other configuration actions
14353 from templates according to the current configuration. Unless the files
14354 and actions are specified as TAGs, all are instantiated by default.
14356 Usage: $0 [OPTION]... [TAG]...
14358 -h, --help print this help, then exit
14359 -V, --version print version number and configuration settings, then exit
14360 -q, --quiet, --silent
14361 do not print progress messages
14362 -d, --debug don't remove temporary files
14363 --recheck update $as_me by reconfiguring in the same conditions
14364 --file=FILE[:TEMPLATE]
14365 instantiate the configuration file FILE
14367 Configuration files:
14370 Report bugs to the package provider."
14373 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14376 configured by $0, generated by GNU Autoconf 2.64,
14377 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14379 Copyright (C) 2009 Free Software Foundation, Inc.
14380 This config.status script is free software; the Free Software Foundation
14381 gives unlimited permission to copy, distribute and modify it."
14387 test -n "\$AWK" || AWK=awk
14390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14391 # The default lists apply if the user does not specify any file.
14397 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14398 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14409 # Handling of the options.
14410 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14412 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14413 $as_echo "$ac_cs_version"; exit ;;
14414 --debug |
--debu |
--deb |
--de |
--d |
-d )
14416 --file |
--fil |
--fi |
--f )
14419 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14421 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14422 ac_need_defaults
=false
;;
14423 --he |
--h |
--help |
--hel |
-h )
14424 $as_echo "$ac_cs_usage"; exit ;;
14425 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14426 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14429 # This is an error.
14430 -*) as_fn_error
"unrecognized option: \`$1'
14431 Try \`$0 --help' for more information." ;;
14433 *) as_fn_append ac_config_targets
" $1"
14434 ac_need_defaults
=false
;;
14440 ac_configure_extra_args
=
14442 if $ac_cs_silent; then
14444 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14449 if \$ac_cs_recheck; then
14450 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14452 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14453 CONFIG_SHELL='$SHELL'
14454 export CONFIG_SHELL
14459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14463 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14464 ## Running $as_me. ##
14470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14474 extrasub_build="$extrasub_build"
14475 extrasub_host="$extrasub_host"
14476 extrasub_target="$extrasub_target"
14480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14482 # Handling of arguments.
14483 for ac_config_target
in $ac_config_targets
14485 case $ac_config_target in
14486 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14488 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14493 # If the user did not use the arguments to specify the items to instantiate,
14494 # then the envvar interface is used. Set only those that are not.
14495 # We use the long form for the default assignment because of an extremely
14496 # bizarre bug on SunOS 4.1.3.
14497 if $ac_need_defaults; then
14498 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14501 # Have a temporary directory for convenience. Make it in the build tree
14502 # simply because there is no reason against having it here, and in addition,
14503 # creating and moving files from /tmp can sometimes cause problems.
14504 # Hook for its removal unless debugging.
14505 # Note that there is a small window in which the directory will not be cleaned:
14506 # after its creation but before its name has been assigned to `$tmp'.
14510 trap 'exit_status=$?
14511 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14513 trap 'as_fn_exit 1' 1 2 13 15
14515 # Create a (secure) tmp directory for tmp files.
14518 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14519 test -n "$tmp" && test -d "$tmp"
14522 tmp
=.
/conf$$
-$RANDOM
14523 (umask 077 && mkdir
"$tmp")
14524 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14526 # Set up the scripts for CONFIG_FILES section.
14527 # No need to generate them if there are no CONFIG_FILES.
14528 # This happens for instance with `./config.status config.h'.
14529 if test -n "$CONFIG_FILES"; then
14531 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
14532 ac_cs_awk_getline
=:
14533 ac_cs_awk_pipe_init
=
14534 ac_cs_awk_read_file
='
14535 while ((getline aline < (F[key])) > 0)
14538 ac_cs_awk_pipe_fini
=
14540 ac_cs_awk_getline
=false
14541 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
14542 ac_cs_awk_read_file
='
14544 print "cat " F[key] " &&"
14545 '$ac_cs_awk_pipe_init
14546 # The final `:' finishes the AND list.
14547 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
14549 ac_cr
=`echo X | tr X '\015'`
14550 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14551 # But we know of no other shell where ac_cr would be empty at this
14552 # point, so we can use a bashism as a fallback.
14553 if test "x$ac_cr" = x
; then
14554 eval ac_cr
=\$
\'\\r
\'
14556 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14557 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14560 ac_cs_awk_cr
=$ac_cr
14563 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14566 # Create commands to substitute file output variables.
14568 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14569 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14570 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
14573 } >conf$
$files.sh
&&
14574 . .
/conf$
$files.sh ||
14575 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
14576 rm -f conf$
$files.sh
14579 echo "cat >conf$$subs.awk <<_ACEOF" &&
14580 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14582 } >conf$$subs.sh ||
14583 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14584 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14586 for ac_last_try in false false false false false :; do
14587 . ./conf$$subs.sh ||
14588 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14590 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14591 if test $ac_delim_n = $ac_delim_num; then
14593 elif $ac_last_try; then
14594 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14596 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14599 rm -f conf$$subs.sh
14601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14602 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14606 s/^/S["/; s
/!.
*/"]=/
14616 s/\(.\{148\}\).*/\1/
14618 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14623 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14630 s/\(.\{148\}\).*/\1/
14632 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14636 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14641 ' <conf$$subs.awk | sed '
14646 ' >>$CONFIG_STATUS || ac_write_fail=1
14647 rm -f conf$$subs.awk
14648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14650 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14651 for (key in S) S_is_set[key] = 1
14653 \$ac_cs_awk_pipe_init
14657 nfields = split(line, field, "@
")
14659 len = length(field[1])
14660 for (i = 2; i < nfields; i++) {
14662 keylen = length(key)
14663 if (S_is_set[key]) {
14665 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14666 len += length(value) + length(field[++i])
14671 if (nfields == 3 && !substed) {
14673 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14674 \$ac_cs_awk_read_file
14680 \$ac_cs_awk_pipe_fini
14683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14684 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14685 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14688 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14689 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14692 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14693 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14694 # trailing colons and then remove the whole line if VPATH becomes empty
14695 # (actually we leave an empty line to preserve line numbers).
14696 if test "x
$srcdir" = x.; then
14697 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14698 s/:*\$(srcdir):*/:/
14699 s/:*\${srcdir}:*/:/
14701 s/^\([^=]*=[ ]*\):*/\1/
14707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14708 fi # test -n "$CONFIG_FILES"
14711 eval set X " :F
$CONFIG_FILES "
14716 :[FHLC]) ac_mode=$ac_tag; continue;;
14718 case $ac_mode$ac_tag in
14720 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
14721 :[FH]-) ac_tag=-:-;;
14722 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14739 -) ac_f="$tmp/stdin";;
14740 *) # Look for the file first in the build tree, then in the source tree
14741 # (if the path is not absolute). The absolute path cannot be DOS-style,
14742 # because $ac_f cannot contain `:'.
14746 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14748 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14750 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
14751 as_fn_append ac_file_inputs " '$ac_f'"
14754 # Let's still pretend it is `configure' which instantiates (i.e., don't
14755 # use $as_me), people would be surprised to read:
14756 # /* config.h. Generated by config.status. */
14757 configure_input='Generated from '`
14758 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14760 if test x"$ac_file" != x-; then
14761 configure_input="$ac_file.
$configure_input"
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
14763 $as_echo "$as_me: creating
$ac_file" >&6;}
14765 # Neutralize special characters interpreted by sed in replacement strings.
14766 case $configure_input in #(
14767 *\&* | *\|* | *\\* )
14768 ac_sed_conf_input=`$as_echo "$configure_input" |
14769 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14770 *) ac_sed_conf_input=$configure_input;;
14774 *:-:* | *:-) cat >"$tmp/stdin
" \
14775 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
14780 ac_dir=`$as_dirname -- "$ac_file" ||
14781 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14782 X"$ac_file" : 'X\(//\)[^/]' \| \
14783 X"$ac_file" : 'X\(//\)$' \| \
14784 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14785 $as_echo X"$ac_file" |
14786 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14790 /^X\(\/\/\)[^/].*/{
14803 as_dir="$ac_dir"; as_fn_mkdir_p
14807 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14809 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14810 # A "..
" for each directory in $ac_dir_suffix.
14811 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14812 case $ac_top_builddir_sub in
14813 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14814 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14817 ac_abs_top_builddir=$ac_pwd
14818 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14819 # for backward compatibility:
14820 ac_top_builddir=$ac_top_build_prefix
14823 .) # We are building in place.
14825 ac_top_srcdir=$ac_top_builddir_sub
14826 ac_abs_top_srcdir=$ac_pwd ;;
14827 [\\/]* | ?:[\\/]* ) # Absolute name.
14828 ac_srcdir=$srcdir$ac_dir_suffix;
14829 ac_top_srcdir=$srcdir
14830 ac_abs_top_srcdir=$srcdir ;;
14831 *) # Relative name.
14832 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14833 ac_top_srcdir=$ac_top_build_prefix$srcdir
14834 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14836 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14846 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14847 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14852 # If the template does not know about datarootdir, expand it.
14853 # FIXME: This hack should be removed a few years after 2.60.
14854 ac_datarootdir_hack=; ac_datarootdir_seen=
14865 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
14866 *datarootdir*) ac_datarootdir_seen=yes;;
14867 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
14869 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
14871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14872 ac_datarootdir_hack='
14873 s&@datadir@&$datadir&g
14874 s&@docdir@&$docdir&g
14875 s&@infodir@&$infodir&g
14876 s&@localedir@&$localedir&g
14877 s&@mandir@&$mandir&g
14878 s&\\\${datarootdir}&$datarootdir&g' ;;
14882 # Neutralize VPATH when `$srcdir' = `.'.
14883 # Shell code in configure.ac might set extrasub.
14884 # FIXME: do we really want to maintain this feature?
14885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14886 ac_sed_extra="$ac_vpsub
14889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14891 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14892 s|@configure_input@|
$ac_sed_conf_input|
;t t
14893 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14894 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14895 s
&@srcdir@
&$ac_srcdir&;t t
14896 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14897 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14898 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14899 s
&@builddir@
&$ac_builddir&;t t
14900 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14901 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14902 s
&@INSTALL@
&$ac_INSTALL&;t t
14903 $ac_datarootdir_hack
14905 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
14906 if $ac_cs_awk_getline; then
14907 $AWK -f "$tmp/subs.
awk"
14909 $AWK -f "$tmp/subs.
awk" | $SHELL
14911 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14913 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14914 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14915 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14917 which seems to be undefined. Please make sure it is defined." >&5
14918 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14919 which seems to be undefined. Please make sure it is defined." >&2;}
14923 -) cat "$tmp/out" && rm -f "$tmp/out";;
14924 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14926 || as_fn_error "could not create $ac_file" "$LINENO" 5
14934 case $ac_file$ac_mode in
14935 "Makefile":F) sed "$extrasub_build" Makefile |
14936 sed "$extrasub_host" |
14937 sed "$extrasub_target" > mf$$
14938 mv -f mf$$ Makefile ;;
14946 ac_clean_files=$ac_clean_files_save
14948 test $ac_write_fail = 0 ||
14949 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
14952 # configure is writing to config.log, and then calls config.status.
14953 # config.status does its own redirection, appending to config.log.
14954 # Unfortunately, on DOS this fails, as config.log is still kept open
14955 # by configure, so config.status won't be able to
write to it
; its
14956 # output is simply discarded. So we exec the FD to /dev/null,
14957 # effectively closing config.log, so it can be properly (re)opened and
14958 # appended to by config.status. When coming back to configure, we
14959 # need to make the FD available again.
14960 if test "$no_create" != yes; then
14962 ac_config_status_args
=
14963 test "$silent" = yes &&
14964 ac_config_status_args
="$ac_config_status_args --quiet"
14966 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14968 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14969 # would make configure fail if this is the last instruction.
14970 $ac_cs_success || as_fn_exit $?
14972 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14974 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}