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
640 DEBUG_PREFIX_CFLAGS_FOR_TARGET
641 SYSROOT_CFLAGS_FOR_TARGET
643 extra_host_libiberty_configure_flags
652 extra_mpc_mpfr_configure_flags
653 extra_mpc_gmp_configure_flags
654 extra_mpfr_configure_flags
696 TOPLEVEL_CONFIGURE_ARGUMENTS
724 program_transform_name
735 ac_subst_files
='serialization_dependencies
741 enable_option_checking
746 enable_libquadmath_support
749 enable_build_with_cxx
769 enable_ppl_version_check
774 enable_cloog_version_check
776 enable_stage1_languages
780 with_debug_prefix_map
783 enable_serial_configure
784 enable_upc_link_script
785 with_build_time_tools
786 enable_maintainer_mode
787 enable_stage1_checking
790 ac_precious_vars
='build_alias
835 # Initialize some variables set by options.
837 ac_init_version
=false
838 ac_unrecognized_opts
=
840 # The variables have the same names as the options, with
841 # dashes changed to underlines.
849 program_transform_name
=s
,x
,x
,
857 # Installation directory options.
858 # These are left unexpanded so users can "make install exec_prefix=/foo"
859 # and all the variables that are supposed to be based on exec_prefix
860 # by default will actually change.
861 # Use braces instead of parens because sh, perl, etc. also accept them.
862 # (The list follows the same order as the GNU Coding Standards.)
863 bindir
='${exec_prefix}/bin'
864 sbindir
='${exec_prefix}/sbin'
865 libexecdir
='${exec_prefix}/libexec'
866 datarootdir
='${prefix}/share'
867 datadir
='${datarootdir}'
868 sysconfdir
='${prefix}/etc'
869 sharedstatedir
='${prefix}/com'
870 localstatedir
='${prefix}/var'
871 includedir
='${prefix}/include'
872 oldincludedir
='/usr/include'
873 docdir
='${datarootdir}/doc/${PACKAGE}'
874 infodir
='${datarootdir}/info'
879 libdir
='${exec_prefix}/lib'
880 localedir
='${datarootdir}/locale'
881 mandir
='${datarootdir}/man'
887 # If the previous option needs an argument, assign it.
888 if test -n "$ac_prev"; then
889 eval $ac_prev=\
$ac_option
895 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
899 # Accept the important Cygnus configure options, so we can diagnose typos.
901 case $ac_dashdash$ac_option in
905 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
907 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
910 -build |
--build |
--buil |
--bui |
--bu)
911 ac_prev
=build_alias
;;
912 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
913 build_alias
=$ac_optarg ;;
915 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
916 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
917 ac_prev
=cache_file
;;
918 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
919 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
920 cache_file
=$ac_optarg ;;
923 cache_file
=config.cache
;;
925 -datadir |
--datadir |
--datadi |
--datad)
927 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
928 datadir
=$ac_optarg ;;
930 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
931 |
--dataroo |
--dataro |
--datar)
932 ac_prev
=datarootdir
;;
933 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
934 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
935 datarootdir
=$ac_optarg ;;
937 -disable-* |
--disable-*)
938 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
939 # Reject names that are not valid shell variable names.
940 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
941 as_fn_error
"invalid feature name: $ac_useropt"
942 ac_useropt_orig
=$ac_useropt
943 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
944 case $ac_user_opts in
948 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
949 ac_unrecognized_sep
=', ';;
951 eval enable_
$ac_useropt=no
;;
953 -docdir |
--docdir |
--docdi |
--doc |
--do)
955 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
958 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
960 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
963 -enable-* |
--enable-*)
964 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
965 # Reject names that are not valid shell variable names.
966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
967 as_fn_error
"invalid feature name: $ac_useropt"
968 ac_useropt_orig
=$ac_useropt
969 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
970 case $ac_user_opts in
974 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
975 ac_unrecognized_sep
=', ';;
977 eval enable_
$ac_useropt=\
$ac_optarg ;;
979 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
980 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
981 |
--exec |
--exe |
--ex)
982 ac_prev
=exec_prefix
;;
983 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
984 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
985 |
--exec=* |
--exe=* |
--ex=*)
986 exec_prefix
=$ac_optarg ;;
988 -gas |
--gas |
--ga |
--g)
989 # Obsolete; use --with-gas.
992 -help |
--help |
--hel |
--he |
-h)
994 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
995 ac_init_help
=recursive
;;
996 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
997 ac_init_help
=short
;;
999 -host |
--host |
--hos |
--ho)
1000 ac_prev
=host_alias
;;
1001 -host=* |
--host=* |
--hos=* |
--ho=*)
1002 host_alias
=$ac_optarg ;;
1004 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1006 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1008 htmldir
=$ac_optarg ;;
1010 -includedir |
--includedir |
--includedi |
--included |
--include \
1011 |
--includ |
--inclu |
--incl |
--inc)
1012 ac_prev
=includedir
;;
1013 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1014 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1015 includedir
=$ac_optarg ;;
1017 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1019 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1020 infodir
=$ac_optarg ;;
1022 -libdir |
--libdir |
--libdi |
--libd)
1024 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1025 libdir
=$ac_optarg ;;
1027 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1028 |
--libexe |
--libex |
--libe)
1029 ac_prev
=libexecdir
;;
1030 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1031 |
--libexe=* |
--libex=* |
--libe=*)
1032 libexecdir
=$ac_optarg ;;
1034 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1035 ac_prev
=localedir
;;
1036 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1037 localedir
=$ac_optarg ;;
1039 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1040 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1041 ac_prev
=localstatedir
;;
1042 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1043 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1044 localstatedir
=$ac_optarg ;;
1046 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1048 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1049 mandir
=$ac_optarg ;;
1051 -nfp |
--nfp |
--nf)
1052 # Obsolete; use --without-fp.
1055 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1056 |
--no-cr |
--no-c |
-n)
1059 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1060 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1063 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1064 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1065 |
--oldin |
--oldi |
--old |
--ol |
--o)
1066 ac_prev
=oldincludedir
;;
1067 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1068 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1069 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1070 oldincludedir
=$ac_optarg ;;
1072 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1074 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1075 prefix
=$ac_optarg ;;
1077 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1078 |
--program-pre |
--program-pr |
--program-p)
1079 ac_prev
=program_prefix
;;
1080 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1081 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1082 program_prefix
=$ac_optarg ;;
1084 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1085 |
--program-suf |
--program-su |
--program-s)
1086 ac_prev
=program_suffix
;;
1087 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1088 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1089 program_suffix
=$ac_optarg ;;
1091 -program-transform-name |
--program-transform-name \
1092 |
--program-transform-nam |
--program-transform-na \
1093 |
--program-transform-n |
--program-transform- \
1094 |
--program-transform |
--program-transfor \
1095 |
--program-transfo |
--program-transf \
1096 |
--program-trans |
--program-tran \
1097 |
--progr-tra |
--program-tr |
--program-t)
1098 ac_prev
=program_transform_name
;;
1099 -program-transform-name=* |
--program-transform-name=* \
1100 |
--program-transform-nam=* |
--program-transform-na=* \
1101 |
--program-transform-n=* |
--program-transform-=* \
1102 |
--program-transform=* |
--program-transfor=* \
1103 |
--program-transfo=* |
--program-transf=* \
1104 |
--program-trans=* |
--program-tran=* \
1105 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1106 program_transform_name
=$ac_optarg ;;
1108 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1110 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1111 pdfdir
=$ac_optarg ;;
1113 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1115 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1118 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1119 |
-silent |
--silent |
--silen |
--sile |
--sil)
1122 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1124 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1126 sbindir
=$ac_optarg ;;
1128 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1129 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1130 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1132 ac_prev
=sharedstatedir
;;
1133 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1134 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1135 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1137 sharedstatedir
=$ac_optarg ;;
1139 -site |
--site |
--sit)
1141 -site=* |
--site=* |
--sit=*)
1144 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1146 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1147 srcdir
=$ac_optarg ;;
1149 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1150 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1151 ac_prev
=sysconfdir
;;
1152 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1153 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1154 sysconfdir
=$ac_optarg ;;
1156 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1157 ac_prev
=target_alias
;;
1158 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1159 target_alias
=$ac_optarg ;;
1161 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1164 -version |
--version |
--versio |
--versi |
--vers |
-V)
1165 ac_init_version
=: ;;
1168 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1169 # Reject names that are not valid shell variable names.
1170 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1171 as_fn_error
"invalid package name: $ac_useropt"
1172 ac_useropt_orig
=$ac_useropt
1173 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1174 case $ac_user_opts in
1178 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1179 ac_unrecognized_sep
=', ';;
1181 eval with_
$ac_useropt=\
$ac_optarg ;;
1183 -without-* |
--without-*)
1184 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1187 as_fn_error
"invalid package name: $ac_useropt"
1188 ac_useropt_orig
=$ac_useropt
1189 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1190 case $ac_user_opts in
1194 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1195 ac_unrecognized_sep
=', ';;
1197 eval with_
$ac_useropt=no
;;
1200 # Obsolete; use --with-x.
1203 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1204 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1205 ac_prev
=x_includes
;;
1206 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1207 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1208 x_includes
=$ac_optarg ;;
1210 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1211 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1212 ac_prev
=x_libraries
;;
1213 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1214 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1215 x_libraries
=$ac_optarg ;;
1217 -*) as_fn_error
"unrecognized option: \`$ac_option'
1218 Try \`$0 --help' for more information."
1222 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1223 # Reject names that are not valid shell variable names.
1224 case $ac_envvar in #(
1225 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1226 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1228 eval $ac_envvar=\
$ac_optarg
1229 export $ac_envvar ;;
1232 # FIXME: should be removed in autoconf 3.0.
1233 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1234 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1235 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1236 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1242 if test -n "$ac_prev"; then
1243 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1244 as_fn_error
"missing argument to $ac_option"
1247 if test -n "$ac_unrecognized_opts"; then
1248 case $enable_option_checking in
1250 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1251 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1255 # Check all directory arguments for consistency.
1256 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1257 datadir sysconfdir sharedstatedir localstatedir includedir \
1258 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1259 libdir localedir mandir
1261 eval ac_val
=\$
$ac_var
1262 # Remove trailing slashes.
1265 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1266 eval $ac_var=\
$ac_val;;
1268 # Be sure to have absolute directory names.
1270 [\\/$
]* | ?
:[\\/]* ) continue;;
1271 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1273 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1276 # There might be people who depend on the old broken behavior: `$host'
1277 # used to hold the argument of --host etc.
1278 # FIXME: To remove some day.
1281 target
=$target_alias
1283 # FIXME: To remove some day.
1284 if test "x$host_alias" != x
; then
1285 if test "x$build_alias" = x
; then
1286 cross_compiling
=maybe
1287 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1288 If a cross compiler is detected then cross compile mode will be used." >&2
1289 elif test "x$build_alias" != "x$host_alias"; then
1295 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1297 test "$silent" = yes && exec 6>/dev
/null
1300 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1301 ac_ls_di
=`ls -di .` &&
1302 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1303 as_fn_error
"working directory cannot be determined"
1304 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1305 as_fn_error
"pwd does not report name of working directory"
1308 # Find the source files, if location was not specified.
1309 if test -z "$srcdir"; then
1310 ac_srcdir_defaulted
=yes
1311 # Try the directory containing this script, then the parent directory.
1312 ac_confdir
=`$as_dirname -- "$as_myself" ||
1313 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1314 X"$as_myself" : 'X\(//\)[^/]' \| \
1315 X"$as_myself" : 'X\(//\)$' \| \
1316 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1317 $as_echo X"$as_myself" |
1318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1336 if test ! -r "$srcdir/$ac_unique_file"; then
1340 ac_srcdir_defaulted
=no
1342 if test ! -r "$srcdir/$ac_unique_file"; then
1343 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1344 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1346 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1348 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1350 # When building in place, set srcdir=.
1351 if test "$ac_abs_confdir" = "$ac_pwd"; then
1354 # Remove unnecessary trailing slashes from srcdir.
1355 # Double slashes in file names in object file debugging info
1356 # mess up M-x gdb in Emacs.
1358 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1362 as_fn_error
"path to source, $srcdir, contains spaces"
1365 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1367 for ac_var
in $ac_precious_vars; do
1368 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1369 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1370 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1371 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1375 # Report the --help message.
1377 if test "$ac_init_help" = "long"; then
1378 # Omit some internal or obsolete options to make the list less imposing.
1379 # This message is too long to be a string in the A/UX 3.1 sh.
1381 \`configure' configures this package to adapt to many kinds of systems.
1383 Usage: $0 [OPTION]... [VAR=VALUE]...
1385 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1386 VAR=VALUE. See below for descriptions of some of the useful variables.
1388 Defaults for the options are specified in brackets.
1391 -h, --help display this help and exit
1392 --help=short display options specific to this package
1393 --help=recursive display the short help of all the included packages
1394 -V, --version display version information and exit
1395 -q, --quiet, --silent do not print \`checking...' messages
1396 --cache-file=FILE cache test results in FILE [disabled]
1397 -C, --config-cache alias for \`--cache-file=config.cache'
1398 -n, --no-create do not create output files
1399 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1401 Installation directories:
1402 --prefix=PREFIX install architecture-independent files in PREFIX
1403 [$ac_default_prefix]
1404 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1407 By default, \`make install' will install all the files in
1408 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1409 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1410 for instance \`--prefix=\$HOME'.
1412 For better control, use the options below.
1414 Fine tuning of the installation directories:
1415 --bindir=DIR user executables [EPREFIX/bin]
1416 --sbindir=DIR system admin executables [EPREFIX/sbin]
1417 --libexecdir=DIR program executables [EPREFIX/libexec]
1418 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1419 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1420 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1421 --libdir=DIR object code libraries [EPREFIX/lib]
1422 --includedir=DIR C header files [PREFIX/include]
1423 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1424 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1425 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1426 --infodir=DIR info documentation [DATAROOTDIR/info]
1427 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1428 --mandir=DIR man documentation [DATAROOTDIR/man]
1429 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1430 --htmldir=DIR html documentation [DOCDIR]
1431 --dvidir=DIR dvi documentation [DOCDIR]
1432 --pdfdir=DIR pdf documentation [DOCDIR]
1433 --psdir=DIR ps documentation [DOCDIR]
1439 --program-prefix=PREFIX prepend PREFIX to installed program names
1440 --program-suffix=SUFFIX append SUFFIX to installed program names
1441 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1444 --build=BUILD configure
for building on BUILD
[guessed
]
1445 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1446 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1450 if test -n "$ac_init_help"; then
1455 --disable-option-checking ignore unrecognized
--enable/--with options
1456 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1457 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1458 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1459 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1460 --disable-libquadmath do not build libquadmath directory
1461 --disable-libquadmath-support
1462 disable libquadmath support
for Fortran
1463 --enable-libada build libada directory
1464 --enable-libssp build libssp directory
1465 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1466 --disable-ppl-version-check
1467 disable check
for PPL version
1468 --enable-cloog-backend[=BACKEND
]
1469 set the CLooG BACKEND used to either isl
, ppl or
1470 ppl-legacy
(default
)
1471 --disable-cloog-version-check
1472 disable check
for CLooG version
1473 --enable-lto enable link
time optimization support
1474 --enable-stage1-languages[=all
]
1475 choose additional languages to build during stage1.
1476 Mostly useful
for compiler development
1477 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1479 --enable-bootstrap enable bootstrapping [yes if native build]
1480 --enable-serial-[{host,target,build}-]configure
1481 force sequential configuration of sub-packages for
1482 the host, target or build machine, or all
1484 --enable-upc-link-script
1485 enable UPC's use of a custom linker
script; this
1486 will define the UPC shared section as a no load
1487 section on targets where this feature is supported
1489 --enable-maintainer-mode
1490 enable make rules and dependencies not useful
(and
1491 sometimes confusing
) to the casual installer
1492 --enable-stage1-checking[=all
]
1493 choose additional checking
for stage1 of the
1495 --enable-werror enable -Werror in bootstrap stage2 and later
1498 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1499 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1500 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1501 --with-mpc=PATH specify prefix directory
for installed MPC package.
1502 Equivalent to
--with-mpc-include=PATH
/include plus
1503 --with-mpc-lib=PATH
/lib
1504 --with-mpc-include=PATH specify directory
for installed MPC include files
1505 --with-mpc-lib=PATH specify directory
for the installed MPC library
1506 --with-mpfr-dir=PATH this option has been REMOVED
1507 --with-mpfr=PATH specify prefix directory
for installed MPFR package.
1508 Equivalent to
--with-mpfr-include=PATH
/include plus
1509 --with-mpfr-lib=PATH
/lib
1510 --with-mpfr-include=PATH
1511 specify directory
for installed MPFR include files
1512 --with-mpfr-lib=PATH specify directory
for the installed MPFR library
1513 --with-gmp-dir=PATH this option has been REMOVED
1514 --with-gmp=PATH specify prefix directory
for the installed GMP
1515 package. Equivalent to
1516 --with-gmp-include=PATH
/include plus
1517 --with-gmp-lib=PATH
/lib
1518 --with-gmp-include=PATH specify directory
for installed GMP include files
1519 --with-gmp-lib=PATH specify directory
for the installed GMP library
1520 --with-host-libstdcxx=L use linker arguments L to link with libstdc
++ when
1522 --with-stage1-ldflags=FLAGS
1523 linker flags
for stage1
1524 --with-stage1-libs=LIBS libraries
for stage1
1525 --with-boot-libs=LIBS libraries
for stage2 and later
1526 --with-boot-ldflags=FLAGS
1527 linker flags
for stage2 and later
1528 --with-ppl=PATH specify prefix directory
for the installed PPL
1529 package. Equivalent to
1530 --with-ppl-include=PATH
/include plus
1531 --with-ppl-lib=PATH
/lib
1532 --with-ppl-include=PATH specify directory
for installed PPL include files
1533 --with-ppl-lib=PATH specify directory
for the installed PPL library
1534 --with-cloog=PATH Specify prefix directory
for the installed CLooG-PPL
1535 package. Equivalent to
1536 --with-cloog-include=PATH
/include plus
1537 --with-cloog-lib=PATH
/lib
1538 --with-cloog-include=PATH
1539 Specify directory
for installed CLooG include files
1540 --with-cloog-lib=PATH Specify the directory
for the installed CLooG
1542 --with-upc-pts={struct
,packed
}
1543 choose the representation of a UPC pointer-to-shared
1544 --with-build-sysroot=SYSROOT
1545 use sysroot as the system root during the build
1546 --with-debug-prefix-map='A=B C=D ...'
1547 map A to B
, C to D ...
in debug information
1548 --with-build-config='NAME NAME2...'
1549 use config
/NAME.mk build configuration
1550 --with-build-time-tools=PATH
1551 use given path to
find target tools during the build
1553 Some influential environment variables
:
1554 CC C compiler
command
1555 CFLAGS C compiler flags
1556 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1557 nonstandard directory
<lib dir
>
1558 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1559 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1560 you have headers
in a nonstandard directory
<include dir
>
1561 CXX C
++ compiler
command
1562 CXXFLAGS C
++ compiler flags
1564 additional configure arguments
for build directories
1566 additional configure arguments
for host directories
1568 additional configure arguments
for target directories
1571 DLLTOOL DLLTOOL
for the
host
1573 LIPO LIPO
for the
host
1575 RANLIB RANLIB
for the
host
1576 STRIP STRIP
for the
host
1577 WINDRES WINDRES
for the
host
1578 WINDMC WINDMC
for the
host
1579 OBJCOPY OBJCOPY
for the
host
1580 OBJDUMP OBJDUMP
for the
host
1590 GFORTRAN
for the target
1598 DLLTOOL
for the target
1606 OBJDUMP
for the target
1608 RANLIB
for the target
1610 STRIP
for the target
1612 WINDRES
for the target
1614 WINDMC
for the target
1616 Use these variables to override the choices made by
`configure' or to help
1617 it to find libraries and programs with nonstandard names/locations.
1619 Report bugs to the package provider.
1624 if test "$ac_init_help" = "recursive"; then
1625 # If there are subdirs, report their specific --help.
1626 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1627 test -d "$ac_dir" ||
1628 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1633 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1636 # A ".." for each directory in $ac_dir_suffix.
1637 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1638 case $ac_top_builddir_sub in
1639 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1640 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1643 ac_abs_top_builddir=$ac_pwd
1644 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1645 # for backward compatibility:
1646 ac_top_builddir=$ac_top_build_prefix
1649 .) # We are building in place.
1651 ac_top_srcdir=$ac_top_builddir_sub
1652 ac_abs_top_srcdir=$ac_pwd ;;
1653 [\\/]* | ?:[\\/]* ) # Absolute name.
1654 ac_srcdir=$srcdir$ac_dir_suffix;
1655 ac_top_srcdir=$srcdir
1656 ac_abs_top_srcdir=$srcdir ;;
1658 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1659 ac_top_srcdir=$ac_top_build_prefix$srcdir
1660 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1662 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1664 cd "$ac_dir" || { ac_status=$?; continue; }
1665 # Check for guested configure.
1666 if test -f "$ac_srcdir/configure.gnu"; then
1668 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1669 elif test -f "$ac_srcdir/configure"; then
1671 $SHELL "$ac_srcdir/configure" --help=recursive
1673 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1675 cd "$ac_pwd" || { ac_status=$?; break; }
1679 test -n "$ac_init_help" && exit $ac_status
1680 if $ac_init_version; then
1683 generated by GNU Autoconf 2.64
1685 Copyright (C) 2009 Free Software Foundation, Inc.
1686 This configure script is free software; the Free Software Foundation
1687 gives unlimited permission to copy, distribute and modify it.
1692 ## ------------------------ ##
1693 ## Autoconf initialization. ##
1694 ## ------------------------ ##
1696 # ac_fn_c_try_compile LINENO
1697 # --------------------------
1698 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1699 ac_fn_c_try_compile ()
1701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1702 rm -f conftest.$ac_objext
1703 if { { ac_try="$ac_compile"
1705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1706 *) ac_try_echo
=$ac_try;;
1708 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710 (eval "$ac_compile") 2>conftest.err
1712 if test -s conftest.err
; then
1713 grep -v '^ *+' conftest.err
>conftest.er1
1714 cat conftest.er1
>&5
1715 mv -f conftest.er1 conftest.err
1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718 test $ac_status = 0; } && {
1719 test -z "$ac_c_werror_flag" ||
1720 test ! -s conftest.err
1721 } && test -s conftest.
$ac_objext; then :
1724 $as_echo "$as_me: failed program was:" >&5
1725 sed 's/^/| /' conftest.
$ac_ext >&5
1729 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1732 } # ac_fn_c_try_compile
1734 # ac_fn_cxx_try_compile LINENO
1735 # ----------------------------
1736 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1737 ac_fn_cxx_try_compile
()
1739 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1740 rm -f conftest.
$ac_objext
1741 if { { ac_try
="$ac_compile"
1743 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1744 *) ac_try_echo=$ac_try;;
1746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748 (eval "$ac_compile") 2>conftest.err
1750 if test -s conftest.err; then
1751 grep -v '^ *+' conftest.err >conftest.er1
1752 cat conftest.er1 >&5
1753 mv -f conftest.er1 conftest.err
1755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756 test $ac_status = 0; } && {
1757 test -z "$ac_cxx_werror_flag" ||
1758 test ! -s conftest.err
1759 } && test -s conftest.$ac_objext; then :
1762 $as_echo "$as_me: failed program was:" >&5
1763 sed 's/^/| /' conftest.$ac_ext >&5
1767 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770 } # ac_fn_cxx_try_compile
1772 # ac_fn_c_try_link LINENO
1773 # -----------------------
1774 # Try to link conftest.$ac_ext, and return whether this succeeded.
1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778 rm -f conftest.$ac_objext conftest$ac_exeext
1779 if { { ac_try="$ac_link"
1781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1782 *) ac_try_echo
=$ac_try;;
1784 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1785 $as_echo "$ac_try_echo"; } >&5
1786 (eval "$ac_link") 2>conftest.err
1788 if test -s conftest.err
; then
1789 grep -v '^ *+' conftest.err
>conftest.er1
1790 cat conftest.er1
>&5
1791 mv -f conftest.er1 conftest.err
1793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1794 test $ac_status = 0; } && {
1795 test -z "$ac_c_werror_flag" ||
1796 test ! -s conftest.err
1797 } && test -s conftest
$ac_exeext && {
1798 test "$cross_compiling" = yes ||
1799 $as_test_x conftest
$ac_exeext
1803 $as_echo "$as_me: failed program was:" >&5
1804 sed 's/^/| /' conftest.
$ac_ext >&5
1808 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1809 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1810 # interfere with the next link command; also delete a directory that is
1811 # left behind by Apple's compiler. We do this before executing the actions.
1812 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1813 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1816 } # ac_fn_c_try_link
1817 cat >config.log
<<_ACEOF
1818 This file contains any messages produced by compilers while
1819 running configure, to aid debugging if configure makes a mistake.
1821 It was created by $as_me, which was
1822 generated by GNU Autoconf 2.64. Invocation command line was
1834 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1835 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1836 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1837 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1838 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1840 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1841 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1843 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1844 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1845 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1846 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1847 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1848 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1849 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1857 test -z "$as_dir" && as_dir
=.
1858 $as_echo "PATH: $as_dir"
1874 # Keep a trace of the command line.
1875 # Strip out --no-create and --no-recursion so they do not pile up.
1876 # Strip out --silent because we don't want to record it for future runs.
1877 # Also quote any args containing shell meta-characters.
1878 # Make two passes to allow for proper duplicate-argument suppression.
1882 ac_must_keep_next
=false
1888 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1889 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1890 |
-silent |
--silent |
--silen |
--sile |
--sil)
1893 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1896 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1898 as_fn_append ac_configure_args1
" '$ac_arg'"
1899 if test $ac_must_keep_next = true
; then
1900 ac_must_keep_next
=false
# Got value, back to normal.
1903 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1904 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1905 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1906 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1907 case "$ac_configure_args0 " in
1908 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1911 -* ) ac_must_keep_next
=true
;;
1914 as_fn_append ac_configure_args
" '$ac_arg'"
1919 { ac_configure_args0
=; unset ac_configure_args0
;}
1920 { ac_configure_args1
=; unset ac_configure_args1
;}
1922 # When interrupted or exit'd, cleanup temporary files, and complete
1923 # config.log. We remove comments because anyway the quotes in there
1924 # would cause problems or look ugly.
1925 # WARNING: Use '\'' to represent an apostrophe within the trap.
1926 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1927 trap 'exit_status=$?
1928 # Save into config.log some information that might help in debugging.
1933 ## ---------------- ##
1934 ## Cache variables. ##
1935 ## ---------------- ##
1938 # The following way of writing the cache mishandles newlines in values,
1940 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1941 eval ac_val=\$$ac_var
1945 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1946 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1949 _ | IFS | as_nl) ;; #(
1950 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1951 *) { eval $ac_var=; unset $ac_var;} ;;
1956 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1957 *${as_nl}ac_space=\ *)
1959 "s/'\''/'\''\\\\'\'''\''/g;
1960 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1963 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1971 ## ----------------- ##
1972 ## Output variables. ##
1973 ## ----------------- ##
1976 for ac_var in $ac_subst_vars
1978 eval ac_val=\$$ac_var
1980 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1982 $as_echo "$ac_var='\''$ac_val'\''"
1986 if test -n "$ac_subst_files"; then
1988 ## ------------------- ##
1989 ## File substitutions. ##
1990 ## ------------------- ##
1993 for ac_var
in $ac_subst_files
1995 eval ac_val
=\$
$ac_var
1997 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1999 $as_echo "$ac_var='\''$ac_val'\''"
2004 if test -s confdefs.h; then
2014 test "$ac_signal" != 0 &&
2015 $as_echo "$as_me: caught signal $ac_signal"
2016 $as_echo "$as_me: exit $exit_status"
2018 rm -f core *.core core.conftest.* &&
2019 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2022 for ac_signal
in 1 2 13 15; do
2023 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2027 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2028 rm -f -r conftest
* confdefs.h
2030 $as_echo "/* confdefs.h */" > confdefs.h
2032 # Predefined preprocessor variables.
2034 cat >>confdefs.h
<<_ACEOF
2035 #define PACKAGE_NAME "$PACKAGE_NAME"
2038 cat >>confdefs.h
<<_ACEOF
2039 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2042 cat >>confdefs.h
<<_ACEOF
2043 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2046 cat >>confdefs.h
<<_ACEOF
2047 #define PACKAGE_STRING "$PACKAGE_STRING"
2050 cat >>confdefs.h
<<_ACEOF
2051 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2054 cat >>confdefs.h
<<_ACEOF
2055 #define PACKAGE_URL "$PACKAGE_URL"
2059 # Let the site file select an alternate cache file if it wants to.
2060 # Prefer an explicitly selected file to automatically selected ones.
2063 if test -n "$CONFIG_SITE"; then
2064 ac_site_file1
=$CONFIG_SITE
2065 elif test "x$prefix" != xNONE
; then
2066 ac_site_file1
=$prefix/share
/config.site
2067 ac_site_file2
=$prefix/etc
/config.site
2069 ac_site_file1
=$ac_default_prefix/share
/config.site
2070 ac_site_file2
=$ac_default_prefix/etc
/config.site
2072 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2074 test "x$ac_site_file" = xNONE
&& continue
2075 if test -r "$ac_site_file"; then
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2077 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2078 sed 's/^/| /' "$ac_site_file" >&5
2083 if test -r "$cache_file"; then
2084 # Some versions of bash will fail to source /dev/null (special
2085 # files actually), so we avoid doing that.
2086 if test -f "$cache_file"; then
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2088 $as_echo "$as_me: loading cache $cache_file" >&6;}
2090 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2091 *) .
"./$cache_file";;
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2096 $as_echo "$as_me: creating cache $cache_file" >&6;}
2100 # Check that the precious variables saved in the cache have kept the same
2102 ac_cache_corrupted
=false
2103 for ac_var
in $ac_precious_vars; do
2104 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2105 eval ac_new_set
=\
$ac_env_${ac_var}_set
2106 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2107 eval ac_new_val
=\
$ac_env_${ac_var}_value
2108 case $ac_old_set,$ac_new_set in
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2111 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2112 ac_cache_corrupted
=: ;;
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2115 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2116 ac_cache_corrupted
=: ;;
2119 if test "x$ac_old_val" != "x$ac_new_val"; then
2120 # differences in whitespace do not lead to failure.
2121 ac_old_val_w
=`echo x $ac_old_val`
2122 ac_new_val_w
=`echo x $ac_new_val`
2123 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2125 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2126 ac_cache_corrupted
=:
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2129 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2130 eval $ac_var=\
$ac_old_val
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2133 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2135 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2138 # Pass precious variables to config.status.
2139 if test "$ac_new_set" = set; then
2141 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2142 *) ac_arg
=$ac_var=$ac_new_val ;;
2144 case " $ac_configure_args " in
2145 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2146 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2150 if $ac_cache_corrupted; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2154 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2155 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2157 ## -------------------- ##
2158 ## Main body of script. ##
2159 ## -------------------- ##
2162 ac_cpp
='$CPP $CPPFLAGS'
2163 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2164 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2165 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2176 # if PWD already has a value, it is probably wrong.
2177 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2179 # Export original configure arguments for use by sub-configures.
2180 # Quote arguments with shell meta charatcers.
2181 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2182 set -- "$progname" "$@"
2186 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2187 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2188 # if the argument is of the form -foo=baz, quote the baz part only
2189 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2192 # Add the quoted argument to the list.
2193 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2195 if test "$silent" = yes; then
2196 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2198 # Remove the initial space we just introduced and, as these will be
2199 # expanded by make, quote '$'.
2200 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2203 # Find the build, host, and target systems.
2205 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2206 for ac_t
in install-sh
install.sh shtool
; do
2207 if test -f "$ac_dir/$ac_t"; then
2209 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2214 if test -z "$ac_aux_dir"; then
2215 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2218 # These three variables are undocumented and unsupported,
2219 # and are intended to be withdrawn in a future Autoconf release.
2220 # They can cause serious problems if a builder's source tree is in a directory
2221 # whose full name contains unusual characters.
2222 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2223 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2224 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2227 # Make sure we can run config.sub.
2228 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2229 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2232 $as_echo_n "checking build system type... " >&6; }
2233 if test "${ac_cv_build+set}" = set; then :
2234 $as_echo_n "(cached) " >&6
2236 ac_build_alias
=$build_alias
2237 test "x$ac_build_alias" = x
&&
2238 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2239 test "x$ac_build_alias" = x
&&
2240 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2241 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2242 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2246 $as_echo "$ac_cv_build" >&6; }
2247 case $ac_cv_build in
2249 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2252 ac_save_IFS
=$IFS; IFS
='-'
2258 # Remember, the first character of IFS is used to create $*,
2259 # except with old shells:
2262 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2265 case ${build_alias} in
2266 "") build_noncanonical
=${build} ;;
2267 *) build_noncanonical
=${build_alias} ;;
2272 case ${host_alias} in
2273 "") host_noncanonical
=${build_noncanonical} ;;
2274 *) host_noncanonical
=${host_alias} ;;
2279 case ${target_alias} in
2280 "") target_noncanonical
=${host_noncanonical} ;;
2281 *) target_noncanonical
=${target_alias} ;;
2287 test "$host_noncanonical" = "$target_noncanonical" &&
2288 test "$program_prefix$program_suffix$program_transform_name" = \
2290 program_transform_name
=s
,y
,y
,
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2293 $as_echo_n "checking host system type... " >&6; }
2294 if test "${ac_cv_host+set}" = set; then :
2295 $as_echo_n "(cached) " >&6
2297 if test "x$host_alias" = x
; then
2298 ac_cv_host
=$ac_cv_build
2300 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2301 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2306 $as_echo "$ac_cv_host" >&6; }
2309 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2312 ac_save_IFS
=$IFS; IFS
='-'
2318 # Remember, the first character of IFS is used to create $*,
2319 # except with old shells:
2322 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2326 $as_echo_n "checking target system type... " >&6; }
2327 if test "${ac_cv_target+set}" = set; then :
2328 $as_echo_n "(cached) " >&6
2330 if test "x$target_alias" = x
; then
2331 ac_cv_target
=$ac_cv_host
2333 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2334 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2339 $as_echo "$ac_cv_target" >&6; }
2340 case $ac_cv_target in
2342 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2344 target
=$ac_cv_target
2345 ac_save_IFS
=$IFS; IFS
='-'
2351 # Remember, the first character of IFS is used to create $*,
2352 # except with old shells:
2355 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2358 # The aliases save the names the user supplied, while $host etc.
2359 # will get canonicalized.
2360 test -n "$target_alias" &&
2361 test "$program_prefix$program_suffix$program_transform_name" = \
2363 program_prefix
=${target_alias}-
2365 test "$program_prefix" != NONE
&&
2366 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2367 # Use a double $ so make ignores it.
2368 test "$program_suffix" != NONE
&&
2369 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2370 # Double any \ or $.
2371 # By default was `s,x,x', remove it if useless.
2372 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2373 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2377 # Get 'install' or 'install-sh' and its variants.
2378 # Find a good install program. We prefer a C program (faster),
2379 # so one script is as good as another. But avoid the broken or
2380 # incompatible versions:
2381 # SysV /etc/install, /usr/sbin/install
2382 # SunOS /usr/etc/install
2383 # IRIX /sbin/install
2385 # AmigaOS /C/install, which installs bootblocks on floppy discs
2386 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2387 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2388 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2389 # OS/2's system install, which has a completely different semantic
2390 # ./install, which can be erroneously created by make from ./install.sh.
2391 # Reject install programs that cannot install multiple files.
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2393 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2394 if test -z "$INSTALL"; then
2395 if test "${ac_cv_path_install+set}" = set; then :
2396 $as_echo_n "(cached) " >&6
2398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2402 test -z "$as_dir" && as_dir
=.
2403 # Account for people who put trailing slashes in PATH elements.
2404 case $as_dir/ in #((
2405 .
/ | .
// |
/[cC
]/* | \
2406 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2407 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2410 # OSF1 and SCO ODT 3.0 have their own names for install.
2411 # Don't use installbsd from OSF since it installs stuff as root
2413 for ac_prog
in ginstall scoinst
install; do
2414 for ac_exec_ext
in '' $ac_executable_extensions; do
2415 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2416 if test $ac_prog = install &&
2417 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2418 # AIX install. It has an incompatible calling convention.
2420 elif test $ac_prog = install &&
2421 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2422 # program-specific install script used by HP pwplus--don't use.
2425 rm -rf conftest.one conftest.two conftest.dir
2426 echo one
> conftest.one
2427 echo two
> conftest.two
2429 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2430 test -s conftest.one
&& test -s conftest.two
&&
2431 test -s conftest.dir
/conftest.one
&&
2432 test -s conftest.dir
/conftest.two
2434 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2447 rm -rf conftest.one conftest.two conftest.dir
2450 if test "${ac_cv_path_install+set}" = set; then
2451 INSTALL
=$ac_cv_path_install
2453 # As a last resort, use the slow shell script. Don't cache a
2454 # value for INSTALL within a source directory, because that will
2455 # break other packages using the cache if that directory is
2456 # removed, or if the value is a relative name.
2457 INSTALL
=$ac_install_sh
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2461 $as_echo "$INSTALL" >&6; }
2463 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2464 # It thinks the first close brace ends the variable substitution.
2465 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2467 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2469 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2472 $as_echo_n "checking whether ln works... " >&6; }
2473 if test "${acx_cv_prog_LN+set}" = set; then :
2474 $as_echo_n "(cached) " >&6
2476 rm -f conftestdata_t
2477 echo >conftestdata_f
2478 if ln conftestdata_f conftestdata_t
2>/dev
/null
2484 rm -f conftestdata_f conftestdata_t
2487 if test $acx_cv_prog_LN = no
; then
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2490 $as_echo "no, using $LN" >&6; }
2492 LN
="$acx_cv_prog_LN"
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2494 $as_echo "yes" >&6; }
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2498 $as_echo_n "checking whether ln -s works... " >&6; }
2500 if test "$LN_S" = "ln -s"; then
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2502 $as_echo "yes" >&6; }
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2505 $as_echo "no, using $LN_S" >&6; }
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2509 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2510 if test "${ac_cv_path_SED+set}" = set; then :
2511 $as_echo_n "(cached) " >&6
2513 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2514 for ac_i
in 1 2 3 4 5 6 7; do
2515 ac_script
="$ac_script$as_nl$ac_script"
2517 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2518 { ac_script
=; unset ac_script
;}
2519 if test -z "$SED"; then
2520 ac_path_SED_found
=false
2521 # Loop through the user's path and test for each of PROGNAME-LIST
2522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2526 test -z "$as_dir" && as_dir
=.
2527 for ac_prog
in sed gsed
; do
2528 for ac_exec_ext
in '' $ac_executable_extensions; do
2529 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2530 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2531 # Check for GNU ac_path_SED and select it if it is found.
2532 # Check for GNU $ac_path_SED
2533 case `"$ac_path_SED" --version 2>&1` in
2535 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2538 $as_echo_n 0123456789 >"conftest.in"
2541 cat "conftest.in" "conftest.in" >"conftest.tmp"
2542 mv "conftest.tmp" "conftest.in"
2543 cp "conftest.in" "conftest.nl"
2544 $as_echo '' >> "conftest.nl"
2545 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2546 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2547 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2548 if test $ac_count -gt ${ac_path_SED_max-0}; then
2549 # Best one so far, save it but keep looking for a better one
2550 ac_cv_path_SED
="$ac_path_SED"
2551 ac_path_SED_max
=$ac_count
2553 # 10*(2^10) chars as input seems more than enough
2554 test $ac_count -gt 10 && break
2556 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2559 $ac_path_SED_found && break 3
2564 if test -z "$ac_cv_path_SED"; then
2565 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2573 $as_echo "$ac_cv_path_SED" >&6; }
2574 SED
="$ac_cv_path_SED"
2577 for ac_prog
in gawk mawk nawk
awk
2579 # Extract the first word of "$ac_prog", so it can be a program name with args.
2580 set dummy
$ac_prog; ac_word
=$2
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2582 $as_echo_n "checking for $ac_word... " >&6; }
2583 if test "${ac_cv_prog_AWK+set}" = set; then :
2584 $as_echo_n "(cached) " >&6
2586 if test -n "$AWK"; then
2587 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2593 test -z "$as_dir" && as_dir
=.
2594 for ac_exec_ext
in '' $ac_executable_extensions; do
2595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2596 ac_cv_prog_AWK
="$ac_prog"
2597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2607 if test -n "$AWK"; then
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2609 $as_echo "$AWK" >&6; }
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2612 $as_echo "no" >&6; }
2616 test -n "$AWK" && break
2620 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2622 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2624 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2625 INSTALL
="${srcpwd}/install-sh -c"
2628 # Set srcdir to "." if that's what it is.
2629 # This is important for multilib support.
2631 if test "${pwd}" = "${srcpwd}" ; then
2639 ### To add a new directory to the tree, first choose whether it is a target
2640 ### or a host dependent tool. Then put it into the appropriate list
2641 ### (library or tools, host or target), doing a dependency sort.
2643 # Subdirs will be configured in the order listed in build_configdirs,
2644 # configdirs, or target_configdirs; see the serialization section below.
2646 # Dependency sorting is only needed when *configuration* must be done in
2647 # a particular order. In all cases a dependency should be specified in
2648 # the Makefile, whether or not it's implicitly specified here.
2650 # Double entries in build_configdirs, configdirs, or target_configdirs may
2651 # cause circular dependencies and break everything horribly.
2653 # these library is used by various programs built for the build
2656 build_libs
="build-libiberty"
2658 # these tools are built for the build environment
2659 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2661 # these libraries are used by various programs built for the host environment
2663 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2665 # these tools are built for the host environment
2666 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2667 # know that we are building the simulator.
2668 # binutils, gas and ld appear in that order because it makes sense to run
2669 # "make check" in that particular order.
2670 # If --enable-gold is used, "gold" may replace "ld".
2671 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2673 # libgcj represents the runtime libraries only used by gcj.
2674 libgcj
="target-libffi \
2678 # these libraries are built for the target environment, and are built after
2679 # the host libraries and the host tools (which may be a cross compiler)
2681 target_libraries
="target-libgcc \
2686 target-libstdc++-v3 \
2689 target-libquadmath \
2690 target-libgfortran \
2698 # these tools are built using the target libraries, and are intended to
2699 # run only in the target environment
2701 # note: any program that *uses* libraries that are in the "target_libraries"
2702 # list belongs in this list.
2704 target_tools
="target-rda"
2706 ################################################################################
2708 ## All tools belong in one of the four categories, and are assigned above
2709 ## We assign ${configdirs} this way to remove all embedded newlines. This
2710 ## is important because configure will choke if they ever get through.
2711 ## ${configdirs} is directories we build using the host tools.
2712 ## ${target_configdirs} is directories we build using the target tools.
2713 configdirs
=`echo ${host_libs} ${host_tools}`
2714 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2715 build_configdirs
=`echo ${build_libs} ${build_tools}`
2719 ################################################################################
2721 srcname
="gnu development package"
2723 # This gets set non-empty for some net releases of packages.
2726 # Define is_cross_compiler to save on calls to 'test'.
2728 if test x
"${host}" = x
"${target}" ; then
2729 is_cross_compiler
=no
2731 is_cross_compiler
=yes
2734 # Find the build and target subdir names.
2736 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2737 # have matching libraries, they should use host libraries: Makefile.tpl
2738 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2739 # However, they still use the build modules, because the corresponding
2740 # host modules (e.g. bison) are only built for the host when bootstrap
2742 # - build_subdir is where we find build modules, and never changes.
2743 # - build_libsubdir is where we find build libraries, and can be overridden.
2745 # Prefix 'build-' so this never conflicts with target_subdir.
2746 build_subdir
="build-${build_noncanonical}"
2748 # Check whether --with-build-libsubdir was given.
2749 if test "${with_build_libsubdir+set}" = set; then :
2750 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2752 build_libsubdir
="$build_subdir"
2755 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2756 if ( test $srcdir = .
&& test -d gcc
) \
2757 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2758 host_subdir
="host-${host_noncanonical}"
2763 target_subdir
=${target_noncanonical}
2765 # Be sure to cover against remnants of an in-tree build.
2766 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2767 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2768 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2771 # Skipdirs are removed silently.
2773 # Noconfigdirs are removed loudly.
2777 # Make sure we don't let GNU ld be added if we didn't want it.
2778 if test x
$with_gnu_ld = xno
; then
2780 noconfigdirs
="$noconfigdirs ld gold"
2784 # Make sure we don't let GNU as be added if we didn't want it.
2785 if test x
$with_gnu_as = xno
; then
2787 noconfigdirs
="$noconfigdirs gas"
2791 # Make sure we don't let ZLIB be added if we didn't want it.
2792 if test x
$with_system_zlib = xyes
; then
2793 use_included_zlib
=no
2794 noconfigdirs
="$noconfigdirs zlib"
2797 # some tools are so dependent upon X11 that if we're not building with X,
2798 # it's not even worth trying to configure, much less build, that tool.
2801 yes |
"") ;; # the default value for this tree is that X11 is available
2803 skipdirs
="${skipdirs} tk itcl libgui"
2804 # We won't be able to build gdbtk without X.
2807 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2810 # Some are only suitable for cross toolchains.
2811 # Remove these if host=target.
2812 cross_only
="target-libgloss target-newlib target-opcodes"
2814 case $is_cross_compiler in
2815 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2818 # If both --with-headers and --with-libs are specified, default to
2820 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2821 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2822 if test x
"${with_newlib}" = x
; then
2827 # Recognize --with-newlib/--without-newlib.
2828 case ${with_newlib} in
2829 no
) skipdirs
="${skipdirs} target-newlib" ;;
2830 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2833 # Handle --enable-gold, --enable-ld.
2834 # --disable-gold [--enable-ld]
2835 # Build only ld. Default option.
2836 # --enable-gold [--enable-ld]
2837 # Build both gold and ld. Install gold as "ld.gold", install ld
2838 # as "ld.bfd" and "ld".
2839 # --enable-gold=default [--enable-ld]
2840 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2841 # install ld as "ld.bfd".
2842 # --enable-gold[=default] --disable-ld
2843 # Build only gold, which is then installed as both "ld.gold" and "ld".
2844 # --enable-gold --enable-ld=default
2845 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2847 # In other words, ld is default
2848 # --enable-gold=default --enable-ld=default
2852 # Check whether --enable-gold was given.
2853 if test "${enable_gold+set}" = set; then :
2854 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2859 case "${ENABLE_GOLD}" in
2861 # Check for ELF target.
2864 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2865 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2866 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2867 |
*-*-solaris2* |
*-*-nto*)
2869 *-*-linux*aout
* |
*-*-linux*oldld
*)
2877 if test "$is_elf" = "yes"; then
2878 # Check for target supported by gold.
2880 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2881 configdirs
="$configdirs gold"
2882 if test x
${ENABLE_GOLD} = xdefault
; then
2893 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2897 # Check whether --enable-ld was given.
2898 if test "${enable_ld+set}" = set; then :
2899 enableval
=$enable_ld; ENABLE_LD
=$enableval
2905 case "${ENABLE_LD}" in
2907 if test x
${default_ld} != x
; then
2908 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2914 if test x
${ENABLE_GOLD} != xyes
; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2916 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2918 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2921 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
2925 # Configure extra directories which are host specific
2929 configdirs
="$configdirs libtermcap" ;;
2932 # A target can indicate whether a language isn't supported for some reason.
2933 # Only spaces may be used in this macro; not newlines or tabs.
2934 unsupported_languages
=
2936 # Remove more programs from consideration, based on the host or
2937 # target this usually means that a port of the program doesn't
2941 i
[3456789]86-*-msdosdjgpp*)
2942 noconfigdirs
="$noconfigdirs tcl tk itcl"
2947 # Check whether --enable-libquadmath was given.
2948 if test "${enable_libquadmath+set}" = set; then :
2949 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
2951 ENABLE_LIBQUADMATH
=yes
2954 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
2955 noconfigdirs
="$noconfigdirs target-libquadmath"
2959 # Check whether --enable-libquadmath-support was given.
2960 if test "${enable_libquadmath_support+set}" = set; then :
2961 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
2963 ENABLE_LIBQUADMATH_SUPPORT
=yes
2966 enable_libquadmath_support
=
2967 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
2968 enable_libquadmath_support
=no
2972 # Check whether --enable-libada was given.
2973 if test "${enable_libada+set}" = set; then :
2974 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
2979 if test "${ENABLE_LIBADA}" != "yes" ; then
2980 noconfigdirs
="$noconfigdirs gnattools"
2983 # Check whether --enable-libssp was given.
2984 if test "${enable_libssp+set}" = set; then :
2985 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
2991 # Save it here so that, even in case of --enable-libgcj, if the Java
2992 # front-end isn't enabled, we still get libgcj disabled.
2993 libgcj_saved
=$libgcj
2994 case $enable_libgcj in
2996 # If we reset it here, it won't get added to noconfigdirs in the
2997 # target-specific build rules, so it will be forcibly enabled
2998 # (unless the Java language itself isn't enabled).
3002 # Make sure we get it printed in the list of not supported target libs.
3003 # Don't disable libffi, though, other languages use it.
3004 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3005 # Clear libgcj_saved so that even if java is enabled libffi won't be
3012 # Disable libmudflap on some systems.
3013 if test x
$enable_libmudflap = x
; then
3015 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
3016 # Enable libmudflap by default in GNU and friends.
3019 # Enable libmudflap by default in FreeBSD.
3022 # Disable it by default everywhere else.
3023 noconfigdirs
="$noconfigdirs target-libmudflap"
3028 posix_based_os
="yes"
3030 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3032 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3034 *-*-solaris2* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
3036 *-*-darwin* |
*-*-aix*)
3043 # Enable libgomp by default on POSIX hosted systems.
3044 if test x
$enable_libgomp = x
-a $posix_based_os = "no" ; then
3045 # Disable libgomp on non POSIX hosted systems.
3046 noconfigdirs
="$noconfigdirs target-libgomp"
3049 # Enable libupc by default on POSIX hosted systems.
3050 if test x
$enable_libupc = x
-a $posix_based_os = "no" ; then
3051 # Disable libupc on non POSIX hosted systems.
3052 noconfigdirs
="$noconfigdirs target-libupc"
3055 # Disable libssp for some systems.
3058 # No hosted I/O support.
3059 noconfigdirs
="$noconfigdirs target-libssp"
3061 powerpc-
*-aix* | rs6000-
*-aix*)
3062 noconfigdirs
="$noconfigdirs target-libssp"
3066 # Disable target libiberty for some systems.
3069 # Remove unsupported stuff on all kaOS configurations.
3070 skipdirs
="target-libiberty"
3073 # Skip some stuff on all NetBSD configurations.
3074 noconfigdirs
="$noconfigdirs target-libiberty"
3077 noconfigdirs
="$noconfigdirs target-libiberty"
3080 skipdirs
="${skipdirs} target-libiberty"
3083 noconfigdirs
="$noconfigdirs target-libiberty"
3086 noconfigdirs
="$noconfigdirs target-libiberty"
3088 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3089 noconfigdirs
="$noconfigdirs target-libiberty"
3092 noconfigdirs
="$noconfigdirs target-libiberty"
3095 noconfigdirs
="$noconfigdirs target-libiberty"
3097 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3098 noconfigdirs
="$noconfigdirs target-libiberty"
3101 noconfigdirs
="$noconfigdirs target-libiberty"
3104 skipdirs
="$skipdirs target-libiberty"
3107 noconfigdirs
="$noconfigdirs target-libiberty"
3111 # Disable libstdc++-v3 for some systems.
3114 # VxWorks uses the Dinkumware C++ library.
3115 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3118 # the C++ libraries don't build on top of CE's C libraries
3119 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3122 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3126 # Disable Fortran for some systems.
3129 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3130 unsupported_languages
="$unsupported_languages fortran"
3134 # Disable Java if libffi is not supported.
3156 mips-sgi-irix6.
* | mips
*-*-rtems*)
3164 powerpc-
*-aix* | rs6000-
*-aix*)
3168 powerpc64-
*-freebsd*)
3172 s390-
*-* | s390x-
*-*)
3174 sh-
*-* | sh
[34]*-*-*)
3176 sh64-
*-* | sh5
*-*-*)
3183 unsupported_languages
="$unsupported_languages java"
3187 # Disable Java, libgcj or related libraries for some systems.
3191 i
[3456789]86-*-darwin*)
3193 x86_64-
*-darwin[912]*)
3196 noconfigdirs
="$noconfigdirs ${libgcj}"
3199 noconfigdirs
="$noconfigdirs ${libgcj}"
3202 noconfigdirs
="$noconfigdirs ${libgcj}"
3205 noconfigdirs
="$noconfigdirs ${libgcj}"
3208 noconfigdirs
="$noconfigdirs ${libgcj}"
3211 noconfigdirs
="$noconfigdirs ${libgcj}"
3214 noconfigdirs
="$noconfigdirs ${libgcj}"
3217 noconfigdirs
="$noconfigdirs ${libgcj}"
3220 noconfigdirs
="$noconfigdirs ${libgcj}"
3223 noconfigdirs
="$noconfigdirs target-boehm-gc"
3225 cris-
*-* | crisv32-
*-*)
3226 unsupported_languages
="$unsupported_languages java"
3230 *) # See PR46792 regarding target-libffi.
3231 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3235 # In this case, it's because the hppa64-linux target is for
3236 # the kernel only at this point and has no libc, and thus no
3237 # headers, crt*.o, etc., all of which are needed by these.
3238 unsupported_languages
="$unsupported_languages java"
3241 noconfigdirs
="$noconfigdirs ${libgcj}"
3246 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3247 # build on HP-UX 10.20.
3248 noconfigdirs
="$noconfigdirs ${libgcj}"
3251 noconfigdirs
="$noconfigdirs ${libgcj}"
3253 i
[3456789]86-w64-mingw*)
3254 noconfigdirs
="$noconfigdirs ${libgcj}"
3256 i
[3456789]86-*-mingw*)
3257 noconfigdirs
="$noconfigdirs ${libgcj}"
3260 noconfigdirs
="$noconfigdirs ${libgcj}"
3263 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3266 # copied from rs6000-*-* entry
3267 noconfigdirs
="$noconfigdirs ${libgcj}"
3270 noconfigdirs
="$noconfigdirs ${libgcj}"
3273 # Linking libjava exceeds command-line length limits on at least
3274 # IRIX 6.2, but not on IRIX 6.5.
3275 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3276 # <oldham@codesourcery.com>
3277 noconfigdirs
="$noconfigdirs ${libgcj}"
3280 noconfigdirs
="$noconfigdirs ${libgcj}"
3284 # Default libgloss CPU subdirectory.
3285 libgloss_dir
="$target_cpu"
3288 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3294 cris-
*-* | crisv32-
*-*)
3303 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3304 libgloss_dir
=m68hc11
3306 m68
*-*-* | fido-
*-*)
3320 # Disable newlib and libgloss for various target OSes.
3323 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3325 i
[3456789]86-*-linux*)
3326 # This section makes it possible to build newlib natively on linux.
3327 # If we are using a cross compiler then don't configure newlib.
3328 if test x
${is_cross_compiler} != xno
; then
3329 noconfigdirs
="$noconfigdirs target-newlib"
3331 noconfigdirs
="$noconfigdirs target-libgloss"
3332 # If we are not using a cross compiler, do configure newlib.
3333 # Note however, that newlib will only be configured in this situation
3334 # if the --with-newlib option has been given, because otherwise
3335 # 'target-newlib' will appear in skipdirs.
3337 i
[3456789]86-*-rdos*)
3338 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3340 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3341 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3344 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3347 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3350 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3353 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3356 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3359 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3361 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3362 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3365 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3368 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3371 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3374 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3377 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3380 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3383 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3391 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3392 noconfigdirs
="$noconfigdirs sim target-rda"
3394 i
[3456789]86-*-darwin*)
3395 noconfigdirs
="$noconfigdirs ld gprof"
3396 noconfigdirs
="$noconfigdirs sim target-rda"
3398 x86_64-
*-darwin[912]*)
3399 noconfigdirs
="$noconfigdirs ld gas gprof"
3400 noconfigdirs
="$noconfigdirs sim target-rda"
3403 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3404 noconfigdirs
="$noconfigdirs sim target-rda"
3409 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3410 && test -f /usr
/local
/include
/gmp.h
; then
3415 # Remove unsupported stuff on all kaOS configurations.
3416 noconfigdirs
="$noconfigdirs target-libgloss"
3423 noconfigdirs
="$noconfigdirs target-libgloss"
3425 # The tpf target doesn't support gdb yet.
3427 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3430 noconfigdirs
="$noconfigdirs target-rda"
3435 # ld works, but does not support shared libraries.
3436 # gas doesn't generate exception information.
3437 noconfigdirs
="$noconfigdirs gas ld"
3440 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3443 # newlib is not 64 bit ready
3444 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3446 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3447 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3450 noconfigdirs
="$noconfigdirs target-libgloss"
3453 noconfigdirs
="$noconfigdirs target-libgloss"
3456 noconfigdirs
="$noconfigdirs ld target-libgloss"
3458 c4x-
*-* | tic4x-
*-*)
3459 noconfigdirs
="$noconfigdirs target-libgloss"
3462 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3465 noconfigdirs
="$noconfigdirs gdb"
3468 noconfigdirs
="$noconfigdirs target-libgloss"
3471 noconfigdirs
="$noconfigdirs gdb"
3474 noconfigdirs
="$noconfigdirs gdb"
3477 noconfigdirs
="$noconfigdirs gprof"
3480 noconfigdirs
="$noconfigdirs target-libgloss"
3483 noconfigdirs
="$noconfigdirs target-libgloss"
3485 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3493 hppa
*-*-openbsd* | \
3497 noconfigdirs
="$noconfigdirs ld"
3502 noconfigdirs
="$noconfigdirs ld"
3505 noconfigdirs
="$noconfigdirs gdb"
3508 # No gdb support yet.
3509 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3512 # No ld support yet.
3513 noconfigdirs
="$noconfigdirs libgui itcl ld"
3516 # No gdb or ld support yet.
3517 noconfigdirs
="$noconfigdirs readline libgui itcl gdb ld"
3519 i
[3456789]86-w64-mingw*)
3521 i
[3456789]86-*-mingw*)
3522 target_configdirs
="$target_configdirs target-winsup"
3525 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3526 noconfigdirs
="$noconfigdirs target-libgloss"
3527 # always build newlib if winsup directory is present.
3528 if test -d "$srcdir/winsup/cygwin"; then
3529 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3530 elif test -d "$srcdir/newlib"; then
3531 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3535 noconfigdirs
="$noconfigdirs target-libgloss"
3537 i
[3456789]86-*-sco3.2v5
*)
3538 # The linker does not yet know about weak symbols in COFF,
3539 # and is not configured to handle mixed ELF and COFF.
3540 noconfigdirs
="$noconfigdirs ld target-libgloss"
3542 i
[3456789]86-*-sco*)
3543 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3545 i
[3456789]86-*-solaris2*)
3546 noconfigdirs
="$noconfigdirs target-libgloss"
3548 i
[3456789]86-*-sysv4*)
3549 noconfigdirs
="$noconfigdirs target-libgloss"
3551 i
[3456789]86-*-beos*)
3552 noconfigdirs
="$noconfigdirs gdb"
3554 i
[3456789]86-*-rdos*)
3555 noconfigdirs
="$noconfigdirs gdb"
3558 noconfigdirs
="$noconfigdirs gdb"
3561 noconfigdirs
="$noconfigdirs sim"
3564 # copied from rs6000-*-* entry
3565 noconfigdirs
="$noconfigdirs gprof"
3567 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3568 target_configdirs
="$target_configdirs target-winsup"
3569 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3570 # always build newlib.
3571 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3573 # This is temporary until we can link against shared libraries
3574 powerpcle-
*-solaris*)
3575 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3578 noconfigdirs
="$noconfigdirs gdb"
3581 noconfigdirs
="$noconfigdirs gprof"
3584 noconfigdirs
="$noconfigdirs gprof"
3587 noconfigdirs
="$noconfigdirs gprof"
3590 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3593 noconfigdirs
="$noconfigdirs gprof"
3596 if test x
$with_newlib = xyes
; then
3597 noconfigdirs
="$noconfigdirs gprof"
3601 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3604 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3607 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3612 noconfigdirs
="$noconfigdirs gprof"
3619 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3623 if test x
${is_cross_compiler} = xno
; then
3628 noconfigdirs
="$noconfigdirs gdb sim"
3631 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3634 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3638 # If we aren't building newlib, then don't build libgloss, since libgloss
3639 # depends upon some newlib header files.
3640 case "${noconfigdirs}" in
3641 *target-libgloss
*) ;;
3642 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3645 # Work in distributions that contain no compiler tools, like Autoconf.
3646 host_makefile_frag
=/dev
/null
3647 if test -d ${srcdir}/config
; then
3649 i
[3456789]86-*-msdosdjgpp*)
3650 host_makefile_frag
="config/mh-djgpp"
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3655 $as_echo_n "checking to see if cat works as expected... " >&6; }
3656 echo a
>cygwin-cat-check
3657 if test `cat cygwin-cat-check` = a
; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3660 $as_echo "yes" >&6; }
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3664 $as_echo "no" >&6; }
3665 as_fn_error
"The cat command does not ignore carriage return characters.
3666 Please either mount the build directory in binary mode or run the following
3667 commands before running any configure script:
3673 host_makefile_frag
="config/mh-cygwin"
3676 host_makefile_frag
="config/mh-mingw"
3679 host_makefile_frag
="config/mh-interix"
3682 host_makefile_frag
="config/mh-pa-hpux10"
3685 host_makefile_frag
="config/mh-pa"
3688 host_makefile_frag
="config/mh-pa"
3691 host_makefile_frag
="config/mh-darwin"
3694 host_makefile_frag
="config/mh-ppc-aix"
3697 host_makefile_frag
="config/mh-ppc-aix"
3702 if test "${build}" != "${host}" ; then
3703 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3704 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3705 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3706 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3707 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3708 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3709 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3710 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3711 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3712 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3713 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3714 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3715 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3717 AR_FOR_BUILD
="\$(AR)"
3718 AS_FOR_BUILD
="\$(AS)"
3719 CC_FOR_BUILD
="\$(CC)"
3720 CXX_FOR_BUILD
="\$(CXX)"
3721 GCJ_FOR_BUILD
="\$(GCJ)"
3722 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3723 GOC_FOR_BUILD
="\$(GOC)"
3724 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3725 LD_FOR_BUILD
="\$(LD)"
3726 NM_FOR_BUILD
="\$(NM)"
3727 RANLIB_FOR_BUILD
="\$(RANLIB)"
3728 WINDRES_FOR_BUILD
="\$(WINDRES)"
3729 WINDMC_FOR_BUILD
="\$(WINDMC)"
3733 ac_cpp
='$CPP $CPPFLAGS'
3734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3737 if test -n "$ac_tool_prefix"; then
3738 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3739 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if test "${ac_cv_prog_CC+set}" = set; then :
3743 $as_echo_n "(cached) " >&6
3745 if test -n "$CC"; then
3746 ac_cv_prog_CC
="$CC" # Let the user override the test.
3748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3752 test -z "$as_dir" && as_dir
=.
3753 for ac_exec_ext
in '' $ac_executable_extensions; do
3754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3766 if test -n "$CC"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3768 $as_echo "$CC" >&6; }
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3776 if test -z "$ac_cv_prog_CC"; then
3778 # Extract the first word of "gcc", so it can be a program name with args.
3779 set dummy gcc
; ac_word
=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3783 $as_echo_n "(cached) " >&6
3785 if test -n "$ac_ct_CC"; then
3786 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3792 test -z "$as_dir" && as_dir
=.
3793 for ac_exec_ext
in '' $ac_executable_extensions; do
3794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3795 ac_cv_prog_ac_ct_CC
="gcc"
3796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3806 if test -n "$ac_ct_CC"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3808 $as_echo "$ac_ct_CC" >&6; }
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811 $as_echo "no" >&6; }
3814 if test "x$ac_ct_CC" = x
; then
3817 case $cross_compiling:$ac_tool_warned in
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3821 ac_tool_warned
=yes ;;
3829 if test -z "$CC"; then
3830 if test -n "$ac_tool_prefix"; then
3831 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3832 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if test "${ac_cv_prog_CC+set}" = set; then :
3836 $as_echo_n "(cached) " >&6
3838 if test -n "$CC"; then
3839 ac_cv_prog_CC
="$CC" # Let the user override the test.
3841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3845 test -z "$as_dir" && as_dir
=.
3846 for ac_exec_ext
in '' $ac_executable_extensions; do
3847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3848 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 if test -n "$CC"; then
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3861 $as_echo "$CC" >&6; }
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3864 $as_echo "no" >&6; }
3870 if test -z "$CC"; then
3871 # Extract the first word of "cc", so it can be a program name with args.
3872 set dummy cc
; ac_word
=$2
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3874 $as_echo_n "checking for $ac_word... " >&6; }
3875 if test "${ac_cv_prog_CC+set}" = set; then :
3876 $as_echo_n "(cached) " >&6
3878 if test -n "$CC"; then
3879 ac_cv_prog_CC
="$CC" # Let the user override the test.
3882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3886 test -z "$as_dir" && as_dir
=.
3887 for ac_exec_ext
in '' $ac_executable_extensions; do
3888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3889 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3890 ac_prog_rejected
=yes
3894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3901 if test $ac_prog_rejected = yes; then
3902 # We found a bogon in the path, so make sure we never use it.
3903 set dummy
$ac_cv_prog_CC
3905 if test $# != 0; then
3906 # We chose a different compiler from the bogus one.
3907 # However, it has the same basename, so the bogon will be chosen
3908 # first if we set CC to just the basename; use the full file name.
3910 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3916 if test -n "$CC"; then
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3918 $as_echo "$CC" >&6; }
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3921 $as_echo "no" >&6; }
3926 if test -z "$CC"; then
3927 if test -n "$ac_tool_prefix"; then
3928 for ac_prog
in cl.exe
3930 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3931 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3933 $as_echo_n "checking for $ac_word... " >&6; }
3934 if test "${ac_cv_prog_CC+set}" = set; then :
3935 $as_echo_n "(cached) " >&6
3937 if test -n "$CC"; then
3938 ac_cv_prog_CC
="$CC" # Let the user override the test.
3940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3944 test -z "$as_dir" && as_dir
=.
3945 for ac_exec_ext
in '' $ac_executable_extensions; do
3946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3947 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 if test -n "$CC"; then
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3960 $as_echo "$CC" >&6; }
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3963 $as_echo "no" >&6; }
3967 test -n "$CC" && break
3970 if test -z "$CC"; then
3972 for ac_prog
in cl.exe
3974 # Extract the first word of "$ac_prog", so it can be a program name with args.
3975 set dummy
$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_ac_ct_CC+set}" = set; then :
3979 $as_echo_n "(cached) " >&6
3981 if test -n "$ac_ct_CC"; then
3982 ac_cv_prog_ac_ct_CC
="$ac_ct_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_ac_ct_CC
="$ac_prog"
3992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4001 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4002 if test -n "$ac_ct_CC"; then
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4004 $as_echo "$ac_ct_CC" >&6; }
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4011 test -n "$ac_ct_CC" && break
4014 if test "x$ac_ct_CC" = x
; then
4017 case $cross_compiling:$ac_tool_warned in
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4021 ac_tool_warned
=yes ;;
4030 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4032 as_fn_error
"no acceptable C compiler found in \$PATH
4033 See \`config.log' for more details." "$LINENO" 5; }
4035 # Provide some information about the compiler.
4036 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4039 for ac_option
in --version -v -V -qversion; do
4040 { { ac_try
="$ac_compiler $ac_option >&5"
4042 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4046 $as_echo "$ac_try_echo"; } >&5
4047 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4049 if test -s conftest.err; then
4051 ... rest of stderr output deleted ...
4052 10q' conftest.err >conftest.er1
4053 cat conftest.er1 >&5
4054 rm -f conftest.er1 conftest.err
4056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4057 test $ac_status = 0; }
4060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4061 /* end confdefs.h. */
4071 ac_clean_files_save=$ac_clean_files
4072 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4073 # Try to create an executable without -o first, disregard a.out.
4074 # It will help us diagnose broken compilers, and finding out an intuition
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4077 $as_echo_n "checking for C compiler default output file name... " >&6; }
4078 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4080 # The possible output files:
4081 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4084 for ac_file in $ac_files
4087 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4088 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4093 if { { ac_try="$ac_link_default"
4095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4096 *) ac_try_echo
=$ac_try;;
4098 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099 $as_echo "$ac_try_echo"; } >&5
4100 (eval "$ac_link_default") 2>&5
4102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103 test $ac_status = 0; }; then :
4104 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4105 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4106 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4107 # so that the user can short-circuit this test for compilers unknown to
4109 for ac_file
in $ac_files ''
4111 test -f "$ac_file" ||
continue
4113 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4116 # We found the default executable, but exeext='' is most
4120 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4122 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4124 # We set ac_cv_exeext here because the later test for it is not
4125 # safe: cross compilers may not add the suffix if given an `-o'
4126 # argument, so we may need to know it at that point already.
4127 # Even if this section looks crufty: it has the advantage of
4134 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4140 $as_echo "$ac_file" >&6; }
4141 if test -z "$ac_file"; then :
4142 $as_echo "$as_me: failed program was:" >&5
4143 sed 's/^/| /' conftest.
$ac_ext >&5
4145 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4146 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4147 { as_fn_set_status
77
4148 as_fn_error
"C compiler cannot create executables
4149 See \`config.log' for more details." "$LINENO" 5; }; }
4151 ac_exeext
=$ac_cv_exeext
4153 # Check that the compiler produces executables we can run. If not, either
4154 # the compiler is broken, or we cross compile.
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4156 $as_echo_n "checking whether the C compiler works... " >&6; }
4157 # If not cross compiling, check that we can run a simple program.
4158 if test "$cross_compiling" != yes; then
4159 if { ac_try
='./$ac_file'
4160 { { case "(($ac_try" in
4161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4162 *) ac_try_echo=$ac_try;;
4164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4165 $as_echo "$ac_try_echo"; } >&5
4166 (eval "$ac_try") 2>&5
4168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4169 test $ac_status = 0; }; }; then
4172 if test "$cross_compiling" = maybe; then
4175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4177 as_fn_error "cannot run C compiled programs.
4178 If you meant to cross compile
, use \
`--host'.
4179 See \`config.log
' for more details." "$LINENO" 5; }
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4184 $as_echo "yes" >&6; }
4186 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4187 ac_clean_files=$ac_clean_files_save
4188 # Check that the compiler produces executables we can run. If not, either
4189 # the compiler is broken, or we cross compile.
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4191 $as_echo_n "checking whether we are cross compiling... " >&6; }
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4193 $as_echo "$cross_compiling" >&6; }
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4196 $as_echo_n "checking for suffix of executables... " >&6; }
4197 if { { ac_try="$ac_link"
4199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4200 *) ac_try_echo=$ac_try;;
4202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4203 $as_echo "$ac_try_echo"; } >&5
4204 (eval "$ac_link") 2>&5
4206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4207 test $ac_status = 0; }; then :
4208 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4209 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4210 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4212 for ac_file
in conftest.exe conftest conftest.
*; do
4213 test -f "$ac_file" ||
continue
4215 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4216 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4222 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4224 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4225 See \`config.log' for more details." "$LINENO" 5; }
4227 rm -f conftest
$ac_cv_exeext
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4229 $as_echo "$ac_cv_exeext" >&6; }
4231 rm -f conftest.
$ac_ext
4232 EXEEXT
=$ac_cv_exeext
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4235 $as_echo_n "checking for suffix of object files... " >&6; }
4236 if test "${ac_cv_objext+set}" = set; then :
4237 $as_echo_n "(cached) " >&6
4239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4240 /* end confdefs.h. */
4250 rm -f conftest.o conftest.obj
4251 if { { ac_try
="$ac_compile"
4253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4254 *) ac_try_echo=$ac_try;;
4256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4257 $as_echo "$ac_try_echo"; } >&5
4258 (eval "$ac_compile") 2>&5
4260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4261 test $ac_status = 0; }; then :
4262 for ac_file in conftest.o conftest.obj conftest.*; do
4263 test -f "$ac_file" || continue;
4265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4266 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4271 $as_echo "$as_me: failed program was:" >&5
4272 sed 's/^/| /' conftest.$ac_ext >&5
4274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4276 as_fn_error "cannot compute suffix of object files
: cannot compile
4277 See \
`config.log' for more details." "$LINENO" 5; }
4279 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4282 $as_echo "$ac_cv_objext" >&6; }
4283 OBJEXT=$ac_cv_objext
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4286 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4287 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4288 $as_echo_n "(cached) " >&6
4290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4291 /* end confdefs.h. */
4304 if ac_fn_c_try_compile "$LINENO"; then :
4309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4310 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4314 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4315 if test $ac_compiler_gnu = yes; then
4320 ac_test_CFLAGS=${CFLAGS+set}
4321 ac_save_CFLAGS=$CFLAGS
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4323 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4324 if test "${ac_cv_prog_cc_g+set}" = set; then :
4325 $as_echo_n "(cached) " >&6
4327 ac_save_c_werror_flag=$ac_c_werror_flag
4328 ac_c_werror_flag=yes
4331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4332 /* end confdefs.h. */
4342 if ac_fn_c_try_compile "$LINENO"; then :
4346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347 /* end confdefs.h. */
4357 if ac_fn_c_try_compile "$LINENO"; then :
4360 ac_c_werror_flag=$ac_save_c_werror_flag
4362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4363 /* end confdefs.h. */
4373 if ac_fn_c_try_compile "$LINENO"; then :
4376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4381 ac_c_werror_flag=$ac_save_c_werror_flag
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4384 $as_echo "$ac_cv_prog_cc_g" >&6; }
4385 if test "$ac_test_CFLAGS" = set; then
4386 CFLAGS=$ac_save_CFLAGS
4387 elif test $ac_cv_prog_cc_g = yes; then
4388 if test "$GCC" = yes; then
4394 if test "$GCC" = yes; then
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4401 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4402 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4403 $as_echo_n "(cached) " >&6
4405 ac_cv_prog_cc_c89=no
4407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4408 /* end confdefs.h. */
4411 #include <sys/types.h>
4412 #include <sys/stat.h>
4413 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4414 struct buf { int x; };
4415 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4416 static char *e (p, i)
4422 static char *f (char * (*g) (char **, int), char **p, ...)
4427 s = g (p, va_arg (v,int));
4432 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4433 function prototypes and stuff, but not '\xHH' hex character constants.
4434 These don't provoke an error unfortunately, instead are silently treated
4435 as 'x'. The following induces an error, until -std is added to get
4436 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4437 array size at least. It's necessary to write '\x00'==0 to get something
4438 that's true only with -std. */
4439 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4441 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4442 inside strings and character constants. */
4444 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4446 int test (int i, double x);
4447 struct s1 {int (*f) (int a);};
4448 struct s2 {int (*f) (double a);};
4449 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4455 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4460 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4461 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4463 CC="$ac_save_CC $ac_arg"
4464 if ac_fn_c_try_compile "$LINENO"; then :
4465 ac_cv_prog_cc_c89=$ac_arg
4467 rm -f core conftest.err conftest.$ac_objext
4468 test "x$ac_cv_prog_cc_c89" != "xno" && break
4470 rm -f conftest.$ac_ext
4475 case "x$ac_cv_prog_cc_c89" in
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4478 $as_echo "none needed" >&6; } ;;
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4481 $as_echo "unsupported" >&6; } ;;
4483 CC="$CC $ac_cv_prog_cc_c89"
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4485 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4487 if test "x$ac_cv_prog_cc_c89" != xno; then :
4492 ac_cpp='$CPP $CPPFLAGS'
4493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4498 ac_cpp='$CXXCPP $CPPFLAGS'
4499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4502 if test -z "$CXX"; then
4503 if test -n "$CCC"; then
4506 if test -n "$ac_tool_prefix"; then
4507 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4509 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4510 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4512 $as_echo_n "checking for $ac_word... " >&6; }
4513 if test "${ac_cv_prog_CXX+set}" = set; then :
4514 $as_echo_n "(cached) " >&6
4516 if test -n "$CXX"; then
4517 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 test -z "$as_dir" && as_dir=.
4524 for ac_exec_ext in '' $ac_executable_extensions; do
4525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4526 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4537 if test -n "$CXX"; then
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4539 $as_echo "$CXX" >&6; }
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4542 $as_echo "no" >&6; }
4546 test -n "$CXX" && break
4549 if test -z "$CXX"; 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_prog", so it can be a program name with args.
4554 set dummy $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_ac_ct_CXX+set}" = set; then :
4558 $as_echo_n "(cached) " >&6
4560 if test -n "$ac_ct_CXX"; then
4561 ac_cv_prog_ac_ct_CXX="$ac_ct_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_ac_ct_CXX="$ac_prog"
4571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4580 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4581 if test -n "$ac_ct_CXX"; then
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4583 $as_echo "$ac_ct_CXX" >&6; }
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4586 $as_echo "no" >&6; }
4590 test -n "$ac_ct_CXX" && break
4593 if test "x$ac_ct_CXX" = x; then
4596 case $cross_compiling:$ac_tool_warned in
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4600 ac_tool_warned=yes ;;
4608 # Provide some information about the compiler.
4609 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4612 for ac_option in --version -v -V -qversion; do
4613 { { ac_try="$ac_compiler $ac_option >&5"
4615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4616 *) ac_try_echo
=$ac_try;;
4618 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4619 $as_echo "$ac_try_echo"; } >&5
4620 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4622 if test -s conftest.err
; then
4624 ... rest of stderr output deleted ...
4625 10q' conftest.err
>conftest.er1
4626 cat conftest.er1
>&5
4627 rm -f conftest.er1 conftest.err
4629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4630 test $ac_status = 0; }
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4634 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4635 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4636 $as_echo_n "(cached) " >&6
4638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4639 /* end confdefs.h. */
4652 if ac_fn_cxx_try_compile
"$LINENO"; then :
4657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4658 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4662 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4663 if test $ac_compiler_gnu = yes; then
4668 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4669 ac_save_CXXFLAGS
=$CXXFLAGS
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4671 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4672 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4673 $as_echo_n "(cached) " >&6
4675 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4676 ac_cxx_werror_flag
=yes
4679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h. */
4690 if ac_fn_cxx_try_compile
"$LINENO"; then :
4691 ac_cv_prog_cxx_g
=yes
4694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4695 /* end confdefs.h. */
4705 if ac_fn_cxx_try_compile
"$LINENO"; then :
4708 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4711 /* end confdefs.h. */
4721 if ac_fn_cxx_try_compile
"$LINENO"; then :
4722 ac_cv_prog_cxx_g
=yes
4724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4729 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4732 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4733 if test "$ac_test_CXXFLAGS" = set; then
4734 CXXFLAGS
=$ac_save_CXXFLAGS
4735 elif test $ac_cv_prog_cxx_g = yes; then
4736 if test "$GXX" = yes; then
4742 if test "$GXX" = yes; then
4749 ac_cpp
='$CPP $CPPFLAGS'
4750 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4751 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4752 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4755 # We must set the default linker to the linker used by gcc for the correct
4756 # operation of libtool. If LD is not defined and we are using gcc, try to
4757 # set the LD default to the ld used by gcc.
4758 if test -z "$LD"; then
4759 if test "$GCC" = yes; then
4762 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4764 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4766 case $gcc_prog_ld in
4767 # Accept absolute paths.
4768 [\\/]* |
[A-Za-z
]:[\\/]*)
4769 LD
="$gcc_prog_ld" ;;
4777 if test -n "$ac_tool_prefix"; then
4778 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4779 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4781 $as_echo_n "checking for $ac_word... " >&6; }
4782 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4783 $as_echo_n "(cached) " >&6
4785 if test -n "$GNATBIND"; then
4786 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4792 test -z "$as_dir" && as_dir
=.
4793 for ac_exec_ext
in '' $ac_executable_extensions; do
4794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4795 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4805 GNATBIND
=$ac_cv_prog_GNATBIND
4806 if test -n "$GNATBIND"; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4808 $as_echo "$GNATBIND" >&6; }
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4816 if test -z "$ac_cv_prog_GNATBIND"; then
4817 ac_ct_GNATBIND
=$GNATBIND
4818 # Extract the first word of "gnatbind", so it can be a program name with args.
4819 set dummy gnatbind
; ac_word
=$2
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 $as_echo_n "checking for $ac_word... " >&6; }
4822 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4825 if test -n "$ac_ct_GNATBIND"; then
4826 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4832 test -z "$as_dir" && as_dir
=.
4833 for ac_exec_ext
in '' $ac_executable_extensions; do
4834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4835 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4846 if test -n "$ac_ct_GNATBIND"; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4848 $as_echo "$ac_ct_GNATBIND" >&6; }
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 $as_echo "no" >&6; }
4854 if test "x$ac_ct_GNATBIND" = x
; then
4857 case $cross_compiling:$ac_tool_warned in
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4861 ac_tool_warned
=yes ;;
4863 GNATBIND
=$ac_ct_GNATBIND
4866 GNATBIND
="$ac_cv_prog_GNATBIND"
4869 if test -n "$ac_tool_prefix"; then
4870 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4871 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873 $as_echo_n "checking for $ac_word... " >&6; }
4874 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4875 $as_echo_n "(cached) " >&6
4877 if test -n "$GNATMAKE"; then
4878 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4884 test -z "$as_dir" && as_dir
=.
4885 for ac_exec_ext
in '' $ac_executable_extensions; do
4886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4887 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4897 GNATMAKE
=$ac_cv_prog_GNATMAKE
4898 if test -n "$GNATMAKE"; then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4900 $as_echo "$GNATMAKE" >&6; }
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 $as_echo "no" >&6; }
4908 if test -z "$ac_cv_prog_GNATMAKE"; then
4909 ac_ct_GNATMAKE
=$GNATMAKE
4910 # Extract the first word of "gnatmake", so it can be a program name with args.
4911 set dummy gnatmake
; ac_word
=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4915 $as_echo_n "(cached) " >&6
4917 if test -n "$ac_ct_GNATMAKE"; then
4918 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4924 test -z "$as_dir" && as_dir
=.
4925 for ac_exec_ext
in '' $ac_executable_extensions; do
4926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4927 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4938 if test -n "$ac_ct_GNATMAKE"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4940 $as_echo "$ac_ct_GNATMAKE" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4946 if test "x$ac_ct_GNATMAKE" = x
; then
4949 case $cross_compiling:$ac_tool_warned in
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4953 ac_tool_warned
=yes ;;
4955 GNATMAKE
=$ac_ct_GNATMAKE
4958 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
4962 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
4963 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
4964 $as_echo_n "(cached) " >&6
4966 cat >conftest.adb
<<EOF
4967 procedure conftest is begin null; end conftest;
4969 acx_cv_cc_gcc_supports_ada
=no
4970 # There is a bug in old released versions of GCC which causes the
4971 # driver to exit successfully when the appropriate language module
4972 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4973 # Therefore we must check for the error message as well as an
4974 # unsuccessful exit.
4975 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4976 # given a .adb file, but produce no object file. So we must check
4977 # if an object file was really produced to guard against this.
4978 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4979 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4980 acx_cv_cc_gcc_supports_ada
=yes
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
4985 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
4987 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
4994 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
4995 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
4996 $as_echo_n "(cached) " >&6
5000 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5001 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5002 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5005 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5008 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5009 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5012 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5019 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5020 do_compare
="$gcc_cv_prog_cmp_skip"
5024 # See if we are building gcc with C++.
5025 # Check whether --enable-build-with-cxx was given.
5026 if test "${enable_build_with_cxx+set}" = set; then :
5027 enableval
=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX
=$enableval
5029 ENABLE_BUILD_WITH_CXX
=no
5033 # Used for setting $lt_cv_objdir
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5035 $as_echo_n "checking for objdir... " >&6; }
5036 if test "${lt_cv_objdir+set}" = set; then :
5037 $as_echo_n "(cached) " >&6
5039 rm -f .libs
2>/dev
/null
5040 mkdir .libs
2>/dev
/null
5041 if test -d .libs
; then
5044 # MS-DOS does not allow filenames that begin with a dot.
5047 rmdir .libs
2>/dev
/null
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5050 $as_echo "$lt_cv_objdir" >&6; }
5051 objdir
=$lt_cv_objdir
5057 cat >>confdefs.h
<<_ACEOF
5058 #define LT_OBJDIR "$lt_cv_objdir/"
5063 # Check for GMP, MPFR and MPC
5064 gmplibs
="-lmpc -lmpfr -lgmp"
5068 # Specify a location for mpc
5069 # check for this first so it ends up on the link line before mpfr.
5071 # Check whether --with-mpc was given.
5072 if test "${with_mpc+set}" = set; then :
5077 # Check whether --with-mpc-include was given.
5078 if test "${with_mpc_include+set}" = set; then :
5079 withval
=$with_mpc_include;
5083 # Check whether --with-mpc-lib was given.
5084 if test "${with_mpc_lib+set}" = set; then :
5085 withval
=$with_mpc_lib;
5089 if test "x$with_mpc" != x
; then
5090 gmplibs
="-L$with_mpc/lib $gmplibs"
5091 gmpinc
="-I$with_mpc/include $gmpinc"
5093 if test "x$with_mpc_include" != x
; then
5094 gmpinc
="-I$with_mpc_include $gmpinc"
5096 if test "x$with_mpc_lib" != x
; then
5097 gmplibs
="-L$with_mpc_lib $gmplibs"
5099 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5100 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5101 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5102 # Do not test the mpc version. Assume that it is sufficient, since
5103 # it is in the source tree, and the library has not been built yet
5104 # but it would be included on the link line in the version check below
5105 # hence making the test fail.
5109 # Specify a location for mpfr
5110 # check for this first so it ends up on the link line before gmp.
5112 # Check whether --with-mpfr-dir was given.
5113 if test "${with_mpfr_dir+set}" = set; then :
5114 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5115 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5120 # Check whether --with-mpfr was given.
5121 if test "${with_mpfr+set}" = set; then :
5126 # Check whether --with-mpfr-include was given.
5127 if test "${with_mpfr_include+set}" = set; then :
5128 withval
=$with_mpfr_include;
5132 # Check whether --with-mpfr-lib was given.
5133 if test "${with_mpfr_lib+set}" = set; then :
5134 withval
=$with_mpfr_lib;
5138 if test "x$with_mpfr" != x
; then
5139 gmplibs
="-L$with_mpfr/lib $gmplibs"
5140 gmpinc
="-I$with_mpfr/include $gmpinc"
5142 if test "x$with_mpfr_include" != x
; then
5143 gmpinc
="-I$with_mpfr_include $gmpinc"
5145 if test "x$with_mpfr_lib" != x
; then
5146 gmplibs
="-L$with_mpfr_lib $gmplibs"
5148 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5149 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5150 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5151 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5152 # Do not test the mpfr version. Assume that it is sufficient, since
5153 # it is in the source tree, and the library has not been built yet
5154 # but it would be included on the link line in the version check below
5155 # hence making the test fail.
5159 # Specify a location for gmp
5161 # Check whether --with-gmp-dir was given.
5162 if test "${with_gmp_dir+set}" = set; then :
5163 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5164 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5169 # Check whether --with-gmp was given.
5170 if test "${with_gmp+set}" = set; then :
5175 # Check whether --with-gmp-include was given.
5176 if test "${with_gmp_include+set}" = set; then :
5177 withval
=$with_gmp_include;
5181 # Check whether --with-gmp-lib was given.
5182 if test "${with_gmp_lib+set}" = set; then :
5183 withval
=$with_gmp_lib;
5188 if test "x$with_gmp" != x
; then
5189 gmplibs
="-L$with_gmp/lib $gmplibs"
5190 gmpinc
="-I$with_gmp/include $gmpinc"
5192 if test "x$with_gmp_include" != x
; then
5193 gmpinc
="-I$with_gmp_include $gmpinc"
5195 if test "x$with_gmp_lib" != x
; then
5196 gmplibs
="-L$with_gmp_lib $gmplibs"
5198 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5199 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5200 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5201 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5202 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5203 # Do not test the gmp version. Assume that it is sufficient, since
5204 # it is in the source tree, and the library has not been built yet
5205 # but it would be included on the link line in the version check below
5206 # hence making the test fail.
5210 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5212 saved_CFLAGS
="$CFLAGS"
5213 CFLAGS
="$CFLAGS $gmpinc"
5214 # Check for the recommended and required versions of GMP.
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5216 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5219 /* end confdefs.h. */
5225 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5226 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5227 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5235 if ac_fn_c_try_compile
"$LINENO"; then :
5236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5237 /* end confdefs.h. */
5243 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5244 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5245 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5253 if ac_fn_c_try_compile
"$LINENO"; then :
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5255 $as_echo "yes" >&6; }
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5258 $as_echo "buggy but acceptable" >&6; }
5260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5263 $as_echo "no" >&6; }; have_gmp
=no
5265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5267 # If we have GMP, check the MPFR version.
5268 if test x
"$have_gmp" = xyes
; then
5269 # Check for the recommended and required versions of MPFR.
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5271 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5273 /* end confdefs.h. */
5280 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5288 if ac_fn_c_try_compile
"$LINENO"; then :
5289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5290 /* end confdefs.h. */
5297 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5305 if ac_fn_c_try_compile
"$LINENO"; then :
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5307 $as_echo "yes" >&6; }
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5310 $as_echo "buggy but acceptable" >&6; }
5312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5315 $as_echo "no" >&6; }; have_gmp
=no
5317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5320 # Check for the MPC header version.
5321 if test x
"$have_gmp" = xyes
; then
5322 # Check for the recommended and required versions of MPC.
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5324 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5326 /* end confdefs.h. */
5332 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5340 if ac_fn_c_try_compile
"$LINENO"; then :
5341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5342 /* end confdefs.h. */
5348 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5356 if ac_fn_c_try_compile
"$LINENO"; then :
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5358 $as_echo "yes" >&6; }
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5361 $as_echo "buggy but acceptable" >&6; }
5363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5366 $as_echo "no" >&6; }; have_gmp
=no
5368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5371 # Now check the MPFR library.
5372 if test x
"$have_gmp" = xyes
; then
5374 LIBS
="$LIBS $gmplibs"
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5376 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5378 /* end confdefs.h. */
5390 mpfr_atan2 (n, n, x, GMP_RNDN);
5391 mpfr_erfc (n, x, GMP_RNDN);
5392 mpfr_subnormalize (x, t, GMP_RNDN);
5396 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5397 mpc_cosh (c, c, MPC_RNDNN);
5398 mpc_pow (c, c, c, MPC_RNDNN);
5399 mpc_acosh (c, c, MPC_RNDNN);
5406 if ac_fn_c_try_link
"$LINENO"; then :
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5408 $as_echo "yes" >&6; }
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5411 $as_echo "no" >&6; }; have_gmp
=no
5413 rm -f core conftest.err conftest.
$ac_objext \
5414 conftest
$ac_exeext conftest.
$ac_ext
5418 CFLAGS
="$saved_CFLAGS"
5420 # The library versions listed in the error message below should match
5421 # the HARD-minimums enforced above.
5422 if test x
$have_gmp != xyes
; then
5423 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
5424 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5425 their locations. Source code for these libraries can be found at
5426 their respective hosting sites as well as at
5427 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5428 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5429 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5430 make sure that you have installed both the libraries and the header
5431 files. They may be located in separate packages." "$LINENO" 5
5435 # Flags needed for both GMP, MPFR and/or MPC.
5442 # Allow host libstdc++ to be specified for static linking with PPL.
5444 # Check whether --with-host-libstdcxx was given.
5445 if test "${with_host_libstdcxx+set}" = set; then :
5446 withval
=$with_host_libstdcxx;
5450 case $with_host_libstdcxx in
5452 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5456 # Linker flags to use for stage1 or when not boostrapping.
5458 # Check whether --with-stage1-ldflags was given.
5459 if test "${with_stage1_ldflags+set}" = set; then :
5460 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5463 stage1_ldflags
=$withval
5471 # Libraries to use for stage1 or when not bootstrapping.
5473 # Check whether --with-stage1-libs was given.
5474 if test "${with_stage1_libs+set}" = set; then :
5475 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5478 stage1_libs
=$withval
5481 stage1_libs
=$with_host_libstdcxx
5486 # Libraries to use for stage2 and later builds. This defaults to the
5487 # argument passed to --with-host-libstdcxx.
5489 # Check whether --with-boot-libs was given.
5490 if test "${with_boot_libs+set}" = set; then :
5491 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5494 poststage1_libs
=$withval
5497 poststage1_libs
=$with_host_libstdcxx
5502 # Linker flags to use for stage2 and later builds.
5504 # Check whether --with-boot-ldflags was given.
5505 if test "${with_boot_ldflags+set}" = set; then :
5506 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5509 poststage1_ldflags
=$withval
5513 # In stages 2 and 3, default to linking libstdc++ and libgcc
5514 # statically. But if the user explicitly specified the libraries to
5515 # use, trust that they are doing what they want.
5516 if test "$poststage1_libs" = ""; then
5517 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5529 # Check whether --with-ppl was given.
5530 if test "${with_ppl+set}" = set; then :
5535 # Check whether --with-ppl-include was given.
5536 if test "${with_ppl_include+set}" = set; then :
5537 withval
=$with_ppl_include;
5541 # Check whether --with-ppl-lib was given.
5542 if test "${with_ppl_lib+set}" = set; then :
5543 withval
=$with_ppl_lib;
5547 # Check whether --enable-ppl-version-check was given.
5548 if test "${enable_ppl_version_check+set}" = set; then :
5549 enableval
=$enable_ppl_version_check;
5557 ppllibs
="-L$with_ppl/lib"
5558 pplinc
="-I$with_ppl/include $pplinc"
5559 if test -d "$with_ppl/lib" && test -d "$with_ppl/include"; then
5562 as_fn_error
"cannot find directories \"$with_ppl/lib\" or \"$with_ppl/include\"" "$LINENO" 5
5567 if test x
"$with_ppl_include" != x
; then
5568 pplinc
="-I$with_ppl_include $pplinc"
5572 if test "x$with_ppl_lib" != x
; then
5573 ppllibs
="-L$with_ppl_lib"
5577 if test x
"$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5578 if test x
"$enable_watchdog" = xyes
; then
5581 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"
5582 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5583 enable_ppl_version_check
=no
5587 if test "x$with_ppl" != xno
; then
5588 if test "x$pwllib" = x
; then
5590 LIBS
="$LIBS $ppllibs -lstdc++ -lm"
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PWL_handle_timeout in -lpwl" >&5
5592 $as_echo_n "checking for PWL_handle_timeout in -lpwl... " >&6; }
5593 if test "${ac_cv_lib_pwl_PWL_handle_timeout+set}" = set; then :
5594 $as_echo_n "(cached) " >&6
5596 ac_check_lib_save_LIBS
=$LIBS
5598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5599 /* end confdefs.h. */
5601 /* Override any GCC internal prototype to avoid an error.
5602 Use char because int might match the return type of a GCC
5603 builtin and then its argument prototype would still apply. */
5607 char PWL_handle_timeout ();
5611 return PWL_handle_timeout ();
5616 if ac_fn_c_try_link
"$LINENO"; then :
5617 ac_cv_lib_pwl_PWL_handle_timeout
=yes
5619 ac_cv_lib_pwl_PWL_handle_timeout
=no
5621 rm -f core conftest.err conftest.
$ac_objext \
5622 conftest
$ac_exeext conftest.
$ac_ext
5623 LIBS
=$ac_check_lib_save_LIBS
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pwl_PWL_handle_timeout" >&5
5626 $as_echo "$ac_cv_lib_pwl_PWL_handle_timeout" >&6; }
5627 if test "x$ac_cv_lib_pwl_PWL_handle_timeout" = x
""yes; then :
5634 ppllibs
="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"
5636 if test "$enable_ppl_version_check" != no
; then
5637 saved_CFLAGS
="$CFLAGS"
5638 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.11 (revision 0 or later) of PPL" >&5
5640 $as_echo_n "checking for version 0.11 (revision 0 or later) of PPL... " >&6; }
5641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5642 /* end confdefs.h. */
5648 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11
5656 if ac_fn_c_try_compile
"$LINENO"; then :
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5658 $as_echo "yes" >&6; }
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 $as_echo "no" >&6; }; ppllibs
= ; pplinc
= ; with_ppl
=no
5663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5664 CFLAGS
="$saved_CFLAGS"
5668 # Flags needed for PPL
5677 # Check whether --with-cloog was given.
5678 if test "${with_cloog+set}" = set; then :
5679 withval
=$with_cloog;
5683 # Check whether --with-cloog-include was given.
5684 if test "${with_cloog_include+set}" = set; then :
5685 withval
=$with_cloog_include;
5689 # Check whether --with-cloog-lib was given.
5690 if test "${with_cloog_lib+set}" = set; then :
5691 withval
=$with_cloog_lib;
5695 # Check whether --enable-cloog-backend was given.
5696 if test "${enable_cloog_backend+set}" = set; then :
5697 enableval
=$enable_cloog_backend; if test "x${enableval}" = "xisl"; then
5699 elif test "x${enableval}" = "xppl"; then
5702 cloog_backend
=ppl-legacy
5705 cloog_backend
=ppl-legacy
5708 # Check whether --enable-cloog-version-check was given.
5709 if test "${enable_cloog_version_check+set}" = set; then :
5710 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5712 ENABLE_CLOOG_CHECK
=yes
5716 # Initialize clooglibs and clooginc.
5725 clooglibs
="-L$with_cloog/lib"
5726 clooginc
="-I$with_cloog/include"
5729 if test "x${with_cloog_include}" != x
; then
5730 clooginc
="-I$with_cloog_include"
5732 if test "x${with_cloog_lib}" != x
; then
5733 clooglibs
="-L$with_cloog_lib"
5740 if test "x$with_ppl" = "xno"; then
5744 if test "x${with_cloog}" = xno
; then
5745 graphite_requested
=no
5746 elif test "x${with_cloog}" != x \
5747 ||
test "x${with_cloog_include}" != x \
5748 ||
test "x${with_cloog_lib}" != x
; then
5749 graphite_requested
=yes
5751 graphite_requested
=no
5755 if test "${graphite_requested}" = yes; then
5756 as_fn_error
"Unable to find a usable PPL. See config.log for details." "$LINENO" 5
5760 if test "x${with_cloog}" = x
&& test "x${with_cloog_include}" = x \
5761 && test "x${with_cloog_lib}" = x
&& test -d ${srcdir}/cloog
; then
5762 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5763 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
5765 if test "x$with_cloog" != "xno"; then
5769 _cloog_saved_CFLAGS
=$CFLAGS
5770 _cloog_saved_CPPFLAGS
=$CPPFLAGS
5771 _cloog_saved_LDFLAGS
=$LDFLAGS
5772 _cloog_saved_LIBS
=$LIBS
5774 _cloogorginc
="-DCLOOG_INT_GMP -DCLOOG_ORG"
5776 CFLAGS
="${CFLAGS} ${clooginc} ${gmpinc}"
5777 CPPFLAGS
="${CPPFLAGS} ${_cloogorginc}"
5778 LDFLAGS
="${LDFLAGS} ${clooglibs}"
5780 case $cloog_backend in
5782 CFLAGS
="${CFLAGS} ${pplinc}"
5783 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL Legacy" >&5
5785 $as_echo_n "checking for installed CLooG PPL Legacy... " >&6; }
5786 if test "${gcc_cv_cloog_type+set}" = set; then :
5787 $as_echo_n "(cached) " >&6
5789 LIBS
="-lcloog ${_cloog_saved_LIBS}"
5790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5791 /* end confdefs.h. */
5792 #include "cloog/cloog.h"
5796 #ifndef CLOOG_PPL_BACKEND
5803 if ac_fn_c_try_link
"$LINENO"; then :
5804 gcc_cv_cloog_type
="PPL Legacy"
5806 gcc_cv_cloog_type
=no
5808 rm -f core conftest.err conftest.
$ac_objext \
5809 conftest
$ac_exeext conftest.
$ac_ext
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5812 $as_echo "$gcc_cv_cloog_type" >&6; }
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG ISL" >&5
5816 $as_echo_n "checking for installed CLooG ISL... " >&6; }
5817 if test "${gcc_cv_cloog_type+set}" = set; then :
5818 $as_echo_n "(cached) " >&6
5820 LIBS
="-lcloog-isl ${_cloog_saved_LIBS}"
5821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5822 /* end confdefs.h. */
5823 #include "cloog/cloog.h"
5832 if ac_fn_c_try_link
"$LINENO"; then :
5833 gcc_cv_cloog_type
="ISL"
5835 gcc_cv_cloog_type
=no
5837 rm -f core conftest.err conftest.
$ac_objext \
5838 conftest
$ac_exeext conftest.
$ac_ext
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5841 $as_echo "$gcc_cv_cloog_type" >&6; }
5844 CFLAGS
="${CFLAGS} ${pplinc}"
5845 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL" >&5
5847 $as_echo_n "checking for installed CLooG PPL... " >&6; }
5848 if test "${gcc_cv_cloog_type+set}" = set; then :
5849 $as_echo_n "(cached) " >&6
5851 LIBS
="-lcloog-ppl ${_cloog_saved_LIBS}"
5852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5853 /* end confdefs.h. */
5854 #include "cloog/cloog.h"
5855 #include "cloog/ppl/cloog.h"
5864 if ac_fn_c_try_link
"$LINENO"; then :
5865 gcc_cv_cloog_type
="PPL"
5867 gcc_cv_cloog_type
=no
5869 rm -f core conftest.err conftest.
$ac_objext \
5870 conftest
$ac_exeext conftest.
$ac_ext
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5873 $as_echo "$gcc_cv_cloog_type" >&6; }
5876 gcc_cv_cloog_type
=""
5879 case $gcc_cv_cloog_type in
5881 clooginc
="${clooginc}"
5882 clooglibs
="${clooglibs} -lcloog"
5886 clooginc
="${clooginc} ${_cloogorginc}"
5887 clooglibs
="${clooglibs} -lcloog-isl -lisl"
5891 clooginc
="${clooginc} ${_cloogorginc}"
5892 clooglibs
="${clooglibs} -lcloog-ppl"
5902 LIBS
=$_cloog_saved_LIBS
5903 CFLAGS
=$_cloog_saved_CFLAGS
5904 CPPFLAGS
=$_cloog_saved_CPPFLAGS
5905 LDFLAGS
=$_cloog_saved_LDFLAGS
5911 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5912 _cloog_saved_CFLAGS
=$CFLAGS
5913 _cloog_saved_LDFLAGS
=$LDFLAGS
5915 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
5916 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
5918 if test "${cloog_org}" = yes ; then
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.16.1 of CLooG" >&5
5920 $as_echo_n "checking for version 0.16.1 of CLooG... " >&6; }
5921 if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
5922 $as_echo_n "(cached) " >&6
5924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5925 /* end confdefs.h. */
5926 #include "cloog/cloog.h"
5930 #if CLOOG_VERSION_MAJOR != 0 \
5931 || CLOOG_VERSION_MINOR != 16 \
5932 || CLOOG_VERSION_REVISION < 1
5939 if ac_fn_c_try_compile
"$LINENO"; then :
5940 gcc_cv_cloog_ct_0_14_0
=yes
5942 gcc_cv_cloog_ct_0_14_0
=no
5944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_14_0" >&5
5947 $as_echo "$gcc_cv_cloog_ct_0_14_0" >&6; }
5948 elif test "${cloog_org}" = no
; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
5950 $as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
5951 if test "${gcc_cv_cloog_ct_0_15_5+set}" = set; then :
5952 $as_echo_n "(cached) " >&6
5954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5955 /* end confdefs.h. */
5956 #include "cloog/cloog.h"
5960 #if CLOOG_VERSION_MAJOR != 0 \
5961 || CLOOG_VERSION_MINOR != 15 \
5962 || CLOOG_VERSION_REVISION < 5
5969 if ac_fn_c_try_compile
"$LINENO"; then :
5970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5971 /* end confdefs.h. */
5972 #include "cloog/cloog.h"
5976 #if CLOOG_VERSION_MAJOR != 0 \
5977 || CLOOG_VERSION_MINOR != 15 \
5978 || CLOOG_VERSION_REVISION < 9
5985 if ac_fn_c_try_compile
"$LINENO"; then :
5986 gcc_cv_cloog_ct_0_15_5
=yes
5988 gcc_cv_cloog_ct_0_15_5
="buggy but acceptable"
5990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5992 gcc_cv_cloog_ct_0_15_5
=no
5994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_15_5" >&5
5997 $as_echo "$gcc_cv_cloog_ct_0_15_5" >&6; }
6000 CFLAGS
=$_cloog_saved_CFLAGS
6001 LDFLAGS
=$_cloog_saved_LDFLAGS
6010 if test "x${with_cloog}" = xno
; then
6011 graphite_requested
=no
6012 elif test "x${with_cloog}" != x \
6013 ||
test "x${with_cloog_include}" != x \
6014 ||
test "x${with_cloog_lib}" != x
; then
6015 graphite_requested
=yes
6017 graphite_requested
=no
6022 if test "${gcc_cv_cloog_ct_0_14_0}" = no \
6023 ||
test "${gcc_cv_cloog_rt_0_14_0}" = no \
6024 ||
test "${gcc_cv_cloog_ct_0_15_5}" = no
; then
6029 if test "${graphite_requested}" = yes \
6030 && test "x${clooglibs}" = x \
6031 && test "x${clooginc}" = x
; then
6033 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6039 # Check for LTO support.
6040 # Check whether --enable-lto was given.
6041 if test "${enable_lto+set}" = set; then :
6042 enableval
=$enable_lto; enable_lto
=$enableval
6044 enable_lto
=yes; default_enable_lto
=yes
6053 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6054 *-msdosdjgpp* |
*-netware* |
*-vms* |
*-wince* |
*-*-pe* | \
6055 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6063 if test $target_elf = yes; then :
6064 # ELF platforms build the lto-plugin always.
6065 build_lto_plugin
=yes
6068 if test x
"$default_enable_lto" = x
"yes" ; then
6070 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6071 # On other non-ELF platforms, LTO has yet to be validated.
6075 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6076 # It would also be nice to check the binutils support, but we don't
6077 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6078 # warn during gcc/ subconfigure; unless you're bootstrapping with
6079 # -flto it won't be needed until after installation anyway.
6081 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6082 *) if test x
"$enable_lto" = x
"yes"; then
6083 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6088 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6089 # Build it unless LTO was explicitly disabled.
6091 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6099 # By default, C is the only stage 1 language.
6100 stage1_languages
=,c
,
6102 # Target libraries that we bootstrap.
6103 bootstrap_target_libs
=,target-libgcc
,
6105 # Figure out what language subdirectories are present.
6106 # Look if the user specified --enable-languages="..."; if not, use
6107 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6109 # NB: embedded tabs in this IF block -- do not untabify
6110 if test -d ${srcdir}/gcc
; then
6111 if test x
"${enable_languages+set}" != xset
; then
6112 if test x
"${LANGUAGES+set}" = xset
; then
6113 enable_languages
="${LANGUAGES}"
6114 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6116 enable_languages
=all
6119 if test x
"${enable_languages}" = x ||
6120 test x
"${enable_languages}" = xyes
;
6122 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6126 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6128 # 'f95' is the old name for the 'fortran' language. We issue a warning
6129 # and make the substitution.
6130 case ,${enable_languages}, in
6132 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6133 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6137 # First scan to see if an enabled language requires some other language.
6138 # We assume that a given config-lang.in will list all the language
6139 # front ends it requires, even if some are required indirectly.
6140 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6141 case ${lang_frag} in
6143 # The odd quoting in the next line works around
6144 # an apparent bug in bash 1.12 on linux.
6145 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6147 # From the config-lang.in, get $language, $lang_requires, and
6148 # $lang_requires_boot_languages.
6151 lang_requires_boot_languages
=
6153 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6154 case ,${enable_languages}, in
6158 echo " \`$other' language required by \`$language'; enabling" 1>&2
6159 enable_languages
="${enable_languages},${other}"
6163 for other
in ${lang_requires_boot_languages} ; do
6164 if test "$other" != "c"; then
6165 case ,${enable_stage1_languages}, in
6169 case ,${enable_languages}, in
6171 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6172 enable_stage1_languages
="$enable_stage1_languages,${other}"
6183 new_enable_languages
=,c
,
6185 # If LTO is enabled, add the LTO front end.
6186 extra_host_libiberty_configure_flags
=
6187 if test "$enable_lto" = "yes" ; then
6188 case ,${enable_languages}, in
6190 *) enable_languages
="${enable_languages},lto" ;;
6192 if test "${build_lto_plugin}" = "yes" ; then
6193 configdirs
="$configdirs lto-plugin"
6194 extra_host_libiberty_configure_flags
=--enable-shared
6199 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6200 potential_languages
=,c
,
6202 enabled_target_libs
=
6203 disabled_target_libs
=
6205 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6206 case ${lang_frag} in
6208 # The odd quoting in the next line works around
6209 # an apparent bug in bash 1.12 on linux.
6210 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6212 # From the config-lang.in, get $language, $target_libs,
6213 # $lang_dirs, $boot_language, and $build_by_default
6219 build_by_default
=yes
6221 if test x
${language} = x
; then
6222 echo "${lang_frag} doesn't set \$language." 1>&2
6226 if test "$language" = "c++" \
6227 && test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
6231 case ,${enable_languages}, in
6233 # Language was explicitly selected; include it.
6237 # 'all' was selected, select it if it is a default language
6238 add_this_lang
=${build_by_default}
6245 # Disable languages that need other directories if these aren't available.
6246 for i
in $subdir_requires; do
6247 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6248 case ,${enable_languages}, in
6250 # Specifically requested language; tell them.
6251 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6255 add_this_lang
=unsupported
6260 # Disable Ada if no preexisting GNAT is available.
6261 case ,${enable_languages},:${language}:${have_gnat} in
6262 *,${language},*:ada
:no
)
6263 # Specifically requested language; tell them.
6264 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6268 add_this_lang
=unsupported
6272 # Disable a language that is unsupported by the target.
6273 case " $unsupported_languages " in
6275 add_this_lang
=unsupported
6279 case $add_this_lang in
6281 # Remove language-dependent dirs.
6282 disabled_target_libs
="$disabled_target_libs $target_libs"
6283 noconfigdirs
="$noconfigdirs $lang_dirs"
6286 # Remove language-dependent dirs; still show language as supported.
6287 disabled_target_libs
="$disabled_target_libs $target_libs"
6288 noconfigdirs
="$noconfigdirs $lang_dirs"
6289 potential_languages
="${potential_languages}${language},"
6292 new_enable_languages
="${new_enable_languages}${language},"
6293 potential_languages
="${potential_languages}${language},"
6294 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6295 enabled_target_libs
="$enabled_target_libs $target_libs"
6296 case "${boot_language}:,$enable_stage1_languages," in
6297 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6298 # Add to (comma-separated) list of stage 1 languages.
6299 case ",$stage1_languages," in
6300 *,$language,* |
,yes, |
,all
,) ;;
6301 *) stage1_languages
="${stage1_languages}${language}," ;;
6303 # We need to bootstrap any supporting libraries.
6304 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6313 # Add target libraries which are only needed for disabled languages
6315 if test -n "$disabled_target_libs"; then
6316 for dir
in $disabled_target_libs; do
6317 case " $enabled_target_libs " in
6319 *) noconfigdirs
="$noconfigdirs $dir" ;;
6324 # Check whether --enable-stage1-languages was given.
6325 if test "${enable_stage1_languages+set}" = set; then :
6326 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6328 # Set it to something that will have no effect in the loop below
6329 enable_stage1_languages
=c
;;
6331 enable_stage1_languages
=`echo $new_enable_languages | \
6332 sed -e "s/^,//" -e "s/,$//" ` ;;
6334 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6335 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6338 # Add "good" languages from enable_stage1_languages to stage1_languages,
6339 # while "bad" languages go in missing_languages. Leave no duplicates.
6340 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6341 case $potential_languages in
6343 case $stage1_languages in
6345 *) stage1_languages
="$stage1_languages$i," ;;
6348 case $missing_languages in
6350 *) missing_languages
="$missing_languages$i," ;;
6357 # Remove leading/trailing commas that were added for simplicity
6358 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6359 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6360 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6361 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6363 if test "x$missing_languages" != x
; then
6365 The following requested languages could not be built: ${missing_languages}
6366 Supported languages are: ${potential_languages}" "$LINENO" 5
6368 if test "x$new_enable_languages" != "x$enable_languages"; then
6369 echo The following languages will be built
: ${new_enable_languages}
6370 enable_languages
="$new_enable_languages"
6374 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6377 # Handle --disable-<component> generically.
6378 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6379 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6380 varname
=`echo $dirname | sed -e s/+/_/g`
6381 if eval test x\
${enable_${varname}} "=" xno
; then
6382 noconfigdirs
="$noconfigdirs $dir"
6386 # Check for Boehm's garbage collector
6387 # Check whether --enable-objc-gc was given.
6388 if test "${enable_objc_gc+set}" = set; then :
6389 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6390 *,objc
,*:*:yes:*target-boehm-gc
*)
6391 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6397 # Make sure we only build Boehm's garbage collector if required.
6398 case ,${enable_languages},:${enable_objc_gc} in
6400 # Keep target-boehm-gc if requested for Objective-C.
6403 # Otherwise remove target-boehm-gc depending on target-libjava.
6404 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6405 noconfigdirs
="$noconfigdirs target-boehm-gc"
6411 # Check whether --with-upc-pts was given.
6412 if test "${with_upc_pts+set}" = set; then :
6413 withval
=$with_upc_pts;
6414 case ,${enable_languages}, in
6421 as_fn_error
"$withval is an invalid option to --with-upc-pts" "$LINENO" 5
6426 as_fn_error
"--with-upc-pts supplied, but UPC language not enabled" "$LINENO" 5
6433 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6434 # $build_configdirs and $target_configdirs.
6435 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6438 for dir
in .
$skipdirs $noconfigdirs ; do
6439 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6440 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6441 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6442 if test -r $srcdir/$dirname/configure
; then
6443 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6446 notsupp
="$notsupp $dir"
6450 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6451 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6452 if test -r $srcdir/$dirname/configure
; then
6453 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6456 notsupp
="$notsupp $dir"
6460 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6461 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6462 if test -r $srcdir/$dirname/configure
; then
6463 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6466 notsupp
="$notsupp $dir"
6472 # Sometimes the tools are distributed with libiberty but with no other
6473 # libraries. In that case, we don't want to build target-libiberty.
6474 # Don't let libgcc imply libiberty either.
6475 if test -n "${target_configdirs}" ; then
6478 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
6479 if test "$i" = "libgcc"; then
6480 libgcc
=target-libgcc
6481 elif test "$i" != "libiberty" ; then
6482 if test -r $srcdir/$i/configure
; then
6488 if test -z "${others}" ; then
6489 target_configdirs
=$libgcc
6493 # Quietly strip out all directories which aren't configurable in this tree.
6494 # This relies on all configurable subdirectories being autoconfiscated, which
6496 build_configdirs_all
="$build_configdirs"
6498 for i
in ${build_configdirs_all} ; do
6499 j
=`echo $i | sed -e s/build-//g`
6500 if test -f ${srcdir}/$j/configure
; then
6501 build_configdirs
="${build_configdirs} $i"
6505 configdirs_all
="$configdirs"
6507 for i
in ${configdirs_all} ; do
6508 if test -f ${srcdir}/$i/configure
; then
6509 configdirs
="${configdirs} $i"
6513 target_configdirs_all
="$target_configdirs"
6515 for i
in ${target_configdirs_all} ; do
6516 j
=`echo $i | sed -e s/target-//g`
6517 if test -f ${srcdir}/$j/configure
; then
6518 target_configdirs
="${target_configdirs} $i"
6522 # Produce a warning message for the subdirs we can't configure.
6523 # This isn't especially interesting in the Cygnus tree, but in the individual
6524 # FSF releases, it's important to let people know when their machine isn't
6525 # supported by the one or two programs in a package.
6527 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6528 # If $appdirs is non-empty, at least one of those directories must still
6529 # be configured, or we error out. (E.g., if the gas release supports a
6530 # specified target in some subdirs but not the gas subdir, we shouldn't
6531 # pretend that all is well.)
6532 if test -n "$appdirs" ; then
6533 for dir
in $appdirs ; do
6534 if test -r $dir/Makefile.
in ; then
6535 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6539 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6545 if test -n "$appdirs" ; then
6546 echo "*** This configuration is not supported by this package." 1>&2
6550 # Okay, some application will build, or we don't care to check. Still
6551 # notify of subdirs not getting built.
6552 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6553 echo " ${notsupp}" 1>&2
6554 echo " (Any other directories should still work fine.)" 1>&2
6562 # To find our prefix, in gcc_cv_tool_prefix.
6564 # The user is always right.
6565 if test "${PATH_SEPARATOR+set}" != set; then
6566 echo "#! /bin/sh" >conf$$.sh
6567 echo "exit 0" >>conf$$.sh
6569 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6579 if test "x$exec_prefix" = xNONE
; then
6580 if test "x$prefix" = xNONE
; then
6581 gcc_cv_tool_prefix
=$ac_default_prefix
6583 gcc_cv_tool_prefix
=$prefix
6586 gcc_cv_tool_prefix
=$exec_prefix
6589 # If there is no compiler in the tree, use the PATH only. In any
6590 # case, if there is no compiler in the tree nobody should use
6591 # AS_FOR_TARGET and LD_FOR_TARGET.
6592 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6593 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6594 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6595 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6596 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6597 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6598 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6599 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6604 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6605 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6613 # Check whether --with-build-sysroot was given.
6614 if test "${with_build_sysroot+set}" = set; then :
6615 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6616 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6619 SYSROOT_CFLAGS_FOR_TARGET
=
6625 # Check whether --with-debug-prefix-map was given.
6626 if test "${with_debug_prefix_map+set}" = set; then :
6627 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6628 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6629 for debug_map
in $withval; do
6630 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6634 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6639 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6640 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6641 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6642 # We want to ensure that TARGET libraries (which we know are built with
6643 # gcc) are built with "-O2 -g", so include those options when setting
6644 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6645 if test "x$CFLAGS_FOR_TARGET" = x
; then
6646 CFLAGS_FOR_TARGET
=$CFLAGS
6649 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
6652 *" -g "* |
*" -g3 "*) ;;
6653 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
6658 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6659 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6660 case " $CXXFLAGS " in
6662 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
6664 case " $CXXFLAGS " in
6665 *" -g "* |
*" -g3 "*) ;;
6666 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
6673 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6674 # the named directory are copied to $(tooldir)/sys-include.
6675 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6676 if test x
${is_cross_compiler} = xno
; then
6677 echo 1>&2 '***' --with-headers is only supported when cross compiling
6680 if test x
"${with_headers}" != xyes
; then
6681 x
=${gcc_cv_tool_prefix}
6682 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6686 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6687 # the name directories are copied to $(tooldir)/lib. Multiple directories
6689 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6690 if test x
${is_cross_compiler} = xno
; then
6691 echo 1>&2 '***' --with-libs is only supported when cross compiling
6694 if test x
"${with_libs}" != xyes
; then
6695 # Copy the libraries in reverse order, so that files in the first named
6696 # library override files in subsequent libraries.
6697 x
=${gcc_cv_tool_prefix}
6698 for l
in ${with_libs}; do
6699 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6704 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6706 # This is done by determining whether or not the appropriate directory
6707 # is available, and by checking whether or not specific configurations
6708 # have requested that this magic not happen.
6710 # The command line options always override the explicit settings in
6711 # configure.in, and the settings in configure.in override this magic.
6713 # If the default for a toolchain is to use GNU as and ld, and you don't
6714 # want to do that, then you should use the --without-gnu-as and
6715 # --without-gnu-ld options for the configure script. Similarly, if
6716 # the default is to use the included zlib and you don't want to do that,
6717 # you should use the --with-system-zlib option for the configure script.
6719 if test x
${use_gnu_as} = x
&&
6720 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6722 extra_host_args
="$extra_host_args --with-gnu-as"
6725 if test x
${use_gnu_ld} = x
&&
6726 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6728 extra_host_args
="$extra_host_args --with-gnu-ld"
6731 if test x
${use_included_zlib} = x
&&
6732 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6735 with_system_zlib
=yes
6736 extra_host_args
="$extra_host_args --with-system-zlib"
6739 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6740 # can detect this case.
6742 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6744 extra_host_args
="$extra_host_args --with-newlib"
6747 # Handle ${copy_dirs}
6748 set fnord
${copy_dirs}
6750 while test $# != 0 ; do
6751 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6754 echo Copying
$1 to
$2
6756 # Use the install script to create the directory and all required
6757 # parent directories.
6758 if test -d $2 ; then
6762 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6765 # Copy the directory, assuming we have tar.
6766 # FIXME: Should we use B in the second tar? Not all systems support it.
6767 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6769 # It is the responsibility of the user to correctly adjust all
6770 # symlinks. If somebody can figure out how to handle them correctly
6771 # here, feel free to add the code.
6778 # Determine a target-dependent exec_prefix that the installed
6779 # gcc will search in. Keep this list sorted by triplet, with
6780 # the *-*-osname triplets last.
6783 i
[34567]86-pc-msdosdjgpp*)
6784 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6789 md_exec_prefix
=/usr
/ccs
/bin
6793 extra_arflags_for_target
=
6794 extra_nmflags_for_target
=
6795 extra_ranlibflags_for_target
=
6796 target_makefile_frag
=/dev
/null
6799 target_makefile_frag
="config/mt-spu"
6802 target_makefile_frag
="config/mt-sde"
6804 mipsisa
*-*-elfoabi*)
6805 target_makefile_frag
="config/mt-mips-elfoabi"
6807 mips
*-*-*linux
* | mips
*-*-gnu*)
6808 target_makefile_frag
="config/mt-mips-gnu"
6810 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6811 target_makefile_frag
="config/mt-gnu"
6813 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6814 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6815 # commands to handle both 32-bit and 64-bit objects. These flags are
6816 # harmless if we're using GNU nm or ar.
6817 extra_arflags_for_target
=" -X32_64"
6818 extra_nmflags_for_target
=" -B -X32_64"
6821 # ranlib before Darwin10 requires the -c flag to look at common symbols.
6822 extra_ranlibflags_for_target
=" -c"
6826 alphaieee_frag
=/dev
/null
6829 # This just makes sure to use the -mieee option to build target libs.
6830 # This should probably be set individually by each library.
6831 alphaieee_frag
="config/mt-alphaieee"
6835 # If --enable-target-optspace always use -Os instead of -O2 to build
6836 # the target libraries, similarly if it is not specified, use -Os
6837 # on selected platforms.
6838 ospace_frag
=/dev
/null
6839 case "${enable_target_optspace}:${target}" in
6841 ospace_frag
="config/mt-ospace"
6844 ospace_frag
="config/mt-d30v"
6846 :m32r-
* |
:d10v-
* |
:fr30-
*)
6847 ospace_frag
="config/mt-ospace"
6852 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6856 # Default to using --with-stabs for certain targets.
6857 if test x
${with_stabs} = x
; then
6861 mips
*-*-* | alpha
*-*-osf*)
6863 extra_host_args
="${extra_host_args} --with-stabs"
6868 # Some systems (e.g., one of the i386-aix systems the gas testers are
6869 # using) don't handle "\$" correctly, so don't use it here.
6870 tooldir
='${exec_prefix}'/${target_noncanonical}
6871 build_tooldir
=${tooldir}
6873 # Create a .gdbinit file which runs the one in srcdir
6874 # and tells GDB to look there for source files.
6876 if test -r ${srcdir}/.gdbinit
; then
6879 *) cat > .
/.gdbinit
<<EOF
6883 source ${srcdir}/.gdbinit
6889 # Make sure that the compiler is able to generate an executable. If it
6890 # can't, we are probably in trouble. We don't care whether we can run the
6891 # executable--we might be using a cross compiler--we only care whether it
6892 # can be created. At this point the main configure script has set CC.
6894 echo "int main () { return 0; }" > conftest.c
6895 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6896 if test $?
= 0 ; then
6897 if test -s conftest ||
test -s conftest.exe
; then
6903 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6904 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6911 # Decide which environment variable is used to find dynamic libraries.
6913 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6914 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6915 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6916 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6919 # On systems where the dynamic library environment variable is PATH,
6920 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6921 # built executables to PATH.
6922 if test "$RPATH_ENVVAR" = PATH
; then
6923 GCC_SHLIB_SUBDIR
=/shlib
6928 # Record target_configdirs and the configure arguments for target and
6929 # build configuration in Makefile.
6930 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6931 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6933 # If we are building libgomp, bootstrap it.
6934 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6935 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6938 # Determine whether gdb needs tk/tcl or not.
6939 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6940 # and in that case we want gdb to be built without tk. Ugh!
6941 # In fact I believe gdb is the *only* package directly dependent on tk,
6942 # so we should be able to put the 'maybe's in unconditionally and
6943 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6944 # 100% sure that that's safe though.
6946 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6947 case "$enable_gdbtk" in
6951 GDB_TK
="${gdb_tk}" ;;
6953 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6954 # distro. Eventually someone will fix this and move Insight, nee
6955 # gdbtk to a separate directory.
6956 if test -d ${srcdir}/gdb
/gdbtk
; then
6963 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6964 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6966 # Strip out unwanted targets.
6968 # While at that, we remove Makefiles if we were started for recursive
6969 # configuration, so that the top-level Makefile reconfigures them,
6970 # like we used to do when configure itself was recursive.
6972 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6973 # but now we're fixing up the Makefile ourselves with the additional
6974 # commands passed to AC_CONFIG_FILES. Use separate variables
6975 # extrasub-{build,host,target} not because there is any reason to split
6976 # the substitutions up that way, but only to remain below the limit of
6977 # 99 commands in a script, for HP-UX sed.
6978 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6980 # Check whether --enable-bootstrap was given.
6981 if test "${enable_bootstrap+set}" = set; then :
6982 enableval
=$enable_bootstrap;
6984 enable_bootstrap
=default
6988 # Issue errors and warnings for invalid/strange bootstrap combinations.
6989 case "$configdirs" in
6990 *gcc
*) have_compiler
=yes ;;
6991 *) have_compiler
=no
;;
6994 case "$have_compiler:$host:$target:$enable_bootstrap" in
6997 # Default behavior. Enable bootstrap if we have a compiler
6998 # and we are in a native configuration.
6999 yes:$build:$build:default
)
7000 enable_bootstrap
=yes ;;
7003 enable_bootstrap
=no
;;
7005 # We have a compiler and we are in a native configuration, bootstrap is ok
7006 yes:$build:$build:yes)
7009 # Other configurations, but we have a compiler. Assume the user knows
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
7013 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
7016 # No compiler: if they passed --enable-bootstrap explicitly, fail
7018 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
7020 # Fail if wrong command line
7022 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
7026 case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
7029 as_fn_error
"bootstrapping with --enable-build-with-cxx requires c++ in --enable-languages" "$LINENO" 5
7033 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7034 yes:yes:*\ gold\
*:*,c
++,*) ;;
7035 yes:yes:*\ gold\
*:*)
7036 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7040 # Adjust the toplevel makefile according to whether bootstrap was selected.
7041 case $enable_bootstrap in
7043 bootstrap_suffix
=bootstrap
7044 BUILD_CONFIG
=bootstrap-debug
7047 bootstrap_suffix
=no-bootstrap
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7053 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7056 # Check whether --with-build-config was given.
7057 if test "${with_build_config+set}" = set; then :
7058 withval
=$with_build_config; case $with_build_config in
7059 yes) with_build_config
= ;;
7060 no
) with_build_config
= BUILD_CONFIG
= ;;
7065 if test "x${with_build_config}" != x
; then
7066 BUILD_CONFIG
=$with_build_config
7068 case $BUILD_CONFIG in
7070 if echo "int f (void) { return 0; }" > conftest.c
&&
7071 ${CC} -c conftest.c
&&
7072 mv conftest.o conftest.o.g0
&&
7073 ${CC} -c -g conftest.c
&&
7074 mv conftest.o conftest.o.g
&&
7075 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7080 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7085 $as_echo "$BUILD_CONFIG" >&6; }
7089 for module
in ${build_configdirs} ; do
7090 if test -z "${no_recursion}" \
7091 && test -f ${build_subdir}/${module}/Makefile
; then
7092 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7093 rm -f ${build_subdir}/${module}/Makefile
7095 extrasub_build
="$extrasub_build
7096 /^@if build-$module\$/d
7097 /^@endif build-$module\$/d
7098 /^@if build-$module-$bootstrap_suffix\$/d
7099 /^@endif build-$module-$bootstrap_suffix\$/d"
7102 for module
in ${configdirs} ; do
7103 if test -z "${no_recursion}"; then
7104 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7105 if test -f ${file}; then
7106 echo 1>&2 "*** removing ${file} to force reconfigure"
7111 extrasub_host
="$extrasub_host
7113 /^@endif $module\$/d
7114 /^@if $module-$bootstrap_suffix\$/d
7115 /^@endif $module-$bootstrap_suffix\$/d"
7118 for module
in ${target_configdirs} ; do
7119 if test -z "${no_recursion}" \
7120 && test -f ${target_subdir}/${module}/Makefile
; then
7121 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7122 rm -f ${target_subdir}/${module}/Makefile
7125 # We only bootstrap target libraries listed in bootstrap_target_libs.
7126 case $bootstrap_target_libs in
7127 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7128 *) target_bootstrap_suffix
=no-bootstrap
;;
7131 extrasub_target
="$extrasub_target
7132 /^@if target-$module\$/d
7133 /^@endif target-$module\$/d
7134 /^@if target-$module-$target_bootstrap_suffix\$/d
7135 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7138 # Do the final fixup along with target modules.
7139 extrasub_target
="$extrasub_target
7140 /^@if /,/^@endif /d"
7142 # Create the serialization dependencies. This uses a temporary file.
7144 # Check whether --enable-serial-configure was given.
7145 if test "${enable_serial_configure+set}" = set; then :
7146 enableval
=$enable_serial_configure;
7150 case ${enable_serial_configure} in
7152 enable_serial_build_configure
=yes
7153 enable_serial_host_configure
=yes
7154 enable_serial_target_configure
=yes
7158 # These force 'configure's to be done one at a time, to avoid problems
7159 # with contention over a shared config.cache.
7161 echo '# serdep.tmp' > serdep.tmp
7163 test "x${enable_serial_build_configure}" = xyes
&&
7164 for item
in ${build_configdirs} ; do
7167 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7172 test "x${enable_serial_host_configure}" = xyes
&&
7173 for item
in ${configdirs} ; do
7176 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7181 test "x${enable_serial_target_configure}" = xyes
&&
7182 for item
in ${target_configdirs} ; do
7185 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7189 serialization_dependencies
=serdep.tmp
7192 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7193 # target, nonopt, and variable assignments. These are the ones we
7194 # might not want to pass down to subconfigures. The exception being
7195 # --cache-file=/dev/null, which is used to turn off the use of cache
7196 # files altogether, and which should be passed on to subconfigures.
7197 # Also strip program-prefix, program-suffix, and program-transform-name,
7198 # so that we can pass down a consistent program-transform-name.
7203 eval "set -- $ac_configure_args"
7206 if test X
"$skip_next" = X
"yes"; then
7210 if test X
"$keep_next" = X
"yes"; then
7213 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7215 baseargs
="$baseargs '$ac_arg'"
7216 tbaseargs
="$tbaseargs '$ac_arg'"
7221 # Handle separated arguments. Based on the logic generated by
7224 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7225 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7226 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7227 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7241 --with-* |
--without-*)
7242 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7246 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7249 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7258 mpc | mpfr | gmp | ppl | cloog
)
7259 # If we're processing --with-$lib, --with-$lib-include or
7260 # --with-$lib-lib, for one of the libs above, and target is
7261 # different from host, don't pass the current argument to any
7262 # target library's configure.
7263 if test x
$is_cross_compiler = xyes
; then
7272 --cache-file=/dev
/null | \
7273 -cache-file=/dev
/null
)
7274 # Handled here to avoid the test to skip args below.
7275 baseargs
="$baseargs '$ac_arg'"
7276 tbaseargs
="$tbaseargs '$ac_arg'"
7277 # Assert: $separate_arg should always be no.
7278 keep_next
=$separate_arg
7294 -program-prefix* | \
7295 -program-suffix* | \
7296 -program-transform-name* )
7297 skip_next
=$separate_arg
7301 # An option. Add it.
7304 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7306 baseargs
="$baseargs '$ac_arg'"
7307 if test X
"$skip_targ" = Xno
; then
7308 tbaseargs
="$tbaseargs '$ac_arg'"
7310 keep_next
=$separate_arg
7313 # Either a variable assignment, or a nonopt (triplet). Don't
7314 # pass it down; let the Makefile handle this.
7319 # Remove the initial space we just introduced and, as these will be
7320 # expanded by make, quote '$'.
7321 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7323 # Add in --program-transform-name, after --program-prefix and
7324 # --program-suffix have been applied to it. Autoconf has already
7325 # doubled dollar signs and backslashes in program_transform_name; we want
7326 # the backslashes un-doubled, and then the entire thing wrapped in single
7327 # quotes, because this will be expanded first by make and then by the shell.
7328 # Also, because we want to override the logic in subdir configure scripts to
7329 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7330 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7331 ${program_transform_name}
7333 gcc_transform_name
=`cat conftestsed.out`
7334 rm -f conftestsed.out
7335 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7336 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7337 if test "$silent" = yes; then
7338 baseargs
="$baseargs --silent"
7339 tbaseargs
="$tbaseargs --silent"
7341 baseargs
="$baseargs --disable-option-checking"
7342 tbaseargs
="$tbaseargs --disable-option-checking"
7344 # Record and document user additions to sub configure arguments.
7349 # For the build-side libraries, we just need to pretend we're native,
7350 # and not use the same cache file. Multilibs are neither needed nor
7352 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7354 # For host modules, accept cache file option, or specification as blank.
7355 case "${cache_file}" in
7357 cache_file_option
="" ;;
7358 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7359 cache_file_option
="--cache-file=${cache_file}" ;;
7361 cache_file_option
="--cache-file=../${cache_file}" ;;
7364 # Host dirs don't like to share a cache file either, horribly enough.
7365 # This seems to be due to autoconf 2.5x stupidity.
7366 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7368 target_configargs
="$target_configargs ${tbaseargs}"
7370 # Passing a --with-cross-host argument lets the target libraries know
7371 # whether they are being built with a cross-compiler or being built
7372 # native. However, it would be better to use other mechanisms to make the
7373 # sorts of decisions they want to make on this basis. Please consider
7374 # this option to be deprecated. FIXME.
7375 if test x
${is_cross_compiler} = xyes
; then
7376 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7379 # Default to --enable-multilib.
7380 if test x
${enable_multilib} = x
; then
7381 target_configargs
="--enable-multilib ${target_configargs}"
7384 # Pass --with-newlib if appropriate. Note that target_configdirs has
7385 # changed from the earlier setting of with_newlib.
7386 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7387 target_configargs
="--with-newlib ${target_configargs}"
7390 # Different target subdirs use different values of certain variables
7391 # (notably CXX). Worse, multilibs use *lots* of different values.
7392 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7393 # it doesn't automatically accept command-line overrides of them.
7394 # This means it's not safe for target subdirs to share a cache file,
7395 # which is disgusting, but there you have it. Hopefully this can be
7396 # fixed in future. It's still worthwhile to use a cache file for each
7397 # directory. I think.
7399 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7400 # We need to pass --target, as newer autoconf's requires consistency
7401 # for target_alias and gcc doesn't manage it consistently.
7402 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7405 case " $target_configdirs " in
7407 case " $target_configargs " in
7408 *" --with-newlib "*)
7411 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'
7415 # If we're not building GCC, don't discard standard headers.
7416 if test -d ${srcdir}/gcc
; then
7417 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7419 if test "${build}" != "${host}"; then
7420 # On Canadian crosses, CC_FOR_TARGET will have already been set
7421 # by `configure', so we won't have an opportunity to add -Bgcc/
7422 # to it. This is right: we don't want to search that directory
7423 # for binaries, but we want the header files in there, so add
7425 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7427 # Someone might think of using the pre-installed headers on
7428 # Canadian crosses, in case the installed compiler is not fully
7429 # compatible with the compiler being built. In this case, it
7430 # would be better to flag an error than risking having
7431 # incompatible object files being constructed. We can't
7432 # guarantee that an error will be flagged, but let's hope the
7433 # compiler will do it, when presented with incompatible header
7438 case "${target}-${is_cross_compiler}" in
7439 i
[3456789]86-*-linux*-no)
7440 # Here host == target, so we don't need to build gcc,
7441 # so we don't want to discard standard headers.
7442 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7445 # If we're building newlib, use its generic headers last, but search
7446 # for any libc-related directories first (so make it the last -B
7448 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7450 # If we're building libgloss, find the startup file, simulator library
7451 # and linker script.
7452 case " $target_configdirs " in
7454 # Look for startup file, simulator library and maybe linker script.
7455 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7456 # Look for libnosys.a in case the target needs it.
7457 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7458 # Most targets have the linker script in the source directory.
7459 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7470 x86_64-
*mingw
* |
*-w64-mingw*)
7471 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7472 # however, use a symlink named 'mingw' in ${prefix} .
7473 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7476 # MinGW can't be handled as Cygwin above since it does not use newlib.
7477 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'
7481 # Allow the user to override the flags for
7482 # our build compiler if desired.
7483 if test x
"${build}" = x
"${host}" ; then
7484 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7485 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7486 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7489 # On Canadian crosses, we'll be searching the right directories for
7490 # the previously-installed cross compiler, so don't bother to add
7491 # flags for directories within the install tree of the compiler
7492 # being built; programs in there won't even run.
7493 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7494 # Search for pre-installed headers if nothing else fits.
7495 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7498 if test "x
${use_gnu_ld}" = x &&
7499 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7500 # Arrange for us to find uninstalled linker scripts.
7501 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7504 # Search for other target-specific linker scripts and such.
7507 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7511 # UPC linker script check
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for UPC link
script support
" >&5
7513 $as_echo_n "checking
for UPC link
script support...
" >&6; }
7514 # Check whether --enable-upc-link-script was given.
7515 if test "${enable_upc_link_script+set}" = set; then :
7516 enableval=$enable_upc_link_script;
7520 as_fn_error "--enable-upc-link-script accepts only
yes or no.
" "$LINENO" 5
7526 if test x${use_gnu_ld} != xno ; then
7528 # disable linker script for Apple Mac OS X
7530 enable_upc_link_script=no
7533 enable_upc_link_script=yes
7537 enable_upc_link_script=no
7539 if test "$enable_upc_link_script" = yes; then
7540 target_configargs="${target_configargs} --enable-upc-link-script"
7541 host_configargs="${host_configargs} --enable-upc-link-script"
7546 if test "$enable_upc_link_script" = yes; then
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7548 $as_echo "yes" >&6; };
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7551 $as_echo "no
" >&6; };
7555 # Makefile fragments.
7556 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7558 eval fragval=\$$frag
7559 if test $fragval != /dev/null; then
7560 eval $frag=${srcdir}/$fragval
7568 # Miscellanea: directories, flags, etc.
7577 # Build module lists & subconfigure args.
7581 # Host module lists & subconfigure args.
7586 # Target module lists & subconfigure args.
7608 # Generate default definitions for YACC, M4, LEX and other programs that run
7609 # on the build machine. These are used if the Makefile can't locate these
7610 # programs in objdir.
7611 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7613 for ac_prog in 'bison -y' byacc yacc
7615 # Extract the first word of "$ac_prog", so it can be a program name with args.
7616 set dummy $ac_prog; ac_word=$2
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7618 $as_echo_n "checking
for $ac_word...
" >&6; }
7619 if test "${ac_cv_prog_YACC+set}" = set; then :
7620 $as_echo_n "(cached
) " >&6
7622 if test -n "$YACC"; then
7623 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7629 test -z "$as_dir" && as_dir=.
7630 for ac_exec_ext in '' $ac_executable_extensions; do
7631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7632 ac_cv_prog_YACC="$ac_prog"
7633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7642 YACC=$ac_cv_prog_YACC
7643 if test -n "$YACC"; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7645 $as_echo "$YACC" >&6; }
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7648 $as_echo "no
" >&6; }
7652 test -n "$YACC" && break
7654 test -n "$YACC" || YACC="$MISSING bison
-y"
7656 case " $build_configdirs " in
7657 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7660 for ac_prog in bison
7662 # Extract the first word of "$ac_prog", so it can be a program name with args.
7663 set dummy $ac_prog; ac_word=$2
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7665 $as_echo_n "checking
for $ac_word...
" >&6; }
7666 if test "${ac_cv_prog_BISON+set}" = set; then :
7667 $as_echo_n "(cached
) " >&6
7669 if test -n "$BISON"; then
7670 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7676 test -z "$as_dir" && as_dir=.
7677 for ac_exec_ext in '' $ac_executable_extensions; do
7678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7679 ac_cv_prog_BISON="$ac_prog"
7680 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7689 BISON=$ac_cv_prog_BISON
7690 if test -n "$BISON"; then
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7692 $as_echo "$BISON" >&6; }
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7695 $as_echo "no
" >&6; }
7699 test -n "$BISON" && break
7701 test -n "$BISON" || BISON="$MISSING bison
"
7703 case " $build_configdirs " in
7704 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7707 for ac_prog in gm4 gnum4 m4
7709 # Extract the first word of "$ac_prog", so it can be a program name with args.
7710 set dummy $ac_prog; ac_word=$2
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7712 $as_echo_n "checking
for $ac_word...
" >&6; }
7713 if test "${ac_cv_prog_M4+set}" = set; then :
7714 $as_echo_n "(cached
) " >&6
7716 if test -n "$M4"; then
7717 ac_cv_prog_M4="$M4" # Let the user override the test.
7719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7723 test -z "$as_dir" && as_dir=.
7724 for ac_exec_ext in '' $ac_executable_extensions; do
7725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7726 ac_cv_prog_M4="$ac_prog"
7727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7737 if test -n "$M4"; then
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7739 $as_echo "$M4" >&6; }
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7742 $as_echo "no
" >&6; }
7746 test -n "$M4" && break
7748 test -n "$M4" || M4="$MISSING m4"
7750 case " $build_configdirs " in
7751 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7754 for ac_prog in flex lex
7756 # Extract the first word of "$ac_prog", so it can be a program name with args.
7757 set dummy $ac_prog; ac_word=$2
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7759 $as_echo_n "checking
for $ac_word...
" >&6; }
7760 if test "${ac_cv_prog_LEX+set}" = set; then :
7761 $as_echo_n "(cached
) " >&6
7763 if test -n "$LEX"; then
7764 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7770 test -z "$as_dir" && as_dir=.
7771 for ac_exec_ext in '' $ac_executable_extensions; do
7772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7773 ac_cv_prog_LEX="$ac_prog"
7774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7784 if test -n "$LEX"; then
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7786 $as_echo "$LEX" >&6; }
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7789 $as_echo "no
" >&6; }
7793 test -n "$LEX" && break
7795 test -n "$LEX" || LEX="$MISSING flex
"
7797 case " $build_configdirs " in
7798 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7799 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7804 # Extract the first word of "$ac_prog", so it can be a program name with args.
7805 set dummy $ac_prog; ac_word=$2
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7807 $as_echo_n "checking
for $ac_word...
" >&6; }
7808 if test "${ac_cv_prog_FLEX+set}" = set; then :
7809 $as_echo_n "(cached
) " >&6
7811 if test -n "$FLEX"; then
7812 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7818 test -z "$as_dir" && as_dir=.
7819 for ac_exec_ext in '' $ac_executable_extensions; do
7820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7821 ac_cv_prog_FLEX="$ac_prog"
7822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7831 FLEX=$ac_cv_prog_FLEX
7832 if test -n "$FLEX"; then
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7834 $as_echo "$FLEX" >&6; }
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7837 $as_echo "no
" >&6; }
7841 test -n "$FLEX" && break
7843 test -n "$FLEX" || FLEX="$MISSING flex
"
7845 case " $build_configdirs " in
7846 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7849 for ac_prog in makeinfo
7851 # Extract the first word of "$ac_prog", so it can be a program name with args.
7852 set dummy $ac_prog; ac_word=$2
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7854 $as_echo_n "checking
for $ac_word...
" >&6; }
7855 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7856 $as_echo_n "(cached
) " >&6
7858 if test -n "$MAKEINFO"; then
7859 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7865 test -z "$as_dir" && as_dir=.
7866 for ac_exec_ext in '' $ac_executable_extensions; do
7867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7868 ac_cv_prog_MAKEINFO="$ac_prog"
7869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7878 MAKEINFO=$ac_cv_prog_MAKEINFO
7879 if test -n "$MAKEINFO"; then
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7881 $as_echo "$MAKEINFO" >&6; }
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7884 $as_echo "no
" >&6; }
7888 test -n "$MAKEINFO" && break
7890 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7892 case " $build_configdirs " in
7893 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7896 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7897 # higher, else we use the "missing
" dummy.
7898 if ${MAKEINFO} --version \
7899 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7902 MAKEINFO="$MISSING makeinfo
"
7908 # FIXME: expect and dejagnu may become build tools?
7910 for ac_prog in expect
7912 # Extract the first word of "$ac_prog", so it can be a program name with args.
7913 set dummy $ac_prog; ac_word=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7915 $as_echo_n "checking
for $ac_word...
" >&6; }
7916 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7917 $as_echo_n "(cached
) " >&6
7919 if test -n "$EXPECT"; then
7920 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7926 test -z "$as_dir" && as_dir=.
7927 for ac_exec_ext in '' $ac_executable_extensions; do
7928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7929 ac_cv_prog_EXPECT="$ac_prog"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7939 EXPECT=$ac_cv_prog_EXPECT
7940 if test -n "$EXPECT"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7942 $as_echo "$EXPECT" >&6; }
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7945 $as_echo "no
" >&6; }
7949 test -n "$EXPECT" && break
7951 test -n "$EXPECT" || EXPECT="expect
"
7953 case " $configdirs " in
7955 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7959 for ac_prog in runtest
7961 # Extract the first word of "$ac_prog", so it can be a program name with args.
7962 set dummy $ac_prog; ac_word=$2
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7964 $as_echo_n "checking
for $ac_word...
" >&6; }
7965 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7966 $as_echo_n "(cached
) " >&6
7968 if test -n "$RUNTEST"; then
7969 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7975 test -z "$as_dir" && as_dir=.
7976 for ac_exec_ext in '' $ac_executable_extensions; do
7977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7978 ac_cv_prog_RUNTEST="$ac_prog"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7988 RUNTEST=$ac_cv_prog_RUNTEST
7989 if test -n "$RUNTEST"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7991 $as_echo "$RUNTEST" >&6; }
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7994 $as_echo "no
" >&6; }
7998 test -n "$RUNTEST" && break
8000 test -n "$RUNTEST" || RUNTEST="runtest
"
8002 case " $configdirs " in
8004 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8011 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8012 ncn_target_tool_prefix=
8013 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8017 if test -n "$AR"; then
8019 elif test -n "$ac_cv_prog_AR"; then
8023 if test -n "$ac_cv_prog_AR"; then
8024 for ncn_progname in ar; do
8025 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8026 set dummy ${ncn_progname}; ac_word=$2
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8028 $as_echo_n "checking
for $ac_word...
" >&6; }
8029 if test "${ac_cv_prog_AR+set}" = set; then :
8030 $as_echo_n "(cached
) " >&6
8032 if test -n "$AR"; then
8033 ac_cv_prog_AR="$AR" # Let the user override the test.
8035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8039 test -z "$as_dir" && as_dir=.
8040 for ac_exec_ext in '' $ac_executable_extensions; do
8041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8042 ac_cv_prog_AR="${ncn_progname}"
8043 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8053 if test -n "$AR"; then
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8055 $as_echo "$AR" >&6; }
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8058 $as_echo "no
" >&6; }
8065 for ncn_progname in ar; do
8066 if test -n "$ncn_tool_prefix"; then
8067 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8068 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8070 $as_echo_n "checking
for $ac_word...
" >&6; }
8071 if test "${ac_cv_prog_AR+set}" = set; then :
8072 $as_echo_n "(cached
) " >&6
8074 if test -n "$AR"; then
8075 ac_cv_prog_AR="$AR" # Let the user override the test.
8077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8081 test -z "$as_dir" && as_dir=.
8082 for ac_exec_ext in '' $ac_executable_extensions; do
8083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8084 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8085 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8095 if test -n "$AR"; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8097 $as_echo "$AR" >&6; }
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8100 $as_echo "no
" >&6; }
8105 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8106 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8107 set dummy ${ncn_progname}; ac_word=$2
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8109 $as_echo_n "checking
for $ac_word...
" >&6; }
8110 if test "${ac_cv_prog_AR+set}" = set; then :
8111 $as_echo_n "(cached
) " >&6
8113 if test -n "$AR"; then
8114 ac_cv_prog_AR="$AR" # Let the user override the test.
8116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8120 test -z "$as_dir" && as_dir=.
8121 for ac_exec_ext in '' $ac_executable_extensions; do
8122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8123 ac_cv_prog_AR="${ncn_progname}"
8124 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8134 if test -n "$AR"; then
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8136 $as_echo "$AR" >&6; }
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8139 $as_echo "no
" >&6; }
8144 test -n "$ac_cv_prog_AR" && break
8147 if test -z "$ac_cv_prog_AR" ; then
8149 if test $build = $host ; then
8152 AR="${ncn_tool_prefix}$2"
8158 if test -n "$AS"; then
8160 elif test -n "$ac_cv_prog_AS"; then
8164 if test -n "$ac_cv_prog_AS"; then
8165 for ncn_progname in as; do
8166 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8167 set dummy ${ncn_progname}; ac_word=$2
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8169 $as_echo_n "checking
for $ac_word...
" >&6; }
8170 if test "${ac_cv_prog_AS+set}" = set; then :
8171 $as_echo_n "(cached
) " >&6
8173 if test -n "$AS"; then
8174 ac_cv_prog_AS="$AS" # Let the user override the test.
8176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8180 test -z "$as_dir" && as_dir=.
8181 for ac_exec_ext in '' $ac_executable_extensions; do
8182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8183 ac_cv_prog_AS="${ncn_progname}"
8184 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8194 if test -n "$AS"; then
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8196 $as_echo "$AS" >&6; }
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8199 $as_echo "no
" >&6; }
8206 for ncn_progname in as; do
8207 if test -n "$ncn_tool_prefix"; then
8208 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8209 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8211 $as_echo_n "checking
for $ac_word...
" >&6; }
8212 if test "${ac_cv_prog_AS+set}" = set; then :
8213 $as_echo_n "(cached
) " >&6
8215 if test -n "$AS"; then
8216 ac_cv_prog_AS="$AS" # Let the user override the test.
8218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8222 test -z "$as_dir" && as_dir=.
8223 for ac_exec_ext in '' $ac_executable_extensions; do
8224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8225 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8226 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8236 if test -n "$AS"; then
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8238 $as_echo "$AS" >&6; }
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8241 $as_echo "no
" >&6; }
8246 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8247 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8248 set dummy ${ncn_progname}; ac_word=$2
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8250 $as_echo_n "checking
for $ac_word...
" >&6; }
8251 if test "${ac_cv_prog_AS+set}" = set; then :
8252 $as_echo_n "(cached
) " >&6
8254 if test -n "$AS"; then
8255 ac_cv_prog_AS="$AS" # Let the user override the test.
8257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8261 test -z "$as_dir" && as_dir=.
8262 for ac_exec_ext in '' $ac_executable_extensions; do
8263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8264 ac_cv_prog_AS="${ncn_progname}"
8265 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8275 if test -n "$AS"; then
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8277 $as_echo "$AS" >&6; }
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8280 $as_echo "no
" >&6; }
8285 test -n "$ac_cv_prog_AS" && break
8288 if test -z "$ac_cv_prog_AS" ; then
8290 if test $build = $host ; then
8293 AS="${ncn_tool_prefix}$2"
8299 if test -n "$DLLTOOL"; then
8300 ac_cv_prog_DLLTOOL=$DLLTOOL
8301 elif test -n "$ac_cv_prog_DLLTOOL"; then
8302 DLLTOOL=$ac_cv_prog_DLLTOOL
8305 if test -n "$ac_cv_prog_DLLTOOL"; then
8306 for ncn_progname in dlltool; do
8307 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8308 set dummy ${ncn_progname}; ac_word=$2
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8310 $as_echo_n "checking
for $ac_word...
" >&6; }
8311 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8312 $as_echo_n "(cached
) " >&6
8314 if test -n "$DLLTOOL"; then
8315 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8321 test -z "$as_dir" && as_dir=.
8322 for ac_exec_ext in '' $ac_executable_extensions; do
8323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8324 ac_cv_prog_DLLTOOL="${ncn_progname}"
8325 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8334 DLLTOOL=$ac_cv_prog_DLLTOOL
8335 if test -n "$DLLTOOL"; then
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8337 $as_echo "$DLLTOOL" >&6; }
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8340 $as_echo "no
" >&6; }
8347 for ncn_progname in dlltool; do
8348 if test -n "$ncn_tool_prefix"; then
8349 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8350 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8352 $as_echo_n "checking
for $ac_word...
" >&6; }
8353 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8354 $as_echo_n "(cached
) " >&6
8356 if test -n "$DLLTOOL"; then
8357 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8363 test -z "$as_dir" && as_dir=.
8364 for ac_exec_ext in '' $ac_executable_extensions; do
8365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8366 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8367 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8376 DLLTOOL=$ac_cv_prog_DLLTOOL
8377 if test -n "$DLLTOOL"; then
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8379 $as_echo "$DLLTOOL" >&6; }
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8382 $as_echo "no
" >&6; }
8387 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8388 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8389 set dummy ${ncn_progname}; ac_word=$2
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8391 $as_echo_n "checking
for $ac_word...
" >&6; }
8392 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8393 $as_echo_n "(cached
) " >&6
8395 if test -n "$DLLTOOL"; then
8396 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8402 test -z "$as_dir" && as_dir=.
8403 for ac_exec_ext in '' $ac_executable_extensions; do
8404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8405 ac_cv_prog_DLLTOOL="${ncn_progname}"
8406 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8415 DLLTOOL=$ac_cv_prog_DLLTOOL
8416 if test -n "$DLLTOOL"; then
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8418 $as_echo "$DLLTOOL" >&6; }
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8421 $as_echo "no
" >&6; }
8426 test -n "$ac_cv_prog_DLLTOOL" && break
8429 if test -z "$ac_cv_prog_DLLTOOL" ; then
8431 if test $build = $host ; then
8434 DLLTOOL="${ncn_tool_prefix}$2"
8440 if test -n "$LD"; then
8442 elif test -n "$ac_cv_prog_LD"; then
8446 if test -n "$ac_cv_prog_LD"; then
8447 for ncn_progname in ld; do
8448 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8449 set dummy ${ncn_progname}; ac_word=$2
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8451 $as_echo_n "checking
for $ac_word...
" >&6; }
8452 if test "${ac_cv_prog_LD+set}" = set; then :
8453 $as_echo_n "(cached
) " >&6
8455 if test -n "$LD"; then
8456 ac_cv_prog_LD="$LD" # Let the user override the test.
8458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8462 test -z "$as_dir" && as_dir=.
8463 for ac_exec_ext in '' $ac_executable_extensions; do
8464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8465 ac_cv_prog_LD="${ncn_progname}"
8466 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8476 if test -n "$LD"; then
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8478 $as_echo "$LD" >&6; }
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8481 $as_echo "no
" >&6; }
8488 for ncn_progname in ld; do
8489 if test -n "$ncn_tool_prefix"; then
8490 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8491 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8493 $as_echo_n "checking
for $ac_word...
" >&6; }
8494 if test "${ac_cv_prog_LD+set}" = set; then :
8495 $as_echo_n "(cached
) " >&6
8497 if test -n "$LD"; then
8498 ac_cv_prog_LD="$LD" # Let the user override the test.
8500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8504 test -z "$as_dir" && as_dir=.
8505 for ac_exec_ext in '' $ac_executable_extensions; do
8506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8507 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8508 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8518 if test -n "$LD"; then
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8520 $as_echo "$LD" >&6; }
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8523 $as_echo "no
" >&6; }
8528 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8529 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8530 set dummy ${ncn_progname}; ac_word=$2
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8532 $as_echo_n "checking
for $ac_word...
" >&6; }
8533 if test "${ac_cv_prog_LD+set}" = set; then :
8534 $as_echo_n "(cached
) " >&6
8536 if test -n "$LD"; then
8537 ac_cv_prog_LD="$LD" # Let the user override the test.
8539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8543 test -z "$as_dir" && as_dir=.
8544 for ac_exec_ext in '' $ac_executable_extensions; do
8545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8546 ac_cv_prog_LD="${ncn_progname}"
8547 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8557 if test -n "$LD"; then
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8559 $as_echo "$LD" >&6; }
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8562 $as_echo "no
" >&6; }
8567 test -n "$ac_cv_prog_LD" && break
8570 if test -z "$ac_cv_prog_LD" ; then
8572 if test $build = $host ; then
8575 LD="${ncn_tool_prefix}$2"
8581 if test -n "$LIPO"; then
8582 ac_cv_prog_LIPO=$LIPO
8583 elif test -n "$ac_cv_prog_LIPO"; then
8584 LIPO=$ac_cv_prog_LIPO
8587 if test -n "$ac_cv_prog_LIPO"; then
8588 for ncn_progname in lipo; do
8589 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8590 set dummy ${ncn_progname}; ac_word=$2
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8592 $as_echo_n "checking
for $ac_word...
" >&6; }
8593 if test "${ac_cv_prog_LIPO+set}" = set; then :
8594 $as_echo_n "(cached
) " >&6
8596 if test -n "$LIPO"; then
8597 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8603 test -z "$as_dir" && as_dir=.
8604 for ac_exec_ext in '' $ac_executable_extensions; do
8605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8606 ac_cv_prog_LIPO="${ncn_progname}"
8607 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8616 LIPO=$ac_cv_prog_LIPO
8617 if test -n "$LIPO"; then
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8619 $as_echo "$LIPO" >&6; }
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8622 $as_echo "no
" >&6; }
8629 for ncn_progname in lipo; do
8630 if test -n "$ncn_tool_prefix"; then
8631 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8632 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8634 $as_echo_n "checking
for $ac_word...
" >&6; }
8635 if test "${ac_cv_prog_LIPO+set}" = set; then :
8636 $as_echo_n "(cached
) " >&6
8638 if test -n "$LIPO"; then
8639 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8645 test -z "$as_dir" && as_dir=.
8646 for ac_exec_ext in '' $ac_executable_extensions; do
8647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8648 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8649 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8658 LIPO=$ac_cv_prog_LIPO
8659 if test -n "$LIPO"; then
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8661 $as_echo "$LIPO" >&6; }
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8664 $as_echo "no
" >&6; }
8669 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8670 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8671 set dummy ${ncn_progname}; ac_word=$2
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8673 $as_echo_n "checking
for $ac_word...
" >&6; }
8674 if test "${ac_cv_prog_LIPO+set}" = set; then :
8675 $as_echo_n "(cached
) " >&6
8677 if test -n "$LIPO"; then
8678 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8684 test -z "$as_dir" && as_dir=.
8685 for ac_exec_ext in '' $ac_executable_extensions; do
8686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8687 ac_cv_prog_LIPO="${ncn_progname}"
8688 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8697 LIPO=$ac_cv_prog_LIPO
8698 if test -n "$LIPO"; then
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8700 $as_echo "$LIPO" >&6; }
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8703 $as_echo "no
" >&6; }
8708 test -n "$ac_cv_prog_LIPO" && break
8711 if test -z "$ac_cv_prog_LIPO" ; then
8713 if test $build = $host ; then
8716 LIPO="${ncn_tool_prefix}$2"
8722 if test -n "$NM"; then
8724 elif test -n "$ac_cv_prog_NM"; then
8728 if test -n "$ac_cv_prog_NM"; then
8729 for ncn_progname in nm; do
8730 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8731 set dummy ${ncn_progname}; ac_word=$2
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8733 $as_echo_n "checking
for $ac_word...
" >&6; }
8734 if test "${ac_cv_prog_NM+set}" = set; then :
8735 $as_echo_n "(cached
) " >&6
8737 if test -n "$NM"; then
8738 ac_cv_prog_NM="$NM" # Let the user override the test.
8740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8744 test -z "$as_dir" && as_dir=.
8745 for ac_exec_ext in '' $ac_executable_extensions; do
8746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8747 ac_cv_prog_NM="${ncn_progname}"
8748 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8758 if test -n "$NM"; then
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8760 $as_echo "$NM" >&6; }
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8763 $as_echo "no
" >&6; }
8770 for ncn_progname in nm; do
8771 if test -n "$ncn_tool_prefix"; then
8772 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8773 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8775 $as_echo_n "checking
for $ac_word...
" >&6; }
8776 if test "${ac_cv_prog_NM+set}" = set; then :
8777 $as_echo_n "(cached
) " >&6
8779 if test -n "$NM"; then
8780 ac_cv_prog_NM="$NM" # Let the user override the test.
8782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8786 test -z "$as_dir" && as_dir=.
8787 for ac_exec_ext in '' $ac_executable_extensions; do
8788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8789 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8790 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8800 if test -n "$NM"; then
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8802 $as_echo "$NM" >&6; }
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8805 $as_echo "no
" >&6; }
8810 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8811 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8812 set dummy ${ncn_progname}; ac_word=$2
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8814 $as_echo_n "checking
for $ac_word...
" >&6; }
8815 if test "${ac_cv_prog_NM+set}" = set; then :
8816 $as_echo_n "(cached
) " >&6
8818 if test -n "$NM"; then
8819 ac_cv_prog_NM="$NM" # Let the user override the test.
8821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8825 test -z "$as_dir" && as_dir=.
8826 for ac_exec_ext in '' $ac_executable_extensions; do
8827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8828 ac_cv_prog_NM="${ncn_progname}"
8829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8839 if test -n "$NM"; then
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8841 $as_echo "$NM" >&6; }
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8844 $as_echo "no
" >&6; }
8849 test -n "$ac_cv_prog_NM" && break
8852 if test -z "$ac_cv_prog_NM" ; then
8854 if test $build = $host ; then
8857 NM="${ncn_tool_prefix}$2"
8863 if test -n "$RANLIB"; then
8864 ac_cv_prog_RANLIB=$RANLIB
8865 elif test -n "$ac_cv_prog_RANLIB"; then
8866 RANLIB=$ac_cv_prog_RANLIB
8869 if test -n "$ac_cv_prog_RANLIB"; then
8870 for ncn_progname in ranlib; do
8871 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8872 set dummy ${ncn_progname}; ac_word=$2
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8874 $as_echo_n "checking
for $ac_word...
" >&6; }
8875 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8876 $as_echo_n "(cached
) " >&6
8878 if test -n "$RANLIB"; then
8879 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8885 test -z "$as_dir" && as_dir=.
8886 for ac_exec_ext in '' $ac_executable_extensions; do
8887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8888 ac_cv_prog_RANLIB="${ncn_progname}"
8889 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8898 RANLIB=$ac_cv_prog_RANLIB
8899 if test -n "$RANLIB"; then
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8901 $as_echo "$RANLIB" >&6; }
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8904 $as_echo "no
" >&6; }
8911 for ncn_progname in ranlib; do
8912 if test -n "$ncn_tool_prefix"; then
8913 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8914 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8916 $as_echo_n "checking
for $ac_word...
" >&6; }
8917 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8918 $as_echo_n "(cached
) " >&6
8920 if test -n "$RANLIB"; then
8921 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8927 test -z "$as_dir" && as_dir=.
8928 for ac_exec_ext in '' $ac_executable_extensions; do
8929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8930 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8931 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8940 RANLIB=$ac_cv_prog_RANLIB
8941 if test -n "$RANLIB"; then
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8943 $as_echo "$RANLIB" >&6; }
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8946 $as_echo "no
" >&6; }
8951 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8952 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8953 set dummy ${ncn_progname}; ac_word=$2
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8955 $as_echo_n "checking
for $ac_word...
" >&6; }
8956 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8957 $as_echo_n "(cached
) " >&6
8959 if test -n "$RANLIB"; then
8960 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8966 test -z "$as_dir" && as_dir=.
8967 for ac_exec_ext in '' $ac_executable_extensions; do
8968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8969 ac_cv_prog_RANLIB="${ncn_progname}"
8970 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8979 RANLIB=$ac_cv_prog_RANLIB
8980 if test -n "$RANLIB"; then
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8982 $as_echo "$RANLIB" >&6; }
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8985 $as_echo "no
" >&6; }
8990 test -n "$ac_cv_prog_RANLIB" && break
8993 if test -z "$ac_cv_prog_RANLIB" ; then
8999 if test -n "$STRIP"; then
9000 ac_cv_prog_STRIP=$STRIP
9001 elif test -n "$ac_cv_prog_STRIP"; then
9002 STRIP=$ac_cv_prog_STRIP
9005 if test -n "$ac_cv_prog_STRIP"; then
9006 for ncn_progname in strip; do
9007 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9008 set dummy ${ncn_progname}; ac_word=$2
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9010 $as_echo_n "checking
for $ac_word...
" >&6; }
9011 if test "${ac_cv_prog_STRIP+set}" = set; then :
9012 $as_echo_n "(cached
) " >&6
9014 if test -n "$STRIP"; then
9015 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9021 test -z "$as_dir" && as_dir=.
9022 for ac_exec_ext in '' $ac_executable_extensions; do
9023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9024 ac_cv_prog_STRIP="${ncn_progname}"
9025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9034 STRIP=$ac_cv_prog_STRIP
9035 if test -n "$STRIP"; then
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9037 $as_echo "$STRIP" >&6; }
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9040 $as_echo "no
" >&6; }
9047 for ncn_progname in strip; do
9048 if test -n "$ncn_tool_prefix"; then
9049 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9050 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9052 $as_echo_n "checking
for $ac_word...
" >&6; }
9053 if test "${ac_cv_prog_STRIP+set}" = set; then :
9054 $as_echo_n "(cached
) " >&6
9056 if test -n "$STRIP"; then
9057 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9063 test -z "$as_dir" && as_dir=.
9064 for ac_exec_ext in '' $ac_executable_extensions; do
9065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9066 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9067 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9076 STRIP=$ac_cv_prog_STRIP
9077 if test -n "$STRIP"; then
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9079 $as_echo "$STRIP" >&6; }
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9082 $as_echo "no
" >&6; }
9087 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9088 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9089 set dummy ${ncn_progname}; ac_word=$2
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9091 $as_echo_n "checking
for $ac_word...
" >&6; }
9092 if test "${ac_cv_prog_STRIP+set}" = set; then :
9093 $as_echo_n "(cached
) " >&6
9095 if test -n "$STRIP"; then
9096 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9102 test -z "$as_dir" && as_dir=.
9103 for ac_exec_ext in '' $ac_executable_extensions; do
9104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9105 ac_cv_prog_STRIP="${ncn_progname}"
9106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9115 STRIP=$ac_cv_prog_STRIP
9116 if test -n "$STRIP"; then
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9118 $as_echo "$STRIP" >&6; }
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9121 $as_echo "no
" >&6; }
9126 test -n "$ac_cv_prog_STRIP" && break
9129 if test -z "$ac_cv_prog_STRIP" ; then
9135 if test -n "$WINDRES"; then
9136 ac_cv_prog_WINDRES=$WINDRES
9137 elif test -n "$ac_cv_prog_WINDRES"; then
9138 WINDRES=$ac_cv_prog_WINDRES
9141 if test -n "$ac_cv_prog_WINDRES"; then
9142 for ncn_progname in windres; do
9143 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9144 set dummy ${ncn_progname}; ac_word=$2
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9146 $as_echo_n "checking
for $ac_word...
" >&6; }
9147 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9148 $as_echo_n "(cached
) " >&6
9150 if test -n "$WINDRES"; then
9151 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9157 test -z "$as_dir" && as_dir=.
9158 for ac_exec_ext in '' $ac_executable_extensions; do
9159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9160 ac_cv_prog_WINDRES="${ncn_progname}"
9161 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9170 WINDRES=$ac_cv_prog_WINDRES
9171 if test -n "$WINDRES"; then
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9173 $as_echo "$WINDRES" >&6; }
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9176 $as_echo "no
" >&6; }
9183 for ncn_progname in windres; do
9184 if test -n "$ncn_tool_prefix"; then
9185 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9186 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9188 $as_echo_n "checking
for $ac_word...
" >&6; }
9189 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9190 $as_echo_n "(cached
) " >&6
9192 if test -n "$WINDRES"; then
9193 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9199 test -z "$as_dir" && as_dir=.
9200 for ac_exec_ext in '' $ac_executable_extensions; do
9201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9202 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9203 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9212 WINDRES=$ac_cv_prog_WINDRES
9213 if test -n "$WINDRES"; then
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9215 $as_echo "$WINDRES" >&6; }
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9218 $as_echo "no
" >&6; }
9223 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9224 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9225 set dummy ${ncn_progname}; ac_word=$2
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9227 $as_echo_n "checking
for $ac_word...
" >&6; }
9228 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9229 $as_echo_n "(cached
) " >&6
9231 if test -n "$WINDRES"; then
9232 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9238 test -z "$as_dir" && as_dir=.
9239 for ac_exec_ext in '' $ac_executable_extensions; do
9240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9241 ac_cv_prog_WINDRES="${ncn_progname}"
9242 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9251 WINDRES=$ac_cv_prog_WINDRES
9252 if test -n "$WINDRES"; then
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9254 $as_echo "$WINDRES" >&6; }
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9257 $as_echo "no
" >&6; }
9262 test -n "$ac_cv_prog_WINDRES" && break
9265 if test -z "$ac_cv_prog_WINDRES" ; then
9267 if test $build = $host ; then
9270 WINDRES="${ncn_tool_prefix}$2"
9276 if test -n "$WINDMC"; then
9277 ac_cv_prog_WINDMC=$WINDMC
9278 elif test -n "$ac_cv_prog_WINDMC"; then
9279 WINDMC=$ac_cv_prog_WINDMC
9282 if test -n "$ac_cv_prog_WINDMC"; then
9283 for ncn_progname in windmc; do
9284 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9285 set dummy ${ncn_progname}; ac_word=$2
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9287 $as_echo_n "checking
for $ac_word...
" >&6; }
9288 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9289 $as_echo_n "(cached
) " >&6
9291 if test -n "$WINDMC"; then
9292 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9298 test -z "$as_dir" && as_dir=.
9299 for ac_exec_ext in '' $ac_executable_extensions; do
9300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9301 ac_cv_prog_WINDMC="${ncn_progname}"
9302 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9311 WINDMC=$ac_cv_prog_WINDMC
9312 if test -n "$WINDMC"; then
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9314 $as_echo "$WINDMC" >&6; }
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9317 $as_echo "no
" >&6; }
9324 for ncn_progname in windmc; do
9325 if test -n "$ncn_tool_prefix"; then
9326 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9327 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9329 $as_echo_n "checking
for $ac_word...
" >&6; }
9330 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9331 $as_echo_n "(cached
) " >&6
9333 if test -n "$WINDMC"; then
9334 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9340 test -z "$as_dir" && as_dir=.
9341 for ac_exec_ext in '' $ac_executable_extensions; do
9342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9343 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9344 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9353 WINDMC=$ac_cv_prog_WINDMC
9354 if test -n "$WINDMC"; then
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9356 $as_echo "$WINDMC" >&6; }
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9359 $as_echo "no
" >&6; }
9364 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9365 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9366 set dummy ${ncn_progname}; ac_word=$2
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9368 $as_echo_n "checking
for $ac_word...
" >&6; }
9369 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9370 $as_echo_n "(cached
) " >&6
9372 if test -n "$WINDMC"; then
9373 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9379 test -z "$as_dir" && as_dir=.
9380 for ac_exec_ext in '' $ac_executable_extensions; do
9381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9382 ac_cv_prog_WINDMC="${ncn_progname}"
9383 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9392 WINDMC=$ac_cv_prog_WINDMC
9393 if test -n "$WINDMC"; then
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9395 $as_echo "$WINDMC" >&6; }
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9398 $as_echo "no
" >&6; }
9403 test -n "$ac_cv_prog_WINDMC" && break
9406 if test -z "$ac_cv_prog_WINDMC" ; then
9408 if test $build = $host ; then
9411 WINDMC="${ncn_tool_prefix}$2"
9417 if test -n "$OBJCOPY"; then
9418 ac_cv_prog_OBJCOPY=$OBJCOPY
9419 elif test -n "$ac_cv_prog_OBJCOPY"; then
9420 OBJCOPY=$ac_cv_prog_OBJCOPY
9423 if test -n "$ac_cv_prog_OBJCOPY"; then
9424 for ncn_progname in objcopy; do
9425 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9426 set dummy ${ncn_progname}; ac_word=$2
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9428 $as_echo_n "checking
for $ac_word...
" >&6; }
9429 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9430 $as_echo_n "(cached
) " >&6
9432 if test -n "$OBJCOPY"; then
9433 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9439 test -z "$as_dir" && as_dir=.
9440 for ac_exec_ext in '' $ac_executable_extensions; do
9441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9442 ac_cv_prog_OBJCOPY="${ncn_progname}"
9443 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9452 OBJCOPY=$ac_cv_prog_OBJCOPY
9453 if test -n "$OBJCOPY"; then
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9455 $as_echo "$OBJCOPY" >&6; }
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9458 $as_echo "no
" >&6; }
9465 for ncn_progname in objcopy; do
9466 if test -n "$ncn_tool_prefix"; then
9467 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9468 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9470 $as_echo_n "checking
for $ac_word...
" >&6; }
9471 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9472 $as_echo_n "(cached
) " >&6
9474 if test -n "$OBJCOPY"; then
9475 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9481 test -z "$as_dir" && as_dir=.
9482 for ac_exec_ext in '' $ac_executable_extensions; do
9483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9484 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9485 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9494 OBJCOPY=$ac_cv_prog_OBJCOPY
9495 if test -n "$OBJCOPY"; then
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9497 $as_echo "$OBJCOPY" >&6; }
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9500 $as_echo "no
" >&6; }
9505 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9506 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9507 set dummy ${ncn_progname}; ac_word=$2
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9509 $as_echo_n "checking
for $ac_word...
" >&6; }
9510 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9511 $as_echo_n "(cached
) " >&6
9513 if test -n "$OBJCOPY"; then
9514 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9520 test -z "$as_dir" && as_dir=.
9521 for ac_exec_ext in '' $ac_executable_extensions; do
9522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9523 ac_cv_prog_OBJCOPY="${ncn_progname}"
9524 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9533 OBJCOPY=$ac_cv_prog_OBJCOPY
9534 if test -n "$OBJCOPY"; then
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9536 $as_echo "$OBJCOPY" >&6; }
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9539 $as_echo "no
" >&6; }
9544 test -n "$ac_cv_prog_OBJCOPY" && break
9547 if test -z "$ac_cv_prog_OBJCOPY" ; then
9549 if test $build = $host ; then
9552 OBJCOPY="${ncn_tool_prefix}$2"
9558 if test -n "$OBJDUMP"; then
9559 ac_cv_prog_OBJDUMP=$OBJDUMP
9560 elif test -n "$ac_cv_prog_OBJDUMP"; then
9561 OBJDUMP=$ac_cv_prog_OBJDUMP
9564 if test -n "$ac_cv_prog_OBJDUMP"; then
9565 for ncn_progname in objdump; do
9566 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9567 set dummy ${ncn_progname}; ac_word=$2
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9569 $as_echo_n "checking
for $ac_word...
" >&6; }
9570 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9571 $as_echo_n "(cached
) " >&6
9573 if test -n "$OBJDUMP"; then
9574 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9580 test -z "$as_dir" && as_dir=.
9581 for ac_exec_ext in '' $ac_executable_extensions; do
9582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9583 ac_cv_prog_OBJDUMP="${ncn_progname}"
9584 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9593 OBJDUMP=$ac_cv_prog_OBJDUMP
9594 if test -n "$OBJDUMP"; then
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9596 $as_echo "$OBJDUMP" >&6; }
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9599 $as_echo "no
" >&6; }
9606 for ncn_progname in objdump; do
9607 if test -n "$ncn_tool_prefix"; then
9608 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9609 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9611 $as_echo_n "checking
for $ac_word...
" >&6; }
9612 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9613 $as_echo_n "(cached
) " >&6
9615 if test -n "$OBJDUMP"; then
9616 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9622 test -z "$as_dir" && as_dir=.
9623 for ac_exec_ext in '' $ac_executable_extensions; do
9624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9625 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9626 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9635 OBJDUMP=$ac_cv_prog_OBJDUMP
9636 if test -n "$OBJDUMP"; then
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9638 $as_echo "$OBJDUMP" >&6; }
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9641 $as_echo "no
" >&6; }
9646 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9647 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9648 set dummy ${ncn_progname}; ac_word=$2
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9650 $as_echo_n "checking
for $ac_word...
" >&6; }
9651 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9652 $as_echo_n "(cached
) " >&6
9654 if test -n "$OBJDUMP"; then
9655 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9661 test -z "$as_dir" && as_dir=.
9662 for ac_exec_ext in '' $ac_executable_extensions; do
9663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9664 ac_cv_prog_OBJDUMP="${ncn_progname}"
9665 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9674 OBJDUMP=$ac_cv_prog_OBJDUMP
9675 if test -n "$OBJDUMP"; then
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9677 $as_echo "$OBJDUMP" >&6; }
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9680 $as_echo "no
" >&6; }
9685 test -n "$ac_cv_prog_OBJDUMP" && break
9688 if test -z "$ac_cv_prog_OBJDUMP" ; then
9690 if test $build = $host ; then
9693 OBJDUMP="${ncn_tool_prefix}$2"
9704 # Check whether --with-build-time-tools was given.
9705 if test "${with_build_time_tools+set}" = set; then :
9706 withval=$with_build_time_tools; case x"$withval" in
9709 with_build_time_tools=
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9711 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9715 with_build_time_tools=
9721 if test -n "$CC_FOR_TARGET"; then
9722 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9723 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9724 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9727 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9728 for ncn_progname in cc gcc; do
9729 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9730 set dummy ${ncn_progname}; ac_word=$2
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9732 $as_echo_n "checking
for $ac_word...
" >&6; }
9733 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9734 $as_echo_n "(cached
) " >&6
9736 if test -n "$CC_FOR_TARGET"; then
9737 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9743 test -z "$as_dir" && as_dir=.
9744 for ac_exec_ext in '' $ac_executable_extensions; do
9745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9746 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9747 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9756 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9757 if test -n "$CC_FOR_TARGET"; then
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9759 $as_echo "$CC_FOR_TARGET" >&6; }
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9762 $as_echo "no
" >&6; }
9769 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9770 for ncn_progname in cc gcc; do
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9772 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9773 if test -x $with_build_time_tools/${ncn_progname}; then
9774 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9776 $as_echo "yes" >&6; }
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9780 $as_echo "no
" >&6; }
9785 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9786 for ncn_progname in cc gcc; do
9787 if test -n "$ncn_target_tool_prefix"; then
9788 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9789 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9791 $as_echo_n "checking
for $ac_word...
" >&6; }
9792 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9793 $as_echo_n "(cached
) " >&6
9795 if test -n "$CC_FOR_TARGET"; then
9796 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9802 test -z "$as_dir" && as_dir=.
9803 for ac_exec_ext in '' $ac_executable_extensions; do
9804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9805 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9806 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9815 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9816 if test -n "$CC_FOR_TARGET"; then
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9818 $as_echo "$CC_FOR_TARGET" >&6; }
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9821 $as_echo "no
" >&6; }
9826 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9827 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9828 set dummy ${ncn_progname}; ac_word=$2
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9830 $as_echo_n "checking
for $ac_word...
" >&6; }
9831 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9832 $as_echo_n "(cached
) " >&6
9834 if test -n "$CC_FOR_TARGET"; then
9835 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9841 test -z "$as_dir" && as_dir=.
9842 for ac_exec_ext in '' $ac_executable_extensions; do
9843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9844 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9854 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9855 if test -n "$CC_FOR_TARGET"; then
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9857 $as_echo "$CC_FOR_TARGET" >&6; }
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9860 $as_echo "no
" >&6; }
9865 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9869 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9871 if test $build = $target ; then
9874 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9877 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9882 if test -n "$CXX_FOR_TARGET"; then
9883 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9884 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9885 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9888 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9889 for ncn_progname in c++ g++ cxx gxx; do
9890 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9891 set dummy ${ncn_progname}; ac_word=$2
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9893 $as_echo_n "checking
for $ac_word...
" >&6; }
9894 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9895 $as_echo_n "(cached
) " >&6
9897 if test -n "$CXX_FOR_TARGET"; then
9898 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9904 test -z "$as_dir" && as_dir=.
9905 for ac_exec_ext in '' $ac_executable_extensions; do
9906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9907 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9917 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9918 if test -n "$CXX_FOR_TARGET"; then
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9920 $as_echo "$CXX_FOR_TARGET" >&6; }
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9923 $as_echo "no
" >&6; }
9930 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9931 for ncn_progname in c++ g++ cxx gxx; do
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9933 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9934 if test -x $with_build_time_tools/${ncn_progname}; then
9935 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9937 $as_echo "yes" >&6; }
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9941 $as_echo "no
" >&6; }
9946 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9947 for ncn_progname in c++ g++ cxx gxx; do
9948 if test -n "$ncn_target_tool_prefix"; then
9949 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9950 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9952 $as_echo_n "checking
for $ac_word...
" >&6; }
9953 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9954 $as_echo_n "(cached
) " >&6
9956 if test -n "$CXX_FOR_TARGET"; then
9957 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9963 test -z "$as_dir" && as_dir=.
9964 for ac_exec_ext in '' $ac_executable_extensions; do
9965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9966 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9967 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9976 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9977 if test -n "$CXX_FOR_TARGET"; then
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9979 $as_echo "$CXX_FOR_TARGET" >&6; }
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9982 $as_echo "no
" >&6; }
9987 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9988 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9989 set dummy ${ncn_progname}; ac_word=$2
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9991 $as_echo_n "checking
for $ac_word...
" >&6; }
9992 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9993 $as_echo_n "(cached
) " >&6
9995 if test -n "$CXX_FOR_TARGET"; then
9996 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10002 test -z "$as_dir" && as_dir=.
10003 for ac_exec_ext in '' $ac_executable_extensions; do
10004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10005 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10006 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10015 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10016 if test -n "$CXX_FOR_TARGET"; then
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10018 $as_echo "$CXX_FOR_TARGET" >&6; }
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10021 $as_echo "no
" >&6; }
10026 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10030 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10031 set dummy c++ g++ cxx gxx
10032 if test $build = $target ; then
10033 CXX_FOR_TARGET="$2"
10035 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10038 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10043 if test -n "$GCC_FOR_TARGET"; then
10044 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10045 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10046 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10049 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10050 for ncn_progname in gcc; do
10051 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10052 set dummy ${ncn_progname}; ac_word=$2
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10054 $as_echo_n "checking
for $ac_word...
" >&6; }
10055 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10056 $as_echo_n "(cached
) " >&6
10058 if test -n "$GCC_FOR_TARGET"; then
10059 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10062 for as_dir in $PATH
10065 test -z "$as_dir" && as_dir=.
10066 for ac_exec_ext in '' $ac_executable_extensions; do
10067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10068 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10069 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10078 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10079 if test -n "$GCC_FOR_TARGET"; then
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10081 $as_echo "$GCC_FOR_TARGET" >&6; }
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10084 $as_echo "no
" >&6; }
10091 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10092 for ncn_progname in gcc; do
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10094 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10095 if test -x $with_build_time_tools/${ncn_progname}; then
10096 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10098 $as_echo "yes" >&6; }
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10102 $as_echo "no
" >&6; }
10107 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10108 for ncn_progname in gcc; do
10109 if test -n "$ncn_target_tool_prefix"; then
10110 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10111 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10113 $as_echo_n "checking
for $ac_word...
" >&6; }
10114 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10115 $as_echo_n "(cached
) " >&6
10117 if test -n "$GCC_FOR_TARGET"; then
10118 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10121 for as_dir in $PATH
10124 test -z "$as_dir" && as_dir=.
10125 for ac_exec_ext in '' $ac_executable_extensions; do
10126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10127 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10128 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10137 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10138 if test -n "$GCC_FOR_TARGET"; then
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10140 $as_echo "$GCC_FOR_TARGET" >&6; }
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10143 $as_echo "no
" >&6; }
10148 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10149 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10150 set dummy ${ncn_progname}; ac_word=$2
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10152 $as_echo_n "checking
for $ac_word...
" >&6; }
10153 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10154 $as_echo_n "(cached
) " >&6
10156 if test -n "$GCC_FOR_TARGET"; then
10157 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10160 for as_dir in $PATH
10163 test -z "$as_dir" && as_dir=.
10164 for ac_exec_ext in '' $ac_executable_extensions; do
10165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10166 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10176 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10177 if test -n "$GCC_FOR_TARGET"; then
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10179 $as_echo "$GCC_FOR_TARGET" >&6; }
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10182 $as_echo "no
" >&6; }
10187 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10191 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10192 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10194 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10199 if test -n "$GCJ_FOR_TARGET"; then
10200 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10201 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10202 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10205 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10206 for ncn_progname in gcj; do
10207 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10208 set dummy ${ncn_progname}; ac_word=$2
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10210 $as_echo_n "checking
for $ac_word...
" >&6; }
10211 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10212 $as_echo_n "(cached
) " >&6
10214 if test -n "$GCJ_FOR_TARGET"; then
10215 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10218 for as_dir in $PATH
10221 test -z "$as_dir" && as_dir=.
10222 for ac_exec_ext in '' $ac_executable_extensions; do
10223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10224 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10225 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10234 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10235 if test -n "$GCJ_FOR_TARGET"; then
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10237 $as_echo "$GCJ_FOR_TARGET" >&6; }
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10240 $as_echo "no
" >&6; }
10247 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10248 for ncn_progname in gcj; do
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10250 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10251 if test -x $with_build_time_tools/${ncn_progname}; then
10252 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10254 $as_echo "yes" >&6; }
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10258 $as_echo "no
" >&6; }
10263 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10264 for ncn_progname in gcj; do
10265 if test -n "$ncn_target_tool_prefix"; then
10266 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10267 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10269 $as_echo_n "checking
for $ac_word...
" >&6; }
10270 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10271 $as_echo_n "(cached
) " >&6
10273 if test -n "$GCJ_FOR_TARGET"; then
10274 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10277 for as_dir in $PATH
10280 test -z "$as_dir" && as_dir=.
10281 for ac_exec_ext in '' $ac_executable_extensions; do
10282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10283 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10284 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10293 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10294 if test -n "$GCJ_FOR_TARGET"; then
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10296 $as_echo "$GCJ_FOR_TARGET" >&6; }
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10299 $as_echo "no
" >&6; }
10304 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10305 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10306 set dummy ${ncn_progname}; ac_word=$2
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10308 $as_echo_n "checking
for $ac_word...
" >&6; }
10309 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10310 $as_echo_n "(cached
) " >&6
10312 if test -n "$GCJ_FOR_TARGET"; then
10313 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10316 for as_dir in $PATH
10319 test -z "$as_dir" && as_dir=.
10320 for ac_exec_ext in '' $ac_executable_extensions; do
10321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10322 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10323 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10332 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10333 if test -n "$GCJ_FOR_TARGET"; then
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10335 $as_echo "$GCJ_FOR_TARGET" >&6; }
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10338 $as_echo "no
" >&6; }
10343 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10347 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10349 if test $build = $target ; then
10350 GCJ_FOR_TARGET="$2"
10352 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10355 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10360 if test -n "$GFORTRAN_FOR_TARGET"; then
10361 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10362 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10363 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10366 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10367 for ncn_progname in gfortran; do
10368 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10369 set dummy ${ncn_progname}; ac_word=$2
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10371 $as_echo_n "checking
for $ac_word...
" >&6; }
10372 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10373 $as_echo_n "(cached
) " >&6
10375 if test -n "$GFORTRAN_FOR_TARGET"; then
10376 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10379 for as_dir in $PATH
10382 test -z "$as_dir" && as_dir=.
10383 for ac_exec_ext in '' $ac_executable_extensions; do
10384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10385 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10386 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10395 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10396 if test -n "$GFORTRAN_FOR_TARGET"; then
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10398 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10401 $as_echo "no
" >&6; }
10408 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10409 for ncn_progname in gfortran; do
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10411 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10412 if test -x $with_build_time_tools/${ncn_progname}; then
10413 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10415 $as_echo "yes" >&6; }
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10419 $as_echo "no
" >&6; }
10424 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10425 for ncn_progname in gfortran; do
10426 if test -n "$ncn_target_tool_prefix"; then
10427 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10428 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10430 $as_echo_n "checking
for $ac_word...
" >&6; }
10431 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10432 $as_echo_n "(cached
) " >&6
10434 if test -n "$GFORTRAN_FOR_TARGET"; then
10435 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10438 for as_dir in $PATH
10441 test -z "$as_dir" && as_dir=.
10442 for ac_exec_ext in '' $ac_executable_extensions; do
10443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10444 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10454 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10455 if test -n "$GFORTRAN_FOR_TARGET"; then
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10457 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10460 $as_echo "no
" >&6; }
10465 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10466 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10467 set dummy ${ncn_progname}; ac_word=$2
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10469 $as_echo_n "checking
for $ac_word...
" >&6; }
10470 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10471 $as_echo_n "(cached
) " >&6
10473 if test -n "$GFORTRAN_FOR_TARGET"; then
10474 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10477 for as_dir in $PATH
10480 test -z "$as_dir" && as_dir=.
10481 for ac_exec_ext in '' $ac_executable_extensions; do
10482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10483 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10484 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10493 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10494 if test -n "$GFORTRAN_FOR_TARGET"; then
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10496 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10499 $as_echo "no
" >&6; }
10504 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10508 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10510 if test $build = $target ; then
10511 GFORTRAN_FOR_TARGET="$2"
10513 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10516 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10521 if test -n "$GOC_FOR_TARGET"; then
10522 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10523 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10524 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10527 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10528 for ncn_progname in gccgo; do
10529 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10530 set dummy ${ncn_progname}; ac_word=$2
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10532 $as_echo_n "checking
for $ac_word...
" >&6; }
10533 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10534 $as_echo_n "(cached
) " >&6
10536 if test -n "$GOC_FOR_TARGET"; then
10537 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10540 for as_dir in $PATH
10543 test -z "$as_dir" && as_dir=.
10544 for ac_exec_ext in '' $ac_executable_extensions; do
10545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10546 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10547 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10556 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10557 if test -n "$GOC_FOR_TARGET"; then
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10559 $as_echo "$GOC_FOR_TARGET" >&6; }
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10562 $as_echo "no
" >&6; }
10569 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10570 for ncn_progname in gccgo; do
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10572 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10573 if test -x $with_build_time_tools/${ncn_progname}; then
10574 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10576 $as_echo "yes" >&6; }
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10580 $as_echo "no
" >&6; }
10585 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10586 for ncn_progname in gccgo; do
10587 if test -n "$ncn_target_tool_prefix"; then
10588 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10589 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10591 $as_echo_n "checking
for $ac_word...
" >&6; }
10592 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10593 $as_echo_n "(cached
) " >&6
10595 if test -n "$GOC_FOR_TARGET"; then
10596 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10599 for as_dir in $PATH
10602 test -z "$as_dir" && as_dir=.
10603 for ac_exec_ext in '' $ac_executable_extensions; do
10604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10605 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10606 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10615 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10616 if test -n "$GOC_FOR_TARGET"; then
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10618 $as_echo "$GOC_FOR_TARGET" >&6; }
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10621 $as_echo "no
" >&6; }
10626 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10627 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10628 set dummy ${ncn_progname}; ac_word=$2
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10630 $as_echo_n "checking
for $ac_word...
" >&6; }
10631 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10632 $as_echo_n "(cached
) " >&6
10634 if test -n "$GOC_FOR_TARGET"; then
10635 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10638 for as_dir in $PATH
10641 test -z "$as_dir" && as_dir=.
10642 for ac_exec_ext in '' $ac_executable_extensions; do
10643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10644 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10654 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10655 if test -n "$GOC_FOR_TARGET"; then
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10657 $as_echo "$GOC_FOR_TARGET" >&6; }
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10660 $as_echo "no
" >&6; }
10665 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10669 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10671 if test $build = $target ; then
10672 GOC_FOR_TARGET="$2"
10674 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10677 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10682 cat > conftest.c << \EOF
10687 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10688 have_gcc_for_target=yes
10690 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10691 have_gcc_for_target=no
10698 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10699 if test -n "$with_build_time_tools"; then
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10701 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10702 if test -x $with_build_time_tools/ar; then
10703 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10704 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10706 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10709 $as_echo "no
" >&6; }
10711 elif test $build != $host && test $have_gcc_for_target = yes; then
10712 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10713 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10714 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10717 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10718 # Extract the first word of "ar", so it can be a program name with args.
10719 set dummy ar; ac_word=$2
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10721 $as_echo_n "checking
for $ac_word...
" >&6; }
10722 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10723 $as_echo_n "(cached
) " >&6
10725 case $AR_FOR_TARGET in
10727 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10731 for as_dir in $gcc_cv_tool_dirs
10734 test -z "$as_dir" && as_dir=.
10735 for ac_exec_ext in '' $ac_executable_extensions; do
10736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10737 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10738 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10748 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10749 if test -n "$AR_FOR_TARGET"; then
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10751 $as_echo "$AR_FOR_TARGET" >&6; }
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10754 $as_echo "no
" >&6; }
10759 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10762 if test -n "$AR_FOR_TARGET"; then
10763 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10764 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10765 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10768 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10769 for ncn_progname in ar; do
10770 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10771 set dummy ${ncn_progname}; ac_word=$2
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10773 $as_echo_n "checking
for $ac_word...
" >&6; }
10774 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10775 $as_echo_n "(cached
) " >&6
10777 if test -n "$AR_FOR_TARGET"; then
10778 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10781 for as_dir in $PATH
10784 test -z "$as_dir" && as_dir=.
10785 for ac_exec_ext in '' $ac_executable_extensions; do
10786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10787 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10788 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10797 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10798 if test -n "$AR_FOR_TARGET"; then
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10800 $as_echo "$AR_FOR_TARGET" >&6; }
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10803 $as_echo "no
" >&6; }
10810 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10811 for ncn_progname in ar; do
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10813 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10814 if test -x $with_build_time_tools/${ncn_progname}; then
10815 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10817 $as_echo "yes" >&6; }
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10821 $as_echo "no
" >&6; }
10826 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10827 for ncn_progname in ar; do
10828 if test -n "$ncn_target_tool_prefix"; then
10829 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10830 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10832 $as_echo_n "checking
for $ac_word...
" >&6; }
10833 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10834 $as_echo_n "(cached
) " >&6
10836 if test -n "$AR_FOR_TARGET"; then
10837 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10840 for as_dir in $PATH
10843 test -z "$as_dir" && as_dir=.
10844 for ac_exec_ext in '' $ac_executable_extensions; do
10845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10846 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10856 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10857 if test -n "$AR_FOR_TARGET"; then
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10859 $as_echo "$AR_FOR_TARGET" >&6; }
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10862 $as_echo "no
" >&6; }
10867 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10868 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10869 set dummy ${ncn_progname}; ac_word=$2
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10871 $as_echo_n "checking
for $ac_word...
" >&6; }
10872 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10873 $as_echo_n "(cached
) " >&6
10875 if test -n "$AR_FOR_TARGET"; then
10876 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10879 for as_dir in $PATH
10882 test -z "$as_dir" && as_dir=.
10883 for ac_exec_ext in '' $ac_executable_extensions; do
10884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10885 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10886 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10895 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10896 if test -n "$AR_FOR_TARGET"; then
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10898 $as_echo "$AR_FOR_TARGET" >&6; }
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10901 $as_echo "no
" >&6; }
10906 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10910 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10912 if test $build = $target ; then
10915 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10918 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10922 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10928 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10929 if test -n "$with_build_time_tools"; then
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10931 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10932 if test -x $with_build_time_tools/as; then
10933 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10934 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10936 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10939 $as_echo "no
" >&6; }
10941 elif test $build != $host && test $have_gcc_for_target = yes; then
10942 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10943 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10944 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10947 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10948 # Extract the first word of "as
", so it can be a program name with args.
10949 set dummy as; ac_word=$2
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10951 $as_echo_n "checking
for $ac_word...
" >&6; }
10952 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10953 $as_echo_n "(cached
) " >&6
10955 case $AS_FOR_TARGET in
10957 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10961 for as_dir in $gcc_cv_tool_dirs
10964 test -z "$as_dir" && as_dir=.
10965 for ac_exec_ext in '' $ac_executable_extensions; do
10966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10967 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10968 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10978 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10979 if test -n "$AS_FOR_TARGET"; then
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10981 $as_echo "$AS_FOR_TARGET" >&6; }
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10984 $as_echo "no
" >&6; }
10989 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10992 if test -n "$AS_FOR_TARGET"; then
10993 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10994 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10995 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10998 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10999 for ncn_progname in as; do
11000 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11001 set dummy ${ncn_progname}; ac_word=$2
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11003 $as_echo_n "checking
for $ac_word...
" >&6; }
11004 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11005 $as_echo_n "(cached
) " >&6
11007 if test -n "$AS_FOR_TARGET"; then
11008 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11011 for as_dir in $PATH
11014 test -z "$as_dir" && as_dir=.
11015 for ac_exec_ext in '' $ac_executable_extensions; do
11016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11017 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11018 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11027 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11028 if test -n "$AS_FOR_TARGET"; then
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11030 $as_echo "$AS_FOR_TARGET" >&6; }
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11033 $as_echo "no
" >&6; }
11040 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11041 for ncn_progname in as; do
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11043 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11044 if test -x $with_build_time_tools/${ncn_progname}; then
11045 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11047 $as_echo "yes" >&6; }
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11051 $as_echo "no
" >&6; }
11056 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11057 for ncn_progname in as; do
11058 if test -n "$ncn_target_tool_prefix"; then
11059 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11060 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11062 $as_echo_n "checking
for $ac_word...
" >&6; }
11063 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11064 $as_echo_n "(cached
) " >&6
11066 if test -n "$AS_FOR_TARGET"; then
11067 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11070 for as_dir in $PATH
11073 test -z "$as_dir" && as_dir=.
11074 for ac_exec_ext in '' $ac_executable_extensions; do
11075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11076 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11077 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11086 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11087 if test -n "$AS_FOR_TARGET"; then
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11089 $as_echo "$AS_FOR_TARGET" >&6; }
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11092 $as_echo "no
" >&6; }
11097 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11098 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11099 set dummy ${ncn_progname}; ac_word=$2
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11101 $as_echo_n "checking
for $ac_word...
" >&6; }
11102 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11103 $as_echo_n "(cached
) " >&6
11105 if test -n "$AS_FOR_TARGET"; then
11106 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11109 for as_dir in $PATH
11112 test -z "$as_dir" && as_dir=.
11113 for ac_exec_ext in '' $ac_executable_extensions; do
11114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11115 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11116 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11125 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11126 if test -n "$AS_FOR_TARGET"; then
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11128 $as_echo "$AS_FOR_TARGET" >&6; }
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11131 $as_echo "no
" >&6; }
11136 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11140 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11142 if test $build = $target ; then
11145 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11148 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11152 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11158 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11159 if test -n "$with_build_time_tools"; then
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11161 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11162 if test -x $with_build_time_tools/dlltool; then
11163 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11164 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11166 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11169 $as_echo "no
" >&6; }
11171 elif test $build != $host && test $have_gcc_for_target = yes; then
11172 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11173 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11174 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11177 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11178 # Extract the first word of "dlltool
", so it can be a program name with args.
11179 set dummy dlltool; ac_word=$2
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11181 $as_echo_n "checking
for $ac_word...
" >&6; }
11182 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11183 $as_echo_n "(cached
) " >&6
11185 case $DLLTOOL_FOR_TARGET in
11187 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11191 for as_dir in $gcc_cv_tool_dirs
11194 test -z "$as_dir" && as_dir=.
11195 for ac_exec_ext in '' $ac_executable_extensions; do
11196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11197 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11198 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11208 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11209 if test -n "$DLLTOOL_FOR_TARGET"; then
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11211 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11214 $as_echo "no
" >&6; }
11219 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11222 if test -n "$DLLTOOL_FOR_TARGET"; then
11223 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11224 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11225 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11228 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11229 for ncn_progname in dlltool; do
11230 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11231 set dummy ${ncn_progname}; ac_word=$2
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11233 $as_echo_n "checking
for $ac_word...
" >&6; }
11234 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11235 $as_echo_n "(cached
) " >&6
11237 if test -n "$DLLTOOL_FOR_TARGET"; then
11238 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11241 for as_dir in $PATH
11244 test -z "$as_dir" && as_dir=.
11245 for ac_exec_ext in '' $ac_executable_extensions; do
11246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11247 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11248 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11257 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11258 if test -n "$DLLTOOL_FOR_TARGET"; then
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11260 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11263 $as_echo "no
" >&6; }
11270 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11271 for ncn_progname in dlltool; do
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11273 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11274 if test -x $with_build_time_tools/${ncn_progname}; then
11275 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11277 $as_echo "yes" >&6; }
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11281 $as_echo "no
" >&6; }
11286 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11287 for ncn_progname in dlltool; do
11288 if test -n "$ncn_target_tool_prefix"; then
11289 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11290 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11292 $as_echo_n "checking
for $ac_word...
" >&6; }
11293 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11294 $as_echo_n "(cached
) " >&6
11296 if test -n "$DLLTOOL_FOR_TARGET"; then
11297 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11300 for as_dir in $PATH
11303 test -z "$as_dir" && as_dir=.
11304 for ac_exec_ext in '' $ac_executable_extensions; do
11305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11306 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11307 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11316 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11317 if test -n "$DLLTOOL_FOR_TARGET"; then
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11319 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11322 $as_echo "no
" >&6; }
11327 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11328 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11329 set dummy ${ncn_progname}; ac_word=$2
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11331 $as_echo_n "checking
for $ac_word...
" >&6; }
11332 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11333 $as_echo_n "(cached
) " >&6
11335 if test -n "$DLLTOOL_FOR_TARGET"; then
11336 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11339 for as_dir in $PATH
11342 test -z "$as_dir" && as_dir=.
11343 for ac_exec_ext in '' $ac_executable_extensions; do
11344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11345 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11346 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11355 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11356 if test -n "$DLLTOOL_FOR_TARGET"; then
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11358 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11361 $as_echo "no
" >&6; }
11366 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11370 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11372 if test $build = $target ; then
11373 DLLTOOL_FOR_TARGET="$2"
11375 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11378 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11382 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11388 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11389 if test -n "$with_build_time_tools"; then
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11391 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11392 if test -x $with_build_time_tools/ld; then
11393 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11394 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11396 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11399 $as_echo "no
" >&6; }
11401 elif test $build != $host && test $have_gcc_for_target = yes; then
11402 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11403 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11404 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11407 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11408 # Extract the first word of "ld
", so it can be a program name with args.
11409 set dummy ld; ac_word=$2
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11411 $as_echo_n "checking
for $ac_word...
" >&6; }
11412 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11413 $as_echo_n "(cached
) " >&6
11415 case $LD_FOR_TARGET in
11417 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11421 for as_dir in $gcc_cv_tool_dirs
11424 test -z "$as_dir" && as_dir=.
11425 for ac_exec_ext in '' $ac_executable_extensions; do
11426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11427 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11428 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11438 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11439 if test -n "$LD_FOR_TARGET"; then
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11441 $as_echo "$LD_FOR_TARGET" >&6; }
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11444 $as_echo "no
" >&6; }
11449 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11452 if test -n "$LD_FOR_TARGET"; then
11453 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11454 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11455 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11458 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11459 for ncn_progname in ld; do
11460 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11461 set dummy ${ncn_progname}; ac_word=$2
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11463 $as_echo_n "checking
for $ac_word...
" >&6; }
11464 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11465 $as_echo_n "(cached
) " >&6
11467 if test -n "$LD_FOR_TARGET"; then
11468 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11471 for as_dir in $PATH
11474 test -z "$as_dir" && as_dir=.
11475 for ac_exec_ext in '' $ac_executable_extensions; do
11476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11477 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11478 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11487 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11488 if test -n "$LD_FOR_TARGET"; then
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11490 $as_echo "$LD_FOR_TARGET" >&6; }
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11493 $as_echo "no
" >&6; }
11500 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11501 for ncn_progname in ld; do
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11503 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11504 if test -x $with_build_time_tools/${ncn_progname}; then
11505 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11507 $as_echo "yes" >&6; }
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11511 $as_echo "no
" >&6; }
11516 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11517 for ncn_progname in ld; do
11518 if test -n "$ncn_target_tool_prefix"; then
11519 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11520 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11522 $as_echo_n "checking
for $ac_word...
" >&6; }
11523 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11524 $as_echo_n "(cached
) " >&6
11526 if test -n "$LD_FOR_TARGET"; then
11527 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11530 for as_dir in $PATH
11533 test -z "$as_dir" && as_dir=.
11534 for ac_exec_ext in '' $ac_executable_extensions; do
11535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11536 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11537 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11546 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11547 if test -n "$LD_FOR_TARGET"; then
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11549 $as_echo "$LD_FOR_TARGET" >&6; }
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11552 $as_echo "no
" >&6; }
11557 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11558 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11559 set dummy ${ncn_progname}; ac_word=$2
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11561 $as_echo_n "checking
for $ac_word...
" >&6; }
11562 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11563 $as_echo_n "(cached
) " >&6
11565 if test -n "$LD_FOR_TARGET"; then
11566 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11569 for as_dir in $PATH
11572 test -z "$as_dir" && as_dir=.
11573 for ac_exec_ext in '' $ac_executable_extensions; do
11574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11575 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11576 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11585 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11586 if test -n "$LD_FOR_TARGET"; then
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11588 $as_echo "$LD_FOR_TARGET" >&6; }
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11591 $as_echo "no
" >&6; }
11596 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11600 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11602 if test $build = $target ; then
11605 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11608 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11612 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11618 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11619 if test -n "$with_build_time_tools"; then
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11621 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11622 if test -x $with_build_time_tools/lipo; then
11623 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11624 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11626 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11629 $as_echo "no
" >&6; }
11631 elif test $build != $host && test $have_gcc_for_target = yes; then
11632 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11633 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11634 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11637 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11638 # Extract the first word of "lipo
", so it can be a program name with args.
11639 set dummy lipo; ac_word=$2
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11641 $as_echo_n "checking
for $ac_word...
" >&6; }
11642 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11643 $as_echo_n "(cached
) " >&6
11645 case $LIPO_FOR_TARGET in
11647 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11651 for as_dir in $gcc_cv_tool_dirs
11654 test -z "$as_dir" && as_dir=.
11655 for ac_exec_ext in '' $ac_executable_extensions; do
11656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11657 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11658 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11668 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11669 if test -n "$LIPO_FOR_TARGET"; then
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11671 $as_echo "$LIPO_FOR_TARGET" >&6; }
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11674 $as_echo "no
" >&6; }
11679 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11682 if test -n "$LIPO_FOR_TARGET"; then
11683 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11684 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11685 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11688 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11689 for ncn_progname in lipo; do
11690 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11691 set dummy ${ncn_progname}; ac_word=$2
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11693 $as_echo_n "checking
for $ac_word...
" >&6; }
11694 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11695 $as_echo_n "(cached
) " >&6
11697 if test -n "$LIPO_FOR_TARGET"; then
11698 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11701 for as_dir in $PATH
11704 test -z "$as_dir" && as_dir=.
11705 for ac_exec_ext in '' $ac_executable_extensions; do
11706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11707 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11708 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11717 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11718 if test -n "$LIPO_FOR_TARGET"; then
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11720 $as_echo "$LIPO_FOR_TARGET" >&6; }
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11723 $as_echo "no
" >&6; }
11730 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11731 for ncn_progname in lipo; do
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11733 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11734 if test -x $with_build_time_tools/${ncn_progname}; then
11735 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11737 $as_echo "yes" >&6; }
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11741 $as_echo "no
" >&6; }
11746 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11747 for ncn_progname in lipo; do
11748 if test -n "$ncn_target_tool_prefix"; then
11749 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11750 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11752 $as_echo_n "checking
for $ac_word...
" >&6; }
11753 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11754 $as_echo_n "(cached
) " >&6
11756 if test -n "$LIPO_FOR_TARGET"; then
11757 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11760 for as_dir in $PATH
11763 test -z "$as_dir" && as_dir=.
11764 for ac_exec_ext in '' $ac_executable_extensions; do
11765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11766 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11767 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11776 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11777 if test -n "$LIPO_FOR_TARGET"; then
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11779 $as_echo "$LIPO_FOR_TARGET" >&6; }
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11782 $as_echo "no
" >&6; }
11787 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11788 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11789 set dummy ${ncn_progname}; ac_word=$2
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11791 $as_echo_n "checking
for $ac_word...
" >&6; }
11792 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11793 $as_echo_n "(cached
) " >&6
11795 if test -n "$LIPO_FOR_TARGET"; then
11796 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11799 for as_dir in $PATH
11802 test -z "$as_dir" && as_dir=.
11803 for ac_exec_ext in '' $ac_executable_extensions; do
11804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11805 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11806 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11815 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11816 if test -n "$LIPO_FOR_TARGET"; then
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11818 $as_echo "$LIPO_FOR_TARGET" >&6; }
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11821 $as_echo "no
" >&6; }
11826 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11830 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11832 if test $build = $target ; then
11833 LIPO_FOR_TARGET="$2"
11835 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11838 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11842 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11848 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11849 if test -n "$with_build_time_tools"; then
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11851 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11852 if test -x $with_build_time_tools/nm; then
11853 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11854 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11856 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11859 $as_echo "no
" >&6; }
11861 elif test $build != $host && test $have_gcc_for_target = yes; then
11862 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11863 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11864 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11867 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11868 # Extract the first word of "nm
", so it can be a program name with args.
11869 set dummy nm; ac_word=$2
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11871 $as_echo_n "checking
for $ac_word...
" >&6; }
11872 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11873 $as_echo_n "(cached
) " >&6
11875 case $NM_FOR_TARGET in
11877 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11881 for as_dir in $gcc_cv_tool_dirs
11884 test -z "$as_dir" && as_dir=.
11885 for ac_exec_ext in '' $ac_executable_extensions; do
11886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11887 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11888 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11898 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11899 if test -n "$NM_FOR_TARGET"; then
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11901 $as_echo "$NM_FOR_TARGET" >&6; }
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11904 $as_echo "no
" >&6; }
11909 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11912 if test -n "$NM_FOR_TARGET"; then
11913 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11914 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11915 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11918 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11919 for ncn_progname in nm; do
11920 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11921 set dummy ${ncn_progname}; ac_word=$2
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11923 $as_echo_n "checking
for $ac_word...
" >&6; }
11924 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11925 $as_echo_n "(cached
) " >&6
11927 if test -n "$NM_FOR_TARGET"; then
11928 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11931 for as_dir in $PATH
11934 test -z "$as_dir" && as_dir=.
11935 for ac_exec_ext in '' $ac_executable_extensions; do
11936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11937 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11938 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11947 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11948 if test -n "$NM_FOR_TARGET"; then
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11950 $as_echo "$NM_FOR_TARGET" >&6; }
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11953 $as_echo "no
" >&6; }
11960 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11961 for ncn_progname in nm; do
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11963 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11964 if test -x $with_build_time_tools/${ncn_progname}; then
11965 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11967 $as_echo "yes" >&6; }
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11971 $as_echo "no
" >&6; }
11976 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11977 for ncn_progname in nm; do
11978 if test -n "$ncn_target_tool_prefix"; then
11979 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11980 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11982 $as_echo_n "checking
for $ac_word...
" >&6; }
11983 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11984 $as_echo_n "(cached
) " >&6
11986 if test -n "$NM_FOR_TARGET"; then
11987 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11990 for as_dir in $PATH
11993 test -z "$as_dir" && as_dir=.
11994 for ac_exec_ext in '' $ac_executable_extensions; do
11995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11996 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11997 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12006 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12007 if test -n "$NM_FOR_TARGET"; then
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12009 $as_echo "$NM_FOR_TARGET" >&6; }
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12012 $as_echo "no
" >&6; }
12017 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12018 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12019 set dummy ${ncn_progname}; ac_word=$2
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12021 $as_echo_n "checking
for $ac_word...
" >&6; }
12022 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12023 $as_echo_n "(cached
) " >&6
12025 if test -n "$NM_FOR_TARGET"; then
12026 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12029 for as_dir in $PATH
12032 test -z "$as_dir" && as_dir=.
12033 for ac_exec_ext in '' $ac_executable_extensions; do
12034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12035 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12036 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12045 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12046 if test -n "$NM_FOR_TARGET"; then
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12048 $as_echo "$NM_FOR_TARGET" >&6; }
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12051 $as_echo "no
" >&6; }
12056 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12060 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12062 if test $build = $target ; then
12065 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12068 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12072 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12078 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12079 if test -n "$with_build_time_tools"; then
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12081 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12082 if test -x $with_build_time_tools/objdump; then
12083 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12084 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12086 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12089 $as_echo "no
" >&6; }
12091 elif test $build != $host && test $have_gcc_for_target = yes; then
12092 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12093 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12094 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12097 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12098 # Extract the first word of "objdump
", so it can be a program name with args.
12099 set dummy objdump; ac_word=$2
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12101 $as_echo_n "checking
for $ac_word...
" >&6; }
12102 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12103 $as_echo_n "(cached
) " >&6
12105 case $OBJDUMP_FOR_TARGET in
12107 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12111 for as_dir in $gcc_cv_tool_dirs
12114 test -z "$as_dir" && as_dir=.
12115 for ac_exec_ext in '' $ac_executable_extensions; do
12116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12117 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12118 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12128 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12129 if test -n "$OBJDUMP_FOR_TARGET"; then
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12131 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12134 $as_echo "no
" >&6; }
12139 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12142 if test -n "$OBJDUMP_FOR_TARGET"; then
12143 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12144 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12145 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12148 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12149 for ncn_progname in objdump; do
12150 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12151 set dummy ${ncn_progname}; ac_word=$2
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12153 $as_echo_n "checking
for $ac_word...
" >&6; }
12154 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12155 $as_echo_n "(cached
) " >&6
12157 if test -n "$OBJDUMP_FOR_TARGET"; then
12158 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12161 for as_dir in $PATH
12164 test -z "$as_dir" && as_dir=.
12165 for ac_exec_ext in '' $ac_executable_extensions; do
12166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12167 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12168 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12177 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12178 if test -n "$OBJDUMP_FOR_TARGET"; then
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12180 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12183 $as_echo "no
" >&6; }
12190 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12191 for ncn_progname in objdump; do
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12193 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12194 if test -x $with_build_time_tools/${ncn_progname}; then
12195 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12197 $as_echo "yes" >&6; }
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12201 $as_echo "no
" >&6; }
12206 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12207 for ncn_progname in objdump; do
12208 if test -n "$ncn_target_tool_prefix"; then
12209 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12210 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12212 $as_echo_n "checking
for $ac_word...
" >&6; }
12213 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12214 $as_echo_n "(cached
) " >&6
12216 if test -n "$OBJDUMP_FOR_TARGET"; then
12217 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12220 for as_dir in $PATH
12223 test -z "$as_dir" && as_dir=.
12224 for ac_exec_ext in '' $ac_executable_extensions; do
12225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12226 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12227 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12236 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12237 if test -n "$OBJDUMP_FOR_TARGET"; then
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12239 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12242 $as_echo "no
" >&6; }
12247 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12248 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12249 set dummy ${ncn_progname}; ac_word=$2
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12251 $as_echo_n "checking
for $ac_word...
" >&6; }
12252 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12253 $as_echo_n "(cached
) " >&6
12255 if test -n "$OBJDUMP_FOR_TARGET"; then
12256 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12259 for as_dir in $PATH
12262 test -z "$as_dir" && as_dir=.
12263 for ac_exec_ext in '' $ac_executable_extensions; do
12264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12265 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12266 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12275 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12276 if test -n "$OBJDUMP_FOR_TARGET"; then
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12278 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12281 $as_echo "no
" >&6; }
12286 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12290 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12292 if test $build = $target ; then
12293 OBJDUMP_FOR_TARGET="$2"
12295 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12298 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12302 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12308 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12309 if test -n "$with_build_time_tools"; then
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12311 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12312 if test -x $with_build_time_tools/ranlib; then
12313 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12314 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12316 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12319 $as_echo "no
" >&6; }
12321 elif test $build != $host && test $have_gcc_for_target = yes; then
12322 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12323 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12324 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12327 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12328 # Extract the first word of "ranlib
", so it can be a program name with args.
12329 set dummy ranlib; ac_word=$2
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12331 $as_echo_n "checking
for $ac_word...
" >&6; }
12332 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12333 $as_echo_n "(cached
) " >&6
12335 case $RANLIB_FOR_TARGET in
12337 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12341 for as_dir in $gcc_cv_tool_dirs
12344 test -z "$as_dir" && as_dir=.
12345 for ac_exec_ext in '' $ac_executable_extensions; do
12346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12347 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12348 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12358 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12359 if test -n "$RANLIB_FOR_TARGET"; then
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12361 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12364 $as_echo "no
" >&6; }
12369 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12372 if test -n "$RANLIB_FOR_TARGET"; then
12373 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12374 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12375 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12378 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12379 for ncn_progname in ranlib; do
12380 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12381 set dummy ${ncn_progname}; ac_word=$2
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12383 $as_echo_n "checking
for $ac_word...
" >&6; }
12384 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12385 $as_echo_n "(cached
) " >&6
12387 if test -n "$RANLIB_FOR_TARGET"; then
12388 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12391 for as_dir in $PATH
12394 test -z "$as_dir" && as_dir=.
12395 for ac_exec_ext in '' $ac_executable_extensions; do
12396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12397 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12398 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12407 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12408 if test -n "$RANLIB_FOR_TARGET"; then
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12410 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12413 $as_echo "no
" >&6; }
12420 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12421 for ncn_progname in ranlib; do
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12423 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12424 if test -x $with_build_time_tools/${ncn_progname}; then
12425 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12427 $as_echo "yes" >&6; }
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12431 $as_echo "no
" >&6; }
12436 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12437 for ncn_progname in ranlib; do
12438 if test -n "$ncn_target_tool_prefix"; then
12439 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12440 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12442 $as_echo_n "checking
for $ac_word...
" >&6; }
12443 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12444 $as_echo_n "(cached
) " >&6
12446 if test -n "$RANLIB_FOR_TARGET"; then
12447 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12450 for as_dir in $PATH
12453 test -z "$as_dir" && as_dir=.
12454 for ac_exec_ext in '' $ac_executable_extensions; do
12455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12456 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12457 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12466 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12467 if test -n "$RANLIB_FOR_TARGET"; then
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12469 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12472 $as_echo "no
" >&6; }
12477 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12478 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12479 set dummy ${ncn_progname}; ac_word=$2
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12481 $as_echo_n "checking
for $ac_word...
" >&6; }
12482 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12483 $as_echo_n "(cached
) " >&6
12485 if test -n "$RANLIB_FOR_TARGET"; then
12486 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12489 for as_dir in $PATH
12492 test -z "$as_dir" && as_dir=.
12493 for ac_exec_ext in '' $ac_executable_extensions; do
12494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12495 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12496 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12505 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12506 if test -n "$RANLIB_FOR_TARGET"; then
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12508 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12511 $as_echo "no
" >&6; }
12516 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12520 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12522 if test $build = $target ; then
12523 RANLIB_FOR_TARGET="$2"
12525 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12528 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12532 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12538 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12539 if test -n "$with_build_time_tools"; then
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12541 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12542 if test -x $with_build_time_tools/strip; then
12543 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12544 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12546 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12549 $as_echo "no
" >&6; }
12551 elif test $build != $host && test $have_gcc_for_target = yes; then
12552 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12553 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12554 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12557 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12558 # Extract the first word of "strip
", so it can be a program name with args.
12559 set dummy strip; ac_word=$2
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12561 $as_echo_n "checking
for $ac_word...
" >&6; }
12562 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12563 $as_echo_n "(cached
) " >&6
12565 case $STRIP_FOR_TARGET in
12567 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12571 for as_dir in $gcc_cv_tool_dirs
12574 test -z "$as_dir" && as_dir=.
12575 for ac_exec_ext in '' $ac_executable_extensions; do
12576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12577 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12578 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12588 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12589 if test -n "$STRIP_FOR_TARGET"; then
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12591 $as_echo "$STRIP_FOR_TARGET" >&6; }
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12594 $as_echo "no
" >&6; }
12599 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12602 if test -n "$STRIP_FOR_TARGET"; then
12603 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12604 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12605 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12608 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12609 for ncn_progname in strip; do
12610 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12611 set dummy ${ncn_progname}; ac_word=$2
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12613 $as_echo_n "checking
for $ac_word...
" >&6; }
12614 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12615 $as_echo_n "(cached
) " >&6
12617 if test -n "$STRIP_FOR_TARGET"; then
12618 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12621 for as_dir in $PATH
12624 test -z "$as_dir" && as_dir=.
12625 for ac_exec_ext in '' $ac_executable_extensions; do
12626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12627 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12628 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12637 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12638 if test -n "$STRIP_FOR_TARGET"; then
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12640 $as_echo "$STRIP_FOR_TARGET" >&6; }
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12643 $as_echo "no
" >&6; }
12650 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12651 for ncn_progname in strip; do
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12653 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12654 if test -x $with_build_time_tools/${ncn_progname}; then
12655 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12657 $as_echo "yes" >&6; }
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12661 $as_echo "no
" >&6; }
12666 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12667 for ncn_progname in strip; do
12668 if test -n "$ncn_target_tool_prefix"; then
12669 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12670 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12672 $as_echo_n "checking
for $ac_word...
" >&6; }
12673 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12674 $as_echo_n "(cached
) " >&6
12676 if test -n "$STRIP_FOR_TARGET"; then
12677 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12680 for as_dir in $PATH
12683 test -z "$as_dir" && as_dir=.
12684 for ac_exec_ext in '' $ac_executable_extensions; do
12685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12686 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12687 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12696 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12697 if test -n "$STRIP_FOR_TARGET"; then
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12699 $as_echo "$STRIP_FOR_TARGET" >&6; }
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12702 $as_echo "no
" >&6; }
12707 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12708 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12709 set dummy ${ncn_progname}; ac_word=$2
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12711 $as_echo_n "checking
for $ac_word...
" >&6; }
12712 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12713 $as_echo_n "(cached
) " >&6
12715 if test -n "$STRIP_FOR_TARGET"; then
12716 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12719 for as_dir in $PATH
12722 test -z "$as_dir" && as_dir=.
12723 for ac_exec_ext in '' $ac_executable_extensions; do
12724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12725 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12726 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12735 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12736 if test -n "$STRIP_FOR_TARGET"; then
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12738 $as_echo "$STRIP_FOR_TARGET" >&6; }
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12741 $as_echo "no
" >&6; }
12746 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12750 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12752 if test $build = $target ; then
12753 STRIP_FOR_TARGET="$2"
12755 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12758 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12762 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12768 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12769 if test -n "$with_build_time_tools"; then
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12771 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12772 if test -x $with_build_time_tools/windres; then
12773 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12774 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12776 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12779 $as_echo "no
" >&6; }
12781 elif test $build != $host && test $have_gcc_for_target = yes; then
12782 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12783 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12784 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12787 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12788 # Extract the first word of "windres
", so it can be a program name with args.
12789 set dummy windres; ac_word=$2
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12791 $as_echo_n "checking
for $ac_word...
" >&6; }
12792 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12793 $as_echo_n "(cached
) " >&6
12795 case $WINDRES_FOR_TARGET in
12797 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12801 for as_dir in $gcc_cv_tool_dirs
12804 test -z "$as_dir" && as_dir=.
12805 for ac_exec_ext in '' $ac_executable_extensions; do
12806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12807 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12808 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12818 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12819 if test -n "$WINDRES_FOR_TARGET"; then
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12821 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12824 $as_echo "no
" >&6; }
12829 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12832 if test -n "$WINDRES_FOR_TARGET"; then
12833 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12834 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12835 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12838 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12839 for ncn_progname in windres; do
12840 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12841 set dummy ${ncn_progname}; ac_word=$2
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12843 $as_echo_n "checking
for $ac_word...
" >&6; }
12844 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12845 $as_echo_n "(cached
) " >&6
12847 if test -n "$WINDRES_FOR_TARGET"; then
12848 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12851 for as_dir in $PATH
12854 test -z "$as_dir" && as_dir=.
12855 for ac_exec_ext in '' $ac_executable_extensions; do
12856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12857 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12858 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12867 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12868 if test -n "$WINDRES_FOR_TARGET"; then
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12870 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12873 $as_echo "no
" >&6; }
12880 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12881 for ncn_progname in windres; do
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12883 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12884 if test -x $with_build_time_tools/${ncn_progname}; then
12885 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12887 $as_echo "yes" >&6; }
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12891 $as_echo "no
" >&6; }
12896 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12897 for ncn_progname in windres; do
12898 if test -n "$ncn_target_tool_prefix"; then
12899 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12900 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12902 $as_echo_n "checking
for $ac_word...
" >&6; }
12903 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12904 $as_echo_n "(cached
) " >&6
12906 if test -n "$WINDRES_FOR_TARGET"; then
12907 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12910 for as_dir in $PATH
12913 test -z "$as_dir" && as_dir=.
12914 for ac_exec_ext in '' $ac_executable_extensions; do
12915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12916 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12917 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12926 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12927 if test -n "$WINDRES_FOR_TARGET"; then
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12929 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12932 $as_echo "no
" >&6; }
12937 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12938 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12939 set dummy ${ncn_progname}; ac_word=$2
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12941 $as_echo_n "checking
for $ac_word...
" >&6; }
12942 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12943 $as_echo_n "(cached
) " >&6
12945 if test -n "$WINDRES_FOR_TARGET"; then
12946 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12949 for as_dir in $PATH
12952 test -z "$as_dir" && as_dir=.
12953 for ac_exec_ext in '' $ac_executable_extensions; do
12954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12955 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12956 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12965 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12966 if test -n "$WINDRES_FOR_TARGET"; then
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12968 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12971 $as_echo "no
" >&6; }
12976 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12980 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12982 if test $build = $target ; then
12983 WINDRES_FOR_TARGET="$2"
12985 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12988 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12992 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12998 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12999 if test -n "$with_build_time_tools"; then
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13001 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13002 if test -x $with_build_time_tools/windmc; then
13003 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13004 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13006 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13009 $as_echo "no
" >&6; }
13011 elif test $build != $host && test $have_gcc_for_target = yes; then
13012 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13013 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13014 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13017 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13018 # Extract the first word of "windmc
", so it can be a program name with args.
13019 set dummy windmc; ac_word=$2
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13021 $as_echo_n "checking
for $ac_word...
" >&6; }
13022 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13023 $as_echo_n "(cached
) " >&6
13025 case $WINDMC_FOR_TARGET in
13027 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13031 for as_dir in $gcc_cv_tool_dirs
13034 test -z "$as_dir" && as_dir=.
13035 for ac_exec_ext in '' $ac_executable_extensions; do
13036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13037 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13038 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13048 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13049 if test -n "$WINDMC_FOR_TARGET"; then
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13051 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13054 $as_echo "no
" >&6; }
13059 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13062 if test -n "$WINDMC_FOR_TARGET"; then
13063 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13064 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13065 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13068 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13069 for ncn_progname in windmc; do
13070 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13071 set dummy ${ncn_progname}; ac_word=$2
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13073 $as_echo_n "checking
for $ac_word...
" >&6; }
13074 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13075 $as_echo_n "(cached
) " >&6
13077 if test -n "$WINDMC_FOR_TARGET"; then
13078 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13081 for as_dir in $PATH
13084 test -z "$as_dir" && as_dir=.
13085 for ac_exec_ext in '' $ac_executable_extensions; do
13086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13087 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13088 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13097 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13098 if test -n "$WINDMC_FOR_TARGET"; then
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13100 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13103 $as_echo "no
" >&6; }
13110 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13111 for ncn_progname in windmc; do
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13113 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13114 if test -x $with_build_time_tools/${ncn_progname}; then
13115 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13117 $as_echo "yes" >&6; }
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13121 $as_echo "no
" >&6; }
13126 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13127 for ncn_progname in windmc; do
13128 if test -n "$ncn_target_tool_prefix"; then
13129 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13130 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13132 $as_echo_n "checking
for $ac_word...
" >&6; }
13133 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13134 $as_echo_n "(cached
) " >&6
13136 if test -n "$WINDMC_FOR_TARGET"; then
13137 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13140 for as_dir in $PATH
13143 test -z "$as_dir" && as_dir=.
13144 for ac_exec_ext in '' $ac_executable_extensions; do
13145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13146 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13147 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13156 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13157 if test -n "$WINDMC_FOR_TARGET"; then
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13159 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13162 $as_echo "no
" >&6; }
13167 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13168 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13169 set dummy ${ncn_progname}; ac_word=$2
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13171 $as_echo_n "checking
for $ac_word...
" >&6; }
13172 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13173 $as_echo_n "(cached
) " >&6
13175 if test -n "$WINDMC_FOR_TARGET"; then
13176 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13179 for as_dir in $PATH
13182 test -z "$as_dir" && as_dir=.
13183 for ac_exec_ext in '' $ac_executable_extensions; do
13184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13185 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13186 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13195 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13196 if test -n "$WINDMC_FOR_TARGET"; then
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13198 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13201 $as_echo "no
" >&6; }
13206 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13210 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13212 if test $build = $target ; then
13213 WINDMC_FOR_TARGET="$2"
13215 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13218 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13222 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13226 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13229 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13230 if test "x
${build}" != "x
${host}" ; then
13231 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13232 # We already found the complete path
13233 ac_dir=`dirname $AR_FOR_TARGET`
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13235 $as_echo "pre-installed
in $ac_dir" >&6; }
13237 # Canadian cross, just use what we found
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13239 $as_echo "pre-installed
" >&6; }
13243 case " ${configdirs} " in
13248 if test $ok = yes; then
13249 # An in-tree tool is available and we can use it
13250 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13252 $as_echo "just compiled
" >&6; }
13253 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13254 # We already found the complete path
13255 ac_dir=`dirname $AR_FOR_TARGET`
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13257 $as_echo "pre-installed
in $ac_dir" >&6; }
13258 elif test "x
$target" = "x
$host"; then
13259 # We can use an host tool
13260 AR_FOR_TARGET='$(AR)'
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13262 $as_echo "host tool
" >&6; }
13264 # We need a cross tool
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13266 $as_echo "pre-installed
" >&6; }
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13271 $as_echo_n "checking where to
find the target as...
" >&6; }
13272 if test "x
${build}" != "x
${host}" ; then
13273 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13274 # We already found the complete path
13275 ac_dir=`dirname $AS_FOR_TARGET`
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13277 $as_echo "pre-installed
in $ac_dir" >&6; }
13279 # Canadian cross, just use what we found
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13281 $as_echo "pre-installed
" >&6; }
13285 case " ${configdirs} " in
13290 if test $ok = yes; then
13291 # An in-tree tool is available and we can use it
13292 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13294 $as_echo "just compiled
" >&6; }
13295 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13296 # We already found the complete path
13297 ac_dir=`dirname $AS_FOR_TARGET`
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13299 $as_echo "pre-installed
in $ac_dir" >&6; }
13300 elif test "x
$target" = "x
$host"; then
13301 # We can use an host tool
13302 AS_FOR_TARGET='$(AS)'
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13304 $as_echo "host tool
" >&6; }
13306 # We need a cross tool
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13308 $as_echo "pre-installed
" >&6; }
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13313 $as_echo_n "checking where to
find the target cc...
" >&6; }
13314 if test "x
${build}" != "x
${host}" ; then
13315 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13316 # We already found the complete path
13317 ac_dir=`dirname $CC_FOR_TARGET`
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13319 $as_echo "pre-installed
in $ac_dir" >&6; }
13321 # Canadian cross, just use what we found
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13323 $as_echo "pre-installed
" >&6; }
13327 case " ${configdirs} " in
13332 if test $ok = yes; then
13333 # An in-tree tool is available and we can use it
13334 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13336 $as_echo "just compiled
" >&6; }
13337 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13338 # We already found the complete path
13339 ac_dir=`dirname $CC_FOR_TARGET`
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13341 $as_echo "pre-installed
in $ac_dir" >&6; }
13342 elif test "x
$target" = "x
$host"; then
13343 # We can use an host tool
13344 CC_FOR_TARGET='$(CC)'
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13346 $as_echo "host tool
" >&6; }
13348 # We need a cross tool
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13350 $as_echo "pre-installed
" >&6; }
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13355 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13356 if test "x
${build}" != "x
${host}" ; then
13357 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13358 # We already found the complete path
13359 ac_dir=`dirname $CXX_FOR_TARGET`
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13361 $as_echo "pre-installed
in $ac_dir" >&6; }
13363 # Canadian cross, just use what we found
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13365 $as_echo "pre-installed
" >&6; }
13369 case " ${configdirs} " in
13373 case ,${enable_languages}, in
13377 if test $ok = yes; then
13378 # An in-tree tool is available and we can use it
13379 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `if test -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags; then $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo -funconfigured-libstdc++-v3 ; fi` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13381 $as_echo "just compiled
" >&6; }
13382 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13383 # We already found the complete path
13384 ac_dir=`dirname $CXX_FOR_TARGET`
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13386 $as_echo "pre-installed
in $ac_dir" >&6; }
13387 elif test "x
$target" = "x
$host"; then
13388 # We can use an host tool
13389 CXX_FOR_TARGET='$(CXX)'
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13391 $as_echo "host tool
" >&6; }
13393 # We need a cross tool
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13395 $as_echo "pre-installed
" >&6; }
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13400 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13401 if test "x
${build}" != "x
${host}" ; then
13402 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13403 # We already found the complete path
13404 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13406 $as_echo "pre-installed
in $ac_dir" >&6; }
13408 # Canadian cross, just use what we found
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13410 $as_echo "pre-installed
" >&6; }
13414 case " ${configdirs} " in
13418 case ,${enable_languages}, in
13422 if test $ok = yes; then
13423 # An in-tree tool is available and we can use it
13424 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'
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13426 $as_echo "just compiled
" >&6; }
13427 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13428 # We already found the complete path
13429 ac_dir=`dirname $RAW_CXX_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; }
13432 elif test "x
$target" = "x
$host"; then
13433 # We can use an host tool
13434 RAW_CXX_FOR_TARGET='$(CXX)'
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13436 $as_echo "host tool
" >&6; }
13438 # We need a cross tool
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13440 $as_echo "pre-installed
" >&6; }
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13445 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13446 if test "x
${build}" != "x
${host}" ; then
13447 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13448 # We already found the complete path
13449 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13451 $as_echo "pre-installed
in $ac_dir" >&6; }
13453 # Canadian cross, just use what we found
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13455 $as_echo "pre-installed
" >&6; }
13459 case " ${configdirs} " in
13464 if test $ok = yes; then
13465 # An in-tree tool is available and we can use it
13466 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13468 $as_echo "just compiled
" >&6; }
13469 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13470 # We already found the complete path
13471 ac_dir=`dirname $DLLTOOL_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; }
13474 elif test "x
$target" = "x
$host"; then
13475 # We can use an host tool
13476 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13478 $as_echo "host tool
" >&6; }
13480 # We need a cross tool
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13482 $as_echo "pre-installed
" >&6; }
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13487 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13488 if test "x
${build}" != "x
${host}" ; then
13489 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13490 # We already found the complete path
13491 ac_dir=`dirname $GCC_FOR_TARGET`
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13493 $as_echo "pre-installed
in $ac_dir" >&6; }
13495 # Canadian cross, just use what we found
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13497 $as_echo "pre-installed
" >&6; }
13501 case " ${configdirs} " in
13506 if test $ok = yes; then
13507 # An in-tree tool is available and we can use it
13508 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13510 $as_echo "just compiled
" >&6; }
13511 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13512 # We already found the complete path
13513 ac_dir=`dirname $GCC_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; }
13516 elif test "x
$target" = "x
$host"; then
13517 # We can use an host tool
13518 GCC_FOR_TARGET='$()'
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13520 $as_echo "host tool
" >&6; }
13522 # We need a cross tool
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13524 $as_echo "pre-installed
" >&6; }
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13529 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13530 if test "x
${build}" != "x
${host}" ; then
13531 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13532 # We already found the complete path
13533 ac_dir=`dirname $GCJ_FOR_TARGET`
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13535 $as_echo "pre-installed
in $ac_dir" >&6; }
13537 # Canadian cross, just use what we found
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13539 $as_echo "pre-installed
" >&6; }
13543 case " ${configdirs} " in
13547 case ,${enable_languages}, in
13551 if test $ok = yes; then
13552 # An in-tree tool is available and we can use it
13553 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13555 $as_echo "just compiled
" >&6; }
13556 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13557 # We already found the complete path
13558 ac_dir=`dirname $GCJ_FOR_TARGET`
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13560 $as_echo "pre-installed
in $ac_dir" >&6; }
13561 elif test "x
$target" = "x
$host"; then
13562 # We can use an host tool
13563 GCJ_FOR_TARGET='$(GCJ)'
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13565 $as_echo "host tool
" >&6; }
13567 # We need a cross tool
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13569 $as_echo "pre-installed
" >&6; }
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13574 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13575 if test "x
${build}" != "x
${host}" ; then
13576 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13577 # We already found the complete path
13578 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13580 $as_echo "pre-installed
in $ac_dir" >&6; }
13582 # Canadian cross, just use what we found
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13584 $as_echo "pre-installed
" >&6; }
13588 case " ${configdirs} " in
13592 case ,${enable_languages}, in
13596 if test $ok = yes; then
13597 # An in-tree tool is available and we can use it
13598 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13600 $as_echo "just compiled
" >&6; }
13601 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13602 # We already found the complete path
13603 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13605 $as_echo "pre-installed
in $ac_dir" >&6; }
13606 elif test "x
$target" = "x
$host"; then
13607 # We can use an host tool
13608 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13610 $as_echo "host tool
" >&6; }
13612 # We need a cross tool
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13614 $as_echo "pre-installed
" >&6; }
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13619 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13620 if test "x
${build}" != "x
${host}" ; then
13621 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13622 # We already found the complete path
13623 ac_dir=`dirname $GOC_FOR_TARGET`
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13625 $as_echo "pre-installed
in $ac_dir" >&6; }
13627 # Canadian cross, just use what we found
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13629 $as_echo "pre-installed
" >&6; }
13633 case " ${configdirs} " in
13637 case ,${enable_languages}, in
13641 if test $ok = yes; then
13642 # An in-tree tool is available and we can use it
13643 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13645 $as_echo "just compiled
" >&6; }
13646 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13647 # We already found the complete path
13648 ac_dir=`dirname $GOC_FOR_TARGET`
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13650 $as_echo "pre-installed
in $ac_dir" >&6; }
13651 elif test "x
$target" = "x
$host"; then
13652 # We can use an host tool
13653 GOC_FOR_TARGET='$(GOC)'
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13655 $as_echo "host tool
" >&6; }
13657 # We need a cross tool
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13659 $as_echo "pre-installed
" >&6; }
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13664 $as_echo_n "checking where to
find the target ld...
" >&6; }
13665 if test "x
${build}" != "x
${host}" ; then
13666 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13667 # We already found the complete path
13668 ac_dir=`dirname $LD_FOR_TARGET`
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13670 $as_echo "pre-installed
in $ac_dir" >&6; }
13672 # Canadian cross, just use what we found
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13674 $as_echo "pre-installed
" >&6; }
13678 case " ${configdirs} " in
13683 if test $ok = yes; then
13684 # An in-tree tool is available and we can use it
13685 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13687 $as_echo "just compiled
" >&6; }
13688 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13689 # We already found the complete path
13690 ac_dir=`dirname $LD_FOR_TARGET`
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13692 $as_echo "pre-installed
in $ac_dir" >&6; }
13693 elif test "x
$target" = "x
$host"; then
13694 # We can use an host tool
13695 LD_FOR_TARGET='$(LD)'
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13697 $as_echo "host tool
" >&6; }
13699 # We need a cross tool
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13701 $as_echo "pre-installed
" >&6; }
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13706 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13707 if test "x
${build}" != "x
${host}" ; then
13708 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13709 # We already found the complete path
13710 ac_dir=`dirname $LIPO_FOR_TARGET`
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13712 $as_echo "pre-installed
in $ac_dir" >&6; }
13714 # Canadian cross, just use what we found
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13716 $as_echo "pre-installed
" >&6; }
13719 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13720 # We already found the complete path
13721 ac_dir=`dirname $LIPO_FOR_TARGET`
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13723 $as_echo "pre-installed
in $ac_dir" >&6; }
13724 elif test "x
$target" = "x
$host"; then
13725 # We can use an host tool
13726 LIPO_FOR_TARGET='$(LIPO)'
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13728 $as_echo "host tool
" >&6; }
13730 # We need a cross tool
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13732 $as_echo "pre-installed
" >&6; }
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
13737 $as_echo_n "checking where to
find the target nm...
" >&6; }
13738 if test "x
${build}" != "x
${host}" ; then
13739 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13740 # We already found the complete path
13741 ac_dir=`dirname $NM_FOR_TARGET`
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13743 $as_echo "pre-installed
in $ac_dir" >&6; }
13745 # Canadian cross, just use what we found
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13747 $as_echo "pre-installed
" >&6; }
13751 case " ${configdirs} " in
13756 if test $ok = yes; then
13757 # An in-tree tool is available and we can use it
13758 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13760 $as_echo "just compiled
" >&6; }
13761 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13762 # We already found the complete path
13763 ac_dir=`dirname $NM_FOR_TARGET`
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13765 $as_echo "pre-installed
in $ac_dir" >&6; }
13766 elif test "x
$target" = "x
$host"; then
13767 # We can use an host tool
13768 NM_FOR_TARGET='$(NM)'
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13770 $as_echo "host tool
" >&6; }
13772 # We need a cross tool
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13774 $as_echo "pre-installed
" >&6; }
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
13779 $as_echo_n "checking where to
find the target objdump...
" >&6; }
13780 if test "x
${build}" != "x
${host}" ; then
13781 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13782 # We already found the complete path
13783 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13785 $as_echo "pre-installed
in $ac_dir" >&6; }
13787 # Canadian cross, just use what we found
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13789 $as_echo "pre-installed
" >&6; }
13793 case " ${configdirs} " in
13798 if test $ok = yes; then
13799 # An in-tree tool is available and we can use it
13800 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13802 $as_echo "just compiled
" >&6; }
13803 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13804 # We already found the complete path
13805 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13807 $as_echo "pre-installed
in $ac_dir" >&6; }
13808 elif test "x
$target" = "x
$host"; then
13809 # We can use an host tool
13810 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13812 $as_echo "host tool
" >&6; }
13814 # We need a cross tool
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13816 $as_echo "pre-installed
" >&6; }
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
13821 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
13822 if test "x
${build}" != "x
${host}" ; then
13823 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13824 # We already found the complete path
13825 ac_dir=`dirname $RANLIB_FOR_TARGET`
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13827 $as_echo "pre-installed
in $ac_dir" >&6; }
13829 # Canadian cross, just use what we found
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13831 $as_echo "pre-installed
" >&6; }
13835 case " ${configdirs} " in
13840 if test $ok = yes; then
13841 # An in-tree tool is available and we can use it
13842 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13844 $as_echo "just compiled
" >&6; }
13845 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13846 # We already found the complete path
13847 ac_dir=`dirname $RANLIB_FOR_TARGET`
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13849 $as_echo "pre-installed
in $ac_dir" >&6; }
13850 elif test "x
$target" = "x
$host"; then
13851 # We can use an host tool
13852 RANLIB_FOR_TARGET='$(RANLIB)'
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13854 $as_echo "host tool
" >&6; }
13856 # We need a cross tool
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13858 $as_echo "pre-installed
" >&6; }
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
13863 $as_echo_n "checking where to
find the target strip...
" >&6; }
13864 if test "x
${build}" != "x
${host}" ; then
13865 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13866 # We already found the complete path
13867 ac_dir=`dirname $STRIP_FOR_TARGET`
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13869 $as_echo "pre-installed
in $ac_dir" >&6; }
13871 # Canadian cross, just use what we found
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13873 $as_echo "pre-installed
" >&6; }
13877 case " ${configdirs} " in
13882 if test $ok = yes; then
13883 # An in-tree tool is available and we can use it
13884 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13886 $as_echo "just compiled
" >&6; }
13887 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13888 # We already found the complete path
13889 ac_dir=`dirname $STRIP_FOR_TARGET`
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13891 $as_echo "pre-installed
in $ac_dir" >&6; }
13892 elif test "x
$target" = "x
$host"; then
13893 # We can use an host tool
13894 STRIP_FOR_TARGET='$(STRIP)'
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13896 $as_echo "host tool
" >&6; }
13898 # We need a cross tool
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13900 $as_echo "pre-installed
" >&6; }
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
13905 $as_echo_n "checking where to
find the target windres...
" >&6; }
13906 if test "x
${build}" != "x
${host}" ; then
13907 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13908 # We already found the complete path
13909 ac_dir=`dirname $WINDRES_FOR_TARGET`
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13911 $as_echo "pre-installed
in $ac_dir" >&6; }
13913 # Canadian cross, just use what we found
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13915 $as_echo "pre-installed
" >&6; }
13919 case " ${configdirs} " in
13924 if test $ok = yes; then
13925 # An in-tree tool is available and we can use it
13926 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13928 $as_echo "just compiled
" >&6; }
13929 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13930 # We already found the complete path
13931 ac_dir=`dirname $WINDRES_FOR_TARGET`
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13933 $as_echo "pre-installed
in $ac_dir" >&6; }
13934 elif test "x
$target" = "x
$host"; then
13935 # We can use an host tool
13936 WINDRES_FOR_TARGET='$(WINDRES)'
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13938 $as_echo "host tool
" >&6; }
13940 # We need a cross tool
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13942 $as_echo "pre-installed
" >&6; }
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
13947 $as_echo_n "checking where to
find the target windmc...
" >&6; }
13948 if test "x
${build}" != "x
${host}" ; then
13949 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13950 # We already found the complete path
13951 ac_dir=`dirname $WINDMC_FOR_TARGET`
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13953 $as_echo "pre-installed
in $ac_dir" >&6; }
13955 # Canadian cross, just use what we found
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13957 $as_echo "pre-installed
" >&6; }
13961 case " ${configdirs} " in
13966 if test $ok = yes; then
13967 # An in-tree tool is available and we can use it
13968 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13970 $as_echo "just compiled
" >&6; }
13971 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13972 # We already found the complete path
13973 ac_dir=`dirname $WINDMC_FOR_TARGET`
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13975 $as_echo "pre-installed
in $ac_dir" >&6; }
13976 elif test "x
$target" = "x
$host"; then
13977 # We can use an host tool
13978 WINDMC_FOR_TARGET='$(WINDMC)'
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13980 $as_echo "host tool
" >&6; }
13982 # We need a cross tool
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13984 $as_echo "pre-installed
" >&6; }
13992 # Certain tools may need extra flags.
13993 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13994 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13995 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13997 # When building target libraries, except in a Canadian cross, we use
13998 # the same toolchain as the compiler we just built.
13999 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14000 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14001 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14002 if test $host = $build; then
14003 case " $configdirs " in
14005 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14006 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14007 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14017 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14018 # Check whether --enable-maintainer-mode was given.
14019 if test "${enable_maintainer_mode+set}" = set; then :
14020 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14022 USE_MAINTAINER_MODE=no
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14026 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14029 if test "$USE_MAINTAINER_MODE" = yes; then
14030 MAINTAINER_MODE_TRUE=
14031 MAINTAINER_MODE_FALSE='#'
14033 MAINTAINER_MODE_TRUE='#'
14034 MAINTAINER_MODE_FALSE=
14036 MAINT=$MAINTAINER_MODE_TRUE
14038 # ---------------------
14039 # GCC bootstrap support
14040 # ---------------------
14042 # Stage specific cflags for build.
14047 yes) stage1_cflags="-g -Wa,-J" ;;
14048 *) stage1_cflags="-g -J" ;;
14052 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
14053 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
14054 saved_CFLAGS="$CFLAGS"
14056 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
14057 CFLAGS="$CFLAGS -fkeep-inline-functions"
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
14059 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
14060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14061 /* end confdefs.h. */
14063 #if (__GNUC__ < 3) \
14064 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
14065 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
14066 #error http://gcc.gnu.org/PR29382
14077 if ac_fn_c_try_compile "$LINENO"; then :
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14079 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14082 $as_echo "no
" >&6; }
14084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14086 CFLAGS="$saved_CFLAGS"
14091 # Enable --enable-checking in stage1 of the compiler.
14092 # Check whether --enable-stage1-checking was given.
14093 if test "${enable_stage1_checking+set}" = set; then :
14094 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14096 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14097 stage1_checking=--enable-checking=yes,types
14099 stage1_checking=--enable-checking=$enable_checking,types
14105 # Enable -Werror in bootstrap stage2 and later.
14106 # Check whether --enable-werror was given.
14107 if test "${enable_werror+set}" = set; then :
14108 enableval=$enable_werror;
14110 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14117 case ${enable_werror} in
14118 yes) stage2_werror_flag="--enable-werror-always" ;;
14119 *) stage2_werror_flag="" ;;
14123 # Specify what files to not compare during bootstrap.
14125 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14127 hppa*64*-*-hpux*) ;;
14128 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14130 case " $configdirs " in
14131 *" ppl
"*) compare_exclusions="$compare_exclusions | ppl
/src
/ppl-config.o
" ;;
14135 ac_config_files="$ac_config_files Makefile
"
14137 cat >confcache <<\_ACEOF
14138 # This file is a shell script that caches the results of configure
14139 # tests run on this system so they can be shared between configure
14140 # scripts and configure runs, see configure's option --config-cache.
14141 # It is not useful on other systems. If it contains results you don't
14142 # want to keep, you may remove or edit it.
14144 # config.status only pays attention to the cache file if you give it
14145 # the --recheck option to rerun configure.
14147 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14148 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14149 # following values.
14153 # The following way of writing the cache mishandles newlines in values,
14154 # but we know of no workaround that is simple, portable, and efficient.
14155 # So, we kill variables containing newlines.
14156 # Ultrix sh set writes to stderr and can't be redirected directly,
14157 # and sets the high bit in the cache file unless we assign to the vars.
14159 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14160 eval ac_val=\$$ac_var
14164 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14165 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14168 _ | IFS | as_nl) ;; #(
14169 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14170 *) { eval $ac_var=; unset $ac_var;} ;;
14176 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14177 *${as_nl}ac_space=\ *)
14178 # `set' does not quote correctly, so add quotes: double-quote
14179 # substitution turns \\\\ into \\, and sed turns \\ into \.
14182 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14185 # `set' quotes correctly as required by POSIX, so do not add quotes.
14186 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14195 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14197 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14199 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14200 if test -w "$cache_file"; then
14201 test "x
$cache_file" != "x
/dev
/null
" &&
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14203 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14204 cat confcache >$cache_file
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14207 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14212 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14213 # Let make expand exec_prefix.
14214 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14216 # Transform confdefs.h into DEFS.
14217 # Protect against shell expansion while executing Makefile rules.
14218 # Protect against Makefile macro expansion.
14220 # If the first sed substitution is executed (which looks for macros that
14221 # take arguments), then branch to the quote section. Otherwise,
14222 # look for a macro that doesn't take arguments.
14232 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14234 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14238 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14251 DEFS=`sed -n "$ac_script" confdefs.h`
14256 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14257 # 1. Remove the extension, and $U if already installed.
14258 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14259 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14260 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14261 # will be set to the directory where LIBOBJS objects are built.
14262 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14263 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14265 LIBOBJS=$ac_libobjs
14267 LTLIBOBJS=$ac_ltlibobjs
14271 : ${CONFIG_STATUS=./config.status}
14273 ac_clean_files_save=$ac_clean_files
14274 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14276 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14278 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14280 # Generated by $as_me.
14281 # Run this file to recreate the current configuration.
14282 # Compiler output produced by configure, useful for debugging
14283 # configure, is in config.log if it exists.
14286 ac_cs_recheck=false
14289 SHELL=\${CONFIG_SHELL-$SHELL}
14292 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14293 ## -------------------- ##
14294 ## M4sh Initialization. ##
14295 ## -------------------- ##
14297 # Be more Bourne compatible
14298 DUALCASE=1; export DUALCASE # for MKS sh
14299 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14302 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14303 # is contrary to our usage. Disable this feature.
14304 alias -g '${1+"$@"}'='"$@"'
14305 setopt NO_GLOB_SUBST
14307 case `(set -o) 2>/dev/null` in #(
14319 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14320 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14321 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14322 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14323 # Prefer a ksh shell builtin over an external printf program on Solaris,
14324 # but without wasting forks for bash or zsh.
14325 if test -z "$BASH_VERSION$ZSH_VERSION" \
14326 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14327 as_echo
='print -r --'
14328 as_echo_n
='print -rn --'
14329 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14330 as_echo
='printf %s\n'
14331 as_echo_n
='printf %s'
14333 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14334 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14335 as_echo_n
='/usr/ucb/echo -n'
14337 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14338 as_echo_n_body
='eval
14342 expr "X$arg" : "X\\(.*\\)$as_nl";
14343 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14345 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14347 export as_echo_n_body
14348 as_echo_n
='sh -c $as_echo_n_body as_echo'
14350 export as_echo_body
14351 as_echo
='sh -c $as_echo_body as_echo'
14354 # The user is always right.
14355 if test "${PATH_SEPARATOR+set}" != set; then
14357 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14358 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14365 # We need space, tab and new line, in precisely that order. Quoting is
14366 # there to prevent editors from complaining about space-tab.
14367 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14368 # splitting by setting IFS to empty value.)
14371 # Find who we are. Look in the path if we contain no directory separator.
14373 *[\\/]* ) as_myself
=$0 ;;
14374 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14375 for as_dir
in $PATH
14378 test -z "$as_dir" && as_dir
=.
14379 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14385 # We did not find ourselves, most probably we were run as `sh COMMAND'
14386 # in which case we are not to be found in the path.
14387 if test "x$as_myself" = x
; then
14390 if test ! -f "$as_myself"; then
14391 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14395 # Unset variables that we do not need and which cause bugs (e.g. in
14396 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14397 # suppresses any "Segmentation fault" message there. '((' could
14398 # trigger a bug in pdksh 5.2.14.
14399 for as_var
in BASH_ENV ENV MAIL MAILPATH
14400 do eval test x\
${$as_var+set} = xset \
14401 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14414 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14417 # as_fn_error ERROR [LINENO LOG_FD]
14418 # ---------------------------------
14419 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14420 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14421 # script with status $?, using 1 if that was 0.
14424 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14426 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14427 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14429 $as_echo "$as_me: error: $1" >&2
14430 as_fn_exit
$as_status
14434 # as_fn_set_status STATUS
14435 # -----------------------
14436 # Set $? to STATUS, without forking.
14437 as_fn_set_status
()
14440 } # as_fn_set_status
14442 # as_fn_exit STATUS
14443 # -----------------
14444 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14448 as_fn_set_status
$1
14454 # Portably unset VAR.
14457 { eval $1=; unset $1;}
14459 as_unset
=as_fn_unset
14460 # as_fn_append VAR VALUE
14461 # ----------------------
14462 # Append the text in VALUE to the end of the definition contained in VAR. Take
14463 # advantage of any shell optimizations that allow amortized linear growth over
14464 # repeated appends, instead of the typical quadratic growth present in naive
14466 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14467 eval 'as_fn_append ()
14478 # as_fn_arith ARG...
14479 # ------------------
14480 # Perform arithmetic evaluation on the ARGs, and store the result in the
14481 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14482 # must be portable across $(()) and expr.
14483 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14484 eval 'as_fn_arith ()
14491 as_val
=`expr "$@" || test $? -eq 1`
14496 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14497 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14503 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14504 as_basename
=basename
14509 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14515 as_me
=`$as_basename -- "$0" ||
14516 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14517 X"$0" : 'X\(//\)$' \| \
14518 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14520 sed '/^.*\/\([^/][^/]*\)\/*$/{
14534 # Avoid depending upon Character Ranges.
14535 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14536 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14537 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14538 as_cr_digits
='0123456789'
14539 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14541 ECHO_C
= ECHO_N
= ECHO_T
=
14542 case `echo -n x` in #(((((
14544 case `echo 'xy\c'` in
14545 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14547 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14554 rm -f conf$$ conf$$.exe conf$$.
file
14555 if test -d conf$$.dir
; then
14556 rm -f conf$$.dir
/conf$$.
file
14559 mkdir conf$$.dir
2>/dev
/null
14561 if (echo >conf$$.
file) 2>/dev
/null
; then
14562 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14564 # ... but there are two gotchas:
14565 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14566 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14567 # In both cases, we have to default to `cp -p'.
14568 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14570 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14578 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14579 rmdir conf$$.dir
2>/dev
/null
14584 # Create "$as_dir" as a directory, including parents if necessary.
14589 -*) as_dir
=.
/$as_dir;;
14591 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14595 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14596 *) as_qdir
=$as_dir;;
14598 as_dirs
="'$as_qdir' $as_dirs"
14599 as_dir
=`$as_dirname -- "$as_dir" ||
14600 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14601 X"$as_dir" : 'X\(//\)[^/]' \| \
14602 X"$as_dir" : 'X\(//\)$' \| \
14603 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14604 $as_echo X"$as_dir" |
14605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14609 /^X\(\/\/\)[^/].*/{
14622 test -d "$as_dir" && break
14624 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14625 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14629 if mkdir
-p .
2>/dev
/null
; then
14630 as_mkdir_p
='mkdir -p "$as_dir"'
14632 test -d .
/-p && rmdir .
/-p
14636 if test -x / >/dev
/null
2>&1; then
14637 as_test_x
='test -x'
14639 if ls -dL / >/dev
/null
2>&1; then
14646 if test -d "$1"; then
14652 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14653 ???[sx]*):;;*)false;;esac;fi
14657 as_executable_p
=$as_test_x
14659 # Sed expression to map a string onto a valid CPP name.
14660 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14662 # Sed expression to map a string onto a valid variable name.
14663 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14667 ## ----------------------------------- ##
14668 ## Main body of $CONFIG_STATUS script. ##
14669 ## ----------------------------------- ##
14671 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14674 # Save the log message, to keep $0 and so on meaningful, and to
14675 # report actual input values of CONFIG_FILES etc. instead of their
14676 # values after options handling.
14678 This file was extended by $as_me, which was
14679 generated by GNU Autoconf 2.64. Invocation command line was
14681 CONFIG_FILES = $CONFIG_FILES
14682 CONFIG_HEADERS = $CONFIG_HEADERS
14683 CONFIG_LINKS = $CONFIG_LINKS
14684 CONFIG_COMMANDS = $CONFIG_COMMANDS
14687 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14692 case $ac_config_files in *"
14693 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14699 # Files that config.status was made for.
14700 config_files="$ac_config_files"
14704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14706 \`$as_me' instantiates files and other configuration actions
14707 from templates according to the current configuration. Unless the files
14708 and actions are specified as TAGs, all are instantiated by default.
14710 Usage: $0 [OPTION]... [TAG]...
14712 -h, --help print this help, then exit
14713 -V, --version print version number and configuration settings, then exit
14714 -q, --quiet, --silent
14715 do not print progress messages
14716 -d, --debug don't remove temporary files
14717 --recheck update $as_me by reconfiguring in the same conditions
14718 --file=FILE[:TEMPLATE]
14719 instantiate the configuration file FILE
14721 Configuration files:
14724 Report bugs to the package provider."
14727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14730 configured by $0, generated by GNU Autoconf 2.64,
14731 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14733 Copyright (C) 2009 Free Software Foundation, Inc.
14734 This config.status script is free software; the Free Software Foundation
14735 gives unlimited permission to copy, distribute and modify it."
14741 test -n "\$AWK" || AWK=awk
14744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14745 # The default lists apply if the user does not specify any file.
14751 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14752 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14763 # Handling of the options.
14764 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14766 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14767 $as_echo "$ac_cs_version"; exit ;;
14768 --debug |
--debu |
--deb |
--de |
--d |
-d )
14770 --file |
--fil |
--fi |
--f )
14773 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14775 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14776 ac_need_defaults
=false
;;
14777 --he |
--h |
--help |
--hel |
-h )
14778 $as_echo "$ac_cs_usage"; exit ;;
14779 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14780 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14783 # This is an error.
14784 -*) as_fn_error
"unrecognized option: \`$1'
14785 Try \`$0 --help' for more information." ;;
14787 *) as_fn_append ac_config_targets
" $1"
14788 ac_need_defaults
=false
;;
14794 ac_configure_extra_args
=
14796 if $ac_cs_silent; then
14798 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14803 if \$ac_cs_recheck; then
14804 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14806 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14807 CONFIG_SHELL='$SHELL'
14808 export CONFIG_SHELL
14813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14817 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14818 ## Running $as_me. ##
14824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14828 extrasub_build="$extrasub_build"
14829 extrasub_host="$extrasub_host"
14830 extrasub_target="$extrasub_target"
14834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14836 # Handling of arguments.
14837 for ac_config_target
in $ac_config_targets
14839 case $ac_config_target in
14840 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14842 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14847 # If the user did not use the arguments to specify the items to instantiate,
14848 # then the envvar interface is used. Set only those that are not.
14849 # We use the long form for the default assignment because of an extremely
14850 # bizarre bug on SunOS 4.1.3.
14851 if $ac_need_defaults; then
14852 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14855 # Have a temporary directory for convenience. Make it in the build tree
14856 # simply because there is no reason against having it here, and in addition,
14857 # creating and moving files from /tmp can sometimes cause problems.
14858 # Hook for its removal unless debugging.
14859 # Note that there is a small window in which the directory will not be cleaned:
14860 # after its creation but before its name has been assigned to `$tmp'.
14864 trap 'exit_status=$?
14865 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14867 trap 'as_fn_exit 1' 1 2 13 15
14869 # Create a (secure) tmp directory for tmp files.
14872 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14873 test -n "$tmp" && test -d "$tmp"
14876 tmp
=.
/conf$$
-$RANDOM
14877 (umask 077 && mkdir
"$tmp")
14878 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14880 # Set up the scripts for CONFIG_FILES section.
14881 # No need to generate them if there are no CONFIG_FILES.
14882 # This happens for instance with `./config.status config.h'.
14883 if test -n "$CONFIG_FILES"; then
14885 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
14886 ac_cs_awk_getline
=:
14887 ac_cs_awk_pipe_init
=
14888 ac_cs_awk_read_file
='
14889 while ((getline aline < (F[key])) > 0)
14892 ac_cs_awk_pipe_fini
=
14894 ac_cs_awk_getline
=false
14895 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
14896 ac_cs_awk_read_file
='
14898 print "cat " F[key] " &&"
14899 '$ac_cs_awk_pipe_init
14900 # The final `:' finishes the AND list.
14901 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
14903 ac_cr
=`echo X | tr X '\015'`
14904 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14905 # But we know of no other shell where ac_cr would be empty at this
14906 # point, so we can use a bashism as a fallback.
14907 if test "x$ac_cr" = x
; then
14908 eval ac_cr
=\$
\'\\r
\'
14910 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14911 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14914 ac_cs_awk_cr
=$ac_cr
14917 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14920 # Create commands to substitute file output variables.
14922 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14923 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14924 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
14927 } >conf$
$files.sh
&&
14928 . .
/conf$
$files.sh ||
14929 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
14930 rm -f conf$
$files.sh
14933 echo "cat >conf$$subs.awk <<_ACEOF" &&
14934 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14936 } >conf$$subs.sh ||
14937 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14938 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14940 for ac_last_try in false false false false false :; do
14941 . ./conf$$subs.sh ||
14942 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14944 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14945 if test $ac_delim_n = $ac_delim_num; then
14947 elif $ac_last_try; then
14948 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14950 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14953 rm -f conf$$subs.sh
14955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14956 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14960 s/^/S["/; s
/!.
*/"]=/
14970 s/\(.\{148\}\).*/\1/
14972 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14977 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14984 s/\(.\{148\}\).*/\1/
14986 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14990 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14995 ' <conf$$subs.awk | sed '
15000 ' >>$CONFIG_STATUS || ac_write_fail=1
15001 rm -f conf$$subs.awk
15002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15004 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15005 for (key in S) S_is_set[key] = 1
15007 \$ac_cs_awk_pipe_init
15011 nfields = split(line, field, "@
")
15013 len = length(field[1])
15014 for (i = 2; i < nfields; i++) {
15016 keylen = length(key)
15017 if (S_is_set[key]) {
15019 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15020 len += length(value) + length(field[++i])
15025 if (nfields == 3 && !substed) {
15027 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15028 \$ac_cs_awk_read_file
15034 \$ac_cs_awk_pipe_fini
15037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15038 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15039 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15042 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15043 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15046 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15047 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15048 # trailing colons and then remove the whole line if VPATH becomes empty
15049 # (actually we leave an empty line to preserve line numbers).
15050 if test "x
$srcdir" = x.; then
15051 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15052 s/:*\$(srcdir):*/:/
15053 s/:*\${srcdir}:*/:/
15055 s/^\([^=]*=[ ]*\):*/\1/
15061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15062 fi # test -n "$CONFIG_FILES"
15065 eval set X " :F
$CONFIG_FILES "
15070 :[FHLC]) ac_mode=$ac_tag; continue;;
15072 case $ac_mode$ac_tag in
15074 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15075 :[FH]-) ac_tag=-:-;;
15076 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15093 -) ac_f="$tmp/stdin";;
15094 *) # Look for the file first in the build tree, then in the source tree
15095 # (if the path is not absolute). The absolute path cannot be DOS-style,
15096 # because $ac_f cannot contain `:'.
15100 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15102 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15104 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15105 as_fn_append ac_file_inputs " '$ac_f'"
15108 # Let's still pretend it is `configure' which instantiates (i.e., don't
15109 # use $as_me), people would be surprised to read:
15110 # /* config.h. Generated by config.status. */
15111 configure_input='Generated from '`
15112 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15114 if test x"$ac_file" != x-; then
15115 configure_input="$ac_file.
$configure_input"
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15117 $as_echo "$as_me: creating
$ac_file" >&6;}
15119 # Neutralize special characters interpreted by sed in replacement strings.
15120 case $configure_input in #(
15121 *\&* | *\|* | *\\* )
15122 ac_sed_conf_input=`$as_echo "$configure_input" |
15123 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15124 *) ac_sed_conf_input=$configure_input;;
15128 *:-:* | *:-) cat >"$tmp/stdin
" \
15129 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15134 ac_dir=`$as_dirname -- "$ac_file" ||
15135 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15136 X"$ac_file" : 'X\(//\)[^/]' \| \
15137 X"$ac_file" : 'X\(//\)$' \| \
15138 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15139 $as_echo X"$ac_file" |
15140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15144 /^X\(\/\/\)[^/].*/{
15157 as_dir="$ac_dir"; as_fn_mkdir_p
15161 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15163 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15164 # A "..
" for each directory in $ac_dir_suffix.
15165 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15166 case $ac_top_builddir_sub in
15167 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15168 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15171 ac_abs_top_builddir=$ac_pwd
15172 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15173 # for backward compatibility:
15174 ac_top_builddir=$ac_top_build_prefix
15177 .) # We are building in place.
15179 ac_top_srcdir=$ac_top_builddir_sub
15180 ac_abs_top_srcdir=$ac_pwd ;;
15181 [\\/]* | ?:[\\/]* ) # Absolute name.
15182 ac_srcdir=$srcdir$ac_dir_suffix;
15183 ac_top_srcdir=$srcdir
15184 ac_abs_top_srcdir=$srcdir ;;
15185 *) # Relative name.
15186 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15187 ac_top_srcdir=$ac_top_build_prefix$srcdir
15188 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15190 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15200 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15201 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15206 # If the template does not know about datarootdir, expand it.
15207 # FIXME: This hack should be removed a few years after 2.60.
15208 ac_datarootdir_hack=; ac_datarootdir_seen=
15219 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15220 *datarootdir*) ac_datarootdir_seen=yes;;
15221 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15223 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15226 ac_datarootdir_hack='
15227 s&@datadir@&$datadir&g
15228 s&@docdir@&$docdir&g
15229 s&@infodir@&$infodir&g
15230 s&@localedir@&$localedir&g
15231 s&@mandir@&$mandir&g
15232 s&\\\${datarootdir}&$datarootdir&g' ;;
15236 # Neutralize VPATH when `$srcdir' = `.'.
15237 # Shell code in configure.ac might set extrasub.
15238 # FIXME: do we really want to maintain this feature?
15239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15240 ac_sed_extra="$ac_vpsub
15243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15245 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15246 s|@configure_input@|
$ac_sed_conf_input|
;t t
15247 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15248 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15249 s
&@srcdir@
&$ac_srcdir&;t t
15250 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15251 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15252 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15253 s
&@builddir@
&$ac_builddir&;t t
15254 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15255 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15256 s
&@INSTALL@
&$ac_INSTALL&;t t
15257 $ac_datarootdir_hack
15259 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15260 if $ac_cs_awk_getline; then
15261 $AWK -f "$tmp/subs.
awk"
15263 $AWK -f "$tmp/subs.
awk" | $SHELL
15265 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15267 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15268 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15269 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15271 which seems to be undefined. Please make sure it is defined." >&5
15272 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15273 which seems to be undefined. Please make sure it is defined." >&2;}
15277 -) cat "$tmp/out" && rm -f "$tmp/out";;
15278 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15280 || as_fn_error "could not create $ac_file" "$LINENO" 5
15288 case $ac_file$ac_mode in
15289 "Makefile":F) sed "$extrasub_build" Makefile |
15290 sed "$extrasub_host" |
15291 sed "$extrasub_target" > mf$$
15292 mv -f mf$$ Makefile ;;
15300 ac_clean_files=$ac_clean_files_save
15302 test $ac_write_fail = 0 ||
15303 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15306 # configure is writing to config.log, and then calls config.status.
15307 # config.status does its own redirection, appending to config.log.
15308 # Unfortunately, on DOS this fails, as config.log is still kept open
15309 # by configure, so config.status won't be able to
write to it
; its
15310 # output is simply discarded. So we exec the FD to /dev/null,
15311 # effectively closing config.log, so it can be properly (re)opened and
15312 # appended to by config.status. When coming back to configure, we
15313 # need to make the FD available again.
15314 if test "$no_create" != yes; then
15316 ac_config_status_args
=
15317 test "$silent" = yes &&
15318 ac_config_status_args
="$ac_config_status_args --quiet"
15320 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15322 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15323 # would make configure fail if this is the last instruction.
15324 $ac_cs_success || as_fn_exit $?
15326 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15328 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}