Merge trunk version 204345 into gupc branch.
[official-gcc.git] / configure
blob1370dbd24661b2a3929ebd2ddd74cc3389bd6b6f
1 #! /bin/sh
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
7 # Foundation, Inc.
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 :
18 emulate sh
19 NULLCMD=:
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+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
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
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
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'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
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.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
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
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
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 || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
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 :
136 emulate sh
137 NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
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; }
157 exitcode=0
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 :
164 else
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 :
174 as_have_required=yes
175 else
176 as_have_required=no
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180 else
181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182 as_found=false
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
185 IFS=$as_save_IFS
186 test -z "$as_dir" && as_dir=.
187 as_found=:
188 case $as_dir in #(
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 :
197 break 2
200 done;;
201 esac
202 as_found=false
203 done
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
207 fi; }
208 IFS=$as_save_IFS
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.
215 BASH_ENV=/dev/null
216 ENV=/dev/null
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
218 export CONFIG_SHELL
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."
228 else
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."
234 exit 1
238 SHELL=${CONFIG_SHELL-/bin/sh}
239 export SHELL
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 ## --------------------- ##
247 # as_fn_unset VAR
248 # ---------------
249 # Portably unset VAR.
250 as_fn_unset ()
252 { eval $1=; unset $1;}
254 as_unset=as_fn_unset
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
259 as_fn_set_status ()
261 return $1
262 } # as_fn_set_status
264 # as_fn_exit STATUS
265 # -----------------
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
267 as_fn_exit ()
269 set +e
270 as_fn_set_status $1
271 exit $1
272 } # as_fn_exit
274 # as_fn_mkdir_p
275 # -------------
276 # Create "$as_dir" as a directory, including parents if necessary.
277 as_fn_mkdir_p ()
280 case $as_dir in #(
281 -*) as_dir=./$as_dir;;
282 esac
283 test -d "$as_dir" || eval $as_mkdir_p || {
284 as_dirs=
285 while :; do
286 case $as_dir in #(
287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
288 *) as_qdir=$as_dir;;
289 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
298 s//\1/
301 /^X\(\/\/\)[^/].*/{
302 s//\1/
305 /^X\(\/\/\)$/{
306 s//\1/
309 /^X\(\/\).*/{
310 s//\1/
313 s/.*/./; q'`
314 test -d "$as_dir" && break
315 done
316 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320 } # as_fn_mkdir_p
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
326 # implementations.
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328 eval 'as_fn_append ()
330 eval $1+=\$2
332 else
333 as_fn_append ()
335 eval $1=\$$1\$2
337 fi # as_fn_append
339 # as_fn_arith ARG...
340 # ------------------
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 :
345 eval 'as_fn_arith ()
347 as_val=$(( $* ))
349 else
350 as_fn_arith ()
352 as_val=`expr "$@" || test $? -eq 1`
354 fi # as_fn_arith
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.
362 as_fn_error ()
364 as_status=$?; test $as_status -eq 0 && as_status=1
365 if test "$3"; then
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
371 } # as_fn_error
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001; then
375 as_expr=expr
376 else
377 as_expr=false
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
381 as_basename=basename
382 else
383 as_basename=false
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
387 as_dirname=dirname
388 else
389 as_dirname=false
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396 $as_echo X/"$0" |
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
398 s//\1/
401 /^X\/\(\/\/\)$/{
402 s//\1/
405 /^X\/\(\/\).*/{
406 s//\1/
409 s/.*/./; q'`
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. :-)
424 sed -n '
426 /[$]LINENO/=
427 ' <$as_myself |
428 sed '
429 s/[$]LINENO.*/&-/
430 t lineno
432 :lineno
434 :loop
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
436 t loop
437 s/-\n.*//
438 ' >$as_me.lineno &&
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).
445 . "./$as_me.lineno"
446 # Exit status is that of the last command.
447 exit
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
452 -n*)
453 case `echo 'xy\c'` in
454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
455 xy) ECHO_C='\c';;
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
457 ECHO_T=' ';;
458 esac;;
460 ECHO_N='-n';;
461 esac
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465 rm -f conf$$.dir/conf$$.file
466 else
467 rm -f conf$$.dir
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
472 as_ln_s='ln -s'
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 ||
478 as_ln_s='cp -p'
479 elif ln conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s=ln
481 else
482 as_ln_s='cp -p'
484 else
485 as_ln_s='cp -p'
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"'
492 else
493 test -d ./-p && rmdir ./-p
494 as_mkdir_p=false
497 if test -x / >/dev/null 2>&1; then
498 as_test_x='test -x'
499 else
500 if ls -dL / >/dev/null 2>&1; then
501 as_ls_L_option=L
502 else
503 as_ls_L_option=
505 as_test_x='
506 eval sh -c '\''
507 if test -d "$1"; then
508 test -d "$1/.";
509 else
510 case $1 in #(
511 -*)set "./$1";;
512 esac;
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
515 '\'' sh
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
529 # Name of the host.
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`
535 # Initializations.
537 ac_default_prefix=/usr/local
538 ac_clean_files=
539 ac_config_libobj_dir=.
540 LIBOBJS=
541 cross_compiling=no
542 subdirs=
543 MFLAGS=
544 MAKEFLAGS=
546 # Identity of this package.
547 PACKAGE_NAME=
548 PACKAGE_TARNAME=
549 PACKAGE_VERSION=
550 PACKAGE_STRING=
551 PACKAGE_BUGREPORT=
552 PACKAGE_URL=
554 ac_unique_file="move-if-change"
555 enable_option_checking=no
556 ac_subst_vars='LTLIBOBJS
557 LIBOBJS
558 compare_exclusions
559 host_shared
560 stage2_werror_flag
561 stage1_checking
562 stage1_cflags
563 MAINT
564 MAINTAINER_MODE_FALSE
565 MAINTAINER_MODE_TRUE
566 COMPILER_NM_FOR_TARGET
567 COMPILER_LD_FOR_TARGET
568 COMPILER_AS_FOR_TARGET
569 FLAGS_FOR_TARGET
570 RAW_CXX_FOR_TARGET
571 WINDMC_FOR_TARGET
572 WINDRES_FOR_TARGET
573 STRIP_FOR_TARGET
574 READELF_FOR_TARGET
575 RANLIB_FOR_TARGET
576 OBJDUMP_FOR_TARGET
577 NM_FOR_TARGET
578 LIPO_FOR_TARGET
579 LD_FOR_TARGET
580 DLLTOOL_FOR_TARGET
581 AS_FOR_TARGET
582 AR_FOR_TARGET
583 GUPC_FOR_TARGET
584 GOC_FOR_TARGET
585 GFORTRAN_FOR_TARGET
586 GCJ_FOR_TARGET
587 GCC_FOR_TARGET
588 CXX_FOR_TARGET
589 CC_FOR_TARGET
590 READELF
591 OBJDUMP
592 OBJCOPY
593 WINDMC
594 WINDRES
595 STRIP
596 RANLIB
598 LIPO
600 DLLTOOL
603 RUNTEST
604 EXPECT
605 MAKEINFO
606 FLEX
609 BISON
610 YACC
611 WINDRES_FOR_BUILD
612 WINDMC_FOR_BUILD
613 RANLIB_FOR_BUILD
614 NM_FOR_BUILD
615 LD_FOR_BUILD
616 LDFLAGS_FOR_BUILD
617 GUPC_FOR_BUILD
618 GOC_FOR_BUILD
619 GFORTRAN_FOR_BUILD
620 GCJ_FOR_BUILD
621 DLLTOOL_FOR_BUILD
622 CXX_FOR_BUILD
623 CXXFLAGS_FOR_BUILD
624 CFLAGS_FOR_BUILD
625 CC_FOR_BUILD
626 AS_FOR_BUILD
627 AR_FOR_BUILD
628 target_configdirs
629 configdirs
630 build_configdirs
631 INSTALL_GDB_TK
632 GDB_TK
633 CONFIGURE_GDB_TK
634 build_tooldir
635 tooldir
636 GCC_SHLIB_SUBDIR
637 RPATH_ENVVAR
638 target_configargs
639 host_configargs
640 build_configargs
641 BUILD_CONFIG
642 LDFLAGS_FOR_TARGET
643 CXXFLAGS_FOR_TARGET
644 CFLAGS_FOR_TARGET
645 DEBUG_PREFIX_CFLAGS_FOR_TARGET
646 SYSROOT_CFLAGS_FOR_TARGET
647 stage1_languages
648 extra_host_libiberty_configure_flags
649 clooginc
650 clooglibs
651 islinc
652 poststage1_ldflags
653 poststage1_libs
654 stage1_ldflags
655 stage1_libs
656 extra_isl_gmp_configure_flags
657 extra_mpc_mpfr_configure_flags
658 extra_mpc_gmp_configure_flags
659 extra_mpfr_configure_flags
660 gmpinc
661 gmplibs
662 do_compare
663 GNATMAKE
664 GNATBIND
665 ac_ct_CXX
666 CXXFLAGS
668 OBJEXT
669 EXEEXT
670 ac_ct_CC
671 CPPFLAGS
672 LDFLAGS
673 CFLAGS
675 EXTRA_CONFIGARGS_LIBJAVA
676 target_subdir
677 host_subdir
678 build_subdir
679 build_libsubdir
682 LN_S
684 INSTALL_DATA
685 INSTALL_SCRIPT
686 INSTALL_PROGRAM
687 target_os
688 target_vendor
689 target_cpu
690 target
691 host_os
692 host_vendor
693 host_cpu
694 host
695 target_noncanonical
696 host_noncanonical
697 build_noncanonical
698 build_os
699 build_vendor
700 build_cpu
701 build
702 TOPLEVEL_CONFIGURE_ARGUMENTS
703 target_alias
704 host_alias
705 build_alias
706 LIBS
707 ECHO_T
708 ECHO_N
709 ECHO_C
710 DEFS
711 mandir
712 localedir
713 libdir
714 psdir
715 pdfdir
716 dvidir
717 htmldir
718 infodir
719 docdir
720 oldincludedir
721 includedir
722 localstatedir
723 sharedstatedir
724 sysconfdir
725 datadir
726 datarootdir
727 libexecdir
728 sbindir
729 bindir
730 program_transform_name
731 prefix
732 exec_prefix
733 PACKAGE_URL
734 PACKAGE_BUGREPORT
735 PACKAGE_STRING
736 PACKAGE_VERSION
737 PACKAGE_TARNAME
738 PACKAGE_NAME
739 PATH_SEPARATOR
740 SHELL'
741 ac_subst_files='serialization_dependencies
742 host_makefile_frag
743 target_makefile_frag
744 alphaieee_frag
745 ospace_frag'
746 ac_user_opts='
747 enable_option_checking
748 with_build_libsubdir
749 enable_gold
750 enable_ld
751 enable_libquadmath
752 enable_libquadmath_support
753 enable_libada
754 enable_libssp
755 enable_libstdcxx
756 enable_static_libjava
757 enable_bootstrap
758 with_mpc
759 with_mpc_include
760 with_mpc_lib
761 with_mpfr_dir
762 with_mpfr
763 with_mpfr_include
764 with_mpfr_lib
765 with_gmp_dir
766 with_gmp
767 with_gmp_include
768 with_gmp_lib
769 with_host_libstdcxx
770 with_stage1_libs
771 with_stage1_ldflags
772 with_boot_libs
773 with_boot_ldflags
774 with_cloog
775 with_isl
776 with_isl_include
777 with_isl_lib
778 enable_isl_version_check
779 with_cloog_include
780 with_cloog_lib
781 enable_cloog_version_check
782 enable_lto
783 enable_stage1_languages
784 enable_objc_gc
785 with_upc_pts
786 with_build_sysroot
787 with_debug_prefix_map
788 with_build_config
789 enable_serial_configure
790 enable_upc_link_script
791 with_build_time_tools
792 enable_maintainer_mode
793 enable_stage1_checking
794 enable_werror
795 enable_host_shared
797 ac_precious_vars='build_alias
798 host_alias
799 target_alias
801 CFLAGS
802 LDFLAGS
803 LIBS
804 CPPFLAGS
806 CXXFLAGS
808 build_configargs
809 host_configargs
810 target_configargs
813 DLLTOOL
815 LIPO
817 RANLIB
818 STRIP
819 WINDRES
820 WINDMC
821 OBJCOPY
822 OBJDUMP
823 READELF
824 CC_FOR_TARGET
825 CXX_FOR_TARGET
826 GCC_FOR_TARGET
827 GCJ_FOR_TARGET
828 GFORTRAN_FOR_TARGET
829 GOC_FOR_TARGET
830 GUPC_FOR_TARGET
831 AR_FOR_TARGET
832 AS_FOR_TARGET
833 DLLTOOL_FOR_TARGET
834 LD_FOR_TARGET
835 LIPO_FOR_TARGET
836 NM_FOR_TARGET
837 OBJDUMP_FOR_TARGET
838 RANLIB_FOR_TARGET
839 READELF_FOR_TARGET
840 STRIP_FOR_TARGET
841 WINDRES_FOR_TARGET
842 WINDMC_FOR_TARGET'
845 # Initialize some variables set by options.
846 ac_init_help=
847 ac_init_version=false
848 ac_unrecognized_opts=
849 ac_unrecognized_sep=
850 # The variables have the same names as the options, with
851 # dashes changed to underlines.
852 cache_file=/dev/null
853 exec_prefix=NONE
854 no_create=
855 no_recursion=
856 prefix=NONE
857 program_prefix=NONE
858 program_suffix=NONE
859 program_transform_name=s,x,x,
860 silent=
861 site=
862 srcdir=
863 verbose=
864 x_includes=NONE
865 x_libraries=NONE
867 # Installation directory options.
868 # These are left unexpanded so users can "make install exec_prefix=/foo"
869 # and all the variables that are supposed to be based on exec_prefix
870 # by default will actually change.
871 # Use braces instead of parens because sh, perl, etc. also accept them.
872 # (The list follows the same order as the GNU Coding Standards.)
873 bindir='${exec_prefix}/bin'
874 sbindir='${exec_prefix}/sbin'
875 libexecdir='${exec_prefix}/libexec'
876 datarootdir='${prefix}/share'
877 datadir='${datarootdir}'
878 sysconfdir='${prefix}/etc'
879 sharedstatedir='${prefix}/com'
880 localstatedir='${prefix}/var'
881 includedir='${prefix}/include'
882 oldincludedir='/usr/include'
883 docdir='${datarootdir}/doc/${PACKAGE}'
884 infodir='${datarootdir}/info'
885 htmldir='${docdir}'
886 dvidir='${docdir}'
887 pdfdir='${docdir}'
888 psdir='${docdir}'
889 libdir='${exec_prefix}/lib'
890 localedir='${datarootdir}/locale'
891 mandir='${datarootdir}/man'
893 ac_prev=
894 ac_dashdash=
895 for ac_option
897 # If the previous option needs an argument, assign it.
898 if test -n "$ac_prev"; then
899 eval $ac_prev=\$ac_option
900 ac_prev=
901 continue
904 case $ac_option in
905 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
906 *) ac_optarg=yes ;;
907 esac
909 # Accept the important Cygnus configure options, so we can diagnose typos.
911 case $ac_dashdash$ac_option in
913 ac_dashdash=yes ;;
915 -bindir | --bindir | --bindi | --bind | --bin | --bi)
916 ac_prev=bindir ;;
917 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
918 bindir=$ac_optarg ;;
920 -build | --build | --buil | --bui | --bu)
921 ac_prev=build_alias ;;
922 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
923 build_alias=$ac_optarg ;;
925 -cache-file | --cache-file | --cache-fil | --cache-fi \
926 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
927 ac_prev=cache_file ;;
928 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
929 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
930 cache_file=$ac_optarg ;;
932 --config-cache | -C)
933 cache_file=config.cache ;;
935 -datadir | --datadir | --datadi | --datad)
936 ac_prev=datadir ;;
937 -datadir=* | --datadir=* | --datadi=* | --datad=*)
938 datadir=$ac_optarg ;;
940 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
941 | --dataroo | --dataro | --datar)
942 ac_prev=datarootdir ;;
943 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
944 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
945 datarootdir=$ac_optarg ;;
947 -disable-* | --disable-*)
948 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
949 # Reject names that are not valid shell variable names.
950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
951 as_fn_error "invalid feature name: $ac_useropt"
952 ac_useropt_orig=$ac_useropt
953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954 case $ac_user_opts in
956 "enable_$ac_useropt"
957 "*) ;;
958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
959 ac_unrecognized_sep=', ';;
960 esac
961 eval enable_$ac_useropt=no ;;
963 -docdir | --docdir | --docdi | --doc | --do)
964 ac_prev=docdir ;;
965 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
966 docdir=$ac_optarg ;;
968 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
969 ac_prev=dvidir ;;
970 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
971 dvidir=$ac_optarg ;;
973 -enable-* | --enable-*)
974 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
975 # Reject names that are not valid shell variable names.
976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
977 as_fn_error "invalid feature name: $ac_useropt"
978 ac_useropt_orig=$ac_useropt
979 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980 case $ac_user_opts in
982 "enable_$ac_useropt"
983 "*) ;;
984 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
985 ac_unrecognized_sep=', ';;
986 esac
987 eval enable_$ac_useropt=\$ac_optarg ;;
989 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
990 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
991 | --exec | --exe | --ex)
992 ac_prev=exec_prefix ;;
993 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
994 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
995 | --exec=* | --exe=* | --ex=*)
996 exec_prefix=$ac_optarg ;;
998 -gas | --gas | --ga | --g)
999 # Obsolete; use --with-gas.
1000 with_gas=yes ;;
1002 -help | --help | --hel | --he | -h)
1003 ac_init_help=long ;;
1004 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1005 ac_init_help=recursive ;;
1006 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1007 ac_init_help=short ;;
1009 -host | --host | --hos | --ho)
1010 ac_prev=host_alias ;;
1011 -host=* | --host=* | --hos=* | --ho=*)
1012 host_alias=$ac_optarg ;;
1014 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1015 ac_prev=htmldir ;;
1016 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1017 | --ht=*)
1018 htmldir=$ac_optarg ;;
1020 -includedir | --includedir | --includedi | --included | --include \
1021 | --includ | --inclu | --incl | --inc)
1022 ac_prev=includedir ;;
1023 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1024 | --includ=* | --inclu=* | --incl=* | --inc=*)
1025 includedir=$ac_optarg ;;
1027 -infodir | --infodir | --infodi | --infod | --info | --inf)
1028 ac_prev=infodir ;;
1029 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1030 infodir=$ac_optarg ;;
1032 -libdir | --libdir | --libdi | --libd)
1033 ac_prev=libdir ;;
1034 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1035 libdir=$ac_optarg ;;
1037 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1038 | --libexe | --libex | --libe)
1039 ac_prev=libexecdir ;;
1040 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1041 | --libexe=* | --libex=* | --libe=*)
1042 libexecdir=$ac_optarg ;;
1044 -localedir | --localedir | --localedi | --localed | --locale)
1045 ac_prev=localedir ;;
1046 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1047 localedir=$ac_optarg ;;
1049 -localstatedir | --localstatedir | --localstatedi | --localstated \
1050 | --localstate | --localstat | --localsta | --localst | --locals)
1051 ac_prev=localstatedir ;;
1052 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1053 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1054 localstatedir=$ac_optarg ;;
1056 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1057 ac_prev=mandir ;;
1058 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1059 mandir=$ac_optarg ;;
1061 -nfp | --nfp | --nf)
1062 # Obsolete; use --without-fp.
1063 with_fp=no ;;
1065 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1066 | --no-cr | --no-c | -n)
1067 no_create=yes ;;
1069 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1070 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1071 no_recursion=yes ;;
1073 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1074 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1075 | --oldin | --oldi | --old | --ol | --o)
1076 ac_prev=oldincludedir ;;
1077 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1078 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1079 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1080 oldincludedir=$ac_optarg ;;
1082 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1083 ac_prev=prefix ;;
1084 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1085 prefix=$ac_optarg ;;
1087 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1088 | --program-pre | --program-pr | --program-p)
1089 ac_prev=program_prefix ;;
1090 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1091 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1092 program_prefix=$ac_optarg ;;
1094 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1095 | --program-suf | --program-su | --program-s)
1096 ac_prev=program_suffix ;;
1097 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1098 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1099 program_suffix=$ac_optarg ;;
1101 -program-transform-name | --program-transform-name \
1102 | --program-transform-nam | --program-transform-na \
1103 | --program-transform-n | --program-transform- \
1104 | --program-transform | --program-transfor \
1105 | --program-transfo | --program-transf \
1106 | --program-trans | --program-tran \
1107 | --progr-tra | --program-tr | --program-t)
1108 ac_prev=program_transform_name ;;
1109 -program-transform-name=* | --program-transform-name=* \
1110 | --program-transform-nam=* | --program-transform-na=* \
1111 | --program-transform-n=* | --program-transform-=* \
1112 | --program-transform=* | --program-transfor=* \
1113 | --program-transfo=* | --program-transf=* \
1114 | --program-trans=* | --program-tran=* \
1115 | --progr-tra=* | --program-tr=* | --program-t=*)
1116 program_transform_name=$ac_optarg ;;
1118 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1119 ac_prev=pdfdir ;;
1120 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1121 pdfdir=$ac_optarg ;;
1123 -psdir | --psdir | --psdi | --psd | --ps)
1124 ac_prev=psdir ;;
1125 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1126 psdir=$ac_optarg ;;
1128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1129 | -silent | --silent | --silen | --sile | --sil)
1130 silent=yes ;;
1132 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1133 ac_prev=sbindir ;;
1134 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1135 | --sbi=* | --sb=*)
1136 sbindir=$ac_optarg ;;
1138 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1139 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1140 | --sharedst | --shareds | --shared | --share | --shar \
1141 | --sha | --sh)
1142 ac_prev=sharedstatedir ;;
1143 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1144 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1145 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1146 | --sha=* | --sh=*)
1147 sharedstatedir=$ac_optarg ;;
1149 -site | --site | --sit)
1150 ac_prev=site ;;
1151 -site=* | --site=* | --sit=*)
1152 site=$ac_optarg ;;
1154 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1155 ac_prev=srcdir ;;
1156 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1157 srcdir=$ac_optarg ;;
1159 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1160 | --syscon | --sysco | --sysc | --sys | --sy)
1161 ac_prev=sysconfdir ;;
1162 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1163 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1164 sysconfdir=$ac_optarg ;;
1166 -target | --target | --targe | --targ | --tar | --ta | --t)
1167 ac_prev=target_alias ;;
1168 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1169 target_alias=$ac_optarg ;;
1171 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1172 verbose=yes ;;
1174 -version | --version | --versio | --versi | --vers | -V)
1175 ac_init_version=: ;;
1177 -with-* | --with-*)
1178 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1179 # Reject names that are not valid shell variable names.
1180 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1181 as_fn_error "invalid package name: $ac_useropt"
1182 ac_useropt_orig=$ac_useropt
1183 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184 case $ac_user_opts in
1186 "with_$ac_useropt"
1187 "*) ;;
1188 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1189 ac_unrecognized_sep=', ';;
1190 esac
1191 eval with_$ac_useropt=\$ac_optarg ;;
1193 -without-* | --without-*)
1194 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1197 as_fn_error "invalid package name: $ac_useropt"
1198 ac_useropt_orig=$ac_useropt
1199 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1202 "with_$ac_useropt"
1203 "*) ;;
1204 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1205 ac_unrecognized_sep=', ';;
1206 esac
1207 eval with_$ac_useropt=no ;;
1209 --x)
1210 # Obsolete; use --with-x.
1211 with_x=yes ;;
1213 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1214 | --x-incl | --x-inc | --x-in | --x-i)
1215 ac_prev=x_includes ;;
1216 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1217 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1218 x_includes=$ac_optarg ;;
1220 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1221 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1222 ac_prev=x_libraries ;;
1223 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1224 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1225 x_libraries=$ac_optarg ;;
1227 -*) as_fn_error "unrecognized option: \`$ac_option'
1228 Try \`$0 --help' for more information."
1231 *=*)
1232 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1233 # Reject names that are not valid shell variable names.
1234 case $ac_envvar in #(
1235 '' | [0-9]* | *[!_$as_cr_alnum]* )
1236 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1237 esac
1238 eval $ac_envvar=\$ac_optarg
1239 export $ac_envvar ;;
1242 # FIXME: should be removed in autoconf 3.0.
1243 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1244 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1245 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1246 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1249 esac
1250 done
1252 if test -n "$ac_prev"; then
1253 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1254 as_fn_error "missing argument to $ac_option"
1257 if test -n "$ac_unrecognized_opts"; then
1258 case $enable_option_checking in
1259 no) ;;
1260 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1261 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1262 esac
1265 # Check all directory arguments for consistency.
1266 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1267 datadir sysconfdir sharedstatedir localstatedir includedir \
1268 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1269 libdir localedir mandir
1271 eval ac_val=\$$ac_var
1272 # Remove trailing slashes.
1273 case $ac_val in
1274 */ )
1275 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1276 eval $ac_var=\$ac_val;;
1277 esac
1278 # Be sure to have absolute directory names.
1279 case $ac_val in
1280 [\\/$]* | ?:[\\/]* ) continue;;
1281 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1282 esac
1283 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1284 done
1286 # There might be people who depend on the old broken behavior: `$host'
1287 # used to hold the argument of --host etc.
1288 # FIXME: To remove some day.
1289 build=$build_alias
1290 host=$host_alias
1291 target=$target_alias
1293 # FIXME: To remove some day.
1294 if test "x$host_alias" != x; then
1295 if test "x$build_alias" = x; then
1296 cross_compiling=maybe
1297 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1298 If a cross compiler is detected then cross compile mode will be used." >&2
1299 elif test "x$build_alias" != "x$host_alias"; then
1300 cross_compiling=yes
1304 ac_tool_prefix=
1305 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1307 test "$silent" = yes && exec 6>/dev/null
1310 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1311 ac_ls_di=`ls -di .` &&
1312 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1313 as_fn_error "working directory cannot be determined"
1314 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1315 as_fn_error "pwd does not report name of working directory"
1318 # Find the source files, if location was not specified.
1319 if test -z "$srcdir"; then
1320 ac_srcdir_defaulted=yes
1321 # Try the directory containing this script, then the parent directory.
1322 ac_confdir=`$as_dirname -- "$as_myself" ||
1323 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1324 X"$as_myself" : 'X\(//\)[^/]' \| \
1325 X"$as_myself" : 'X\(//\)$' \| \
1326 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1327 $as_echo X"$as_myself" |
1328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1329 s//\1/
1332 /^X\(\/\/\)[^/].*/{
1333 s//\1/
1336 /^X\(\/\/\)$/{
1337 s//\1/
1340 /^X\(\/\).*/{
1341 s//\1/
1344 s/.*/./; q'`
1345 srcdir=$ac_confdir
1346 if test ! -r "$srcdir/$ac_unique_file"; then
1347 srcdir=..
1349 else
1350 ac_srcdir_defaulted=no
1352 if test ! -r "$srcdir/$ac_unique_file"; then
1353 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1354 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1356 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1357 ac_abs_confdir=`(
1358 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1359 pwd)`
1360 # When building in place, set srcdir=.
1361 if test "$ac_abs_confdir" = "$ac_pwd"; then
1362 srcdir=.
1364 # Remove unnecessary trailing slashes from srcdir.
1365 # Double slashes in file names in object file debugging info
1366 # mess up M-x gdb in Emacs.
1367 case $srcdir in
1368 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1369 esac
1370 case $srcdir in
1371 *" "*)
1372 as_fn_error "path to source, $srcdir, contains spaces"
1374 esac
1375 ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1377 for ac_var in $ac_precious_vars; do
1378 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1379 eval ac_env_${ac_var}_value=\$${ac_var}
1380 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1381 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1382 done
1385 # Report the --help message.
1387 if test "$ac_init_help" = "long"; then
1388 # Omit some internal or obsolete options to make the list less imposing.
1389 # This message is too long to be a string in the A/UX 3.1 sh.
1390 cat <<_ACEOF
1391 \`configure' configures this package to adapt to many kinds of systems.
1393 Usage: $0 [OPTION]... [VAR=VALUE]...
1395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1396 VAR=VALUE. See below for descriptions of some of the useful variables.
1398 Defaults for the options are specified in brackets.
1400 Configuration:
1401 -h, --help display this help and exit
1402 --help=short display options specific to this package
1403 --help=recursive display the short help of all the included packages
1404 -V, --version display version information and exit
1405 -q, --quiet, --silent do not print \`checking...' messages
1406 --cache-file=FILE cache test results in FILE [disabled]
1407 -C, --config-cache alias for \`--cache-file=config.cache'
1408 -n, --no-create do not create output files
1409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1411 Installation directories:
1412 --prefix=PREFIX install architecture-independent files in PREFIX
1413 [$ac_default_prefix]
1414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1415 [PREFIX]
1417 By default, \`make install' will install all the files in
1418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1420 for instance \`--prefix=\$HOME'.
1422 For better control, use the options below.
1424 Fine tuning of the installation directories:
1425 --bindir=DIR user executables [EPREFIX/bin]
1426 --sbindir=DIR system admin executables [EPREFIX/sbin]
1427 --libexecdir=DIR program executables [EPREFIX/libexec]
1428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1431 --libdir=DIR object code libraries [EPREFIX/lib]
1432 --includedir=DIR C header files [PREFIX/include]
1433 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1434 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1435 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1436 --infodir=DIR info documentation [DATAROOTDIR/info]
1437 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1438 --mandir=DIR man documentation [DATAROOTDIR/man]
1439 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1440 --htmldir=DIR html documentation [DOCDIR]
1441 --dvidir=DIR dvi documentation [DOCDIR]
1442 --pdfdir=DIR pdf documentation [DOCDIR]
1443 --psdir=DIR ps documentation [DOCDIR]
1444 _ACEOF
1446 cat <<\_ACEOF
1448 Program names:
1449 --program-prefix=PREFIX prepend PREFIX to installed program names
1450 --program-suffix=SUFFIX append SUFFIX to installed program names
1451 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1453 System types:
1454 --build=BUILD configure for building on BUILD [guessed]
1455 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1456 --target=TARGET configure for building compilers for TARGET [HOST]
1457 _ACEOF
1460 if test -n "$ac_init_help"; then
1462 cat <<\_ACEOF
1464 Optional Features:
1465 --disable-option-checking ignore unrecognized --enable/--with options
1466 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1467 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1468 --enable-gold[=ARG] build gold [ARG={default,yes,no}]
1469 --enable-ld[=ARG] build ld [ARG={default,yes,no}]
1470 --disable-libquadmath do not build libquadmath directory
1471 --disable-libquadmath-support
1472 disable libquadmath support for Fortran
1473 --enable-libada build libada directory
1474 --enable-libssp build libssp directory
1475 --disable-libstdcxx do not build libstdc++-v3 directory
1476 --enable-static-libjava[=ARG]
1477 build static libjava [default=no]
1478 --enable-bootstrap enable bootstrapping [yes if native build]
1479 --disable-isl-version-check
1480 disable check for ISL version
1481 --disable-cloog-version-check
1482 disable check for CLooG version
1483 --enable-lto enable link time optimization support
1484 --enable-stage1-languages[=all]
1485 choose additional languages to build during stage1.
1486 Mostly useful for compiler development
1487 --enable-objc-gc enable use of Boehm's garbage collector with the GNU
1488 Objective-C runtime
1489 --enable-serial-[{host,target,build}-]configure
1490 force sequential configuration of sub-packages for
1491 the host, target or build machine, or all
1492 sub-packages
1493 --enable-upc-link-script
1494 enable UPC's use of a custom linker script; this
1495 will define the UPC shared section as a no load
1496 section on targets where this feature is supported
1497 (requires GNU LD)
1498 --enable-maintainer-mode
1499 enable make rules and dependencies not useful (and
1500 sometimes confusing) to the casual installer
1501 --enable-stage1-checking[=all]
1502 choose additional checking for stage1 of the
1503 compiler
1504 --enable-werror enable -Werror in bootstrap stage2 and later
1505 --enable-host-shared build host code as shared libraries
1507 Optional Packages:
1508 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1509 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1510 --with-build-libsubdir=DIR Directory where to find libraries for build system
1511 --with-mpc=PATH specify prefix directory for installed MPC package.
1512 Equivalent to --with-mpc-include=PATH/include plus
1513 --with-mpc-lib=PATH/lib
1514 --with-mpc-include=PATH specify directory for installed MPC include files
1515 --with-mpc-lib=PATH specify directory for the installed MPC library
1516 --with-mpfr-dir=PATH this option has been REMOVED
1517 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1518 Equivalent to --with-mpfr-include=PATH/include plus
1519 --with-mpfr-lib=PATH/lib
1520 --with-mpfr-include=PATH
1521 specify directory for installed MPFR include files
1522 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1523 --with-gmp-dir=PATH this option has been REMOVED
1524 --with-gmp=PATH specify prefix directory for the installed GMP
1525 package. Equivalent to
1526 --with-gmp-include=PATH/include plus
1527 --with-gmp-lib=PATH/lib
1528 --with-gmp-include=PATH specify directory for installed GMP include files
1529 --with-gmp-lib=PATH specify directory for the installed GMP library
1530 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1531 linking with PPL
1532 --with-stage1-libs=LIBS libraries for stage1
1533 --with-stage1-ldflags=FLAGS
1534 linker flags for stage1
1535 --with-boot-libs=LIBS libraries for stage2 and later
1536 --with-boot-ldflags=FLAGS
1537 linker flags for stage2 and later
1538 --with-cloog=PATH Specify prefix directory for the installed CLooG-ISL
1539 package. Equivalent to
1540 --with-cloog-include=PATH/include plus
1541 --with-cloog-lib=PATH/lib
1542 --with-isl=PATH Specify prefix directory for the installed ISL
1543 package. Equivalent to
1544 --with-isl-include=PATH/include plus
1545 --with-isl-lib=PATH/lib
1546 --with-isl-include=PATH Specify directory for installed ISL include files
1547 --with-isl-lib=PATH Specify the directory for the installed ISL library
1548 --with-cloog-include=PATH
1549 Specify directory for installed CLooG include files
1550 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1551 library
1552 --with-upc-pts={struct,packed}
1553 choose the representation of a UPC pointer-to-shared
1554 --with-build-sysroot=SYSROOT
1555 use sysroot as the system root during the build
1556 --with-debug-prefix-map='A=B C=D ...'
1557 map A to B, C to D ... in debug information
1558 --with-build-config='NAME NAME2...'
1559 use config/NAME.mk build configuration
1560 --with-build-time-tools=PATH
1561 use given path to find target tools during the build
1563 Some influential environment variables:
1564 CC C compiler command
1565 CFLAGS C compiler flags
1566 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1567 nonstandard directory <lib dir>
1568 LIBS libraries to pass to the linker, e.g. -l<library>
1569 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1570 you have headers in a nonstandard directory <include dir>
1571 CXX C++ compiler command
1572 CXXFLAGS C++ compiler flags
1573 build_configargs
1574 additional configure arguments for build directories
1575 host_configargs
1576 additional configure arguments for host directories
1577 target_configargs
1578 additional configure arguments for target directories
1579 AR AR for the host
1580 AS AS for the host
1581 DLLTOOL DLLTOOL for the host
1582 LD LD for the host
1583 LIPO LIPO for the host
1584 NM NM for the host
1585 RANLIB RANLIB for the host
1586 STRIP STRIP for the host
1587 WINDRES WINDRES for the host
1588 WINDMC WINDMC for the host
1589 OBJCOPY OBJCOPY for the host
1590 OBJDUMP OBJDUMP for the host
1591 READELF READELF for the host
1592 CC_FOR_TARGET
1593 CC for the target
1594 CXX_FOR_TARGET
1595 CXX for the target
1596 GCC_FOR_TARGET
1597 GCC for the target
1598 GCJ_FOR_TARGET
1599 GCJ for the target
1600 GFORTRAN_FOR_TARGET
1601 GFORTRAN for the target
1602 GOC_FOR_TARGET
1603 GOC for the target
1604 GUPC_FOR_TARGET
1605 GUPC for the target
1606 AR_FOR_TARGET
1607 AR for the target
1608 AS_FOR_TARGET
1609 AS for the target
1610 DLLTOOL_FOR_TARGET
1611 DLLTOOL for the target
1612 LD_FOR_TARGET
1613 LD for the target
1614 LIPO_FOR_TARGET
1615 LIPO for the target
1616 NM_FOR_TARGET
1617 NM for the target
1618 OBJDUMP_FOR_TARGET
1619 OBJDUMP for the target
1620 RANLIB_FOR_TARGET
1621 RANLIB for the target
1622 READELF_FOR_TARGET
1623 READELF for the target
1624 STRIP_FOR_TARGET
1625 STRIP for the target
1626 WINDRES_FOR_TARGET
1627 WINDRES for the target
1628 WINDMC_FOR_TARGET
1629 WINDMC for the target
1631 Use these variables to override the choices made by `configure' or to help
1632 it to find libraries and programs with nonstandard names/locations.
1634 Report bugs to the package provider.
1635 _ACEOF
1636 ac_status=$?
1639 if test "$ac_init_help" = "recursive"; then
1640 # If there are subdirs, report their specific --help.
1641 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1642 test -d "$ac_dir" ||
1643 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1644 continue
1645 ac_builddir=.
1647 case "$ac_dir" in
1648 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1650 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1651 # A ".." for each directory in $ac_dir_suffix.
1652 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1653 case $ac_top_builddir_sub in
1654 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1655 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1656 esac ;;
1657 esac
1658 ac_abs_top_builddir=$ac_pwd
1659 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1660 # for backward compatibility:
1661 ac_top_builddir=$ac_top_build_prefix
1663 case $srcdir in
1664 .) # We are building in place.
1665 ac_srcdir=.
1666 ac_top_srcdir=$ac_top_builddir_sub
1667 ac_abs_top_srcdir=$ac_pwd ;;
1668 [\\/]* | ?:[\\/]* ) # Absolute name.
1669 ac_srcdir=$srcdir$ac_dir_suffix;
1670 ac_top_srcdir=$srcdir
1671 ac_abs_top_srcdir=$srcdir ;;
1672 *) # Relative name.
1673 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1674 ac_top_srcdir=$ac_top_build_prefix$srcdir
1675 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1676 esac
1677 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1679 cd "$ac_dir" || { ac_status=$?; continue; }
1680 # Check for guested configure.
1681 if test -f "$ac_srcdir/configure.gnu"; then
1682 echo &&
1683 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1684 elif test -f "$ac_srcdir/configure"; then
1685 echo &&
1686 $SHELL "$ac_srcdir/configure" --help=recursive
1687 else
1688 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1689 fi || ac_status=$?
1690 cd "$ac_pwd" || { ac_status=$?; break; }
1691 done
1694 test -n "$ac_init_help" && exit $ac_status
1695 if $ac_init_version; then
1696 cat <<\_ACEOF
1697 configure
1698 generated by GNU Autoconf 2.64
1700 Copyright (C) 2009 Free Software Foundation, Inc.
1701 This configure script is free software; the Free Software Foundation
1702 gives unlimited permission to copy, distribute and modify it.
1703 _ACEOF
1704 exit
1707 ## ------------------------ ##
1708 ## Autoconf initialization. ##
1709 ## ------------------------ ##
1711 # ac_fn_c_try_compile LINENO
1712 # --------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_c_try_compile ()
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext
1718 if { { ac_try="$ac_compile"
1719 case "(($ac_try" in
1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1722 esac
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_compile") 2>conftest.err
1726 ac_status=$?
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_c_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest.$ac_objext; then :
1737 ac_retval=0
1738 else
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1742 ac_retval=1
1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1745 return $ac_retval
1747 } # ac_fn_c_try_compile
1749 # ac_fn_cxx_try_compile LINENO
1750 # ----------------------------
1751 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1752 ac_fn_cxx_try_compile ()
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 rm -f conftest.$ac_objext
1756 if { { ac_try="$ac_compile"
1757 case "(($ac_try" in
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_compile") 2>conftest.err
1764 ac_status=$?
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && {
1772 test -z "$ac_cxx_werror_flag" ||
1773 test ! -s conftest.err
1774 } && test -s conftest.$ac_objext; then :
1775 ac_retval=0
1776 else
1777 $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1780 ac_retval=1
1782 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1783 return $ac_retval
1785 } # ac_fn_cxx_try_compile
1787 # ac_fn_cxx_try_link LINENO
1788 # -------------------------
1789 # Try to link conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_cxx_try_link ()
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 rm -f conftest.$ac_objext conftest$ac_exeext
1794 if { { ac_try="$ac_link"
1795 case "(($ac_try" in
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1798 esac
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_link") 2>conftest.err
1802 ac_status=$?
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } && {
1810 test -z "$ac_cxx_werror_flag" ||
1811 test ! -s conftest.err
1812 } && test -s conftest$ac_exeext && {
1813 test "$cross_compiling" = yes ||
1814 $as_test_x conftest$ac_exeext
1815 }; then :
1816 ac_retval=0
1817 else
1818 $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.$ac_ext >&5
1821 ac_retval=1
1823 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1824 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1825 # interfere with the next link command; also delete a directory that is
1826 # left behind by Apple's compiler. We do this before executing the actions.
1827 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1828 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1829 return $ac_retval
1831 } # ac_fn_cxx_try_link
1833 # ac_fn_c_try_link LINENO
1834 # -----------------------
1835 # Try to link conftest.$ac_ext, and return whether this succeeded.
1836 ac_fn_c_try_link ()
1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839 rm -f conftest.$ac_objext conftest$ac_exeext
1840 if { { ac_try="$ac_link"
1841 case "(($ac_try" in
1842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1843 *) ac_try_echo=$ac_try;;
1844 esac
1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_link") 2>conftest.err
1848 ac_status=$?
1849 if test -s conftest.err; then
1850 grep -v '^ *+' conftest.err >conftest.er1
1851 cat conftest.er1 >&5
1852 mv -f conftest.er1 conftest.err
1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1855 test $ac_status = 0; } && {
1856 test -z "$ac_c_werror_flag" ||
1857 test ! -s conftest.err
1858 } && test -s conftest$ac_exeext && {
1859 test "$cross_compiling" = yes ||
1860 $as_test_x conftest$ac_exeext
1861 }; then :
1862 ac_retval=0
1863 else
1864 $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1867 ac_retval=1
1869 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1870 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1871 # interfere with the next link command; also delete a directory that is
1872 # left behind by Apple's compiler. We do this before executing the actions.
1873 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1874 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1875 return $ac_retval
1877 } # ac_fn_c_try_link
1879 # ac_fn_c_try_run LINENO
1880 # ----------------------
1881 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1882 # that executables *can* be run.
1883 ac_fn_c_try_run ()
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 if { { ac_try="$ac_link"
1887 case "(($ac_try" in
1888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1889 *) ac_try_echo=$ac_try;;
1890 esac
1891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_link") 2>&5
1894 ac_status=$?
1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1897 { { case "(($ac_try" in
1898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1899 *) ac_try_echo=$ac_try;;
1900 esac
1901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902 $as_echo "$ac_try_echo"; } >&5
1903 (eval "$ac_try") 2>&5
1904 ac_status=$?
1905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1906 test $ac_status = 0; }; }; then :
1907 ac_retval=0
1908 else
1909 $as_echo "$as_me: program exited with status $ac_status" >&5
1910 $as_echo "$as_me: failed program was:" >&5
1911 sed 's/^/| /' conftest.$ac_ext >&5
1913 ac_retval=$ac_status
1915 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1916 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1917 return $ac_retval
1919 } # ac_fn_c_try_run
1920 cat >config.log <<_ACEOF
1921 This file contains any messages produced by compilers while
1922 running configure, to aid debugging if configure makes a mistake.
1924 It was created by $as_me, which was
1925 generated by GNU Autoconf 2.64. Invocation command line was
1927 $ $0 $@
1929 _ACEOF
1930 exec 5>>config.log
1932 cat <<_ASUNAME
1933 ## --------- ##
1934 ## Platform. ##
1935 ## --------- ##
1937 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1938 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1939 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1940 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1941 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1943 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1944 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1946 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1947 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1948 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1949 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1950 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1951 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1952 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1954 _ASUNAME
1956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1957 for as_dir in $PATH
1959 IFS=$as_save_IFS
1960 test -z "$as_dir" && as_dir=.
1961 $as_echo "PATH: $as_dir"
1962 done
1963 IFS=$as_save_IFS
1965 } >&5
1967 cat >&5 <<_ACEOF
1970 ## ----------- ##
1971 ## Core tests. ##
1972 ## ----------- ##
1974 _ACEOF
1977 # Keep a trace of the command line.
1978 # Strip out --no-create and --no-recursion so they do not pile up.
1979 # Strip out --silent because we don't want to record it for future runs.
1980 # Also quote any args containing shell meta-characters.
1981 # Make two passes to allow for proper duplicate-argument suppression.
1982 ac_configure_args=
1983 ac_configure_args0=
1984 ac_configure_args1=
1985 ac_must_keep_next=false
1986 for ac_pass in 1 2
1988 for ac_arg
1990 case $ac_arg in
1991 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1993 | -silent | --silent | --silen | --sile | --sil)
1994 continue ;;
1995 *\'*)
1996 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1997 esac
1998 case $ac_pass in
1999 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2001 as_fn_append ac_configure_args1 " '$ac_arg'"
2002 if test $ac_must_keep_next = true; then
2003 ac_must_keep_next=false # Got value, back to normal.
2004 else
2005 case $ac_arg in
2006 *=* | --config-cache | -C | -disable-* | --disable-* \
2007 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2008 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2009 | -with-* | --with-* | -without-* | --without-* | --x)
2010 case "$ac_configure_args0 " in
2011 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2012 esac
2014 -* ) ac_must_keep_next=true ;;
2015 esac
2017 as_fn_append ac_configure_args " '$ac_arg'"
2019 esac
2020 done
2021 done
2022 { ac_configure_args0=; unset ac_configure_args0;}
2023 { ac_configure_args1=; unset ac_configure_args1;}
2025 # When interrupted or exit'd, cleanup temporary files, and complete
2026 # config.log. We remove comments because anyway the quotes in there
2027 # would cause problems or look ugly.
2028 # WARNING: Use '\'' to represent an apostrophe within the trap.
2029 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2030 trap 'exit_status=$?
2031 # Save into config.log some information that might help in debugging.
2033 echo
2035 cat <<\_ASBOX
2036 ## ---------------- ##
2037 ## Cache variables. ##
2038 ## ---------------- ##
2039 _ASBOX
2040 echo
2041 # The following way of writing the cache mishandles newlines in values,
2043 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2044 eval ac_val=\$$ac_var
2045 case $ac_val in #(
2046 *${as_nl}*)
2047 case $ac_var in #(
2048 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2049 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2050 esac
2051 case $ac_var in #(
2052 _ | IFS | as_nl) ;; #(
2053 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2054 *) { eval $ac_var=; unset $ac_var;} ;;
2055 esac ;;
2056 esac
2057 done
2058 (set) 2>&1 |
2059 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2060 *${as_nl}ac_space=\ *)
2061 sed -n \
2062 "s/'\''/'\''\\\\'\'''\''/g;
2063 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2064 ;; #(
2066 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2068 esac |
2069 sort
2071 echo
2073 cat <<\_ASBOX
2074 ## ----------------- ##
2075 ## Output variables. ##
2076 ## ----------------- ##
2077 _ASBOX
2078 echo
2079 for ac_var in $ac_subst_vars
2081 eval ac_val=\$$ac_var
2082 case $ac_val in
2083 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2084 esac
2085 $as_echo "$ac_var='\''$ac_val'\''"
2086 done | sort
2087 echo
2089 if test -n "$ac_subst_files"; then
2090 cat <<\_ASBOX
2091 ## ------------------- ##
2092 ## File substitutions. ##
2093 ## ------------------- ##
2094 _ASBOX
2095 echo
2096 for ac_var in $ac_subst_files
2098 eval ac_val=\$$ac_var
2099 case $ac_val in
2100 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2101 esac
2102 $as_echo "$ac_var='\''$ac_val'\''"
2103 done | sort
2104 echo
2107 if test -s confdefs.h; then
2108 cat <<\_ASBOX
2109 ## ----------- ##
2110 ## confdefs.h. ##
2111 ## ----------- ##
2112 _ASBOX
2113 echo
2114 cat confdefs.h
2115 echo
2117 test "$ac_signal" != 0 &&
2118 $as_echo "$as_me: caught signal $ac_signal"
2119 $as_echo "$as_me: exit $exit_status"
2120 } >&5
2121 rm -f core *.core core.conftest.* &&
2122 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2123 exit $exit_status
2125 for ac_signal in 1 2 13 15; do
2126 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2127 done
2128 ac_signal=0
2130 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2131 rm -f -r conftest* confdefs.h
2133 $as_echo "/* confdefs.h */" > confdefs.h
2135 # Predefined preprocessor variables.
2137 cat >>confdefs.h <<_ACEOF
2138 #define PACKAGE_NAME "$PACKAGE_NAME"
2139 _ACEOF
2141 cat >>confdefs.h <<_ACEOF
2142 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2143 _ACEOF
2145 cat >>confdefs.h <<_ACEOF
2146 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2147 _ACEOF
2149 cat >>confdefs.h <<_ACEOF
2150 #define PACKAGE_STRING "$PACKAGE_STRING"
2151 _ACEOF
2153 cat >>confdefs.h <<_ACEOF
2154 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2155 _ACEOF
2157 cat >>confdefs.h <<_ACEOF
2158 #define PACKAGE_URL "$PACKAGE_URL"
2159 _ACEOF
2162 # Let the site file select an alternate cache file if it wants to.
2163 # Prefer an explicitly selected file to automatically selected ones.
2164 ac_site_file1=NONE
2165 ac_site_file2=NONE
2166 if test -n "$CONFIG_SITE"; then
2167 ac_site_file1=$CONFIG_SITE
2168 elif test "x$prefix" != xNONE; then
2169 ac_site_file1=$prefix/share/config.site
2170 ac_site_file2=$prefix/etc/config.site
2171 else
2172 ac_site_file1=$ac_default_prefix/share/config.site
2173 ac_site_file2=$ac_default_prefix/etc/config.site
2175 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2177 test "x$ac_site_file" = xNONE && continue
2178 if test -r "$ac_site_file"; then
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2180 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2181 sed 's/^/| /' "$ac_site_file" >&5
2182 . "$ac_site_file"
2184 done
2186 if test -r "$cache_file"; then
2187 # Some versions of bash will fail to source /dev/null (special
2188 # files actually), so we avoid doing that.
2189 if test -f "$cache_file"; then
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2191 $as_echo "$as_me: loading cache $cache_file" >&6;}
2192 case $cache_file in
2193 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2194 *) . "./$cache_file";;
2195 esac
2197 else
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2199 $as_echo "$as_me: creating cache $cache_file" >&6;}
2200 >$cache_file
2203 # Check that the precious variables saved in the cache have kept the same
2204 # value.
2205 ac_cache_corrupted=false
2206 for ac_var in $ac_precious_vars; do
2207 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2208 eval ac_new_set=\$ac_env_${ac_var}_set
2209 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2210 eval ac_new_val=\$ac_env_${ac_var}_value
2211 case $ac_old_set,$ac_new_set in
2212 set,)
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2214 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2215 ac_cache_corrupted=: ;;
2216 ,set)
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2218 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2219 ac_cache_corrupted=: ;;
2220 ,);;
2222 if test "x$ac_old_val" != "x$ac_new_val"; then
2223 # differences in whitespace do not lead to failure.
2224 ac_old_val_w=`echo x $ac_old_val`
2225 ac_new_val_w=`echo x $ac_new_val`
2226 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2228 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2229 ac_cache_corrupted=:
2230 else
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2232 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2233 eval $ac_var=\$ac_old_val
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2236 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2238 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2239 fi;;
2240 esac
2241 # Pass precious variables to config.status.
2242 if test "$ac_new_set" = set; then
2243 case $ac_new_val in
2244 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2245 *) ac_arg=$ac_var=$ac_new_val ;;
2246 esac
2247 case " $ac_configure_args " in
2248 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2249 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2250 esac
2252 done
2253 if $ac_cache_corrupted; then
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2257 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2258 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2260 ## -------------------- ##
2261 ## Main body of script. ##
2262 ## -------------------- ##
2264 ac_ext=c
2265 ac_cpp='$CPP $CPPFLAGS'
2266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2278 progname=$0
2279 # if PWD already has a value, it is probably wrong.
2280 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2282 # Export original configure arguments for use by sub-configures.
2283 # Quote arguments with shell meta charatcers.
2284 TOPLEVEL_CONFIGURE_ARGUMENTS=
2285 set -- "$progname" "$@"
2286 for ac_arg
2288 case "$ac_arg" in
2289 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2290 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2291 # if the argument is of the form -foo=baz, quote the baz part only
2292 ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2293 *) ;;
2294 esac
2295 # Add the quoted argument to the list.
2296 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2297 done
2298 if test "$silent" = yes; then
2299 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2301 # Remove the initial space we just introduced and, as these will be
2302 # expanded by make, quote '$'.
2303 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2306 # Find the build, host, and target systems.
2307 ac_aux_dir=
2308 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2309 for ac_t in install-sh install.sh shtool; do
2310 if test -f "$ac_dir/$ac_t"; then
2311 ac_aux_dir=$ac_dir
2312 ac_install_sh="$ac_aux_dir/$ac_t -c"
2313 break 2
2315 done
2316 done
2317 if test -z "$ac_aux_dir"; then
2318 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2321 # These three variables are undocumented and unsupported,
2322 # and are intended to be withdrawn in a future Autoconf release.
2323 # They can cause serious problems if a builder's source tree is in a directory
2324 # whose full name contains unusual characters.
2325 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2326 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2327 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2330 # Make sure we can run config.sub.
2331 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2332 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2335 $as_echo_n "checking build system type... " >&6; }
2336 if test "${ac_cv_build+set}" = set; then :
2337 $as_echo_n "(cached) " >&6
2338 else
2339 ac_build_alias=$build_alias
2340 test "x$ac_build_alias" = x &&
2341 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2342 test "x$ac_build_alias" = x &&
2343 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2344 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2345 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2349 $as_echo "$ac_cv_build" >&6; }
2350 case $ac_cv_build in
2351 *-*-*) ;;
2352 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2353 esac
2354 build=$ac_cv_build
2355 ac_save_IFS=$IFS; IFS='-'
2356 set x $ac_cv_build
2357 shift
2358 build_cpu=$1
2359 build_vendor=$2
2360 shift; shift
2361 # Remember, the first character of IFS is used to create $*,
2362 # except with old shells:
2363 build_os=$*
2364 IFS=$ac_save_IFS
2365 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2368 case ${build_alias} in
2369 "") build_noncanonical=${build} ;;
2370 *) build_noncanonical=${build_alias} ;;
2371 esac
2375 case ${host_alias} in
2376 "") host_noncanonical=${build_noncanonical} ;;
2377 *) host_noncanonical=${host_alias} ;;
2378 esac
2382 case ${target_alias} in
2383 "") target_noncanonical=${host_noncanonical} ;;
2384 *) target_noncanonical=${target_alias} ;;
2385 esac
2390 test "$host_noncanonical" = "$target_noncanonical" &&
2391 test "$program_prefix$program_suffix$program_transform_name" = \
2392 NONENONEs,x,x, &&
2393 program_transform_name=s,y,y,
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2396 $as_echo_n "checking host system type... " >&6; }
2397 if test "${ac_cv_host+set}" = set; then :
2398 $as_echo_n "(cached) " >&6
2399 else
2400 if test "x$host_alias" = x; then
2401 ac_cv_host=$ac_cv_build
2402 else
2403 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2404 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2409 $as_echo "$ac_cv_host" >&6; }
2410 case $ac_cv_host in
2411 *-*-*) ;;
2412 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2413 esac
2414 host=$ac_cv_host
2415 ac_save_IFS=$IFS; IFS='-'
2416 set x $ac_cv_host
2417 shift
2418 host_cpu=$1
2419 host_vendor=$2
2420 shift; shift
2421 # Remember, the first character of IFS is used to create $*,
2422 # except with old shells:
2423 host_os=$*
2424 IFS=$ac_save_IFS
2425 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2429 $as_echo_n "checking target system type... " >&6; }
2430 if test "${ac_cv_target+set}" = set; then :
2431 $as_echo_n "(cached) " >&6
2432 else
2433 if test "x$target_alias" = x; then
2434 ac_cv_target=$ac_cv_host
2435 else
2436 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2437 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2442 $as_echo "$ac_cv_target" >&6; }
2443 case $ac_cv_target in
2444 *-*-*) ;;
2445 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2446 esac
2447 target=$ac_cv_target
2448 ac_save_IFS=$IFS; IFS='-'
2449 set x $ac_cv_target
2450 shift
2451 target_cpu=$1
2452 target_vendor=$2
2453 shift; shift
2454 # Remember, the first character of IFS is used to create $*,
2455 # except with old shells:
2456 target_os=$*
2457 IFS=$ac_save_IFS
2458 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2461 # The aliases save the names the user supplied, while $host etc.
2462 # will get canonicalized.
2463 test -n "$target_alias" &&
2464 test "$program_prefix$program_suffix$program_transform_name" = \
2465 NONENONEs,x,x, &&
2466 program_prefix=${target_alias}-
2468 test "$program_prefix" != NONE &&
2469 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2470 # Use a double $ so make ignores it.
2471 test "$program_suffix" != NONE &&
2472 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2473 # Double any \ or $.
2474 # By default was `s,x,x', remove it if useless.
2475 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2476 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2480 # Get 'install' or 'install-sh' and its variants.
2481 # Find a good install program. We prefer a C program (faster),
2482 # so one script is as good as another. But avoid the broken or
2483 # incompatible versions:
2484 # SysV /etc/install, /usr/sbin/install
2485 # SunOS /usr/etc/install
2486 # IRIX /sbin/install
2487 # AIX /bin/install
2488 # AmigaOS /C/install, which installs bootblocks on floppy discs
2489 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2490 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2491 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2492 # OS/2's system install, which has a completely different semantic
2493 # ./install, which can be erroneously created by make from ./install.sh.
2494 # Reject install programs that cannot install multiple files.
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2496 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2497 if test -z "$INSTALL"; then
2498 if test "${ac_cv_path_install+set}" = set; then :
2499 $as_echo_n "(cached) " >&6
2500 else
2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2502 for as_dir in $PATH
2504 IFS=$as_save_IFS
2505 test -z "$as_dir" && as_dir=.
2506 # Account for people who put trailing slashes in PATH elements.
2507 case $as_dir/ in #((
2508 ./ | .// | /[cC]/* | \
2509 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2510 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2511 /usr/ucb/* ) ;;
2513 # OSF1 and SCO ODT 3.0 have their own names for install.
2514 # Don't use installbsd from OSF since it installs stuff as root
2515 # by default.
2516 for ac_prog in ginstall scoinst install; do
2517 for ac_exec_ext in '' $ac_executable_extensions; do
2518 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2519 if test $ac_prog = install &&
2520 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2521 # AIX install. It has an incompatible calling convention.
2523 elif test $ac_prog = install &&
2524 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2525 # program-specific install script used by HP pwplus--don't use.
2527 else
2528 rm -rf conftest.one conftest.two conftest.dir
2529 echo one > conftest.one
2530 echo two > conftest.two
2531 mkdir conftest.dir
2532 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2533 test -s conftest.one && test -s conftest.two &&
2534 test -s conftest.dir/conftest.one &&
2535 test -s conftest.dir/conftest.two
2536 then
2537 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2538 break 3
2542 done
2543 done
2545 esac
2547 done
2548 IFS=$as_save_IFS
2550 rm -rf conftest.one conftest.two conftest.dir
2553 if test "${ac_cv_path_install+set}" = set; then
2554 INSTALL=$ac_cv_path_install
2555 else
2556 # As a last resort, use the slow shell script. Don't cache a
2557 # value for INSTALL within a source directory, because that will
2558 # break other packages using the cache if that directory is
2559 # removed, or if the value is a relative name.
2560 INSTALL=$ac_install_sh
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2564 $as_echo "$INSTALL" >&6; }
2566 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2567 # It thinks the first close brace ends the variable substitution.
2568 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2570 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2572 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2575 $as_echo_n "checking whether ln works... " >&6; }
2576 if test "${acx_cv_prog_LN+set}" = set; then :
2577 $as_echo_n "(cached) " >&6
2578 else
2579 rm -f conftestdata_t
2580 echo >conftestdata_f
2581 if ln conftestdata_f conftestdata_t 2>/dev/null
2582 then
2583 acx_cv_prog_LN=ln
2584 else
2585 acx_cv_prog_LN=no
2587 rm -f conftestdata_f conftestdata_t
2590 if test $acx_cv_prog_LN = no; then
2591 LN="cp"
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2593 $as_echo "no, using $LN" >&6; }
2594 else
2595 LN="$acx_cv_prog_LN"
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2597 $as_echo "yes" >&6; }
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2601 $as_echo_n "checking whether ln -s works... " >&6; }
2602 LN_S=$as_ln_s
2603 if test "$LN_S" = "ln -s"; then
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2605 $as_echo "yes" >&6; }
2606 else
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2608 $as_echo "no, using $LN_S" >&6; }
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2612 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2613 if test "${ac_cv_path_SED+set}" = set; then :
2614 $as_echo_n "(cached) " >&6
2615 else
2616 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2617 for ac_i in 1 2 3 4 5 6 7; do
2618 ac_script="$ac_script$as_nl$ac_script"
2619 done
2620 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2621 { ac_script=; unset ac_script;}
2622 if test -z "$SED"; then
2623 ac_path_SED_found=false
2624 # Loop through the user's path and test for each of PROGNAME-LIST
2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 for as_dir in $PATH
2628 IFS=$as_save_IFS
2629 test -z "$as_dir" && as_dir=.
2630 for ac_prog in sed gsed; do
2631 for ac_exec_ext in '' $ac_executable_extensions; do
2632 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2633 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2634 # Check for GNU ac_path_SED and select it if it is found.
2635 # Check for GNU $ac_path_SED
2636 case `"$ac_path_SED" --version 2>&1` in
2637 *GNU*)
2638 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2640 ac_count=0
2641 $as_echo_n 0123456789 >"conftest.in"
2642 while :
2644 cat "conftest.in" "conftest.in" >"conftest.tmp"
2645 mv "conftest.tmp" "conftest.in"
2646 cp "conftest.in" "conftest.nl"
2647 $as_echo '' >> "conftest.nl"
2648 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2649 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2650 as_fn_arith $ac_count + 1 && ac_count=$as_val
2651 if test $ac_count -gt ${ac_path_SED_max-0}; then
2652 # Best one so far, save it but keep looking for a better one
2653 ac_cv_path_SED="$ac_path_SED"
2654 ac_path_SED_max=$ac_count
2656 # 10*(2^10) chars as input seems more than enough
2657 test $ac_count -gt 10 && break
2658 done
2659 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2660 esac
2662 $ac_path_SED_found && break 3
2663 done
2664 done
2665 done
2666 IFS=$as_save_IFS
2667 if test -z "$ac_cv_path_SED"; then
2668 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
2670 else
2671 ac_cv_path_SED=$SED
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2676 $as_echo "$ac_cv_path_SED" >&6; }
2677 SED="$ac_cv_path_SED"
2678 rm -f conftest.sed
2680 for ac_prog in gawk mawk nawk awk
2682 # Extract the first word of "$ac_prog", so it can be a program name with args.
2683 set dummy $ac_prog; ac_word=$2
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2685 $as_echo_n "checking for $ac_word... " >&6; }
2686 if test "${ac_cv_prog_AWK+set}" = set; then :
2687 $as_echo_n "(cached) " >&6
2688 else
2689 if test -n "$AWK"; then
2690 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2691 else
2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2693 for as_dir in $PATH
2695 IFS=$as_save_IFS
2696 test -z "$as_dir" && as_dir=.
2697 for ac_exec_ext in '' $ac_executable_extensions; do
2698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2699 ac_cv_prog_AWK="$ac_prog"
2700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 break 2
2703 done
2704 done
2705 IFS=$as_save_IFS
2709 AWK=$ac_cv_prog_AWK
2710 if test -n "$AWK"; then
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2712 $as_echo "$AWK" >&6; }
2713 else
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715 $as_echo "no" >&6; }
2719 test -n "$AWK" && break
2720 done
2723 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2725 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2726 # a relative path.
2727 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2728 INSTALL="${srcpwd}/install-sh -c"
2731 # Set srcdir to "." if that's what it is.
2732 # This is important for multilib support.
2733 pwd=`${PWDCMD-pwd}`
2734 if test "${pwd}" = "${srcpwd}" ; then
2735 srcdir=.
2738 topsrcdir=$srcpwd
2740 extra_host_args=
2742 ### To add a new directory to the tree, first choose whether it is a target
2743 ### or a host dependent tool. Then put it into the appropriate list
2744 ### (library or tools, host or target), doing a dependency sort.
2746 # Subdirs will be configured in the order listed in build_configdirs,
2747 # configdirs, or target_configdirs; see the serialization section below.
2749 # Dependency sorting is only needed when *configuration* must be done in
2750 # a particular order. In all cases a dependency should be specified in
2751 # the Makefile, whether or not it's implicitly specified here.
2753 # Double entries in build_configdirs, configdirs, or target_configdirs may
2754 # cause circular dependencies and break everything horribly.
2756 # these library is used by various programs built for the build
2757 # environment
2759 build_libs="build-libiberty"
2761 # these tools are built for the build environment
2762 build_tools="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2764 # these libraries are used by various programs built for the host environment
2766 host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
2768 # these tools are built for the host environment
2769 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2770 # know that we are building the simulator.
2771 # binutils, gas and ld appear in that order because it makes sense to run
2772 # "make check" in that particular order.
2773 # If --enable-gold is used, "gold" may replace "ld".
2774 host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2776 # libgcj represents the runtime libraries only used by gcj.
2777 libgcj="target-libffi \
2778 target-zlib \
2779 target-libjava"
2781 # these libraries are built for the target environment, and are built after
2782 # the host libraries and the host tools (which may be a cross compiler)
2783 # Note that libiberty is not a target library.
2784 target_libraries="target-libgcc \
2785 target-libbacktrace \
2786 target-libgloss \
2787 target-newlib \
2788 target-libgomp \
2789 target-libcilkrts \
2790 target-libatomic \
2791 target-libitm \
2792 target-libstdc++-v3 \
2793 target-libsanitizer \
2794 target-libvtv \
2795 target-libssp \
2796 target-libquadmath \
2797 target-libgfortran \
2798 target-boehm-gc \
2799 ${libgcj} \
2800 target-libobjc \
2801 target-libgupc \
2802 target-libada \
2803 target-libgo"
2805 # these tools are built using the target libraries, and are intended to
2806 # run only in the target environment
2808 # note: any program that *uses* libraries that are in the "target_libraries"
2809 # list belongs in this list.
2811 target_tools="target-rda"
2813 ################################################################################
2815 ## All tools belong in one of the four categories, and are assigned above
2816 ## We assign ${configdirs} this way to remove all embedded newlines. This
2817 ## is important because configure will choke if they ever get through.
2818 ## ${configdirs} is directories we build using the host tools.
2819 ## ${target_configdirs} is directories we build using the target tools.
2820 configdirs=`echo ${host_libs} ${host_tools}`
2821 target_configdirs=`echo ${target_libraries} ${target_tools}`
2822 build_configdirs=`echo ${build_libs} ${build_tools}`
2826 ################################################################################
2828 srcname="gnu development package"
2830 # This gets set non-empty for some net releases of packages.
2831 appdirs=""
2833 # Define is_cross_compiler to save on calls to 'test'.
2834 is_cross_compiler=
2835 if test x"${host}" = x"${target}" ; then
2836 is_cross_compiler=no
2837 else
2838 is_cross_compiler=yes
2841 # Find the build and target subdir names.
2843 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2844 # have matching libraries, they should use host libraries: Makefile.tpl
2845 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2846 # However, they still use the build modules, because the corresponding
2847 # host modules (e.g. bison) are only built for the host when bootstrap
2848 # finishes. So:
2849 # - build_subdir is where we find build modules, and never changes.
2850 # - build_libsubdir is where we find build libraries, and can be overridden.
2852 # Prefix 'build-' so this never conflicts with target_subdir.
2853 build_subdir="build-${build_noncanonical}"
2855 # Check whether --with-build-libsubdir was given.
2856 if test "${with_build_libsubdir+set}" = set; then :
2857 withval=$with_build_libsubdir; build_libsubdir="$withval"
2858 else
2859 build_libsubdir="$build_subdir"
2862 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2863 if ( test $srcdir = . && test -d gcc ) \
2864 || test -d $srcdir/../host-${host_noncanonical}; then
2865 host_subdir="host-${host_noncanonical}"
2866 else
2867 host_subdir=.
2869 # No prefix.
2870 target_subdir=${target_noncanonical}
2872 # Be sure to cover against remnants of an in-tree build.
2873 if test $srcdir != . && test -d $srcdir/host-${host_noncanonical}; then
2874 as_fn_error "building out of tree but $srcdir contains host-${host_noncanonical}.
2875 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2878 # Skipdirs are removed silently.
2879 skipdirs=
2880 # Noconfigdirs are removed loudly.
2881 noconfigdirs=""
2883 use_gnu_ld=
2884 # Make sure we don't let GNU ld be added if we didn't want it.
2885 if test x$with_gnu_ld = xno ; then
2886 use_gnu_ld=no
2887 noconfigdirs="$noconfigdirs ld gold"
2890 use_gnu_as=
2891 # Make sure we don't let GNU as be added if we didn't want it.
2892 if test x$with_gnu_as = xno ; then
2893 use_gnu_as=no
2894 noconfigdirs="$noconfigdirs gas"
2897 use_included_zlib=
2898 # Make sure we don't let ZLIB be added if we didn't want it.
2899 if test x$with_system_zlib = xyes ; then
2900 use_included_zlib=no
2901 noconfigdirs="$noconfigdirs zlib"
2904 # some tools are so dependent upon X11 that if we're not building with X,
2905 # it's not even worth trying to configure, much less build, that tool.
2907 case ${with_x} in
2908 yes | "") ;; # the default value for this tree is that X11 is available
2910 skipdirs="${skipdirs} tk itcl libgui"
2911 # We won't be able to build gdbtk without X.
2912 enable_gdbtk=no
2914 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2915 esac
2917 # Some are only suitable for cross toolchains.
2918 # Remove these if host=target.
2919 cross_only="target-libgloss target-newlib target-opcodes"
2921 case $is_cross_compiler in
2922 no) skipdirs="${skipdirs} ${cross_only}" ;;
2923 esac
2925 # If both --with-headers and --with-libs are specified, default to
2926 # --without-newlib.
2927 if test x"${with_headers}" != x && test x"${with_headers}" != xno \
2928 && test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
2929 if test x"${with_newlib}" = x ; then
2930 with_newlib=no
2934 # Recognize --with-newlib/--without-newlib.
2935 case ${with_newlib} in
2936 no) skipdirs="${skipdirs} target-newlib" ;;
2937 yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2938 esac
2940 # Handle --enable-gold, --enable-ld.
2941 # --disable-gold [--enable-ld]
2942 # Build only ld. Default option.
2943 # --enable-gold [--enable-ld]
2944 # Build both gold and ld. Install gold as "ld.gold", install ld
2945 # as "ld.bfd" and "ld".
2946 # --enable-gold=default [--enable-ld]
2947 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2948 # install ld as "ld.bfd".
2949 # --enable-gold[=default] --disable-ld
2950 # Build only gold, which is then installed as both "ld.gold" and "ld".
2951 # --enable-gold --enable-ld=default
2952 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2953 # and ld.bfd).
2954 # In other words, ld is default
2955 # --enable-gold=default --enable-ld=default
2956 # Error.
2958 default_ld=
2959 # Check whether --enable-gold was given.
2960 if test "${enable_gold+set}" = set; then :
2961 enableval=$enable_gold; ENABLE_GOLD=$enableval
2962 else
2963 ENABLE_GOLD=no
2966 case "${ENABLE_GOLD}" in
2967 yes|default)
2968 # Check for ELF target.
2969 is_elf=no
2970 case "${target}" in
2971 *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
2972 | *-*-linux* | *-*-gnu* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
2973 | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* \
2974 | *-*-solaris2* | *-*-nto* | *-*-nacl*)
2975 case "${target}" in
2976 *-*-linux*aout* | *-*-linux*oldld*)
2979 is_elf=yes
2981 esac
2982 esac
2984 if test "$is_elf" = "yes"; then
2985 # Check for target supported by gold.
2986 case "${target}" in
2987 i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* | tilegx*-*-*)
2988 configdirs="$configdirs gold"
2989 if test x${ENABLE_GOLD} = xdefault; then
2990 default_ld=gold
2992 ENABLE_GOLD=yes
2994 esac
3000 as_fn_error "invalid --enable-gold argument" "$LINENO" 5
3002 esac
3004 # Check whether --enable-ld was given.
3005 if test "${enable_ld+set}" = set; then :
3006 enableval=$enable_ld; ENABLE_LD=$enableval
3007 else
3008 ENABLE_LD=yes
3012 case "${ENABLE_LD}" in
3013 default)
3014 if test x${default_ld} != x; then
3015 as_fn_error "either gold or ld can be the default ld" "$LINENO" 5
3018 yes)
3021 if test x${ENABLE_GOLD} != xyes; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3023 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3025 configdirs=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3028 as_fn_error "invalid --enable-ld argument" "$LINENO" 5
3030 esac
3032 # Configure extra directories which are host specific
3034 case "${host}" in
3035 *-cygwin*)
3036 configdirs="$configdirs libtermcap" ;;
3037 esac
3039 # A target can indicate whether a language isn't supported for some reason.
3040 # Only spaces may be used in this macro; not newlines or tabs.
3041 unsupported_languages=
3043 # Remove more programs from consideration, based on the host or
3044 # target this usually means that a port of the program doesn't
3045 # exist yet.
3047 case "${host}" in
3048 i[3456789]86-*-msdosdjgpp*)
3049 noconfigdirs="$noconfigdirs tcl tk itcl"
3051 esac
3054 # Check whether --enable-libquadmath was given.
3055 if test "${enable_libquadmath+set}" = set; then :
3056 enableval=$enable_libquadmath; ENABLE_LIBQUADMATH=$enableval
3057 else
3058 ENABLE_LIBQUADMATH=yes
3061 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3062 noconfigdirs="$noconfigdirs target-libquadmath"
3066 # Check whether --enable-libquadmath-support was given.
3067 if test "${enable_libquadmath_support+set}" = set; then :
3068 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
3069 else
3070 ENABLE_LIBQUADMATH_SUPPORT=yes
3073 enable_libquadmath_support=
3074 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3075 enable_libquadmath_support=no
3079 # Check whether --enable-libada was given.
3080 if test "${enable_libada+set}" = set; then :
3081 enableval=$enable_libada; ENABLE_LIBADA=$enableval
3082 else
3083 ENABLE_LIBADA=yes
3086 if test "${ENABLE_LIBADA}" != "yes" ; then
3087 noconfigdirs="$noconfigdirs gnattools"
3090 # Check whether --enable-libssp was given.
3091 if test "${enable_libssp+set}" = set; then :
3092 enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
3093 else
3094 ENABLE_LIBSSP=yes
3098 # Check whether --enable-libstdcxx was given.
3099 if test "${enable_libstdcxx+set}" = set; then :
3100 enableval=$enable_libstdcxx; ENABLE_LIBSTDCXX=$enableval
3101 else
3102 ENABLE_LIBSTDCXX=default
3105 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3106 noconfigdirs="$noconfigdirs libstdc++-v3"
3109 # Save it here so that, even in case of --enable-libgcj, if the Java
3110 # front-end isn't enabled, we still get libgcj disabled.
3111 libgcj_saved=$libgcj
3112 case $enable_libgcj in
3113 yes)
3114 # If we reset it here, it won't get added to noconfigdirs in the
3115 # target-specific build rules, so it will be forcibly enabled
3116 # (unless the Java language itself isn't enabled).
3117 libgcj=
3120 # Make sure we get it printed in the list of not supported target libs.
3121 # Don't disable libffi, though, other languages use it.
3122 noconfigdirs="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3123 # Clear libgcj_saved so that even if java is enabled libffi won't be
3124 # built.
3125 libgcj_saved=
3127 esac
3129 # Check whether --enable-static-libjava was given.
3130 if test "${enable_static_libjava+set}" = set; then :
3131 enableval=$enable_static_libjava; ENABLE_STATIC_LIBJAVA=$enableval
3132 else
3133 ENABLE_STATIC_LIBJAVA=no
3136 enable_static_libjava=
3137 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3138 enable_static_libjava=yes
3141 if test x$enable_static_libjava != xyes ; then
3142 EXTRA_CONFIGARGS_LIBJAVA=--disable-static
3146 posix_based_os="yes"
3147 case "${target}" in
3148 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
3150 *-*-netbsd* | *-*-freebsd* | *-*-openbsd* | *-*-dragonfly*)
3152 *-*-solaris2* | *-*-hpux11*)
3154 *-*-darwin* | *-*-aix*)
3157 posix_based_os="no"
3159 esac
3161 # Enable libgomp by default on POSIX hosted systems.
3162 if test x$enable_libgomp = x -a $posix_based_os = "no" ; then
3163 # Disable libgomp on non POSIX hosted systems.
3164 noconfigdirs="$noconfigdirs target-libgomp"
3167 # Enable libgupc by default on POSIX hosted systems.
3168 if test x$enable_libgupc = x -a $posix_based_os = "no" ; then
3169 # Disable libgupc on non POSIX hosted systems.
3170 noconfigdirs="$noconfigdirs target-libgupc"
3173 # Disable libatomic on unsupported systems.
3174 if test -d ${srcdir}/libatomic; then
3175 if test x$enable_libatomic = x; then
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3177 $as_echo_n "checking for libatomic support... " >&6; }
3178 if (srcdir=${srcdir}/libatomic; \
3179 . ${srcdir}/configure.tgt; \
3180 test -n "$UNSUPPORTED")
3181 then
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3183 $as_echo "no" >&6; }
3184 noconfigdirs="$noconfigdirs target-libatomic"
3185 else
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3187 $as_echo "yes" >&6; }
3192 # Disable libcilkrts on unsupported systems.
3193 if test -d ${srcdir}/libcilkrts; then
3194 if test x$enable_libcilkrts = x; then
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3196 $as_echo_n "checking for libcilkrts support... " >&6; }
3197 if (srcdir=${srcdir}/libcilkrts; \
3198 . ${srcdir}/configure.tgt; \
3199 test -n "$UNSUPPORTED")
3200 then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 $as_echo "no" >&6; }
3203 noconfigdirs="$noconfigdirs target-libcilkrts"
3204 else
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3206 $as_echo "yes" >&6; }
3211 # Disable libitm on unsupported systems.
3212 if test -d ${srcdir}/libitm; then
3213 if test x$enable_libitm = x; then
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3215 $as_echo_n "checking for libitm support... " >&6; }
3216 if (srcdir=${srcdir}/libitm; \
3217 . ${srcdir}/configure.tgt; \
3218 test -n "$UNSUPPORTED")
3219 then
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3221 $as_echo "no" >&6; }
3222 noconfigdirs="$noconfigdirs target-libitm"
3223 else
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3225 $as_echo "yes" >&6; }
3230 # Disable libsanitizer on unsupported systems.
3231 if test -d ${srcdir}/libsanitizer; then
3232 if test x$enable_libsanitizer = x; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3234 $as_echo_n "checking for libsanitizer support... " >&6; }
3235 if (srcdir=${srcdir}/libsanitizer; \
3236 . ${srcdir}/configure.tgt; \
3237 test -n "$UNSUPPORTED")
3238 then
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3240 $as_echo "no" >&6; }
3241 noconfigdirs="$noconfigdirs target-libsanitizer"
3242 else
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3244 $as_echo "yes" >&6; }
3249 # Disable libvtv on unsupported systems.
3250 if test -d ${srcdir}/libvtv; then
3251 if test x$enable_libvtv = x; then
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3253 $as_echo_n "checking for libvtv support... " >&6; }
3254 if (srcdir=${srcdir}/libvtv; \
3255 . ${srcdir}/configure.tgt; \
3256 test "$VTV_SUPPORTED" != "yes")
3257 then
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3260 noconfigdirs="$noconfigdirs target-libvtv"
3261 else
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3263 $as_echo "yes" >&6; }
3268 # Disable libquadmath for some systems.
3269 case "${target}" in
3270 avr-*-*)
3271 noconfigdirs="$noconfigdirs target-libquadmath"
3273 # libquadmath is unused on AIX and libquadmath build process use of
3274 # LD_LIBRARY_PATH can break AIX bootstrap.
3275 powerpc-*-aix* | rs6000-*-aix*)
3276 noconfigdirs="$noconfigdirs target-libquadmath"
3278 esac
3280 # Disable libssp for some systems.
3281 case "${target}" in
3282 avr-*-*)
3283 # No hosted I/O support.
3284 noconfigdirs="$noconfigdirs target-libssp"
3286 powerpc-*-aix* | rs6000-*-aix*)
3287 noconfigdirs="$noconfigdirs target-libssp"
3289 rl78-*-*)
3290 # libssp uses a misaligned load to trigger a fault, but the RL78
3291 # doesn't fault for those - instead, it gives a build-time error
3292 # for explicit misaligned loads.
3293 noconfigdirs="$noconfigdirs target-libssp"
3295 esac
3297 # Disable libstdc++-v3 for some systems.
3298 # Allow user to override this if they pass --enable-libstdc++-v3
3299 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3300 case "${target}" in
3301 *-*-vxworks*)
3302 # VxWorks uses the Dinkumware C++ library.
3303 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3305 arm*-wince-pe*)
3306 # the C++ libraries don't build on top of CE's C libraries
3307 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3309 avr-*-*)
3310 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3312 esac
3315 # Disable Fortran for some systems.
3316 case "${target}" in
3317 mmix-*-*)
3318 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3319 unsupported_languages="$unsupported_languages fortran"
3321 esac
3323 # Disable Java if libffi is not supported.
3324 case "${target}" in
3325 aarch64-*-*)
3327 alpha*-*-*)
3329 arm*-*-*)
3331 cris-*-*)
3333 frv-*-*)
3335 hppa*-*-linux*)
3337 hppa*-*-hpux*)
3339 i?86-*-*)
3341 ia64*-*-*)
3343 m32r*-*-*)
3345 m68k-*-*)
3347 mips*-*-rtems*)
3349 mips*-*-linux*)
3351 powerpc*-*-linux*)
3353 powerpc-*-darwin*)
3355 powerpc-*-aix* | rs6000-*-aix*)
3357 powerpc-*-freebsd*)
3359 powerpc64-*-freebsd*)
3361 powerpc*-*-rtems*)
3363 s390-*-* | s390x-*-*)
3365 sh-*-* | sh[34]*-*-*)
3367 sh64-*-* | sh5*-*-*)
3369 sparc*-*-*)
3371 x86_64-*-*)
3373 *-*-*)
3374 unsupported_languages="$unsupported_languages java"
3376 esac
3378 # Disable Java, libgcj or related libraries for some systems.
3379 case "${target}" in
3380 powerpc-*-darwin*)
3382 i[3456789]86-*-darwin*)
3384 x86_64-*-darwin[912]*)
3386 *-*-darwin*)
3387 noconfigdirs="$noconfigdirs ${libgcj}"
3389 *-*-netware*)
3390 noconfigdirs="$noconfigdirs ${libgcj}"
3392 *-*-rtems*)
3393 noconfigdirs="$noconfigdirs ${libgcj}"
3395 *-*-tpf*)
3396 noconfigdirs="$noconfigdirs ${libgcj}"
3398 *-*-uclinux*)
3399 noconfigdirs="$noconfigdirs ${libgcj}"
3401 *-*-vxworks*)
3402 noconfigdirs="$noconfigdirs ${libgcj}"
3404 alpha*-*-*vms*)
3405 noconfigdirs="$noconfigdirs ${libgcj}"
3407 arm-wince-pe)
3408 noconfigdirs="$noconfigdirs ${libgcj}"
3410 arm*-*-symbianelf*)
3411 noconfigdirs="$noconfigdirs ${libgcj}"
3413 bfin-*-*)
3414 noconfigdirs="$noconfigdirs target-boehm-gc"
3416 cris-*-* | crisv32-*-*)
3417 unsupported_languages="$unsupported_languages java"
3418 case "${target}" in
3419 *-*-linux*)
3421 *) # See PR46792 regarding target-libffi.
3422 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
3423 esac
3425 hppa*64*-*-linux*)
3426 # In this case, it's because the hppa64-linux target is for
3427 # the kernel only at this point and has no libc, and thus no
3428 # headers, crt*.o, etc., all of which are needed by these.
3429 unsupported_languages="$unsupported_languages java"
3431 hppa*64*-*-hpux*)
3432 noconfigdirs="$noconfigdirs ${libgcj}"
3434 hppa*-hp-hpux11*)
3436 hppa*-*-hpux*)
3437 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3438 # build on HP-UX 10.20.
3439 noconfigdirs="$noconfigdirs ${libgcj}"
3441 ia64*-*-*vms*)
3442 noconfigdirs="$noconfigdirs ${libgcj}"
3444 i[3456789]86-w64-mingw*)
3445 noconfigdirs="$noconfigdirs ${libgcj}"
3447 i[3456789]86-*-mingw*)
3448 noconfigdirs="$noconfigdirs ${libgcj}"
3450 x86_64-*-mingw*)
3451 noconfigdirs="$noconfigdirs ${libgcj}"
3453 mmix-*-*)
3454 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc"
3456 powerpc-*-aix*)
3457 # copied from rs6000-*-* entry
3458 noconfigdirs="$noconfigdirs ${libgcj}"
3460 rs6000-*-aix*)
3461 noconfigdirs="$noconfigdirs ${libgcj}"
3463 *-*-lynxos*)
3464 noconfigdirs="$noconfigdirs ${libgcj}"
3466 esac
3468 # Disable libgo for some systems where it is known to not work.
3469 # For testing, you can easily override this with --enable-libgo.
3470 if test x$enable_libgo = x; then
3471 case "${target}" in
3472 *-*-darwin*)
3473 # PR 46986
3474 noconfigdirs="$noconfigdirs target-libgo"
3476 *-*-cygwin* | *-*-mingw*)
3477 noconfigdirs="$noconfigdirs target-libgo"
3479 *-*-aix*)
3480 noconfigdirs="$noconfigdirs target-libgo"
3482 esac
3485 # Default libgloss CPU subdirectory.
3486 libgloss_dir="$target_cpu"
3488 case "${target}" in
3489 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
3490 libgloss_dir=wince
3492 aarch64*-*-* )
3493 libgloss_dir=aarch64
3495 arm*-*-*)
3496 libgloss_dir=arm
3498 cris-*-* | crisv32-*-*)
3499 libgloss_dir=cris
3501 hppa*-*-*)
3502 libgloss_dir=pa
3504 i[3456789]86-*-*)
3505 libgloss_dir=i386
3507 m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
3508 libgloss_dir=m68hc11
3510 m68*-*-* | fido-*-*)
3511 libgloss_dir=m68k
3513 mips*-*-*)
3514 libgloss_dir=mips
3516 powerpc*-*-*)
3517 libgloss_dir=rs6000
3519 sparc*-*-*)
3520 libgloss_dir=sparc
3522 esac
3524 # Disable newlib and libgloss for various target OSes.
3525 case "${target}" in
3526 alpha*-dec-osf*)
3527 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3529 i[3456789]86-*-linux*)
3530 # This section makes it possible to build newlib natively on linux.
3531 # If we are using a cross compiler then don't configure newlib.
3532 if test x${is_cross_compiler} != xno ; then
3533 noconfigdirs="$noconfigdirs target-newlib"
3535 noconfigdirs="$noconfigdirs target-libgloss"
3536 # If we are not using a cross compiler, do configure newlib.
3537 # Note however, that newlib will only be configured in this situation
3538 # if the --with-newlib option has been given, because otherwise
3539 # 'target-newlib' will appear in skipdirs.
3541 i[3456789]86-*-rdos*)
3542 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3544 sh*-*-pe|mips*-*-pe|arm-wince-pe)
3545 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3547 sparc-*-sunos4*)
3548 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3550 *-*-aix*)
3551 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3553 *-*-beos*)
3554 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3556 *-*-chorusos)
3557 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3559 *-*-dragonfly*)
3560 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3562 *-*-freebsd*)
3563 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3565 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
3566 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3568 *-*-lynxos*)
3569 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3571 *-*-mingw*)
3572 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3574 *-*-netbsd*)
3575 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3577 *-*-netware*)
3578 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3580 *-*-tpf*)
3581 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3583 *-*-uclinux*)
3584 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3586 *-*-vxworks*)
3587 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3589 esac
3591 case "${target}" in
3592 *-*-chorusos)
3594 powerpc-*-darwin*)
3595 noconfigdirs="$noconfigdirs ld gas gdb gprof"
3596 noconfigdirs="$noconfigdirs sim target-rda"
3598 i[3456789]86-*-darwin*)
3599 noconfigdirs="$noconfigdirs ld gprof"
3600 noconfigdirs="$noconfigdirs sim target-rda"
3602 x86_64-*-darwin[912]*)
3603 noconfigdirs="$noconfigdirs ld gas gprof"
3604 noconfigdirs="$noconfigdirs sim target-rda"
3606 *-*-darwin*)
3607 noconfigdirs="$noconfigdirs ld gas gdb gprof"
3608 noconfigdirs="$noconfigdirs sim target-rda"
3610 *-*-dragonfly*)
3612 *-*-freebsd*)
3613 if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
3614 && test -f /usr/local/include/gmp.h; then
3615 with_gmp=/usr/local
3618 *-*-kaos*)
3619 # Remove unsupported stuff on all kaOS configurations.
3620 noconfigdirs="$noconfigdirs target-libgloss"
3622 *-*-netbsd*)
3624 *-*-netware*)
3626 *-*-rtems*)
3627 noconfigdirs="$noconfigdirs target-libgloss"
3629 # The tpf target doesn't support gdb yet.
3630 *-*-tpf*)
3631 noconfigdirs="$noconfigdirs gdb tcl tk libgui itcl"
3633 *-*-uclinux*)
3634 noconfigdirs="$noconfigdirs target-rda"
3636 *-*-vxworks*)
3638 alpha*-dec-osf*)
3639 # ld works, but does not support shared libraries.
3640 # gas doesn't generate exception information.
3641 noconfigdirs="$noconfigdirs gas ld"
3643 alpha*-*-*vms*)
3644 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3646 alpha*-*-*)
3647 # newlib is not 64 bit ready
3648 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3650 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
3651 noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
3653 arc-*-*|arceb-*-*)
3654 noconfigdirs="$noconfigdirs target-libgloss"
3656 arm-*-pe*)
3657 noconfigdirs="$noconfigdirs target-libgloss"
3659 arm-*-riscix*)
3660 noconfigdirs="$noconfigdirs ld target-libgloss"
3662 avr-*-rtems*)
3664 avr-*-*)
3665 if test x${with_avrlibc} != xno; then
3666 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3669 c4x-*-* | tic4x-*-*)
3670 noconfigdirs="$noconfigdirs target-libgloss"
3672 tic54x-*-*)
3673 noconfigdirs="$noconfigdirs target-libgloss gdb"
3675 d10v-*-*)
3676 noconfigdirs="$noconfigdirs target-libgloss"
3678 d30v-*-*)
3679 noconfigdirs="$noconfigdirs gdb"
3681 fr30-*-elf*)
3682 noconfigdirs="$noconfigdirs gdb"
3684 moxie-*-*)
3685 noconfigdirs="$noconfigdirs gprof"
3687 h8300*-*-*)
3688 noconfigdirs="$noconfigdirs target-libgloss"
3690 h8500-*-*)
3691 noconfigdirs="$noconfigdirs target-libgloss"
3693 hppa1.1-*-osf* | hppa1.1-*-bsd* )
3695 hppa*64*-*-linux*)
3697 hppa*-*-linux*)
3699 hppa*-*-*elf* | \
3700 hppa*-*-lites* | \
3701 hppa*-*-openbsd* | \
3702 hppa*64*-*-*)
3704 hppa*-hp-hpux11*)
3705 noconfigdirs="$noconfigdirs ld"
3707 hppa*-*-pro*)
3709 hppa*-*-*)
3710 noconfigdirs="$noconfigdirs ld"
3712 i960-*-*)
3713 noconfigdirs="$noconfigdirs gdb"
3715 ia64*-*-elf*)
3716 # No gdb support yet.
3717 noconfigdirs="$noconfigdirs readline libgui itcl gdb"
3719 ia64*-**-hpux*)
3720 # No ld support yet.
3721 noconfigdirs="$noconfigdirs libgui itcl ld"
3723 ia64*-*-*vms*)
3724 # No ld support yet.
3725 noconfigdirs="$noconfigdirs libgui itcl ld"
3727 i[3456789]86-w64-mingw*)
3729 i[3456789]86-*-mingw*)
3730 target_configdirs="$target_configdirs target-winsup"
3732 *-*-cygwin*)
3733 target_configdirs="$target_configdirs target-libtermcap target-winsup"
3734 noconfigdirs="$noconfigdirs target-libgloss"
3735 # always build newlib if winsup directory is present.
3736 if test -d "$srcdir/winsup/cygwin"; then
3737 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3738 elif test -d "$srcdir/newlib"; then
3739 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3742 i[3456789]86-*-pe)
3743 noconfigdirs="$noconfigdirs target-libgloss"
3745 i[3456789]86-*-sco3.2v5*)
3746 # The linker does not yet know about weak symbols in COFF,
3747 # and is not configured to handle mixed ELF and COFF.
3748 noconfigdirs="$noconfigdirs ld target-libgloss"
3750 i[3456789]86-*-sco*)
3751 noconfigdirs="$noconfigdirs gprof target-libgloss"
3753 i[3456789]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
3754 noconfigdirs="$noconfigdirs target-libgloss"
3756 i[3456789]86-*-sysv4*)
3757 noconfigdirs="$noconfigdirs target-libgloss"
3759 i[3456789]86-*-beos*)
3760 noconfigdirs="$noconfigdirs gdb"
3762 i[3456789]86-*-rdos*)
3763 noconfigdirs="$noconfigdirs gdb"
3765 mmix-*-*)
3766 noconfigdirs="$noconfigdirs gdb"
3768 mt-*-*)
3769 noconfigdirs="$noconfigdirs sim"
3771 powerpc-*-aix*)
3772 # copied from rs6000-*-* entry
3773 noconfigdirs="$noconfigdirs gprof"
3775 powerpc*-*-winnt* | powerpc*-*-pe*)
3776 target_configdirs="$target_configdirs target-winsup"
3777 noconfigdirs="$noconfigdirs gdb tcl tk target-libgloss itcl"
3778 # always build newlib.
3779 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3781 # This is temporary until we can link against shared libraries
3782 powerpcle-*-solaris*)
3783 noconfigdirs="$noconfigdirs gdb sim tcl tk itcl"
3785 powerpc-*-beos*)
3786 noconfigdirs="$noconfigdirs gdb"
3788 rs6000-*-lynxos*)
3789 noconfigdirs="$noconfigdirs gprof"
3791 rs6000-*-aix*)
3792 noconfigdirs="$noconfigdirs gprof"
3794 rs6000-*-*)
3795 noconfigdirs="$noconfigdirs gprof"
3797 m68k-apollo-*)
3798 noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss"
3800 microblaze*)
3801 noconfigdirs="$noconfigdirs gprof"
3803 mips*-sde-elf* | mips*-mti-elf*)
3804 if test x$with_newlib = xyes; then
3805 noconfigdirs="$noconfigdirs gprof"
3808 mips*-*-irix5*)
3809 noconfigdirs="$noconfigdirs gprof target-libgloss"
3811 mips*-*-irix6*)
3812 noconfigdirs="$noconfigdirs gprof target-libgloss"
3814 mips*-*-bsd*)
3815 noconfigdirs="$noconfigdirs ld gas gprof target-libgloss"
3817 mips*-*-linux*)
3819 mips*-*-ultrix* | mips*-*-osf* | mips*-*-ecoff* | mips*-*-pe* \
3820 | mips*-*-irix* | mips*-*-lnews* | mips*-*-riscos*)
3821 noconfigdirs="$noconfigdirs ld gas gprof"
3823 mips*-*-*)
3824 noconfigdirs="$noconfigdirs gprof"
3826 sh-*-* | sh64-*-*)
3827 case "${target}" in
3828 sh*-*-elf)
3831 noconfigdirs="$noconfigdirs target-libgloss" ;;
3832 esac
3834 sparc-*-sunos4*)
3835 if test x${is_cross_compiler} = xno ; then
3836 use_gnu_ld=no
3839 tic6x-*-*)
3840 noconfigdirs="$noconfigdirs sim"
3842 tilepro-*-* | tilegx-*-*)
3843 noconfigdirs="$noconfigdirs sim"
3845 v810-*-*)
3846 noconfigdirs="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3848 vax-*-*)
3849 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3851 esac
3853 # If we aren't building newlib, then don't build libgloss, since libgloss
3854 # depends upon some newlib header files.
3855 case "${noconfigdirs}" in
3856 *target-libgloss*) ;;
3857 *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
3858 esac
3860 # Work in distributions that contain no compiler tools, like Autoconf.
3861 host_makefile_frag=/dev/null
3862 if test -d ${srcdir}/config ; then
3863 case "${host}" in
3864 i[3456789]86-*-msdosdjgpp*)
3865 host_makefile_frag="config/mh-djgpp"
3867 *-cygwin*)
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3870 $as_echo_n "checking to see if cat works as expected... " >&6; }
3871 echo a >cygwin-cat-check
3872 if test `cat cygwin-cat-check` = a ; then
3873 rm cygwin-cat-check
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3875 $as_echo "yes" >&6; }
3876 else
3877 rm cygwin-cat-check
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3879 $as_echo "no" >&6; }
3880 as_fn_error "The cat command does not ignore carriage return characters.
3881 Please either mount the build directory in binary mode or run the following
3882 commands before running any configure script:
3883 set -o igncr
3884 export SHELLOPTS
3885 " "$LINENO" 5
3888 host_makefile_frag="config/mh-cygwin"
3890 *-mingw*)
3891 host_makefile_frag="config/mh-mingw"
3893 hppa*-hp-hpux10*)
3894 host_makefile_frag="config/mh-pa-hpux10"
3896 hppa*-hp-hpux*)
3897 host_makefile_frag="config/mh-pa"
3899 hppa*-*)
3900 host_makefile_frag="config/mh-pa"
3902 *-*-darwin*)
3903 host_makefile_frag="config/mh-darwin"
3905 powerpc-*-aix*)
3906 host_makefile_frag="config/mh-ppc-aix"
3908 rs6000-*-aix*)
3909 host_makefile_frag="config/mh-ppc-aix"
3911 esac
3914 if test "${build}" != "${host}" ; then
3915 AR_FOR_BUILD=${AR_FOR_BUILD-ar}
3916 AS_FOR_BUILD=${AS_FOR_BUILD-as}
3917 CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
3918 CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
3919 GCJ_FOR_BUILD=${GCJ_FOR_BUILD-gcj}
3920 GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
3921 GOC_FOR_BUILD=${GOC_FOR_BUILD-gccgo}
3922 GUPC_FOR_BUILD=${GUPC_FOR_BUILD-gupc}
3923 DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
3924 LD_FOR_BUILD=${LD_FOR_BUILD-ld}
3925 NM_FOR_BUILD=${NM_FOR_BUILD-nm}
3926 RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
3927 WINDRES_FOR_BUILD=${WINDRES_FOR_BUILD-windres}
3928 WINDMC_FOR_BUILD=${WINDMC_FOR_BUILD-windmc}
3929 else
3930 AR_FOR_BUILD="\$(AR)"
3931 AS_FOR_BUILD="\$(AS)"
3932 CC_FOR_BUILD="\$(CC)"
3933 CXX_FOR_BUILD="\$(CXX)"
3934 GCJ_FOR_BUILD="\$(GCJ)"
3935 GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
3936 GOC_FOR_BUILD="\$(GOC)"
3937 GUPC_FOR_BUILD="\$(GUPC)"
3938 DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
3939 LD_FOR_BUILD="\$(LD)"
3940 NM_FOR_BUILD="\$(NM)"
3941 RANLIB_FOR_BUILD="\$(RANLIB)"
3942 WINDRES_FOR_BUILD="\$(WINDRES)"
3943 WINDMC_FOR_BUILD="\$(WINDMC)"
3946 ac_ext=c
3947 ac_cpp='$CPP $CPPFLAGS'
3948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3951 if test -n "$ac_tool_prefix"; then
3952 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3953 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3955 $as_echo_n "checking for $ac_word... " >&6; }
3956 if test "${ac_cv_prog_CC+set}" = set; then :
3957 $as_echo_n "(cached) " >&6
3958 else
3959 if test -n "$CC"; then
3960 ac_cv_prog_CC="$CC" # Let the user override the test.
3961 else
3962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3963 for as_dir in $PATH
3965 IFS=$as_save_IFS
3966 test -z "$as_dir" && as_dir=.
3967 for ac_exec_ext in '' $ac_executable_extensions; do
3968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3969 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 break 2
3973 done
3974 done
3975 IFS=$as_save_IFS
3979 CC=$ac_cv_prog_CC
3980 if test -n "$CC"; then
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3982 $as_echo "$CC" >&6; }
3983 else
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3985 $as_echo "no" >&6; }
3990 if test -z "$ac_cv_prog_CC"; then
3991 ac_ct_CC=$CC
3992 # Extract the first word of "gcc", so it can be a program name with args.
3993 set dummy gcc; ac_word=$2
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3995 $as_echo_n "checking for $ac_word... " >&6; }
3996 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3997 $as_echo_n "(cached) " >&6
3998 else
3999 if test -n "$ac_ct_CC"; then
4000 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4001 else
4002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003 for as_dir in $PATH
4005 IFS=$as_save_IFS
4006 test -z "$as_dir" && as_dir=.
4007 for ac_exec_ext in '' $ac_executable_extensions; do
4008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4009 ac_cv_prog_ac_ct_CC="gcc"
4010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 break 2
4013 done
4014 done
4015 IFS=$as_save_IFS
4019 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4020 if test -n "$ac_ct_CC"; then
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4022 $as_echo "$ac_ct_CC" >&6; }
4023 else
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025 $as_echo "no" >&6; }
4028 if test "x$ac_ct_CC" = x; then
4029 CC=""
4030 else
4031 case $cross_compiling:$ac_tool_warned in
4032 yes:)
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4035 ac_tool_warned=yes ;;
4036 esac
4037 CC=$ac_ct_CC
4039 else
4040 CC="$ac_cv_prog_CC"
4043 if test -z "$CC"; then
4044 if test -n "$ac_tool_prefix"; then
4045 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4046 set dummy ${ac_tool_prefix}cc; ac_word=$2
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4048 $as_echo_n "checking for $ac_word... " >&6; }
4049 if test "${ac_cv_prog_CC+set}" = set; then :
4050 $as_echo_n "(cached) " >&6
4051 else
4052 if test -n "$CC"; then
4053 ac_cv_prog_CC="$CC" # Let the user override the test.
4054 else
4055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4056 for as_dir in $PATH
4058 IFS=$as_save_IFS
4059 test -z "$as_dir" && as_dir=.
4060 for ac_exec_ext in '' $ac_executable_extensions; do
4061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4062 ac_cv_prog_CC="${ac_tool_prefix}cc"
4063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4064 break 2
4066 done
4067 done
4068 IFS=$as_save_IFS
4072 CC=$ac_cv_prog_CC
4073 if test -n "$CC"; then
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4075 $as_echo "$CC" >&6; }
4076 else
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078 $as_echo "no" >&6; }
4084 if test -z "$CC"; then
4085 # Extract the first word of "cc", so it can be a program name with args.
4086 set dummy cc; ac_word=$2
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4088 $as_echo_n "checking for $ac_word... " >&6; }
4089 if test "${ac_cv_prog_CC+set}" = set; then :
4090 $as_echo_n "(cached) " >&6
4091 else
4092 if test -n "$CC"; then
4093 ac_cv_prog_CC="$CC" # Let the user override the test.
4094 else
4095 ac_prog_rejected=no
4096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097 for as_dir in $PATH
4099 IFS=$as_save_IFS
4100 test -z "$as_dir" && as_dir=.
4101 for ac_exec_ext in '' $ac_executable_extensions; do
4102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4103 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4104 ac_prog_rejected=yes
4105 continue
4107 ac_cv_prog_CC="cc"
4108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4109 break 2
4111 done
4112 done
4113 IFS=$as_save_IFS
4115 if test $ac_prog_rejected = yes; then
4116 # We found a bogon in the path, so make sure we never use it.
4117 set dummy $ac_cv_prog_CC
4118 shift
4119 if test $# != 0; then
4120 # We chose a different compiler from the bogus one.
4121 # However, it has the same basename, so the bogon will be chosen
4122 # first if we set CC to just the basename; use the full file name.
4123 shift
4124 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4129 CC=$ac_cv_prog_CC
4130 if test -n "$CC"; then
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4132 $as_echo "$CC" >&6; }
4133 else
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4135 $as_echo "no" >&6; }
4140 if test -z "$CC"; then
4141 if test -n "$ac_tool_prefix"; then
4142 for ac_prog in cl.exe
4144 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4145 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4147 $as_echo_n "checking for $ac_word... " >&6; }
4148 if test "${ac_cv_prog_CC+set}" = set; then :
4149 $as_echo_n "(cached) " >&6
4150 else
4151 if test -n "$CC"; then
4152 ac_cv_prog_CC="$CC" # Let the user override the test.
4153 else
4154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4155 for as_dir in $PATH
4157 IFS=$as_save_IFS
4158 test -z "$as_dir" && as_dir=.
4159 for ac_exec_ext in '' $ac_executable_extensions; do
4160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4161 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4163 break 2
4165 done
4166 done
4167 IFS=$as_save_IFS
4171 CC=$ac_cv_prog_CC
4172 if test -n "$CC"; then
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4174 $as_echo "$CC" >&6; }
4175 else
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4177 $as_echo "no" >&6; }
4181 test -n "$CC" && break
4182 done
4184 if test -z "$CC"; then
4185 ac_ct_CC=$CC
4186 for ac_prog in cl.exe
4188 # Extract the first word of "$ac_prog", so it can be a program name with args.
4189 set dummy $ac_prog; ac_word=$2
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4191 $as_echo_n "checking for $ac_word... " >&6; }
4192 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4193 $as_echo_n "(cached) " >&6
4194 else
4195 if test -n "$ac_ct_CC"; then
4196 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4197 else
4198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4199 for as_dir in $PATH
4201 IFS=$as_save_IFS
4202 test -z "$as_dir" && as_dir=.
4203 for ac_exec_ext in '' $ac_executable_extensions; do
4204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4205 ac_cv_prog_ac_ct_CC="$ac_prog"
4206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4207 break 2
4209 done
4210 done
4211 IFS=$as_save_IFS
4215 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4216 if test -n "$ac_ct_CC"; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4218 $as_echo "$ac_ct_CC" >&6; }
4219 else
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4221 $as_echo "no" >&6; }
4225 test -n "$ac_ct_CC" && break
4226 done
4228 if test "x$ac_ct_CC" = x; then
4229 CC=""
4230 else
4231 case $cross_compiling:$ac_tool_warned in
4232 yes:)
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4235 ac_tool_warned=yes ;;
4236 esac
4237 CC=$ac_ct_CC
4244 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4246 as_fn_error "no acceptable C compiler found in \$PATH
4247 See \`config.log' for more details." "$LINENO" 5; }
4249 # Provide some information about the compiler.
4250 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4251 set X $ac_compile
4252 ac_compiler=$2
4253 for ac_option in --version -v -V -qversion; do
4254 { { ac_try="$ac_compiler $ac_option >&5"
4255 case "(($ac_try" in
4256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4257 *) ac_try_echo=$ac_try;;
4258 esac
4259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4260 $as_echo "$ac_try_echo"; } >&5
4261 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4262 ac_status=$?
4263 if test -s conftest.err; then
4264 sed '10a\
4265 ... rest of stderr output deleted ...
4266 10q' conftest.err >conftest.er1
4267 cat conftest.er1 >&5
4268 rm -f conftest.er1 conftest.err
4270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4271 test $ac_status = 0; }
4272 done
4274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4278 main ()
4282 return 0;
4284 _ACEOF
4285 ac_clean_files_save=$ac_clean_files
4286 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4287 # Try to create an executable without -o first, disregard a.out.
4288 # It will help us diagnose broken compilers, and finding out an intuition
4289 # of exeext.
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4291 $as_echo_n "checking for C compiler default output file name... " >&6; }
4292 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4294 # The possible output files:
4295 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4297 ac_rmfiles=
4298 for ac_file in $ac_files
4300 case $ac_file in
4301 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4302 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4303 esac
4304 done
4305 rm -f $ac_rmfiles
4307 if { { ac_try="$ac_link_default"
4308 case "(($ac_try" in
4309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4310 *) ac_try_echo=$ac_try;;
4311 esac
4312 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4313 $as_echo "$ac_try_echo"; } >&5
4314 (eval "$ac_link_default") 2>&5
4315 ac_status=$?
4316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4317 test $ac_status = 0; }; then :
4318 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4319 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4320 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4321 # so that the user can short-circuit this test for compilers unknown to
4322 # Autoconf.
4323 for ac_file in $ac_files ''
4325 test -f "$ac_file" || continue
4326 case $ac_file in
4327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4329 [ab].out )
4330 # We found the default executable, but exeext='' is most
4331 # certainly right.
4332 break;;
4333 *.* )
4334 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4335 then :; else
4336 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4338 # We set ac_cv_exeext here because the later test for it is not
4339 # safe: cross compilers may not add the suffix if given an `-o'
4340 # argument, so we may need to know it at that point already.
4341 # Even if this section looks crufty: it has the advantage of
4342 # actually working.
4343 break;;
4345 break;;
4346 esac
4347 done
4348 test "$ac_cv_exeext" = no && ac_cv_exeext=
4350 else
4351 ac_file=''
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4354 $as_echo "$ac_file" >&6; }
4355 if test -z "$ac_file"; then :
4356 $as_echo "$as_me: failed program was:" >&5
4357 sed 's/^/| /' conftest.$ac_ext >&5
4359 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4361 { as_fn_set_status 77
4362 as_fn_error "C compiler cannot create executables
4363 See \`config.log' for more details." "$LINENO" 5; }; }
4365 ac_exeext=$ac_cv_exeext
4367 # Check that the compiler produces executables we can run. If not, either
4368 # the compiler is broken, or we cross compile.
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4370 $as_echo_n "checking whether the C compiler works... " >&6; }
4371 # If not cross compiling, check that we can run a simple program.
4372 if test "$cross_compiling" != yes; then
4373 if { ac_try='./$ac_file'
4374 { { case "(($ac_try" in
4375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4376 *) ac_try_echo=$ac_try;;
4377 esac
4378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4379 $as_echo "$ac_try_echo"; } >&5
4380 (eval "$ac_try") 2>&5
4381 ac_status=$?
4382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4383 test $ac_status = 0; }; }; then
4384 cross_compiling=no
4385 else
4386 if test "$cross_compiling" = maybe; then
4387 cross_compiling=yes
4388 else
4389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4391 as_fn_error "cannot run C compiled programs.
4392 If you meant to cross compile, use \`--host'.
4393 See \`config.log' for more details." "$LINENO" 5; }
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4398 $as_echo "yes" >&6; }
4400 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4401 ac_clean_files=$ac_clean_files_save
4402 # Check that the compiler produces executables we can run. If not, either
4403 # the compiler is broken, or we cross compile.
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4405 $as_echo_n "checking whether we are cross compiling... " >&6; }
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4407 $as_echo "$cross_compiling" >&6; }
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4410 $as_echo_n "checking for suffix of executables... " >&6; }
4411 if { { ac_try="$ac_link"
4412 case "(($ac_try" in
4413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4414 *) ac_try_echo=$ac_try;;
4415 esac
4416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4417 $as_echo "$ac_try_echo"; } >&5
4418 (eval "$ac_link") 2>&5
4419 ac_status=$?
4420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4421 test $ac_status = 0; }; then :
4422 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4423 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4424 # work properly (i.e., refer to `conftest.exe'), while it won't with
4425 # `rm'.
4426 for ac_file in conftest.exe conftest conftest.*; do
4427 test -f "$ac_file" || continue
4428 case $ac_file in
4429 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4430 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4431 break;;
4432 * ) break;;
4433 esac
4434 done
4435 else
4436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4438 as_fn_error "cannot compute suffix of executables: cannot compile and link
4439 See \`config.log' for more details." "$LINENO" 5; }
4441 rm -f conftest$ac_cv_exeext
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4443 $as_echo "$ac_cv_exeext" >&6; }
4445 rm -f conftest.$ac_ext
4446 EXEEXT=$ac_cv_exeext
4447 ac_exeext=$EXEEXT
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4449 $as_echo_n "checking for suffix of object files... " >&6; }
4450 if test "${ac_cv_objext+set}" = set; then :
4451 $as_echo_n "(cached) " >&6
4452 else
4453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4454 /* end confdefs.h. */
4457 main ()
4461 return 0;
4463 _ACEOF
4464 rm -f conftest.o conftest.obj
4465 if { { ac_try="$ac_compile"
4466 case "(($ac_try" in
4467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4468 *) ac_try_echo=$ac_try;;
4469 esac
4470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4471 $as_echo "$ac_try_echo"; } >&5
4472 (eval "$ac_compile") 2>&5
4473 ac_status=$?
4474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4475 test $ac_status = 0; }; then :
4476 for ac_file in conftest.o conftest.obj conftest.*; do
4477 test -f "$ac_file" || continue;
4478 case $ac_file in
4479 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4480 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4481 break;;
4482 esac
4483 done
4484 else
4485 $as_echo "$as_me: failed program was:" >&5
4486 sed 's/^/| /' conftest.$ac_ext >&5
4488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4490 as_fn_error "cannot compute suffix of object files: cannot compile
4491 See \`config.log' for more details." "$LINENO" 5; }
4493 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4496 $as_echo "$ac_cv_objext" >&6; }
4497 OBJEXT=$ac_cv_objext
4498 ac_objext=$OBJEXT
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4500 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4501 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4502 $as_echo_n "(cached) " >&6
4503 else
4504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4508 main ()
4510 #ifndef __GNUC__
4511 choke me
4512 #endif
4515 return 0;
4517 _ACEOF
4518 if ac_fn_c_try_compile "$LINENO"; then :
4519 ac_compiler_gnu=yes
4520 else
4521 ac_compiler_gnu=no
4523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4528 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4529 if test $ac_compiler_gnu = yes; then
4530 GCC=yes
4531 else
4532 GCC=
4534 ac_test_CFLAGS=${CFLAGS+set}
4535 ac_save_CFLAGS=$CFLAGS
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4537 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4538 if test "${ac_cv_prog_cc_g+set}" = set; then :
4539 $as_echo_n "(cached) " >&6
4540 else
4541 ac_save_c_werror_flag=$ac_c_werror_flag
4542 ac_c_werror_flag=yes
4543 ac_cv_prog_cc_g=no
4544 CFLAGS="-g"
4545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4546 /* end confdefs.h. */
4549 main ()
4553 return 0;
4555 _ACEOF
4556 if ac_fn_c_try_compile "$LINENO"; then :
4557 ac_cv_prog_cc_g=yes
4558 else
4559 CFLAGS=""
4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4564 main ()
4568 return 0;
4570 _ACEOF
4571 if ac_fn_c_try_compile "$LINENO"; then :
4573 else
4574 ac_c_werror_flag=$ac_save_c_werror_flag
4575 CFLAGS="-g"
4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4580 main ()
4584 return 0;
4586 _ACEOF
4587 if ac_fn_c_try_compile "$LINENO"; then :
4588 ac_cv_prog_cc_g=yes
4590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4595 ac_c_werror_flag=$ac_save_c_werror_flag
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4598 $as_echo "$ac_cv_prog_cc_g" >&6; }
4599 if test "$ac_test_CFLAGS" = set; then
4600 CFLAGS=$ac_save_CFLAGS
4601 elif test $ac_cv_prog_cc_g = yes; then
4602 if test "$GCC" = yes; then
4603 CFLAGS="-g -O2"
4604 else
4605 CFLAGS="-g"
4607 else
4608 if test "$GCC" = yes; then
4609 CFLAGS="-O2"
4610 else
4611 CFLAGS=
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4615 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4616 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4617 $as_echo_n "(cached) " >&6
4618 else
4619 ac_cv_prog_cc_c89=no
4620 ac_save_CC=$CC
4621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622 /* end confdefs.h. */
4623 #include <stdarg.h>
4624 #include <stdio.h>
4625 #include <sys/types.h>
4626 #include <sys/stat.h>
4627 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4628 struct buf { int x; };
4629 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4630 static char *e (p, i)
4631 char **p;
4632 int i;
4634 return p[i];
4636 static char *f (char * (*g) (char **, int), char **p, ...)
4638 char *s;
4639 va_list v;
4640 va_start (v,p);
4641 s = g (p, va_arg (v,int));
4642 va_end (v);
4643 return s;
4646 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4647 function prototypes and stuff, but not '\xHH' hex character constants.
4648 These don't provoke an error unfortunately, instead are silently treated
4649 as 'x'. The following induces an error, until -std is added to get
4650 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4651 array size at least. It's necessary to write '\x00'==0 to get something
4652 that's true only with -std. */
4653 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4655 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4656 inside strings and character constants. */
4657 #define FOO(x) 'x'
4658 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4660 int test (int i, double x);
4661 struct s1 {int (*f) (int a);};
4662 struct s2 {int (*f) (double a);};
4663 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4664 int argc;
4665 char **argv;
4667 main ()
4669 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4671 return 0;
4673 _ACEOF
4674 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4675 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4677 CC="$ac_save_CC $ac_arg"
4678 if ac_fn_c_try_compile "$LINENO"; then :
4679 ac_cv_prog_cc_c89=$ac_arg
4681 rm -f core conftest.err conftest.$ac_objext
4682 test "x$ac_cv_prog_cc_c89" != "xno" && break
4683 done
4684 rm -f conftest.$ac_ext
4685 CC=$ac_save_CC
4688 # AC_CACHE_VAL
4689 case "x$ac_cv_prog_cc_c89" in
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4692 $as_echo "none needed" >&6; } ;;
4693 xno)
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4695 $as_echo "unsupported" >&6; } ;;
4697 CC="$CC $ac_cv_prog_cc_c89"
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4699 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4700 esac
4701 if test "x$ac_cv_prog_cc_c89" != xno; then :
4705 ac_ext=c
4706 ac_cpp='$CPP $CPPFLAGS'
4707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4711 ac_ext=cpp
4712 ac_cpp='$CXXCPP $CPPFLAGS'
4713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4716 if test -z "$CXX"; then
4717 if test -n "$CCC"; then
4718 CXX=$CCC
4719 else
4720 if test -n "$ac_tool_prefix"; then
4721 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4723 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4724 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4726 $as_echo_n "checking for $ac_word... " >&6; }
4727 if test "${ac_cv_prog_CXX+set}" = set; then :
4728 $as_echo_n "(cached) " >&6
4729 else
4730 if test -n "$CXX"; then
4731 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4732 else
4733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4734 for as_dir in $PATH
4736 IFS=$as_save_IFS
4737 test -z "$as_dir" && as_dir=.
4738 for ac_exec_ext in '' $ac_executable_extensions; do
4739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4740 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4742 break 2
4744 done
4745 done
4746 IFS=$as_save_IFS
4750 CXX=$ac_cv_prog_CXX
4751 if test -n "$CXX"; then
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4753 $as_echo "$CXX" >&6; }
4754 else
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4756 $as_echo "no" >&6; }
4760 test -n "$CXX" && break
4761 done
4763 if test -z "$CXX"; then
4764 ac_ct_CXX=$CXX
4765 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4767 # Extract the first word of "$ac_prog", so it can be a program name with args.
4768 set dummy $ac_prog; ac_word=$2
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4770 $as_echo_n "checking for $ac_word... " >&6; }
4771 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4772 $as_echo_n "(cached) " >&6
4773 else
4774 if test -n "$ac_ct_CXX"; then
4775 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4776 else
4777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4778 for as_dir in $PATH
4780 IFS=$as_save_IFS
4781 test -z "$as_dir" && as_dir=.
4782 for ac_exec_ext in '' $ac_executable_extensions; do
4783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4784 ac_cv_prog_ac_ct_CXX="$ac_prog"
4785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4786 break 2
4788 done
4789 done
4790 IFS=$as_save_IFS
4794 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4795 if test -n "$ac_ct_CXX"; then
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4797 $as_echo "$ac_ct_CXX" >&6; }
4798 else
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 $as_echo "no" >&6; }
4804 test -n "$ac_ct_CXX" && break
4805 done
4807 if test "x$ac_ct_CXX" = x; then
4808 CXX="g++"
4809 else
4810 case $cross_compiling:$ac_tool_warned in
4811 yes:)
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4814 ac_tool_warned=yes ;;
4815 esac
4816 CXX=$ac_ct_CXX
4822 # Provide some information about the compiler.
4823 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4824 set X $ac_compile
4825 ac_compiler=$2
4826 for ac_option in --version -v -V -qversion; do
4827 { { ac_try="$ac_compiler $ac_option >&5"
4828 case "(($ac_try" in
4829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4830 *) ac_try_echo=$ac_try;;
4831 esac
4832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4833 $as_echo "$ac_try_echo"; } >&5
4834 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4835 ac_status=$?
4836 if test -s conftest.err; then
4837 sed '10a\
4838 ... rest of stderr output deleted ...
4839 10q' conftest.err >conftest.er1
4840 cat conftest.er1 >&5
4841 rm -f conftest.er1 conftest.err
4843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4844 test $ac_status = 0; }
4845 done
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4848 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4849 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4850 $as_echo_n "(cached) " >&6
4851 else
4852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4853 /* end confdefs.h. */
4856 main ()
4858 #ifndef __GNUC__
4859 choke me
4860 #endif
4863 return 0;
4865 _ACEOF
4866 if ac_fn_cxx_try_compile "$LINENO"; then :
4867 ac_compiler_gnu=yes
4868 else
4869 ac_compiler_gnu=no
4871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4872 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4876 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4877 if test $ac_compiler_gnu = yes; then
4878 GXX=yes
4879 else
4880 GXX=
4882 ac_test_CXXFLAGS=${CXXFLAGS+set}
4883 ac_save_CXXFLAGS=$CXXFLAGS
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4885 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4886 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4887 $as_echo_n "(cached) " >&6
4888 else
4889 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4890 ac_cxx_werror_flag=yes
4891 ac_cv_prog_cxx_g=no
4892 CXXFLAGS="-g"
4893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4894 /* end confdefs.h. */
4897 main ()
4901 return 0;
4903 _ACEOF
4904 if ac_fn_cxx_try_compile "$LINENO"; then :
4905 ac_cv_prog_cxx_g=yes
4906 else
4907 CXXFLAGS=""
4908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4909 /* end confdefs.h. */
4912 main ()
4916 return 0;
4918 _ACEOF
4919 if ac_fn_cxx_try_compile "$LINENO"; then :
4921 else
4922 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4923 CXXFLAGS="-g"
4924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4925 /* end confdefs.h. */
4928 main ()
4932 return 0;
4934 _ACEOF
4935 if ac_fn_cxx_try_compile "$LINENO"; then :
4936 ac_cv_prog_cxx_g=yes
4938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4943 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4946 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4947 if test "$ac_test_CXXFLAGS" = set; then
4948 CXXFLAGS=$ac_save_CXXFLAGS
4949 elif test $ac_cv_prog_cxx_g = yes; then
4950 if test "$GXX" = yes; then
4951 CXXFLAGS="-g -O2"
4952 else
4953 CXXFLAGS="-g"
4955 else
4956 if test "$GXX" = yes; then
4957 CXXFLAGS="-O2"
4958 else
4959 CXXFLAGS=
4962 ac_ext=c
4963 ac_cpp='$CPP $CPPFLAGS'
4964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4969 # We must set the default linker to the linker used by gcc for the correct
4970 # operation of libtool. If LD is not defined and we are using gcc, try to
4971 # set the LD default to the ld used by gcc.
4972 if test -z "$LD"; then
4973 if test "$GCC" = yes; then
4974 case $build in
4975 *-*-mingw*)
4976 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4978 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;;
4979 esac
4980 case $gcc_prog_ld in
4981 # Accept absolute paths.
4982 [\\/]* | [A-Za-z]:[\\/]*)
4983 LD="$gcc_prog_ld" ;;
4984 esac
4988 # Check whether -static-libstdc++ -static-libgcc is supported.
4989 have_static_libs=no
4990 if test "$GCC" = yes; then
4991 saved_LDFLAGS="$LDFLAGS"
4993 LDFLAGS="$LDFLAGS -static-libstdc++ -static-libgcc"
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
4995 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
4996 ac_ext=cpp
4997 ac_cpp='$CXXCPP $CPPFLAGS'
4998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5006 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5007 #error -static-libstdc++ not implemented
5008 #endif
5009 int main() {}
5010 _ACEOF
5011 if ac_fn_cxx_try_link "$LINENO"; then :
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5013 $as_echo "yes" >&6; }; have_static_libs=yes
5014 else
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5018 rm -f core conftest.err conftest.$ac_objext \
5019 conftest$ac_exeext conftest.$ac_ext
5020 ac_ext=c
5021 ac_cpp='$CPP $CPPFLAGS'
5022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5027 LDFLAGS="$saved_LDFLAGS"
5033 if test -n "$ac_tool_prefix"; then
5034 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5035 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037 $as_echo_n "checking for $ac_word... " >&6; }
5038 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5039 $as_echo_n "(cached) " >&6
5040 else
5041 if test -n "$GNATBIND"; then
5042 ac_cv_prog_GNATBIND="$GNATBIND" # Let the user override the test.
5043 else
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045 for as_dir in $PATH
5047 IFS=$as_save_IFS
5048 test -z "$as_dir" && as_dir=.
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5051 ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind"
5052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 break 2
5055 done
5056 done
5057 IFS=$as_save_IFS
5061 GNATBIND=$ac_cv_prog_GNATBIND
5062 if test -n "$GNATBIND"; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5064 $as_echo "$GNATBIND" >&6; }
5065 else
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 $as_echo "no" >&6; }
5072 if test -z "$ac_cv_prog_GNATBIND"; then
5073 ac_ct_GNATBIND=$GNATBIND
5074 # Extract the first word of "gnatbind", so it can be a program name with args.
5075 set dummy gnatbind; ac_word=$2
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5077 $as_echo_n "checking for $ac_word... " >&6; }
5078 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5079 $as_echo_n "(cached) " >&6
5080 else
5081 if test -n "$ac_ct_GNATBIND"; then
5082 ac_cv_prog_ac_ct_GNATBIND="$ac_ct_GNATBIND" # Let the user override the test.
5083 else
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5085 for as_dir in $PATH
5087 IFS=$as_save_IFS
5088 test -z "$as_dir" && as_dir=.
5089 for ac_exec_ext in '' $ac_executable_extensions; do
5090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5091 ac_cv_prog_ac_ct_GNATBIND="gnatbind"
5092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 break 2
5095 done
5096 done
5097 IFS=$as_save_IFS
5101 ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND
5102 if test -n "$ac_ct_GNATBIND"; then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5104 $as_echo "$ac_ct_GNATBIND" >&6; }
5105 else
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5110 if test "x$ac_ct_GNATBIND" = x; then
5111 GNATBIND="no"
5112 else
5113 case $cross_compiling:$ac_tool_warned in
5114 yes:)
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5117 ac_tool_warned=yes ;;
5118 esac
5119 GNATBIND=$ac_ct_GNATBIND
5121 else
5122 GNATBIND="$ac_cv_prog_GNATBIND"
5125 if test -n "$ac_tool_prefix"; then
5126 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5127 set dummy ${ac_tool_prefix}gnatmake; ac_word=$2
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5129 $as_echo_n "checking for $ac_word... " >&6; }
5130 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5131 $as_echo_n "(cached) " >&6
5132 else
5133 if test -n "$GNATMAKE"; then
5134 ac_cv_prog_GNATMAKE="$GNATMAKE" # Let the user override the test.
5135 else
5136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5137 for as_dir in $PATH
5139 IFS=$as_save_IFS
5140 test -z "$as_dir" && as_dir=.
5141 for ac_exec_ext in '' $ac_executable_extensions; do
5142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5143 ac_cv_prog_GNATMAKE="${ac_tool_prefix}gnatmake"
5144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5145 break 2
5147 done
5148 done
5149 IFS=$as_save_IFS
5153 GNATMAKE=$ac_cv_prog_GNATMAKE
5154 if test -n "$GNATMAKE"; then
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5156 $as_echo "$GNATMAKE" >&6; }
5157 else
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5164 if test -z "$ac_cv_prog_GNATMAKE"; then
5165 ac_ct_GNATMAKE=$GNATMAKE
5166 # Extract the first word of "gnatmake", so it can be a program name with args.
5167 set dummy gnatmake; ac_word=$2
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5169 $as_echo_n "checking for $ac_word... " >&6; }
5170 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5171 $as_echo_n "(cached) " >&6
5172 else
5173 if test -n "$ac_ct_GNATMAKE"; then
5174 ac_cv_prog_ac_ct_GNATMAKE="$ac_ct_GNATMAKE" # Let the user override the test.
5175 else
5176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5177 for as_dir in $PATH
5179 IFS=$as_save_IFS
5180 test -z "$as_dir" && as_dir=.
5181 for ac_exec_ext in '' $ac_executable_extensions; do
5182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5183 ac_cv_prog_ac_ct_GNATMAKE="gnatmake"
5184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 break 2
5187 done
5188 done
5189 IFS=$as_save_IFS
5193 ac_ct_GNATMAKE=$ac_cv_prog_ac_ct_GNATMAKE
5194 if test -n "$ac_ct_GNATMAKE"; then
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5196 $as_echo "$ac_ct_GNATMAKE" >&6; }
5197 else
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199 $as_echo "no" >&6; }
5202 if test "x$ac_ct_GNATMAKE" = x; then
5203 GNATMAKE="no"
5204 else
5205 case $cross_compiling:$ac_tool_warned in
5206 yes:)
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5209 ac_tool_warned=yes ;;
5210 esac
5211 GNATMAKE=$ac_ct_GNATMAKE
5213 else
5214 GNATMAKE="$ac_cv_prog_GNATMAKE"
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5218 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5219 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5220 $as_echo_n "(cached) " >&6
5221 else
5222 cat >conftest.adb <<EOF
5223 procedure conftest is begin null; end conftest;
5225 acx_cv_cc_gcc_supports_ada=no
5226 # There is a bug in old released versions of GCC which causes the
5227 # driver to exit successfully when the appropriate language module
5228 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5229 # Therefore we must check for the error message as well as an
5230 # unsuccessful exit.
5231 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5232 # given a .adb file, but produce no object file. So we must check
5233 # if an object file was really produced to guard against this.
5234 errors=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5235 if test x"$errors" = x && test -f conftest.$ac_objext; then
5236 acx_cv_cc_gcc_supports_ada=yes
5238 rm -f conftest.*
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5241 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5243 if test "x$GNATBIND" != xno && test "x$GNATMAKE" != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
5244 have_gnat=yes
5245 else
5246 have_gnat=no
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5250 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5251 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5252 $as_echo_n "(cached) " >&6
5253 else
5254 echo abfoo >t1
5255 echo cdfoo >t2
5256 gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5257 if cmp t1 t2 2 2 > /dev/null 2>&1; then
5258 if cmp t1 t2 1 1 > /dev/null 2>&1; then
5260 else
5261 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
5264 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
5265 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
5267 else
5268 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
5271 rm t1 t2
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5275 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5276 do_compare="$gcc_cv_prog_cmp_skip"
5280 # Check whether --enable-bootstrap was given.
5281 if test "${enable_bootstrap+set}" = set; then :
5282 enableval=$enable_bootstrap;
5283 else
5284 enable_bootstrap=default
5288 # Issue errors and warnings for invalid/strange bootstrap combinations.
5289 if test -r $srcdir/gcc/configure; then
5290 have_compiler=yes
5291 else
5292 have_compiler=no
5295 case "$have_compiler:$host:$target:$enable_bootstrap" in
5296 *:*:*:no) ;;
5298 # Default behavior. Enable bootstrap if we have a compiler
5299 # and we are in a native configuration.
5300 yes:$build:$build:default)
5301 enable_bootstrap=yes ;;
5303 *:*:*:default)
5304 enable_bootstrap=no ;;
5306 # We have a compiler and we are in a native configuration, bootstrap is ok
5307 yes:$build:$build:yes)
5310 # Other configurations, but we have a compiler. Assume the user knows
5311 # what he's doing.
5312 yes:*:*:yes)
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5314 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5317 # No compiler: if they passed --enable-bootstrap explicitly, fail
5318 no:*:*:yes)
5319 as_fn_error "cannot bootstrap without a compiler" "$LINENO" 5 ;;
5321 # Fail if wrong command line
5323 as_fn_error "invalid option for --enable-bootstrap" "$LINENO" 5
5325 esac
5327 # Used for setting $lt_cv_objdir
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5329 $as_echo_n "checking for objdir... " >&6; }
5330 if test "${lt_cv_objdir+set}" = set; then :
5331 $as_echo_n "(cached) " >&6
5332 else
5333 rm -f .libs 2>/dev/null
5334 mkdir .libs 2>/dev/null
5335 if test -d .libs; then
5336 lt_cv_objdir=.libs
5337 else
5338 # MS-DOS does not allow filenames that begin with a dot.
5339 lt_cv_objdir=_libs
5341 rmdir .libs 2>/dev/null
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5344 $as_echo "$lt_cv_objdir" >&6; }
5345 objdir=$lt_cv_objdir
5351 cat >>confdefs.h <<_ACEOF
5352 #define LT_OBJDIR "$lt_cv_objdir/"
5353 _ACEOF
5357 # Check for GMP, MPFR and MPC
5358 gmplibs="-lmpc -lmpfr -lgmp"
5359 gmpinc=
5360 have_gmp=no
5362 # Specify a location for mpc
5363 # check for this first so it ends up on the link line before mpfr.
5365 # Check whether --with-mpc was given.
5366 if test "${with_mpc+set}" = set; then :
5367 withval=$with_mpc;
5371 # Check whether --with-mpc-include was given.
5372 if test "${with_mpc_include+set}" = set; then :
5373 withval=$with_mpc_include;
5377 # Check whether --with-mpc-lib was given.
5378 if test "${with_mpc_lib+set}" = set; then :
5379 withval=$with_mpc_lib;
5383 if test "x$with_mpc" != x; then
5384 gmplibs="-L$with_mpc/lib $gmplibs"
5385 gmpinc="-I$with_mpc/include $gmpinc"
5387 if test "x$with_mpc_include" != x; then
5388 gmpinc="-I$with_mpc_include $gmpinc"
5390 if test "x$with_mpc_lib" != x; then
5391 gmplibs="-L$with_mpc_lib $gmplibs"
5393 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x && test -d ${srcdir}/mpc; then
5394 gmplibs='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5395 gmpinc='-I$$s/mpc/src '"$gmpinc"
5396 # Do not test the mpc version. Assume that it is sufficient, since
5397 # it is in the source tree, and the library has not been built yet
5398 # but it would be included on the link line in the version check below
5399 # hence making the test fail.
5400 have_gmp=yes
5403 # Specify a location for mpfr
5404 # check for this first so it ends up on the link line before gmp.
5406 # Check whether --with-mpfr-dir was given.
5407 if test "${with_mpfr_dir+set}" = set; then :
5408 withval=$with_mpfr_dir; as_fn_error "The --with-mpfr-dir=PATH option has been removed.
5409 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5414 # Check whether --with-mpfr was given.
5415 if test "${with_mpfr+set}" = set; then :
5416 withval=$with_mpfr;
5420 # Check whether --with-mpfr-include was given.
5421 if test "${with_mpfr_include+set}" = set; then :
5422 withval=$with_mpfr_include;
5426 # Check whether --with-mpfr-lib was given.
5427 if test "${with_mpfr_lib+set}" = set; then :
5428 withval=$with_mpfr_lib;
5432 if test "x$with_mpfr" != x; then
5433 gmplibs="-L$with_mpfr/lib $gmplibs"
5434 gmpinc="-I$with_mpfr/include $gmpinc"
5436 if test "x$with_mpfr_include" != x; then
5437 gmpinc="-I$with_mpfr_include $gmpinc"
5439 if test "x$with_mpfr_lib" != x; then
5440 gmplibs="-L$with_mpfr_lib $gmplibs"
5442 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
5443 # MPFR v3.1.0 moved the sources into a src sub-directory.
5444 if test -d ${srcdir}/mpfr/src; then
5445 gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5446 gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5447 extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5448 else
5449 gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5450 gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5451 extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5453 # Do not test the mpfr version. Assume that it is sufficient, since
5454 # it is in the source tree, and the library has not been built yet
5455 # but it would be included on the link line in the version check below
5456 # hence making the test fail.
5457 have_gmp=yes
5460 # Specify a location for gmp
5462 # Check whether --with-gmp-dir was given.
5463 if test "${with_gmp_dir+set}" = set; then :
5464 withval=$with_gmp_dir; as_fn_error "The --with-gmp-dir=PATH option has been removed.
5465 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5470 # Check whether --with-gmp was given.
5471 if test "${with_gmp+set}" = set; then :
5472 withval=$with_gmp;
5476 # Check whether --with-gmp-include was given.
5477 if test "${with_gmp_include+set}" = set; then :
5478 withval=$with_gmp_include;
5482 # Check whether --with-gmp-lib was given.
5483 if test "${with_gmp_lib+set}" = set; then :
5484 withval=$with_gmp_lib;
5489 if test "x$with_gmp" != x; then
5490 gmplibs="-L$with_gmp/lib $gmplibs"
5491 gmpinc="-I$with_gmp/include $gmpinc"
5493 if test "x$with_gmp_include" != x; then
5494 gmpinc="-I$with_gmp_include $gmpinc"
5496 if test "x$with_gmp_lib" != x; then
5497 gmplibs="-L$with_gmp_lib $gmplibs"
5499 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
5500 gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5501 gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5502 extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5503 extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5504 extra_isl_gmp_configure_flags='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5505 # Do not test the gmp version. Assume that it is sufficient, since
5506 # it is in the source tree, and the library has not been built yet
5507 # but it would be included on the link line in the version check below
5508 # hence making the test fail.
5509 have_gmp=yes
5512 if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
5513 have_gmp=yes
5514 saved_CFLAGS="$CFLAGS"
5515 CFLAGS="$CFLAGS $gmpinc"
5516 # Check for the recommended and required versions of GMP.
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5518 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5521 /* end confdefs.h. */
5522 #include "gmp.h"
5524 main ()
5527 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5528 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5529 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5530 choke me
5531 #endif
5534 return 0;
5536 _ACEOF
5537 if ac_fn_c_try_compile "$LINENO"; then :
5538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5539 /* end confdefs.h. */
5540 #include <gmp.h>
5542 main ()
5545 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5546 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5547 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5548 choke me
5549 #endif
5552 return 0;
5554 _ACEOF
5555 if ac_fn_c_try_compile "$LINENO"; then :
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5557 $as_echo "yes" >&6; }
5558 else
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5560 $as_echo "buggy but acceptable" >&6; }
5562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5563 else
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5565 $as_echo "no" >&6; }; have_gmp=no
5567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5569 # If we have GMP, check the MPFR version.
5570 if test x"$have_gmp" = xyes; then
5571 # Check for the recommended and required versions of MPFR.
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5573 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5575 /* end confdefs.h. */
5576 #include <gmp.h>
5577 #include <mpfr.h>
5579 main ()
5582 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5583 choke me
5584 #endif
5587 return 0;
5589 _ACEOF
5590 if ac_fn_c_try_compile "$LINENO"; then :
5591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5592 /* end confdefs.h. */
5593 #include <gmp.h>
5594 #include <mpfr.h>
5596 main ()
5599 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5600 choke me
5601 #endif
5604 return 0;
5606 _ACEOF
5607 if ac_fn_c_try_compile "$LINENO"; then :
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5609 $as_echo "yes" >&6; }
5610 else
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5612 $as_echo "buggy but acceptable" >&6; }
5614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5615 else
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5617 $as_echo "no" >&6; }; have_gmp=no
5619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5622 # Check for the MPC header version.
5623 if test x"$have_gmp" = xyes ; then
5624 # Check for the recommended and required versions of MPC.
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5626 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5628 /* end confdefs.h. */
5629 #include <mpc.h>
5631 main ()
5634 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5635 choke me
5636 #endif
5639 return 0;
5641 _ACEOF
5642 if ac_fn_c_try_compile "$LINENO"; then :
5643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5644 /* end confdefs.h. */
5645 #include <mpc.h>
5647 main ()
5650 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5651 choke me
5652 #endif
5655 return 0;
5657 _ACEOF
5658 if ac_fn_c_try_compile "$LINENO"; then :
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5660 $as_echo "yes" >&6; }
5661 else
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5663 $as_echo "buggy but acceptable" >&6; }
5665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5666 else
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5668 $as_echo "no" >&6; }; have_gmp=no
5670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5673 # Now check the MPFR library.
5674 if test x"$have_gmp" = xyes; then
5675 saved_LIBS="$LIBS"
5676 LIBS="$LIBS $gmplibs"
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5678 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5680 /* end confdefs.h. */
5681 #include <mpc.h>
5683 main ()
5686 mpfr_t n;
5687 mpfr_t x;
5688 mpc_t c;
5689 int t;
5690 mpfr_init (n);
5691 mpfr_init (x);
5692 mpfr_atan2 (n, n, x, GMP_RNDN);
5693 mpfr_erfc (n, x, GMP_RNDN);
5694 mpfr_subnormalize (x, t, GMP_RNDN);
5695 mpfr_clear(n);
5696 mpfr_clear(x);
5697 mpc_init2 (c, 53);
5698 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5699 mpc_cosh (c, c, MPC_RNDNN);
5700 mpc_pow (c, c, c, MPC_RNDNN);
5701 mpc_acosh (c, c, MPC_RNDNN);
5702 mpc_clear (c);
5705 return 0;
5707 _ACEOF
5708 if ac_fn_c_try_link "$LINENO"; then :
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5710 $as_echo "yes" >&6; }
5711 else
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5713 $as_echo "no" >&6; }; have_gmp=no
5715 rm -f core conftest.err conftest.$ac_objext \
5716 conftest$ac_exeext conftest.$ac_ext
5717 LIBS="$saved_LIBS"
5720 CFLAGS="$saved_CFLAGS"
5722 # The library versions listed in the error message below should match
5723 # the HARD-minimums enforced above.
5724 if test x$have_gmp != xyes; then
5725 as_fn_error "Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5726 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5727 their locations. Source code for these libraries can be found at
5728 their respective hosting sites as well as at
5729 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5730 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5731 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5732 make sure that you have installed both the libraries and the header
5733 files. They may be located in separate packages." "$LINENO" 5
5737 # Flags needed for both GMP, MPFR and/or MPC.
5745 # Allow host libstdc++ to be specified for static linking with PPL.
5747 # Check whether --with-host-libstdcxx was given.
5748 if test "${with_host_libstdcxx+set}" = set; then :
5749 withval=$with_host_libstdcxx;
5753 case $with_host_libstdcxx in
5754 no|yes)
5755 as_fn_error "-with-host-libstdcxx needs an argument" "$LINENO" 5
5757 esac
5759 # Libraries to use for stage1 or when not bootstrapping.
5761 # Check whether --with-stage1-libs was given.
5762 if test "${with_stage1_libs+set}" = set; then :
5763 withval=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5764 stage1_libs=
5765 else
5766 stage1_libs=$withval
5768 else
5769 stage1_libs=$with_host_libstdcxx
5774 # Linker flags to use for stage1 or when not bootstrapping.
5776 # Check whether --with-stage1-ldflags was given.
5777 if test "${with_stage1_ldflags+set}" = set; then :
5778 withval=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5779 stage1_ldflags=
5780 else
5781 stage1_ldflags=$withval
5783 else
5784 stage1_ldflags=
5785 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5786 # if supported. But if the user explicitly specified the libraries to use,
5787 # trust that they are doing what they want.
5788 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5789 stage1_ldflags="-static-libstdc++ -static-libgcc"
5795 # Libraries to use for stage2 and later builds. This defaults to the
5796 # argument passed to --with-host-libstdcxx.
5798 # Check whether --with-boot-libs was given.
5799 if test "${with_boot_libs+set}" = set; then :
5800 withval=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5801 poststage1_libs=
5802 else
5803 poststage1_libs=$withval
5805 else
5806 poststage1_libs=$with_host_libstdcxx
5811 # Linker flags to use for stage2 and later builds.
5813 # Check whether --with-boot-ldflags was given.
5814 if test "${with_boot_ldflags+set}" = set; then :
5815 withval=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5816 poststage1_ldflags=
5817 else
5818 poststage1_ldflags=$withval
5820 else
5821 poststage1_ldflags=
5822 # In stages 2 and 3, default to linking libstdc++ and libgcc
5823 # statically. But if the user explicitly specified the libraries to
5824 # use, trust that they are doing what they want.
5825 if test "$poststage1_libs" = ""; then
5826 poststage1_ldflags="-static-libstdc++ -static-libgcc"
5832 # GCC GRAPHITE dependences, ISL and CLOOG which in turn requires ISL.
5833 # Basic setup is inlined here, actual checks are in config/cloog.m4 and
5834 # config/isl.m4
5837 # Check whether --with-cloog was given.
5838 if test "${with_cloog+set}" = set; then :
5839 withval=$with_cloog;
5843 # Check whether --with-isl was given.
5844 if test "${with_isl+set}" = set; then :
5845 withval=$with_isl;
5849 # Treat either --without-cloog or --without-isl as a request to disable
5850 # GRAPHITE support and skip all following checks.
5851 if test "x$with_isl" != "xno" &&
5852 test "x$with_cloog" != "xno"; then
5853 # Check for ISL
5856 # Check whether --with-isl-include was given.
5857 if test "${with_isl_include+set}" = set; then :
5858 withval=$with_isl_include;
5862 # Check whether --with-isl-lib was given.
5863 if test "${with_isl_lib+set}" = set; then :
5864 withval=$with_isl_lib;
5868 # Check whether --enable-isl-version-check was given.
5869 if test "${enable_isl_version_check+set}" = set; then :
5870 enableval=$enable_isl_version_check; ENABLE_ISL_CHECK=$enableval
5871 else
5872 ENABLE_ISL_CHECK=yes
5876 # Initialize isllibs and islinc.
5877 case $with_isl in
5879 isllibs=
5880 islinc=
5882 "" | yes)
5885 isllibs="-L$with_isl/lib"
5886 islinc="-I$with_isl/include"
5888 esac
5889 if test "x${with_isl_include}" != x ; then
5890 islinc="-I$with_isl_include"
5892 if test "x${with_isl_lib}" != x; then
5893 isllibs="-L$with_isl_lib"
5895 if test "x${islinc}" = x && test "x${isllibs}" = x \
5896 && test -d ${srcdir}/isl; then
5897 isllibs='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5898 islinc='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5899 ENABLE_ISL_CHECK=no
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree ISL, disabling version check" >&5
5901 $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
5906 if test "${ENABLE_ISL_CHECK}" = yes ; then
5907 _isl_saved_CFLAGS=$CFLAGS
5908 _isl_saved_LDFLAGS=$LDFLAGS
5909 _isl_saved_LIBS=$LIBS
5911 CFLAGS="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5912 LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs}"
5913 LIBS="${_isl_saved_LIBS} -lisl"
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 of ISL" >&5
5916 $as_echo_n "checking for version 0.10 of ISL... " >&6; }
5917 if test "$cross_compiling" = yes; then :
5918 gcc_cv_isl=yes
5919 else
5920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5921 /* end confdefs.h. */
5922 #include <isl/version.h>
5923 #include <string.h>
5925 main ()
5927 if (strncmp (isl_version (), "isl-0.10", strlen ("isl-0.10")) != 0)
5928 return 1;
5931 return 0;
5933 _ACEOF
5934 if ac_fn_c_try_run "$LINENO"; then :
5935 gcc_cv_isl=yes
5936 else
5937 gcc_cv_isl=no
5939 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5940 conftest.$ac_objext conftest.beam conftest.$ac_ext
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5944 $as_echo "$gcc_cv_isl" >&6; }
5946 CFLAGS=$_isl_saved_CFLAGS
5947 LDFLAGS=$_isl_saved_LDFLAGS
5948 LIBS=$_isl_saved_LIBS
5952 if test "${gcc_cv_isl}" = no ; then
5954 if test "${ENABLE_ISL_CHECK}" = yes ; then
5955 _isl_saved_CFLAGS=$CFLAGS
5956 _isl_saved_LDFLAGS=$LDFLAGS
5957 _isl_saved_LIBS=$LIBS
5959 CFLAGS="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5960 LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs}"
5961 LIBS="${_isl_saved_LIBS} -lisl"
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.11 of ISL" >&5
5964 $as_echo_n "checking for version 0.11 of ISL... " >&6; }
5965 if test "$cross_compiling" = yes; then :
5966 gcc_cv_isl=yes
5967 else
5968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5969 /* end confdefs.h. */
5970 #include <isl/version.h>
5971 #include <string.h>
5973 main ()
5975 if (strncmp (isl_version (), "isl-0.11", strlen ("isl-0.11")) != 0)
5976 return 1;
5979 return 0;
5981 _ACEOF
5982 if ac_fn_c_try_run "$LINENO"; then :
5983 gcc_cv_isl=yes
5984 else
5985 gcc_cv_isl=no
5987 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5988 conftest.$ac_objext conftest.beam conftest.$ac_ext
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5992 $as_echo "$gcc_cv_isl" >&6; }
5994 CFLAGS=$_isl_saved_CFLAGS
5995 LDFLAGS=$_isl_saved_LDFLAGS
5996 LIBS=$_isl_saved_LIBS
6000 if test "${gcc_cv_isl}" = no ; then
6002 if test "${ENABLE_ISL_CHECK}" = yes ; then
6003 _isl_saved_CFLAGS=$CFLAGS
6004 _isl_saved_LDFLAGS=$LDFLAGS
6005 _isl_saved_LIBS=$LIBS
6007 CFLAGS="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6008 LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs}"
6009 LIBS="${_isl_saved_LIBS} -lisl"
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.12 of ISL" >&5
6012 $as_echo_n "checking for version 0.12 of ISL... " >&6; }
6013 if test "$cross_compiling" = yes; then :
6014 gcc_cv_isl=yes
6015 else
6016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6017 /* end confdefs.h. */
6018 #include <isl/version.h>
6019 #include <string.h>
6021 main ()
6023 if (strncmp (isl_version (), "isl-0.12", strlen ("isl-0.12")) != 0)
6024 return 1;
6027 return 0;
6029 _ACEOF
6030 if ac_fn_c_try_run "$LINENO"; then :
6031 gcc_cv_isl=yes
6032 else
6033 gcc_cv_isl=no
6035 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6036 conftest.$ac_objext conftest.beam conftest.$ac_ext
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6040 $as_echo "$gcc_cv_isl" >&6; }
6042 CFLAGS=$_isl_saved_CFLAGS
6043 LDFLAGS=$_isl_saved_LDFLAGS
6044 LIBS=$_isl_saved_LIBS
6054 if test "x${with_isl}" = xno; then
6055 graphite_requested=no
6056 elif test "x${with_isl}" != x \
6057 || test "x${with_isl_include}" != x \
6058 || test "x${with_isl_lib}" != x ; then
6059 graphite_requested=yes
6060 else
6061 graphite_requested=no
6066 if test "${gcc_cv_isl}" = no ; then
6067 isllibs=
6068 islinc=
6071 if test "${graphite_requested}" = yes \
6072 && test "x${isllibs}" = x \
6073 && test "x${islinc}" = x ; then
6075 as_fn_error "Unable to find a usable ISL. See config.log for details." "$LINENO" 5
6080 if test "x$gcc_cv_isl" != "xno"; then
6081 # Check for CLOOG
6084 # Check whether --with-cloog-include was given.
6085 if test "${with_cloog_include+set}" = set; then :
6086 withval=$with_cloog_include;
6090 # Check whether --with-cloog-lib was given.
6091 if test "${with_cloog_lib+set}" = set; then :
6092 withval=$with_cloog_lib;
6096 # Check whether --enable-cloog-version-check was given.
6097 if test "${enable_cloog_version_check+set}" = set; then :
6098 enableval=$enable_cloog_version_check; ENABLE_CLOOG_CHECK=$enableval
6099 else
6100 ENABLE_CLOOG_CHECK=yes
6104 # Initialize clooglibs and clooginc.
6105 case $with_cloog in
6107 clooglibs=
6108 clooginc=
6110 "" | yes)
6113 clooglibs="-L$with_cloog/lib"
6114 clooginc="-I$with_cloog/include"
6116 esac
6117 if test "x${with_cloog_include}" != x ; then
6118 clooginc="-I$with_cloog_include"
6120 if test "x${with_cloog_lib}" != x; then
6121 clooglibs="-L$with_cloog_lib"
6123 if test "x${clooginc}" = x && test "x${clooglibs}" = x \
6124 && test -d ${srcdir}/cloog; then
6125 clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
6126 clooginc='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -I'${srcdir}'/cloog/include '
6127 ENABLE_CLOOG_CHECK=no
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree CLooG, disabling version check" >&5
6129 $as_echo "$as_me: WARNING: using in-tree CLooG, disabling version check" >&2;}
6132 clooginc="-DCLOOG_INT_GMP ${clooginc}"
6133 clooglibs="${clooglibs} -lcloog-isl ${isllibs} -lisl"
6139 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
6140 _cloog_saved_CFLAGS=$CFLAGS
6141 _cloog_saved_LDFLAGS=$LDFLAGS
6143 CFLAGS="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
6144 LDFLAGS="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.17.0 of CLooG" >&5
6147 $as_echo_n "checking for version 0.17.0 of CLooG... " >&6; }
6148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6149 /* end confdefs.h. */
6150 #include "cloog/version.h"
6152 main ()
6154 #if CLOOG_VERSION_MAJOR != 0 \
6155 || CLOOG_VERSION_MINOR != 17 \
6156 || CLOOG_VERSION_REVISION < 0
6157 choke me
6158 #endif
6160 return 0;
6162 _ACEOF
6163 if ac_fn_c_try_compile "$LINENO"; then :
6164 gcc_cv_cloog=yes
6165 else
6166 gcc_cv_cloog=no
6168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
6170 $as_echo "$gcc_cv_cloog" >&6; }
6172 CFLAGS=$_cloog_saved_CFLAGS
6173 LDFLAGS=$_cloog_saved_LDFLAGS
6177 if test "${gcc_cv_cloog}" = no ; then
6181 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
6182 _cloog_saved_CFLAGS=$CFLAGS
6183 _cloog_saved_LDFLAGS=$LDFLAGS
6185 CFLAGS="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
6186 LDFLAGS="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.18.0 of CLooG" >&5
6189 $as_echo_n "checking for version 0.18.0 of CLooG... " >&6; }
6190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6191 /* end confdefs.h. */
6192 #include "cloog/version.h"
6194 main ()
6196 #if CLOOG_VERSION_MAJOR != 0 \
6197 || CLOOG_VERSION_MINOR != 18 \
6198 || CLOOG_VERSION_REVISION < 0
6199 choke me
6200 #endif
6202 return 0;
6204 _ACEOF
6205 if ac_fn_c_try_compile "$LINENO"; then :
6206 gcc_cv_cloog=yes
6207 else
6208 gcc_cv_cloog=no
6210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
6212 $as_echo "$gcc_cv_cloog" >&6; }
6214 CFLAGS=$_cloog_saved_CFLAGS
6215 LDFLAGS=$_cloog_saved_LDFLAGS
6225 if test "x${with_cloog}" = xno; then
6226 graphite_requested=no
6227 elif test "x${with_cloog}" != x \
6228 || test "x${with_cloog_include}" != x \
6229 || test "x${with_cloog_lib}" != x ; then
6230 graphite_requested=yes
6231 else
6232 graphite_requested=no
6237 if test "${gcc_cv_cloog}" = no ; then
6238 clooglibs=
6239 clooginc=
6242 if test "${graphite_requested}" = yes \
6243 && test "x${clooglibs}" = x \
6244 && test "x${clooginc}" = x ; then
6246 as_fn_error "Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6253 # If either the ISL or the CLooG check failed, disable builds of in-tree
6254 # variants of both
6255 if test "x$with_isl" = xno ||
6256 test "x$with_cloog" = xno ||
6257 test "x$gcc_cv_cloog" = xno ||
6258 test "x$gcc_cv_isl" = xno; then
6259 noconfigdirs="$noconfigdirs cloog isl"
6260 islinc=
6261 clooginc=
6262 clooglibs=
6270 # Check for LTO support.
6271 # Check whether --enable-lto was given.
6272 if test "${enable_lto+set}" = set; then :
6273 enableval=$enable_lto; enable_lto=$enableval
6274 else
6275 enable_lto=yes; default_enable_lto=yes
6282 target_elf=no
6283 case $target in
6284 *-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \
6285 *-msdosdjgpp* | *-vms* | *-wince* | *-*-pe* | \
6286 alpha*-dec-osf* | *-interix* | hppa[12]*-*-hpux*)
6287 target_elf=no
6290 target_elf=yes
6292 esac
6294 if test $target_elf = yes; then :
6295 # ELF platforms build the lto-plugin always.
6296 build_lto_plugin=yes
6298 else
6299 if test x"$default_enable_lto" = x"yes" ; then
6300 case $target in
6301 *-apple-darwin9* | *-cygwin* | *-mingw*) ;;
6302 # On other non-ELF platforms, LTO has yet to be validated.
6303 *) enable_lto=no ;;
6304 esac
6305 else
6306 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6307 # It would also be nice to check the binutils support, but we don't
6308 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6309 # warn during gcc/ subconfigure; unless you're bootstrapping with
6310 # -flto it won't be needed until after installation anyway.
6311 case $target in
6312 *-cygwin* | *-mingw* | *-apple-darwin*) ;;
6313 *) if test x"$enable_lto" = x"yes"; then
6314 as_fn_error "LTO support is not enabled for this target." "$LINENO" 5
6317 esac
6319 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6320 # Build it unless LTO was explicitly disabled.
6321 case $target in
6322 *-cygwin* | *-mingw*) build_lto_plugin=$enable_lto ;;
6323 *) ;;
6324 esac
6330 # By default, C and C++ are the only stage 1 languages.
6331 stage1_languages=,c,
6333 # Target libraries that we bootstrap.
6334 bootstrap_target_libs=,target-libgcc,
6336 # Figure out what language subdirectories are present.
6337 # Look if the user specified --enable-languages="..."; if not, use
6338 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6339 # go away some day.
6340 # NB: embedded tabs in this IF block -- do not untabify
6341 if test -d ${srcdir}/gcc; then
6342 if test x"${enable_languages+set}" != xset; then
6343 if test x"${LANGUAGES+set}" = xset; then
6344 enable_languages="${LANGUAGES}"
6345 echo configure.in: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
6346 else
6347 enable_languages=all
6349 else
6350 if test x"${enable_languages}" = x ||
6351 test x"${enable_languages}" = xyes;
6352 then
6353 echo configure.in: --enable-languages needs at least one language argument 1>&2
6354 exit 1
6357 enable_languages=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6359 # 'f95' is the old name for the 'fortran' language. We issue a warning
6360 # and make the substitution.
6361 case ,${enable_languages}, in
6362 *,f95,*)
6363 echo configure.in: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
6364 enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6366 esac
6368 # If bootstrapping, C++ must be enabled.
6369 case ",$enable_languages,:$enable_bootstrap" in
6370 *,c++,*:*) ;;
6371 *:yes)
6372 if test -f ${srcdir}/gcc/cp/config-lang.in; then
6373 enable_languages="${enable_languages},c++"
6374 else
6375 as_fn_error "bootstrapping requires c++ sources" "$LINENO" 5
6378 esac
6380 # First scan to see if an enabled language requires some other language.
6381 # We assume that a given config-lang.in will list all the language
6382 # front ends it requires, even if some are required indirectly.
6383 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
6384 case ${lang_frag} in
6385 ..) ;;
6386 # The odd quoting in the next line works around
6387 # an apparent bug in bash 1.12 on linux.
6388 ${srcdir}/gcc/[*]/config-lang.in) ;;
6390 # From the config-lang.in, get $language, $lang_requires, and
6391 # $lang_requires_boot_languages.
6392 language=
6393 lang_requires=
6394 lang_requires_boot_languages=
6395 . ${lang_frag}
6396 for other in ${lang_requires} ${lang_requires_boot_languages}; do
6397 case ,${enable_languages}, in
6398 *,$other,*) ;;
6399 *,all,*) ;;
6400 *,$language,*)
6401 echo " \`$other' language required by \`$language'; enabling" 1>&2
6402 enable_languages="${enable_languages},${other}"
6404 esac
6405 done
6406 for other in ${lang_requires_boot_languages} ; do
6407 if test "$other" != "c"; then
6408 case ,${enable_stage1_languages}, in
6409 *,$other,*) ;;
6410 *,all,*) ;;
6412 case ,${enable_languages}, in
6413 *,$language,*)
6414 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6415 enable_stage1_languages="$enable_stage1_languages,${other}"
6417 esac
6419 esac
6421 done
6423 esac
6424 done
6426 new_enable_languages=,c,
6428 # If LTO is enabled, add the LTO front end.
6429 extra_host_libiberty_configure_flags=
6430 if test "$enable_lto" = "yes" ; then
6431 case ,${enable_languages}, in
6432 *,lto,*) ;;
6433 *) enable_languages="${enable_languages},lto" ;;
6434 esac
6435 if test "${build_lto_plugin}" = "yes" ; then
6436 configdirs="$configdirs lto-plugin"
6437 extra_host_libiberty_configure_flags=--enable-shared
6442 missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6443 potential_languages=,c,
6445 enabled_target_libs=
6446 disabled_target_libs=
6448 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
6449 case ${lang_frag} in
6450 ..) ;;
6451 # The odd quoting in the next line works around
6452 # an apparent bug in bash 1.12 on linux.
6453 ${srcdir}/gcc/[*]/config-lang.in) ;;
6455 # From the config-lang.in, get $language, $target_libs,
6456 # $lang_dirs, $boot_language, and $build_by_default
6457 language=
6458 target_libs=
6459 lang_dirs=
6460 subdir_requires=
6461 boot_language=no
6462 build_by_default=yes
6463 . ${lang_frag}
6464 if test x${language} = x; then
6465 echo "${lang_frag} doesn't set \$language." 1>&2
6466 exit 1
6469 if test "$language" = "c++"; then
6470 boot_language=yes
6473 add_this_lang=no
6474 case ,${enable_languages}, in
6475 *,${language},*)
6476 # Language was explicitly selected; include it
6477 # unless it is C, which is enabled by default.
6478 if test "$language" != "c"; then
6479 add_this_lang=yes
6482 *,all,*)
6483 # 'all' was selected, select it if it is a default language
6484 if test "$language" != "c"; then
6485 add_this_lang=${build_by_default}
6488 esac
6490 # Disable languages that need other directories if these aren't available.
6491 for i in $subdir_requires; do
6492 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6493 case ,${enable_languages}, in
6494 *,${language},*)
6495 # Specifically requested language; tell them.
6496 as_fn_error "The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6499 # Silently disable.
6500 add_this_lang=unsupported
6502 esac
6503 done
6505 # Disable Ada if no preexisting GNAT is available.
6506 case ,${enable_languages},:${language}:${have_gnat} in
6507 *,${language},*:ada:no)
6508 # Specifically requested language; tell them.
6509 as_fn_error "GNAT is required to build $language" "$LINENO" 5
6511 *:ada:no)
6512 # Silently disable.
6513 add_this_lang=unsupported
6515 esac
6517 # Disable a language that is unsupported by the target.
6518 case " $unsupported_languages " in
6519 *" $language "*)
6520 add_this_lang=unsupported
6522 esac
6524 case $add_this_lang in
6525 unsupported)
6526 # Remove language-dependent dirs.
6527 disabled_target_libs="$disabled_target_libs $target_libs"
6528 noconfigdirs="$noconfigdirs $lang_dirs"
6531 # Remove language-dependent dirs; still show language as supported.
6532 disabled_target_libs="$disabled_target_libs $target_libs"
6533 noconfigdirs="$noconfigdirs $lang_dirs"
6534 potential_languages="${potential_languages}${language},"
6536 yes)
6537 new_enable_languages="${new_enable_languages}${language},"
6538 potential_languages="${potential_languages}${language},"
6539 missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"`
6540 enabled_target_libs="$enabled_target_libs $target_libs"
6541 case "${boot_language}:,$enable_stage1_languages," in
6542 yes:* | *:*,$language,* | *:*,yes, | *:*,all,)
6543 # Add to (comma-separated) list of stage 1 languages.
6544 case ",$stage1_languages," in
6545 *,$language,* | ,yes, | ,all,) ;;
6546 *) stage1_languages="${stage1_languages}${language}," ;;
6547 esac
6548 # We need to bootstrap any supporting libraries.
6549 bootstrap_target_libs="${bootstrap_target_libs}${target_libs},"
6551 esac
6553 esac
6555 esac
6556 done
6558 # Add target libraries which are only needed for disabled languages
6559 # to noconfigdirs.
6560 if test -n "$disabled_target_libs"; then
6561 for dir in $disabled_target_libs; do
6562 case " $enabled_target_libs " in
6563 *" ${dir} "*) ;;
6564 *) noconfigdirs="$noconfigdirs $dir" ;;
6565 esac
6566 done
6569 # Check whether --enable-stage1-languages was given.
6570 if test "${enable_stage1_languages+set}" = set; then :
6571 enableval=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6572 ,no,|,,)
6573 # Set it to something that will have no effect in the loop below
6574 enable_stage1_languages=c ;;
6575 ,yes,)
6576 enable_stage1_languages=`echo $new_enable_languages | \
6577 sed -e "s/^,//" -e "s/,$//" ` ;;
6578 *,all,*)
6579 enable_stage1_languages=`echo ,$enable_stage1_languages, | \
6580 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6581 esac
6583 # Add "good" languages from enable_stage1_languages to stage1_languages,
6584 # while "bad" languages go in missing_languages. Leave no duplicates.
6585 for i in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6586 case $potential_languages in
6587 *,$i,*)
6588 case $stage1_languages in
6589 *,$i,*) ;;
6590 *) stage1_languages="$stage1_languages$i," ;;
6591 esac ;;
6593 case $missing_languages in
6594 *,$i,*) ;;
6595 *) missing_languages="$missing_languages$i," ;;
6596 esac ;;
6597 esac
6598 done
6602 # Remove leading/trailing commas that were added for simplicity
6603 potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6604 missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6605 stage1_languages=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6606 new_enable_languages=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6608 if test "x$missing_languages" != x; then
6609 as_fn_error "
6610 The following requested languages could not be built: ${missing_languages}
6611 Supported languages are: ${potential_languages}" "$LINENO" 5
6613 if test "x$new_enable_languages" != "x$enable_languages"; then
6614 echo The following languages will be built: ${new_enable_languages}
6615 enable_languages="$new_enable_languages"
6619 ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6622 # Handle --disable-<component> generically.
6623 for dir in $configdirs $build_configdirs $target_configdirs ; do
6624 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6625 varname=`echo $dirname | sed -e s/+/_/g`
6626 if eval test x\${enable_${varname}} "=" xno ; then
6627 noconfigdirs="$noconfigdirs $dir"
6629 done
6631 # Check for Boehm's garbage collector
6632 # Check whether --enable-objc-gc was given.
6633 if test "${enable_objc_gc+set}" = set; then :
6634 enableval=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6635 *,objc,*:*:yes:*target-boehm-gc*)
6636 as_fn_error "Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6638 esac
6642 # Make sure we only build Boehm's garbage collector if required.
6643 case ,${enable_languages},:${enable_objc_gc} in
6644 *,objc,*:yes)
6645 # Keep target-boehm-gc if requested for Objective-C.
6648 # Otherwise remove target-boehm-gc depending on target-libjava.
6649 if echo " ${noconfigdirs} " | grep "target-libjava" >/dev/null 2>&1; then
6650 noconfigdirs="$noconfigdirs target-boehm-gc"
6653 esac
6656 # Check whether --with-upc-pts was given.
6657 if test "${with_upc_pts+set}" = set; then :
6658 withval=$with_upc_pts;
6659 case ,${enable_languages}, in
6660 *,upc,)
6661 case "$withval" in
6662 struct|packed)
6663 true
6666 as_fn_error "$withval is an invalid option to --with-upc-pts" "$LINENO" 5
6668 esac
6671 as_fn_error "--with-upc-pts supplied, but UPC language not enabled" "$LINENO" 5
6673 esac
6678 # Disable libitm, libsanitizer, libvtv if we're not building C++
6679 case ,${enable_languages}, in
6680 *,c++,*) ;;
6682 noconfigdirs="$noconfigdirs target-libitm target-libsanitizer target-libvtv"
6684 esac
6686 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6687 # $build_configdirs and $target_configdirs.
6688 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6690 notsupp=""
6691 for dir in . $skipdirs $noconfigdirs ; do
6692 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6693 if test $dir != . && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6694 configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6695 if test -r $srcdir/$dirname/configure ; then
6696 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6697 true
6698 else
6699 notsupp="$notsupp $dir"
6703 if test $dir != . && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6704 build_configdirs=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6705 if test -r $srcdir/$dirname/configure ; then
6706 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6707 true
6708 else
6709 notsupp="$notsupp $dir"
6713 if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6714 target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6715 if test -r $srcdir/$dirname/configure ; then
6716 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6717 true
6718 else
6719 notsupp="$notsupp $dir"
6723 done
6725 # Quietly strip out all directories which aren't configurable in this tree.
6726 # This relies on all configurable subdirectories being autoconfiscated, which
6727 # is now the case.
6728 build_configdirs_all="$build_configdirs"
6729 build_configdirs=
6730 for i in ${build_configdirs_all} ; do
6731 j=`echo $i | sed -e s/build-//g`
6732 if test -f ${srcdir}/$j/configure ; then
6733 build_configdirs="${build_configdirs} $i"
6735 done
6737 configdirs_all="$configdirs"
6738 configdirs=
6739 for i in ${configdirs_all} ; do
6740 if test -f ${srcdir}/$i/configure ; then
6741 configdirs="${configdirs} $i"
6743 done
6745 target_configdirs_all="$target_configdirs"
6746 target_configdirs=
6747 for i in ${target_configdirs_all} ; do
6748 j=`echo $i | sed -e s/target-//g`
6749 if test -f ${srcdir}/$j/configure ; then
6750 target_configdirs="${target_configdirs} $i"
6752 done
6754 # Produce a warning message for the subdirs we can't configure.
6755 # This isn't especially interesting in the Cygnus tree, but in the individual
6756 # FSF releases, it's important to let people know when their machine isn't
6757 # supported by the one or two programs in a package.
6759 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6760 # If $appdirs is non-empty, at least one of those directories must still
6761 # be configured, or we error out. (E.g., if the gas release supports a
6762 # specified target in some subdirs but not the gas subdir, we shouldn't
6763 # pretend that all is well.)
6764 if test -n "$appdirs" ; then
6765 for dir in $appdirs ; do
6766 if test -r $dir/Makefile.in ; then
6767 if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6768 appdirs=""
6769 break
6771 if echo " ${target_configdirs} " | grep " target-${dir} " >/dev/null 2>&1; then
6772 appdirs=""
6773 break
6776 done
6777 if test -n "$appdirs" ; then
6778 echo "*** This configuration is not supported by this package." 1>&2
6779 exit 1
6782 # Okay, some application will build, or we don't care to check. Still
6783 # notify of subdirs not getting built.
6784 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6785 echo " ${notsupp}" 1>&2
6786 echo " (Any other directories should still work fine.)" 1>&2
6789 case "$host" in
6790 *msdosdjgpp*)
6791 enable_gdbtk=no ;;
6792 esac
6794 # To find our prefix, in gcc_cv_tool_prefix.
6796 # The user is always right.
6797 if test "${PATH_SEPARATOR+set}" != set; then
6798 echo "#! /bin/sh" >conf$$.sh
6799 echo "exit 0" >>conf$$.sh
6800 chmod +x conf$$.sh
6801 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6802 PATH_SEPARATOR=';'
6803 else
6804 PATH_SEPARATOR=:
6806 rm -f conf$$.sh
6811 if test "x$exec_prefix" = xNONE; then
6812 if test "x$prefix" = xNONE; then
6813 gcc_cv_tool_prefix=$ac_default_prefix
6814 else
6815 gcc_cv_tool_prefix=$prefix
6817 else
6818 gcc_cv_tool_prefix=$exec_prefix
6821 # If there is no compiler in the tree, use the PATH only. In any
6822 # case, if there is no compiler in the tree nobody should use
6823 # AS_FOR_TARGET and LD_FOR_TARGET.
6824 if test x$host = x$build && test -f $srcdir/gcc/BASE-VER; then
6825 gcc_version=`cat $srcdir/gcc/BASE-VER`
6826 gcc_cv_tool_dirs="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6827 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6828 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6829 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6830 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6831 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6832 else
6833 gcc_cv_tool_dirs=
6836 if test x$build = x$target && test -n "$md_exec_prefix"; then
6837 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6842 copy_dirs=
6845 # Check whether --with-build-sysroot was given.
6846 if test "${with_build_sysroot+set}" = set; then :
6847 withval=$with_build_sysroot; if test x"$withval" != x ; then
6848 SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
6850 else
6851 SYSROOT_CFLAGS_FOR_TARGET=
6857 # Check whether --with-debug-prefix-map was given.
6858 if test "${with_debug_prefix_map+set}" = set; then :
6859 withval=$with_debug_prefix_map; if test x"$withval" != x; then
6860 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
6861 for debug_map in $withval; do
6862 DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6863 done
6865 else
6866 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
6871 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6872 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6873 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6874 # We want to ensure that TARGET libraries (which we know are built with
6875 # gcc) are built with "-O2 -g", so include those options when setting
6876 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6877 if test "x$CFLAGS_FOR_TARGET" = x; then
6878 CFLAGS_FOR_TARGET=$CFLAGS
6879 case " $CFLAGS " in
6880 *" -O2 "*) ;;
6881 *) CFLAGS_FOR_TARGET="-O2 $CFLAGS_FOR_TARGET" ;;
6882 esac
6883 case " $CFLAGS " in
6884 *" -g "* | *" -g3 "*) ;;
6885 *) CFLAGS_FOR_TARGET="-g $CFLAGS_FOR_TARGET" ;;
6886 esac
6890 if test "x$CXXFLAGS_FOR_TARGET" = x; then
6891 CXXFLAGS_FOR_TARGET=$CXXFLAGS
6892 case " $CXXFLAGS " in
6893 *" -O2 "*) ;;
6894 *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS_FOR_TARGET" ;;
6895 esac
6896 case " $CXXFLAGS " in
6897 *" -g "* | *" -g3 "*) ;;
6898 *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS_FOR_TARGET" ;;
6899 esac
6905 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6906 # the named directory are copied to $(tooldir)/sys-include.
6907 if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
6908 if test x${is_cross_compiler} = xno ; then
6909 echo 1>&2 '***' --with-headers is only supported when cross compiling
6910 exit 1
6912 if test x"${with_headers}" != xyes ; then
6913 x=${gcc_cv_tool_prefix}
6914 copy_dirs="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6918 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6919 # the name directories are copied to $(tooldir)/lib. Multiple directories
6920 # are permitted.
6921 if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
6922 if test x${is_cross_compiler} = xno ; then
6923 echo 1>&2 '***' --with-libs is only supported when cross compiling
6924 exit 1
6926 if test x"${with_libs}" != xyes ; then
6927 # Copy the libraries in reverse order, so that files in the first named
6928 # library override files in subsequent libraries.
6929 x=${gcc_cv_tool_prefix}
6930 for l in ${with_libs}; do
6931 copy_dirs="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6932 done
6936 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6938 # This is done by determining whether or not the appropriate directory
6939 # is available, and by checking whether or not specific configurations
6940 # have requested that this magic not happen.
6942 # The command line options always override the explicit settings in
6943 # configure.in, and the settings in configure.in override this magic.
6945 # If the default for a toolchain is to use GNU as and ld, and you don't
6946 # want to do that, then you should use the --without-gnu-as and
6947 # --without-gnu-ld options for the configure script. Similarly, if
6948 # the default is to use the included zlib and you don't want to do that,
6949 # you should use the --with-system-zlib option for the configure script.
6951 if test x${use_gnu_as} = x &&
6952 echo " ${configdirs} " | grep " gas " > /dev/null 2>&1 ; then
6953 with_gnu_as=yes
6954 extra_host_args="$extra_host_args --with-gnu-as"
6957 if test x${use_gnu_ld} = x &&
6958 echo " ${configdirs} " | egrep " (go)?ld " > /dev/null 2>&1 ; then
6959 with_gnu_ld=yes
6960 extra_host_args="$extra_host_args --with-gnu-ld"
6963 if test x${use_included_zlib} = x &&
6964 echo " ${configdirs} " | grep " zlib " > /dev/null 2>&1 ; then
6966 else
6967 with_system_zlib=yes
6968 extra_host_args="$extra_host_args --with-system-zlib"
6971 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6972 # can detect this case.
6974 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 ; then
6975 with_newlib=yes
6976 extra_host_args="$extra_host_args --with-newlib"
6979 # Handle ${copy_dirs}
6980 set fnord ${copy_dirs}
6981 shift
6982 while test $# != 0 ; do
6983 if test -f $2/COPIED && test x"`cat $2/COPIED`" = x"$1" ; then
6985 else
6986 echo Copying $1 to $2
6988 # Use the install script to create the directory and all required
6989 # parent directories.
6990 if test -d $2 ; then
6992 else
6993 echo >config.temp
6994 ${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
6997 # Copy the directory, assuming we have tar.
6998 # FIXME: Should we use B in the second tar? Not all systems support it.
6999 (cd $1; tar -cf - .) | (cd $2; tar -xpf -)
7001 # It is the responsibility of the user to correctly adjust all
7002 # symlinks. If somebody can figure out how to handle them correctly
7003 # here, feel free to add the code.
7005 echo $1 > $2/COPIED
7007 shift; shift
7008 done
7010 # Determine a target-dependent exec_prefix that the installed
7011 # gcc will search in. Keep this list sorted by triplet, with
7012 # the *-*-osname triplets last.
7013 md_exec_prefix=
7014 case "${target}" in
7015 i[34567]86-pc-msdosdjgpp*)
7016 md_exec_prefix=/dev/env/DJDIR/bin
7018 *-*-hpux* | \
7019 *-*-nto-qnx* | \
7020 *-*-solaris2*)
7021 md_exec_prefix=/usr/ccs/bin
7023 esac
7025 extra_arflags_for_target=
7026 extra_nmflags_for_target=
7027 extra_ranlibflags_for_target=
7028 target_makefile_frag=/dev/null
7029 case "${target}" in
7030 spu-*-*)
7031 target_makefile_frag="config/mt-spu"
7033 mips*-sde-elf* | mips*-mti-elf*)
7034 target_makefile_frag="config/mt-sde"
7036 mipsisa*-*-elfoabi*)
7037 target_makefile_frag="config/mt-mips-elfoabi"
7039 mips*-*-*linux* | mips*-*-gnu*)
7040 target_makefile_frag="config/mt-mips-gnu"
7042 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
7043 target_makefile_frag="config/mt-gnu"
7045 *-*-aix4.[3456789]* | *-*-aix[56789].*)
7046 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7047 # commands to handle both 32-bit and 64-bit objects. These flags are
7048 # harmless if we're using GNU nm or ar.
7049 extra_arflags_for_target=" -X32_64"
7050 extra_nmflags_for_target=" -B -X32_64"
7052 esac
7054 alphaieee_frag=/dev/null
7055 case $target in
7056 alpha*-*-*)
7057 # This just makes sure to use the -mieee option to build target libs.
7058 # This should probably be set individually by each library.
7059 alphaieee_frag="config/mt-alphaieee"
7061 esac
7063 # If --enable-target-optspace always use -Os instead of -O2 to build
7064 # the target libraries, similarly if it is not specified, use -Os
7065 # on selected platforms.
7066 ospace_frag=/dev/null
7067 case "${enable_target_optspace}:${target}" in
7068 yes:*)
7069 ospace_frag="config/mt-ospace"
7071 :d30v-*)
7072 ospace_frag="config/mt-d30v"
7074 :m32r-* | :d10v-* | :fr30-*)
7075 ospace_frag="config/mt-ospace"
7077 no:* | :*)
7080 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7082 esac
7084 # Some systems (e.g., one of the i386-aix systems the gas testers are
7085 # using) don't handle "\$" correctly, so don't use it here.
7086 tooldir='${exec_prefix}'/${target_noncanonical}
7087 build_tooldir=${tooldir}
7089 # Create a .gdbinit file which runs the one in srcdir
7090 # and tells GDB to look there for source files.
7092 if test -r ${srcdir}/.gdbinit ; then
7093 case ${srcdir} in
7094 .) ;;
7095 *) cat > ./.gdbinit <<EOF
7096 # ${NO_EDIT}
7097 dir ${srcdir}
7098 dir .
7099 source ${srcdir}/.gdbinit
7102 esac
7105 # Make sure that the compiler is able to generate an executable. If it
7106 # can't, we are probably in trouble. We don't care whether we can run the
7107 # executable--we might be using a cross compiler--we only care whether it
7108 # can be created. At this point the main configure script has set CC.
7109 we_are_ok=no
7110 echo "int main () { return 0; }" > conftest.c
7111 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7112 if test $? = 0 ; then
7113 if test -s conftest || test -s conftest.exe ; then
7114 we_are_ok=yes
7117 case $we_are_ok in
7119 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7120 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7121 rm -f conftest*
7122 exit 1
7124 esac
7125 rm -f conftest*
7127 # Decide which environment variable is used to find dynamic libraries.
7128 case "${host}" in
7129 *-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
7130 *-*-darwin*) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
7131 *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
7132 *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
7133 esac
7135 # On systems where the dynamic library environment variable is PATH,
7136 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7137 # built executables to PATH.
7138 if test "$RPATH_ENVVAR" = PATH; then
7139 GCC_SHLIB_SUBDIR=/shlib
7140 else
7141 GCC_SHLIB_SUBDIR=
7144 # Record target_configdirs and the configure arguments for target and
7145 # build configuration in Makefile.
7146 target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7147 build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7149 # If we are building libgomp, bootstrap it.
7150 if echo " ${target_configdirs} " | grep " libgomp " > /dev/null 2>&1 ; then
7151 bootstrap_target_libs=${bootstrap_target_libs}target-libgomp,
7154 # If we are building libsanitizer, bootstrap it.
7155 if echo " ${target_configdirs} " | grep " libsanitizer " > /dev/null 2>&1 ; then
7156 bootstrap_target_libs=${bootstrap_target_libs}target-libsanitizer,
7159 # If we are building libvtv, bootstrap it.
7160 if echo " ${target_configdirs} " | grep " libvtv " > /dev/null 2>&1 ; then
7161 bootstrap_target_libs=${bootstrap_target_libs}target-libvtv,
7164 # Determine whether gdb needs tk/tcl or not.
7165 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7166 # and in that case we want gdb to be built without tk. Ugh!
7167 # In fact I believe gdb is the *only* package directly dependent on tk,
7168 # so we should be able to put the 'maybe's in unconditionally and
7169 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7170 # 100% sure that that's safe though.
7172 gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7173 case "$enable_gdbtk" in
7175 GDB_TK="" ;;
7176 yes)
7177 GDB_TK="${gdb_tk}" ;;
7179 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7180 # distro. Eventually someone will fix this and move Insight, nee
7181 # gdbtk to a separate directory.
7182 if test -d ${srcdir}/gdb/gdbtk ; then
7183 GDB_TK="${gdb_tk}"
7184 else
7185 GDB_TK=""
7188 esac
7189 CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7190 INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7192 # Strip out unwanted targets.
7194 # While at that, we remove Makefiles if we were started for recursive
7195 # configuration, so that the top-level Makefile reconfigures them,
7196 # like we used to do when configure itself was recursive.
7198 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7199 # but now we're fixing up the Makefile ourselves with the additional
7200 # commands passed to AC_CONFIG_FILES. Use separate variables
7201 # extrasub-{build,host,target} not because there is any reason to split
7202 # the substitutions up that way, but only to remain below the limit of
7203 # 99 commands in a script, for HP-UX sed.
7204 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7206 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7207 yes:yes:*\ gold\ *:*,c++,*) ;;
7208 yes:yes:*\ gold\ *:*)
7209 as_fn_error "in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7211 esac
7213 # Adjust the toplevel makefile according to whether bootstrap was selected.
7214 case $enable_bootstrap in
7215 yes)
7216 bootstrap_suffix=bootstrap
7217 BUILD_CONFIG=bootstrap-debug
7220 bootstrap_suffix=no-bootstrap
7221 BUILD_CONFIG=
7223 esac
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7226 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7229 # Check whether --with-build-config was given.
7230 if test "${with_build_config+set}" = set; then :
7231 withval=$with_build_config; case $with_build_config in
7232 yes) with_build_config= ;;
7233 no) with_build_config= BUILD_CONFIG= ;;
7234 esac
7238 if test "x${with_build_config}" != x; then
7239 BUILD_CONFIG=$with_build_config
7240 else
7241 case $BUILD_CONFIG in
7242 bootstrap-debug)
7243 if echo "int f (void) { return 0; }" > conftest.c &&
7244 ${CC} -c conftest.c &&
7245 mv conftest.o conftest.o.g0 &&
7246 ${CC} -c -g conftest.c &&
7247 mv conftest.o conftest.o.g &&
7248 ${srcdir}/contrib/compare-debug conftest.o.g0 conftest.o.g > /dev/null 2>&1; then
7250 else
7251 BUILD_CONFIG=
7253 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7255 esac
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7258 $as_echo "$BUILD_CONFIG" >&6; }
7261 extrasub_build=
7262 for module in ${build_configdirs} ; do
7263 if test -z "${no_recursion}" \
7264 && test -f ${build_subdir}/${module}/Makefile; then
7265 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7266 rm -f ${build_subdir}/${module}/Makefile
7268 extrasub_build="$extrasub_build
7269 /^@if build-$module\$/d
7270 /^@endif build-$module\$/d
7271 /^@if build-$module-$bootstrap_suffix\$/d
7272 /^@endif build-$module-$bootstrap_suffix\$/d"
7273 done
7274 extrasub_host=
7275 for module in ${configdirs} ; do
7276 if test -z "${no_recursion}"; then
7277 for file in stage*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile; do
7278 if test -f ${file}; then
7279 echo 1>&2 "*** removing ${file} to force reconfigure"
7280 rm -f ${file}
7282 done
7284 extrasub_host="$extrasub_host
7285 /^@if $module\$/d
7286 /^@endif $module\$/d
7287 /^@if $module-$bootstrap_suffix\$/d
7288 /^@endif $module-$bootstrap_suffix\$/d"
7289 done
7290 extrasub_target=
7291 for module in ${target_configdirs} ; do
7292 if test -z "${no_recursion}" \
7293 && test -f ${target_subdir}/${module}/Makefile; then
7294 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7295 rm -f ${target_subdir}/${module}/Makefile
7298 # We only bootstrap target libraries listed in bootstrap_target_libs.
7299 case $bootstrap_target_libs in
7300 *,target-$module,*) target_bootstrap_suffix=$bootstrap_suffix ;;
7301 *) target_bootstrap_suffix=no-bootstrap ;;
7302 esac
7304 extrasub_target="$extrasub_target
7305 /^@if target-$module\$/d
7306 /^@endif target-$module\$/d
7307 /^@if target-$module-$target_bootstrap_suffix\$/d
7308 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7309 done
7311 # Do the final fixup along with target modules.
7312 extrasub_target="$extrasub_target
7313 /^@if /,/^@endif /d"
7315 # Create the serialization dependencies. This uses a temporary file.
7317 # Check whether --enable-serial-configure was given.
7318 if test "${enable_serial_configure+set}" = set; then :
7319 enableval=$enable_serial_configure;
7323 case ${enable_serial_configure} in
7324 yes)
7325 enable_serial_build_configure=yes
7326 enable_serial_host_configure=yes
7327 enable_serial_target_configure=yes
7329 esac
7331 # These force 'configure's to be done one at a time, to avoid problems
7332 # with contention over a shared config.cache.
7333 rm -f serdep.tmp
7334 echo '# serdep.tmp' > serdep.tmp
7335 olditem=
7336 test "x${enable_serial_build_configure}" = xyes &&
7337 for item in ${build_configdirs} ; do
7338 case ${olditem} in
7339 "") ;;
7340 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp ;;
7341 esac
7342 olditem=${item}
7343 done
7344 olditem=
7345 test "x${enable_serial_host_configure}" = xyes &&
7346 for item in ${configdirs} ; do
7347 case ${olditem} in
7348 "") ;;
7349 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp ;;
7350 esac
7351 olditem=${item}
7352 done
7353 olditem=
7354 test "x${enable_serial_target_configure}" = xyes &&
7355 for item in ${target_configdirs} ; do
7356 case ${olditem} in
7357 "") ;;
7358 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp ;;
7359 esac
7360 olditem=${item}
7361 done
7362 serialization_dependencies=serdep.tmp
7365 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7366 # target, nonopt, and variable assignments. These are the ones we
7367 # might not want to pass down to subconfigures. The exception being
7368 # --cache-file=/dev/null, which is used to turn off the use of cache
7369 # files altogether, and which should be passed on to subconfigures.
7370 # Also strip program-prefix, program-suffix, and program-transform-name,
7371 # so that we can pass down a consistent program-transform-name.
7372 baseargs=
7373 tbaseargs=
7374 keep_next=no
7375 skip_next=no
7376 eval "set -- $ac_configure_args"
7377 for ac_arg
7379 if test X"$skip_next" = X"yes"; then
7380 skip_next=no
7381 continue
7383 if test X"$keep_next" = X"yes"; then
7384 case $ac_arg in
7385 *\'*)
7386 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7387 esac
7388 baseargs="$baseargs '$ac_arg'"
7389 tbaseargs="$tbaseargs '$ac_arg'"
7390 keep_next=no
7391 continue
7394 # Handle separated arguments. Based on the logic generated by
7395 # autoconf 2.59.
7396 case $ac_arg in
7397 *=* | --config-cache | -C | -disable-* | --disable-* \
7398 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
7399 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
7400 | -with-* | --with-* | -without-* | --without-* | --x)
7401 separate_arg=no
7404 separate_arg=yes
7407 separate_arg=no
7409 esac
7411 skip_targ=no
7412 case $ac_arg in
7414 --with-* | --without-*)
7415 libopt=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7417 case $libopt in
7418 *[-_]include)
7419 lib=`echo "$libopt" | sed 's,[-_]include$,,'`
7421 *[-_]lib)
7422 lib=`echo "$libopt" | sed 's,[-_]lib$,,'`
7425 lib=$libopt
7427 esac
7430 case $lib in
7431 mpc | mpfr | gmp | cloog)
7432 # If we're processing --with-$lib, --with-$lib-include or
7433 # --with-$lib-lib, for one of the libs above, and target is
7434 # different from host, don't pass the current argument to any
7435 # target library's configure.
7436 if test x$is_cross_compiler = xyes; then
7437 skip_targ=yes
7440 esac
7442 esac
7444 case "$ac_arg" in
7445 --cache-file=/dev/null | \
7446 -cache-file=/dev/null )
7447 # Handled here to avoid the test to skip args below.
7448 baseargs="$baseargs '$ac_arg'"
7449 tbaseargs="$tbaseargs '$ac_arg'"
7450 # Assert: $separate_arg should always be no.
7451 keep_next=$separate_arg
7453 --no*)
7454 continue
7456 --c* | \
7457 --sr* | \
7458 --ho* | \
7459 --bu* | \
7460 --t* | \
7461 --program-* | \
7462 -cache_file* | \
7463 -srcdir* | \
7464 -host* | \
7465 -build* | \
7466 -target* | \
7467 -program-prefix* | \
7468 -program-suffix* | \
7469 -program-transform-name* )
7470 skip_next=$separate_arg
7471 continue
7474 # An option. Add it.
7475 case $ac_arg in
7476 *\'*)
7477 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7478 esac
7479 baseargs="$baseargs '$ac_arg'"
7480 if test X"$skip_targ" = Xno; then
7481 tbaseargs="$tbaseargs '$ac_arg'"
7483 keep_next=$separate_arg
7486 # Either a variable assignment, or a nonopt (triplet). Don't
7487 # pass it down; let the Makefile handle this.
7488 continue
7490 esac
7491 done
7492 # Remove the initial space we just introduced and, as these will be
7493 # expanded by make, quote '$'.
7494 baseargs=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7496 # Add in --program-transform-name, after --program-prefix and
7497 # --program-suffix have been applied to it. Autoconf has already
7498 # doubled dollar signs and backslashes in program_transform_name; we want
7499 # the backslashes un-doubled, and then the entire thing wrapped in single
7500 # quotes, because this will be expanded first by make and then by the shell.
7501 # Also, because we want to override the logic in subdir configure scripts to
7502 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7503 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7504 ${program_transform_name}
7505 EOF_SED
7506 gcc_transform_name=`cat conftestsed.out`
7507 rm -f conftestsed.out
7508 baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
7509 tbaseargs="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7510 if test "$silent" = yes; then
7511 baseargs="$baseargs --silent"
7512 tbaseargs="$tbaseargs --silent"
7514 baseargs="$baseargs --disable-option-checking"
7515 tbaseargs="$tbaseargs --disable-option-checking"
7517 # Record and document user additions to sub configure arguments.
7522 # For the build-side libraries, we just need to pretend we're native,
7523 # and not use the same cache file. Multilibs are neither needed nor
7524 # desired.
7525 build_configargs="$build_configargs --cache-file=../config.cache ${baseargs}"
7527 # For host modules, accept cache file option, or specification as blank.
7528 case "${cache_file}" in
7529 "") # empty
7530 cache_file_option="" ;;
7531 /* | [A-Za-z]:[\\/]* ) # absolute path
7532 cache_file_option="--cache-file=${cache_file}" ;;
7533 *) # relative path
7534 cache_file_option="--cache-file=../${cache_file}" ;;
7535 esac
7537 # Host dirs don't like to share a cache file either, horribly enough.
7538 # This seems to be due to autoconf 2.5x stupidity.
7539 host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7541 target_configargs="$target_configargs ${tbaseargs}"
7543 # Passing a --with-cross-host argument lets the target libraries know
7544 # whether they are being built with a cross-compiler or being built
7545 # native. However, it would be better to use other mechanisms to make the
7546 # sorts of decisions they want to make on this basis. Please consider
7547 # this option to be deprecated. FIXME.
7548 if test x${is_cross_compiler} = xyes ; then
7549 target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
7552 # Default to --enable-multilib.
7553 if test x${enable_multilib} = x ; then
7554 target_configargs="--enable-multilib ${target_configargs}"
7557 # Pass --with-newlib if appropriate. Note that target_configdirs has
7558 # changed from the earlier setting of with_newlib.
7559 if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
7560 target_configargs="--with-newlib ${target_configargs}"
7563 # Different target subdirs use different values of certain variables
7564 # (notably CXX). Worse, multilibs use *lots* of different values.
7565 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7566 # it doesn't automatically accept command-line overrides of them.
7567 # This means it's not safe for target subdirs to share a cache file,
7568 # which is disgusting, but there you have it. Hopefully this can be
7569 # fixed in future. It's still worthwhile to use a cache file for each
7570 # directory. I think.
7572 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7573 # We need to pass --target, as newer autoconf's requires consistency
7574 # for target_alias and gcc doesn't manage it consistently.
7575 target_configargs="--cache-file=./config.cache ${target_configargs}"
7577 FLAGS_FOR_TARGET=
7578 case " $target_configdirs " in
7579 *" newlib "*)
7580 case " $target_configargs " in
7581 *" --with-newlib "*)
7582 case "$target" in
7583 *-cygwin*)
7584 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7586 esac
7588 # If we're not building GCC, don't discard standard headers.
7589 if test -d ${srcdir}/gcc; then
7590 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
7592 if test "${build}" != "${host}"; then
7593 # On Canadian crosses, CC_FOR_TARGET will have already been set
7594 # by `configure', so we won't have an opportunity to add -Bgcc/
7595 # to it. This is right: we don't want to search that directory
7596 # for binaries, but we want the header files in there, so add
7597 # them explicitly.
7598 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7600 # Someone might think of using the pre-installed headers on
7601 # Canadian crosses, in case the installed compiler is not fully
7602 # compatible with the compiler being built. In this case, it
7603 # would be better to flag an error than risking having
7604 # incompatible object files being constructed. We can't
7605 # guarantee that an error will be flagged, but let's hope the
7606 # compiler will do it, when presented with incompatible header
7607 # files.
7611 case "${target}-${is_cross_compiler}" in
7612 i[3456789]86-*-linux*-no)
7613 # Here host == target, so we don't need to build gcc,
7614 # so we don't want to discard standard headers.
7615 FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7618 # If we're building newlib, use its generic headers last, but search
7619 # for any libc-related directories first (so make it the last -B
7620 # switch).
7621 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7623 # If we're building libgloss, find the startup file, simulator library
7624 # and linker script.
7625 case " $target_configdirs " in
7626 *" libgloss "*)
7627 # Look for startup file, simulator library and maybe linker script.
7628 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7629 # Look for libnosys.a in case the target needs it.
7630 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7631 # Most targets have the linker script in the source directory.
7632 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7634 esac
7636 esac
7638 esac
7640 esac
7642 case "$target" in
7643 x86_64-*mingw* | *-w64-mingw*)
7644 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7645 # however, use a symlink named 'mingw' in ${prefix} .
7646 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7648 *-mingw*)
7649 # MinGW can't be handled as Cygwin above since it does not use newlib.
7650 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'
7652 esac
7654 # Allow the user to override the flags for
7655 # our build compiler if desired.
7656 if test x"${build}" = x"${host}" ; then
7657 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
7658 CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7659 LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7662 # On Canadian crosses, we'll be searching the right directories for
7663 # the previously-installed cross compiler, so don't bother to add
7664 # flags for directories within the install tree of the compiler
7665 # being built; programs in there won't even run.
7666 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7667 # Search for pre-installed headers if nothing else fits.
7668 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7671 if test "x${use_gnu_ld}" = x &&
7672 echo " ${configdirs} " | grep " ld " > /dev/null ; then
7673 # Arrange for us to find uninstalled linker scripts.
7674 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7677 # Search for other target-specific linker scripts and such.
7678 case "${target}" in
7679 mep*)
7680 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7682 esac
7684 # UPC linker script check
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UPC link script support" >&5
7686 $as_echo_n "checking for UPC link script support... " >&6; }
7687 # Check whether --enable-upc-link-script was given.
7688 if test "${enable_upc_link_script+set}" = set; then :
7689 enableval=$enable_upc_link_script;
7690 case $enableval in
7691 yes | no) ;;
7693 as_fn_error "--enable-upc-link-script accepts only yes or no." "$LINENO" 5
7695 esac
7697 else
7699 if test x${use_gnu_ld} != xno ; then
7700 case "$target" in
7701 # disable linker script for Apple Mac OS X
7702 *-*-darwin*)
7703 enable_upc_link_script=no
7706 enable_upc_link_script=yes
7708 esac
7709 else
7710 enable_upc_link_script=no
7712 if test "$enable_upc_link_script" = yes; then
7713 target_configargs="${target_configargs} --enable-upc-link-script"
7714 host_configargs="${host_configargs} --enable-upc-link-script"
7719 if test "$enable_upc_link_script" = yes; then
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7721 $as_echo "yes" >&6; };
7722 else
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7724 $as_echo "no" >&6; };
7728 # Makefile fragments.
7729 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7731 eval fragval=\$$frag
7732 if test $fragval != /dev/null; then
7733 eval $frag=${srcdir}/$fragval
7735 done
7741 # Miscellanea: directories, flags, etc.
7750 # Build module lists & subconfigure args.
7754 # Host module lists & subconfigure args.
7759 # Target module lists & subconfigure args.
7763 # Build tools.
7782 # Generate default definitions for YACC, M4, LEX and other programs that run
7783 # on the build machine. These are used if the Makefile can't locate these
7784 # programs in objdir.
7785 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7787 for ac_prog in 'bison -y' byacc yacc
7789 # Extract the first word of "$ac_prog", so it can be a program name with args.
7790 set dummy $ac_prog; ac_word=$2
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7792 $as_echo_n "checking for $ac_word... " >&6; }
7793 if test "${ac_cv_prog_YACC+set}" = set; then :
7794 $as_echo_n "(cached) " >&6
7795 else
7796 if test -n "$YACC"; then
7797 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7798 else
7799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7800 for as_dir in $PATH
7802 IFS=$as_save_IFS
7803 test -z "$as_dir" && as_dir=.
7804 for ac_exec_ext in '' $ac_executable_extensions; do
7805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7806 ac_cv_prog_YACC="$ac_prog"
7807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7808 break 2
7810 done
7811 done
7812 IFS=$as_save_IFS
7816 YACC=$ac_cv_prog_YACC
7817 if test -n "$YACC"; then
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
7819 $as_echo "$YACC" >&6; }
7820 else
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7822 $as_echo "no" >&6; }
7826 test -n "$YACC" && break
7827 done
7828 test -n "$YACC" || YACC="$MISSING bison -y"
7830 case " $build_configdirs " in
7831 *" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7832 esac
7834 for ac_prog in bison
7836 # Extract the first word of "$ac_prog", so it can be a program name with args.
7837 set dummy $ac_prog; ac_word=$2
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7839 $as_echo_n "checking for $ac_word... " >&6; }
7840 if test "${ac_cv_prog_BISON+set}" = set; then :
7841 $as_echo_n "(cached) " >&6
7842 else
7843 if test -n "$BISON"; then
7844 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7845 else
7846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7847 for as_dir in $PATH
7849 IFS=$as_save_IFS
7850 test -z "$as_dir" && as_dir=.
7851 for ac_exec_ext in '' $ac_executable_extensions; do
7852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7853 ac_cv_prog_BISON="$ac_prog"
7854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7855 break 2
7857 done
7858 done
7859 IFS=$as_save_IFS
7863 BISON=$ac_cv_prog_BISON
7864 if test -n "$BISON"; then
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
7866 $as_echo "$BISON" >&6; }
7867 else
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7869 $as_echo "no" >&6; }
7873 test -n "$BISON" && break
7874 done
7875 test -n "$BISON" || BISON="$MISSING bison"
7877 case " $build_configdirs " in
7878 *" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7879 esac
7881 for ac_prog in gm4 gnum4 m4
7883 # Extract the first word of "$ac_prog", so it can be a program name with args.
7884 set dummy $ac_prog; ac_word=$2
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7886 $as_echo_n "checking for $ac_word... " >&6; }
7887 if test "${ac_cv_prog_M4+set}" = set; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 if test -n "$M4"; then
7891 ac_cv_prog_M4="$M4" # Let the user override the test.
7892 else
7893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894 for as_dir in $PATH
7896 IFS=$as_save_IFS
7897 test -z "$as_dir" && as_dir=.
7898 for ac_exec_ext in '' $ac_executable_extensions; do
7899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7900 ac_cv_prog_M4="$ac_prog"
7901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7902 break 2
7904 done
7905 done
7906 IFS=$as_save_IFS
7910 M4=$ac_cv_prog_M4
7911 if test -n "$M4"; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
7913 $as_echo "$M4" >&6; }
7914 else
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916 $as_echo "no" >&6; }
7920 test -n "$M4" && break
7921 done
7922 test -n "$M4" || M4="$MISSING m4"
7924 case " $build_configdirs " in
7925 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7926 esac
7928 for ac_prog in flex lex
7930 # Extract the first word of "$ac_prog", so it can be a program name with args.
7931 set dummy $ac_prog; ac_word=$2
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7933 $as_echo_n "checking for $ac_word... " >&6; }
7934 if test "${ac_cv_prog_LEX+set}" = set; then :
7935 $as_echo_n "(cached) " >&6
7936 else
7937 if test -n "$LEX"; then
7938 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7939 else
7940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7941 for as_dir in $PATH
7943 IFS=$as_save_IFS
7944 test -z "$as_dir" && as_dir=.
7945 for ac_exec_ext in '' $ac_executable_extensions; do
7946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7947 ac_cv_prog_LEX="$ac_prog"
7948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7949 break 2
7951 done
7952 done
7953 IFS=$as_save_IFS
7957 LEX=$ac_cv_prog_LEX
7958 if test -n "$LEX"; then
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
7960 $as_echo "$LEX" >&6; }
7961 else
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7963 $as_echo "no" >&6; }
7967 test -n "$LEX" && break
7968 done
7969 test -n "$LEX" || LEX="$MISSING flex"
7971 case " $build_configdirs " in
7972 *" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7973 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7974 esac
7976 for ac_prog in flex
7978 # Extract the first word of "$ac_prog", so it can be a program name with args.
7979 set dummy $ac_prog; ac_word=$2
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7981 $as_echo_n "checking for $ac_word... " >&6; }
7982 if test "${ac_cv_prog_FLEX+set}" = set; then :
7983 $as_echo_n "(cached) " >&6
7984 else
7985 if test -n "$FLEX"; then
7986 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7987 else
7988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7989 for as_dir in $PATH
7991 IFS=$as_save_IFS
7992 test -z "$as_dir" && as_dir=.
7993 for ac_exec_ext in '' $ac_executable_extensions; do
7994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7995 ac_cv_prog_FLEX="$ac_prog"
7996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7997 break 2
7999 done
8000 done
8001 IFS=$as_save_IFS
8005 FLEX=$ac_cv_prog_FLEX
8006 if test -n "$FLEX"; then
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
8008 $as_echo "$FLEX" >&6; }
8009 else
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8011 $as_echo "no" >&6; }
8015 test -n "$FLEX" && break
8016 done
8017 test -n "$FLEX" || FLEX="$MISSING flex"
8019 case " $build_configdirs " in
8020 *" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8021 esac
8023 for ac_prog in makeinfo
8025 # Extract the first word of "$ac_prog", so it can be a program name with args.
8026 set dummy $ac_prog; 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_MAKEINFO+set}" = set; then :
8030 $as_echo_n "(cached) " >&6
8031 else
8032 if test -n "$MAKEINFO"; then
8033 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8034 else
8035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8036 for as_dir in $PATH
8038 IFS=$as_save_IFS
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_MAKEINFO="$ac_prog"
8043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8044 break 2
8046 done
8047 done
8048 IFS=$as_save_IFS
8052 MAKEINFO=$ac_cv_prog_MAKEINFO
8053 if test -n "$MAKEINFO"; then
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
8055 $as_echo "$MAKEINFO" >&6; }
8056 else
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8058 $as_echo "no" >&6; }
8062 test -n "$MAKEINFO" && break
8063 done
8064 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
8066 case " $build_configdirs " in
8067 *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8070 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8071 # higher, else we use the "missing" dummy.
8072 if ${MAKEINFO} --version \
8073 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8075 else
8076 MAKEINFO="$MISSING makeinfo"
8080 esac
8082 # FIXME: expect and dejagnu may become build tools?
8084 for ac_prog in expect
8086 # Extract the first word of "$ac_prog", so it can be a program name with args.
8087 set dummy $ac_prog; ac_word=$2
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8089 $as_echo_n "checking for $ac_word... " >&6; }
8090 if test "${ac_cv_prog_EXPECT+set}" = set; then :
8091 $as_echo_n "(cached) " >&6
8092 else
8093 if test -n "$EXPECT"; then
8094 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8095 else
8096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8097 for as_dir in $PATH
8099 IFS=$as_save_IFS
8100 test -z "$as_dir" && as_dir=.
8101 for ac_exec_ext in '' $ac_executable_extensions; do
8102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8103 ac_cv_prog_EXPECT="$ac_prog"
8104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8105 break 2
8107 done
8108 done
8109 IFS=$as_save_IFS
8113 EXPECT=$ac_cv_prog_EXPECT
8114 if test -n "$EXPECT"; then
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
8116 $as_echo "$EXPECT" >&6; }
8117 else
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8119 $as_echo "no" >&6; }
8123 test -n "$EXPECT" && break
8124 done
8125 test -n "$EXPECT" || EXPECT="expect"
8127 case " $configdirs " in
8128 *" expect "*)
8129 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8131 esac
8133 for ac_prog in runtest
8135 # Extract the first word of "$ac_prog", so it can be a program name with args.
8136 set dummy $ac_prog; ac_word=$2
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8138 $as_echo_n "checking for $ac_word... " >&6; }
8139 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
8140 $as_echo_n "(cached) " >&6
8141 else
8142 if test -n "$RUNTEST"; then
8143 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8144 else
8145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8146 for as_dir in $PATH
8148 IFS=$as_save_IFS
8149 test -z "$as_dir" && as_dir=.
8150 for ac_exec_ext in '' $ac_executable_extensions; do
8151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8152 ac_cv_prog_RUNTEST="$ac_prog"
8153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8154 break 2
8156 done
8157 done
8158 IFS=$as_save_IFS
8162 RUNTEST=$ac_cv_prog_RUNTEST
8163 if test -n "$RUNTEST"; then
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTEST" >&5
8165 $as_echo "$RUNTEST" >&6; }
8166 else
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8168 $as_echo "no" >&6; }
8172 test -n "$RUNTEST" && break
8173 done
8174 test -n "$RUNTEST" || RUNTEST="runtest"
8176 case " $configdirs " in
8177 *" dejagnu "*)
8178 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8180 esac
8183 # Host tools.
8184 ncn_tool_prefix=
8185 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8186 ncn_target_tool_prefix=
8187 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8191 if test -n "$AR"; then
8192 ac_cv_prog_AR=$AR
8193 elif test -n "$ac_cv_prog_AR"; then
8194 AR=$ac_cv_prog_AR
8197 if test -n "$ac_cv_prog_AR"; then
8198 for ncn_progname in ar; do
8199 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8200 set dummy ${ncn_progname}; ac_word=$2
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8202 $as_echo_n "checking for $ac_word... " >&6; }
8203 if test "${ac_cv_prog_AR+set}" = set; then :
8204 $as_echo_n "(cached) " >&6
8205 else
8206 if test -n "$AR"; then
8207 ac_cv_prog_AR="$AR" # Let the user override the test.
8208 else
8209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210 for as_dir in $PATH
8212 IFS=$as_save_IFS
8213 test -z "$as_dir" && as_dir=.
8214 for ac_exec_ext in '' $ac_executable_extensions; do
8215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8216 ac_cv_prog_AR="${ncn_progname}"
8217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8218 break 2
8220 done
8221 done
8222 IFS=$as_save_IFS
8226 AR=$ac_cv_prog_AR
8227 if test -n "$AR"; then
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8229 $as_echo "$AR" >&6; }
8230 else
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 $as_echo "no" >&6; }
8236 done
8239 for ncn_progname in ar; do
8240 if test -n "$ncn_tool_prefix"; then
8241 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8242 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8244 $as_echo_n "checking for $ac_word... " >&6; }
8245 if test "${ac_cv_prog_AR+set}" = set; then :
8246 $as_echo_n "(cached) " >&6
8247 else
8248 if test -n "$AR"; then
8249 ac_cv_prog_AR="$AR" # Let the user override the test.
8250 else
8251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8252 for as_dir in $PATH
8254 IFS=$as_save_IFS
8255 test -z "$as_dir" && as_dir=.
8256 for ac_exec_ext in '' $ac_executable_extensions; do
8257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8258 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8260 break 2
8262 done
8263 done
8264 IFS=$as_save_IFS
8268 AR=$ac_cv_prog_AR
8269 if test -n "$AR"; then
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8271 $as_echo "$AR" >&6; }
8272 else
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8274 $as_echo "no" >&6; }
8279 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8280 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8281 set dummy ${ncn_progname}; ac_word=$2
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8283 $as_echo_n "checking for $ac_word... " >&6; }
8284 if test "${ac_cv_prog_AR+set}" = set; then :
8285 $as_echo_n "(cached) " >&6
8286 else
8287 if test -n "$AR"; then
8288 ac_cv_prog_AR="$AR" # Let the user override the test.
8289 else
8290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8291 for as_dir in $PATH
8293 IFS=$as_save_IFS
8294 test -z "$as_dir" && as_dir=.
8295 for ac_exec_ext in '' $ac_executable_extensions; do
8296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8297 ac_cv_prog_AR="${ncn_progname}"
8298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8299 break 2
8301 done
8302 done
8303 IFS=$as_save_IFS
8307 AR=$ac_cv_prog_AR
8308 if test -n "$AR"; then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8310 $as_echo "$AR" >&6; }
8311 else
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8318 test -n "$ac_cv_prog_AR" && break
8319 done
8321 if test -z "$ac_cv_prog_AR" ; then
8322 set dummy ar
8323 if test $build = $host ; then
8324 AR="$2"
8325 else
8326 AR="${ncn_tool_prefix}$2"
8332 if test -n "$AS"; then
8333 ac_cv_prog_AS=$AS
8334 elif test -n "$ac_cv_prog_AS"; then
8335 AS=$ac_cv_prog_AS
8338 if test -n "$ac_cv_prog_AS"; then
8339 for ncn_progname in as; do
8340 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8341 set dummy ${ncn_progname}; ac_word=$2
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8343 $as_echo_n "checking for $ac_word... " >&6; }
8344 if test "${ac_cv_prog_AS+set}" = set; then :
8345 $as_echo_n "(cached) " >&6
8346 else
8347 if test -n "$AS"; then
8348 ac_cv_prog_AS="$AS" # Let the user override the test.
8349 else
8350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8351 for as_dir in $PATH
8353 IFS=$as_save_IFS
8354 test -z "$as_dir" && as_dir=.
8355 for ac_exec_ext in '' $ac_executable_extensions; do
8356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8357 ac_cv_prog_AS="${ncn_progname}"
8358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8359 break 2
8361 done
8362 done
8363 IFS=$as_save_IFS
8367 AS=$ac_cv_prog_AS
8368 if test -n "$AS"; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8370 $as_echo "$AS" >&6; }
8371 else
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8373 $as_echo "no" >&6; }
8377 done
8380 for ncn_progname in as; do
8381 if test -n "$ncn_tool_prefix"; then
8382 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8383 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8385 $as_echo_n "checking for $ac_word... " >&6; }
8386 if test "${ac_cv_prog_AS+set}" = set; then :
8387 $as_echo_n "(cached) " >&6
8388 else
8389 if test -n "$AS"; then
8390 ac_cv_prog_AS="$AS" # Let the user override the test.
8391 else
8392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8393 for as_dir in $PATH
8395 IFS=$as_save_IFS
8396 test -z "$as_dir" && as_dir=.
8397 for ac_exec_ext in '' $ac_executable_extensions; do
8398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8399 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8401 break 2
8403 done
8404 done
8405 IFS=$as_save_IFS
8409 AS=$ac_cv_prog_AS
8410 if test -n "$AS"; then
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8412 $as_echo "$AS" >&6; }
8413 else
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8415 $as_echo "no" >&6; }
8420 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8421 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8422 set dummy ${ncn_progname}; ac_word=$2
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8424 $as_echo_n "checking for $ac_word... " >&6; }
8425 if test "${ac_cv_prog_AS+set}" = set; then :
8426 $as_echo_n "(cached) " >&6
8427 else
8428 if test -n "$AS"; then
8429 ac_cv_prog_AS="$AS" # Let the user override the test.
8430 else
8431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8432 for as_dir in $PATH
8434 IFS=$as_save_IFS
8435 test -z "$as_dir" && as_dir=.
8436 for ac_exec_ext in '' $ac_executable_extensions; do
8437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8438 ac_cv_prog_AS="${ncn_progname}"
8439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8440 break 2
8442 done
8443 done
8444 IFS=$as_save_IFS
8448 AS=$ac_cv_prog_AS
8449 if test -n "$AS"; then
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8451 $as_echo "$AS" >&6; }
8452 else
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8454 $as_echo "no" >&6; }
8459 test -n "$ac_cv_prog_AS" && break
8460 done
8462 if test -z "$ac_cv_prog_AS" ; then
8463 set dummy as
8464 if test $build = $host ; then
8465 AS="$2"
8466 else
8467 AS="${ncn_tool_prefix}$2"
8473 if test -n "$DLLTOOL"; then
8474 ac_cv_prog_DLLTOOL=$DLLTOOL
8475 elif test -n "$ac_cv_prog_DLLTOOL"; then
8476 DLLTOOL=$ac_cv_prog_DLLTOOL
8479 if test -n "$ac_cv_prog_DLLTOOL"; then
8480 for ncn_progname in dlltool; do
8481 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8482 set dummy ${ncn_progname}; ac_word=$2
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8484 $as_echo_n "checking for $ac_word... " >&6; }
8485 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8486 $as_echo_n "(cached) " >&6
8487 else
8488 if test -n "$DLLTOOL"; then
8489 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8490 else
8491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8492 for as_dir in $PATH
8494 IFS=$as_save_IFS
8495 test -z "$as_dir" && as_dir=.
8496 for ac_exec_ext in '' $ac_executable_extensions; do
8497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8498 ac_cv_prog_DLLTOOL="${ncn_progname}"
8499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8500 break 2
8502 done
8503 done
8504 IFS=$as_save_IFS
8508 DLLTOOL=$ac_cv_prog_DLLTOOL
8509 if test -n "$DLLTOOL"; then
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8511 $as_echo "$DLLTOOL" >&6; }
8512 else
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8514 $as_echo "no" >&6; }
8518 done
8521 for ncn_progname in dlltool; do
8522 if test -n "$ncn_tool_prefix"; then
8523 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8524 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8526 $as_echo_n "checking for $ac_word... " >&6; }
8527 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8528 $as_echo_n "(cached) " >&6
8529 else
8530 if test -n "$DLLTOOL"; then
8531 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8532 else
8533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8534 for as_dir in $PATH
8536 IFS=$as_save_IFS
8537 test -z "$as_dir" && as_dir=.
8538 for ac_exec_ext in '' $ac_executable_extensions; do
8539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8540 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8542 break 2
8544 done
8545 done
8546 IFS=$as_save_IFS
8550 DLLTOOL=$ac_cv_prog_DLLTOOL
8551 if test -n "$DLLTOOL"; then
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8553 $as_echo "$DLLTOOL" >&6; }
8554 else
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8556 $as_echo "no" >&6; }
8561 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8562 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8563 set dummy ${ncn_progname}; ac_word=$2
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8565 $as_echo_n "checking for $ac_word... " >&6; }
8566 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8567 $as_echo_n "(cached) " >&6
8568 else
8569 if test -n "$DLLTOOL"; then
8570 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8571 else
8572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8573 for as_dir in $PATH
8575 IFS=$as_save_IFS
8576 test -z "$as_dir" && as_dir=.
8577 for ac_exec_ext in '' $ac_executable_extensions; do
8578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8579 ac_cv_prog_DLLTOOL="${ncn_progname}"
8580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8581 break 2
8583 done
8584 done
8585 IFS=$as_save_IFS
8589 DLLTOOL=$ac_cv_prog_DLLTOOL
8590 if test -n "$DLLTOOL"; then
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8592 $as_echo "$DLLTOOL" >&6; }
8593 else
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8595 $as_echo "no" >&6; }
8600 test -n "$ac_cv_prog_DLLTOOL" && break
8601 done
8603 if test -z "$ac_cv_prog_DLLTOOL" ; then
8604 set dummy dlltool
8605 if test $build = $host ; then
8606 DLLTOOL="$2"
8607 else
8608 DLLTOOL="${ncn_tool_prefix}$2"
8614 if test -n "$LD"; then
8615 ac_cv_prog_LD=$LD
8616 elif test -n "$ac_cv_prog_LD"; then
8617 LD=$ac_cv_prog_LD
8620 if test -n "$ac_cv_prog_LD"; then
8621 for ncn_progname in ld; do
8622 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8623 set dummy ${ncn_progname}; ac_word=$2
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8625 $as_echo_n "checking for $ac_word... " >&6; }
8626 if test "${ac_cv_prog_LD+set}" = set; then :
8627 $as_echo_n "(cached) " >&6
8628 else
8629 if test -n "$LD"; then
8630 ac_cv_prog_LD="$LD" # Let the user override the test.
8631 else
8632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8633 for as_dir in $PATH
8635 IFS=$as_save_IFS
8636 test -z "$as_dir" && as_dir=.
8637 for ac_exec_ext in '' $ac_executable_extensions; do
8638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8639 ac_cv_prog_LD="${ncn_progname}"
8640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8641 break 2
8643 done
8644 done
8645 IFS=$as_save_IFS
8649 LD=$ac_cv_prog_LD
8650 if test -n "$LD"; then
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8652 $as_echo "$LD" >&6; }
8653 else
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8655 $as_echo "no" >&6; }
8659 done
8662 for ncn_progname in ld; do
8663 if test -n "$ncn_tool_prefix"; then
8664 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8665 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8667 $as_echo_n "checking for $ac_word... " >&6; }
8668 if test "${ac_cv_prog_LD+set}" = set; then :
8669 $as_echo_n "(cached) " >&6
8670 else
8671 if test -n "$LD"; then
8672 ac_cv_prog_LD="$LD" # Let the user override the test.
8673 else
8674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8675 for as_dir in $PATH
8677 IFS=$as_save_IFS
8678 test -z "$as_dir" && as_dir=.
8679 for ac_exec_ext in '' $ac_executable_extensions; do
8680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8681 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8683 break 2
8685 done
8686 done
8687 IFS=$as_save_IFS
8691 LD=$ac_cv_prog_LD
8692 if test -n "$LD"; then
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8694 $as_echo "$LD" >&6; }
8695 else
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8697 $as_echo "no" >&6; }
8702 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8703 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8704 set dummy ${ncn_progname}; ac_word=$2
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8706 $as_echo_n "checking for $ac_word... " >&6; }
8707 if test "${ac_cv_prog_LD+set}" = set; then :
8708 $as_echo_n "(cached) " >&6
8709 else
8710 if test -n "$LD"; then
8711 ac_cv_prog_LD="$LD" # Let the user override the test.
8712 else
8713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8714 for as_dir in $PATH
8716 IFS=$as_save_IFS
8717 test -z "$as_dir" && as_dir=.
8718 for ac_exec_ext in '' $ac_executable_extensions; do
8719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8720 ac_cv_prog_LD="${ncn_progname}"
8721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8722 break 2
8724 done
8725 done
8726 IFS=$as_save_IFS
8730 LD=$ac_cv_prog_LD
8731 if test -n "$LD"; then
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8733 $as_echo "$LD" >&6; }
8734 else
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8736 $as_echo "no" >&6; }
8741 test -n "$ac_cv_prog_LD" && break
8742 done
8744 if test -z "$ac_cv_prog_LD" ; then
8745 set dummy ld
8746 if test $build = $host ; then
8747 LD="$2"
8748 else
8749 LD="${ncn_tool_prefix}$2"
8755 if test -n "$LIPO"; then
8756 ac_cv_prog_LIPO=$LIPO
8757 elif test -n "$ac_cv_prog_LIPO"; then
8758 LIPO=$ac_cv_prog_LIPO
8761 if test -n "$ac_cv_prog_LIPO"; then
8762 for ncn_progname in lipo; do
8763 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8764 set dummy ${ncn_progname}; ac_word=$2
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8766 $as_echo_n "checking for $ac_word... " >&6; }
8767 if test "${ac_cv_prog_LIPO+set}" = set; then :
8768 $as_echo_n "(cached) " >&6
8769 else
8770 if test -n "$LIPO"; then
8771 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8772 else
8773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8774 for as_dir in $PATH
8776 IFS=$as_save_IFS
8777 test -z "$as_dir" && as_dir=.
8778 for ac_exec_ext in '' $ac_executable_extensions; do
8779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8780 ac_cv_prog_LIPO="${ncn_progname}"
8781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8782 break 2
8784 done
8785 done
8786 IFS=$as_save_IFS
8790 LIPO=$ac_cv_prog_LIPO
8791 if test -n "$LIPO"; then
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8793 $as_echo "$LIPO" >&6; }
8794 else
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8796 $as_echo "no" >&6; }
8800 done
8803 for ncn_progname in lipo; do
8804 if test -n "$ncn_tool_prefix"; then
8805 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8806 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8808 $as_echo_n "checking for $ac_word... " >&6; }
8809 if test "${ac_cv_prog_LIPO+set}" = set; then :
8810 $as_echo_n "(cached) " >&6
8811 else
8812 if test -n "$LIPO"; then
8813 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8814 else
8815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8816 for as_dir in $PATH
8818 IFS=$as_save_IFS
8819 test -z "$as_dir" && as_dir=.
8820 for ac_exec_ext in '' $ac_executable_extensions; do
8821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8822 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8824 break 2
8826 done
8827 done
8828 IFS=$as_save_IFS
8832 LIPO=$ac_cv_prog_LIPO
8833 if test -n "$LIPO"; then
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8835 $as_echo "$LIPO" >&6; }
8836 else
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8838 $as_echo "no" >&6; }
8843 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8844 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8845 set dummy ${ncn_progname}; ac_word=$2
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8847 $as_echo_n "checking for $ac_word... " >&6; }
8848 if test "${ac_cv_prog_LIPO+set}" = set; then :
8849 $as_echo_n "(cached) " >&6
8850 else
8851 if test -n "$LIPO"; then
8852 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8853 else
8854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8855 for as_dir in $PATH
8857 IFS=$as_save_IFS
8858 test -z "$as_dir" && as_dir=.
8859 for ac_exec_ext in '' $ac_executable_extensions; do
8860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8861 ac_cv_prog_LIPO="${ncn_progname}"
8862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8863 break 2
8865 done
8866 done
8867 IFS=$as_save_IFS
8871 LIPO=$ac_cv_prog_LIPO
8872 if test -n "$LIPO"; then
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8874 $as_echo "$LIPO" >&6; }
8875 else
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8877 $as_echo "no" >&6; }
8882 test -n "$ac_cv_prog_LIPO" && break
8883 done
8885 if test -z "$ac_cv_prog_LIPO" ; then
8886 set dummy lipo
8887 if test $build = $host ; then
8888 LIPO="$2"
8889 else
8890 LIPO="${ncn_tool_prefix}$2"
8896 if test -n "$NM"; then
8897 ac_cv_prog_NM=$NM
8898 elif test -n "$ac_cv_prog_NM"; then
8899 NM=$ac_cv_prog_NM
8902 if test -n "$ac_cv_prog_NM"; then
8903 for ncn_progname in nm; do
8904 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8905 set dummy ${ncn_progname}; ac_word=$2
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8907 $as_echo_n "checking for $ac_word... " >&6; }
8908 if test "${ac_cv_prog_NM+set}" = set; then :
8909 $as_echo_n "(cached) " >&6
8910 else
8911 if test -n "$NM"; then
8912 ac_cv_prog_NM="$NM" # Let the user override the test.
8913 else
8914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8915 for as_dir in $PATH
8917 IFS=$as_save_IFS
8918 test -z "$as_dir" && as_dir=.
8919 for ac_exec_ext in '' $ac_executable_extensions; do
8920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8921 ac_cv_prog_NM="${ncn_progname}"
8922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8923 break 2
8925 done
8926 done
8927 IFS=$as_save_IFS
8931 NM=$ac_cv_prog_NM
8932 if test -n "$NM"; then
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8934 $as_echo "$NM" >&6; }
8935 else
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8937 $as_echo "no" >&6; }
8941 done
8944 for ncn_progname in nm; do
8945 if test -n "$ncn_tool_prefix"; then
8946 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8947 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8949 $as_echo_n "checking for $ac_word... " >&6; }
8950 if test "${ac_cv_prog_NM+set}" = set; then :
8951 $as_echo_n "(cached) " >&6
8952 else
8953 if test -n "$NM"; then
8954 ac_cv_prog_NM="$NM" # Let the user override the test.
8955 else
8956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8957 for as_dir in $PATH
8959 IFS=$as_save_IFS
8960 test -z "$as_dir" && as_dir=.
8961 for ac_exec_ext in '' $ac_executable_extensions; do
8962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8963 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8965 break 2
8967 done
8968 done
8969 IFS=$as_save_IFS
8973 NM=$ac_cv_prog_NM
8974 if test -n "$NM"; then
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8976 $as_echo "$NM" >&6; }
8977 else
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8979 $as_echo "no" >&6; }
8984 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8985 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8986 set dummy ${ncn_progname}; ac_word=$2
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8988 $as_echo_n "checking for $ac_word... " >&6; }
8989 if test "${ac_cv_prog_NM+set}" = set; then :
8990 $as_echo_n "(cached) " >&6
8991 else
8992 if test -n "$NM"; then
8993 ac_cv_prog_NM="$NM" # Let the user override the test.
8994 else
8995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8996 for as_dir in $PATH
8998 IFS=$as_save_IFS
8999 test -z "$as_dir" && as_dir=.
9000 for ac_exec_ext in '' $ac_executable_extensions; do
9001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9002 ac_cv_prog_NM="${ncn_progname}"
9003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9004 break 2
9006 done
9007 done
9008 IFS=$as_save_IFS
9012 NM=$ac_cv_prog_NM
9013 if test -n "$NM"; then
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
9015 $as_echo "$NM" >&6; }
9016 else
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9018 $as_echo "no" >&6; }
9023 test -n "$ac_cv_prog_NM" && break
9024 done
9026 if test -z "$ac_cv_prog_NM" ; then
9027 set dummy nm
9028 if test $build = $host ; then
9029 NM="$2"
9030 else
9031 NM="${ncn_tool_prefix}$2"
9037 if test -n "$RANLIB"; then
9038 ac_cv_prog_RANLIB=$RANLIB
9039 elif test -n "$ac_cv_prog_RANLIB"; then
9040 RANLIB=$ac_cv_prog_RANLIB
9043 if test -n "$ac_cv_prog_RANLIB"; then
9044 for ncn_progname in ranlib; do
9045 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9046 set dummy ${ncn_progname}; ac_word=$2
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9048 $as_echo_n "checking for $ac_word... " >&6; }
9049 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9050 $as_echo_n "(cached) " >&6
9051 else
9052 if test -n "$RANLIB"; then
9053 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9054 else
9055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9056 for as_dir in $PATH
9058 IFS=$as_save_IFS
9059 test -z "$as_dir" && as_dir=.
9060 for ac_exec_ext in '' $ac_executable_extensions; do
9061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9062 ac_cv_prog_RANLIB="${ncn_progname}"
9063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9064 break 2
9066 done
9067 done
9068 IFS=$as_save_IFS
9072 RANLIB=$ac_cv_prog_RANLIB
9073 if test -n "$RANLIB"; then
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9075 $as_echo "$RANLIB" >&6; }
9076 else
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9078 $as_echo "no" >&6; }
9082 done
9085 for ncn_progname in ranlib; do
9086 if test -n "$ncn_tool_prefix"; then
9087 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9088 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9090 $as_echo_n "checking for $ac_word... " >&6; }
9091 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9092 $as_echo_n "(cached) " >&6
9093 else
9094 if test -n "$RANLIB"; then
9095 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9096 else
9097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9098 for as_dir in $PATH
9100 IFS=$as_save_IFS
9101 test -z "$as_dir" && as_dir=.
9102 for ac_exec_ext in '' $ac_executable_extensions; do
9103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9104 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9106 break 2
9108 done
9109 done
9110 IFS=$as_save_IFS
9114 RANLIB=$ac_cv_prog_RANLIB
9115 if test -n "$RANLIB"; then
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9117 $as_echo "$RANLIB" >&6; }
9118 else
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9120 $as_echo "no" >&6; }
9125 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9126 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9127 set dummy ${ncn_progname}; ac_word=$2
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9129 $as_echo_n "checking for $ac_word... " >&6; }
9130 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9131 $as_echo_n "(cached) " >&6
9132 else
9133 if test -n "$RANLIB"; then
9134 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9135 else
9136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9137 for as_dir in $PATH
9139 IFS=$as_save_IFS
9140 test -z "$as_dir" && as_dir=.
9141 for ac_exec_ext in '' $ac_executable_extensions; do
9142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9143 ac_cv_prog_RANLIB="${ncn_progname}"
9144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9145 break 2
9147 done
9148 done
9149 IFS=$as_save_IFS
9153 RANLIB=$ac_cv_prog_RANLIB
9154 if test -n "$RANLIB"; then
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9156 $as_echo "$RANLIB" >&6; }
9157 else
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9159 $as_echo "no" >&6; }
9164 test -n "$ac_cv_prog_RANLIB" && break
9165 done
9167 if test -z "$ac_cv_prog_RANLIB" ; then
9168 RANLIB="true"
9173 if test -n "$STRIP"; then
9174 ac_cv_prog_STRIP=$STRIP
9175 elif test -n "$ac_cv_prog_STRIP"; then
9176 STRIP=$ac_cv_prog_STRIP
9179 if test -n "$ac_cv_prog_STRIP"; then
9180 for ncn_progname in strip; do
9181 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9182 set dummy ${ncn_progname}; ac_word=$2
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9184 $as_echo_n "checking for $ac_word... " >&6; }
9185 if test "${ac_cv_prog_STRIP+set}" = set; then :
9186 $as_echo_n "(cached) " >&6
9187 else
9188 if test -n "$STRIP"; then
9189 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9190 else
9191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9192 for as_dir in $PATH
9194 IFS=$as_save_IFS
9195 test -z "$as_dir" && as_dir=.
9196 for ac_exec_ext in '' $ac_executable_extensions; do
9197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9198 ac_cv_prog_STRIP="${ncn_progname}"
9199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9200 break 2
9202 done
9203 done
9204 IFS=$as_save_IFS
9208 STRIP=$ac_cv_prog_STRIP
9209 if test -n "$STRIP"; then
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9211 $as_echo "$STRIP" >&6; }
9212 else
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9214 $as_echo "no" >&6; }
9218 done
9221 for ncn_progname in strip; do
9222 if test -n "$ncn_tool_prefix"; then
9223 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9224 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9226 $as_echo_n "checking for $ac_word... " >&6; }
9227 if test "${ac_cv_prog_STRIP+set}" = set; then :
9228 $as_echo_n "(cached) " >&6
9229 else
9230 if test -n "$STRIP"; then
9231 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9232 else
9233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9234 for as_dir in $PATH
9236 IFS=$as_save_IFS
9237 test -z "$as_dir" && as_dir=.
9238 for ac_exec_ext in '' $ac_executable_extensions; do
9239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9240 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9242 break 2
9244 done
9245 done
9246 IFS=$as_save_IFS
9250 STRIP=$ac_cv_prog_STRIP
9251 if test -n "$STRIP"; then
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9253 $as_echo "$STRIP" >&6; }
9254 else
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9256 $as_echo "no" >&6; }
9261 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9262 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9263 set dummy ${ncn_progname}; ac_word=$2
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9265 $as_echo_n "checking for $ac_word... " >&6; }
9266 if test "${ac_cv_prog_STRIP+set}" = set; then :
9267 $as_echo_n "(cached) " >&6
9268 else
9269 if test -n "$STRIP"; then
9270 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9271 else
9272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9273 for as_dir in $PATH
9275 IFS=$as_save_IFS
9276 test -z "$as_dir" && as_dir=.
9277 for ac_exec_ext in '' $ac_executable_extensions; do
9278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9279 ac_cv_prog_STRIP="${ncn_progname}"
9280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9281 break 2
9283 done
9284 done
9285 IFS=$as_save_IFS
9289 STRIP=$ac_cv_prog_STRIP
9290 if test -n "$STRIP"; then
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9292 $as_echo "$STRIP" >&6; }
9293 else
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9295 $as_echo "no" >&6; }
9300 test -n "$ac_cv_prog_STRIP" && break
9301 done
9303 if test -z "$ac_cv_prog_STRIP" ; then
9304 STRIP="true"
9309 if test -n "$WINDRES"; then
9310 ac_cv_prog_WINDRES=$WINDRES
9311 elif test -n "$ac_cv_prog_WINDRES"; then
9312 WINDRES=$ac_cv_prog_WINDRES
9315 if test -n "$ac_cv_prog_WINDRES"; then
9316 for ncn_progname in windres; do
9317 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9318 set dummy ${ncn_progname}; ac_word=$2
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9320 $as_echo_n "checking for $ac_word... " >&6; }
9321 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9322 $as_echo_n "(cached) " >&6
9323 else
9324 if test -n "$WINDRES"; then
9325 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9326 else
9327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9328 for as_dir in $PATH
9330 IFS=$as_save_IFS
9331 test -z "$as_dir" && as_dir=.
9332 for ac_exec_ext in '' $ac_executable_extensions; do
9333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9334 ac_cv_prog_WINDRES="${ncn_progname}"
9335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9336 break 2
9338 done
9339 done
9340 IFS=$as_save_IFS
9344 WINDRES=$ac_cv_prog_WINDRES
9345 if test -n "$WINDRES"; then
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9347 $as_echo "$WINDRES" >&6; }
9348 else
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9350 $as_echo "no" >&6; }
9354 done
9357 for ncn_progname in windres; do
9358 if test -n "$ncn_tool_prefix"; then
9359 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9360 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9362 $as_echo_n "checking for $ac_word... " >&6; }
9363 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9364 $as_echo_n "(cached) " >&6
9365 else
9366 if test -n "$WINDRES"; then
9367 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9368 else
9369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9370 for as_dir in $PATH
9372 IFS=$as_save_IFS
9373 test -z "$as_dir" && as_dir=.
9374 for ac_exec_ext in '' $ac_executable_extensions; do
9375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9376 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9378 break 2
9380 done
9381 done
9382 IFS=$as_save_IFS
9386 WINDRES=$ac_cv_prog_WINDRES
9387 if test -n "$WINDRES"; then
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9389 $as_echo "$WINDRES" >&6; }
9390 else
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9392 $as_echo "no" >&6; }
9397 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9398 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9399 set dummy ${ncn_progname}; ac_word=$2
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9401 $as_echo_n "checking for $ac_word... " >&6; }
9402 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9403 $as_echo_n "(cached) " >&6
9404 else
9405 if test -n "$WINDRES"; then
9406 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9407 else
9408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9409 for as_dir in $PATH
9411 IFS=$as_save_IFS
9412 test -z "$as_dir" && as_dir=.
9413 for ac_exec_ext in '' $ac_executable_extensions; do
9414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9415 ac_cv_prog_WINDRES="${ncn_progname}"
9416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9417 break 2
9419 done
9420 done
9421 IFS=$as_save_IFS
9425 WINDRES=$ac_cv_prog_WINDRES
9426 if test -n "$WINDRES"; then
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9428 $as_echo "$WINDRES" >&6; }
9429 else
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9431 $as_echo "no" >&6; }
9436 test -n "$ac_cv_prog_WINDRES" && break
9437 done
9439 if test -z "$ac_cv_prog_WINDRES" ; then
9440 set dummy windres
9441 if test $build = $host ; then
9442 WINDRES="$2"
9443 else
9444 WINDRES="${ncn_tool_prefix}$2"
9450 if test -n "$WINDMC"; then
9451 ac_cv_prog_WINDMC=$WINDMC
9452 elif test -n "$ac_cv_prog_WINDMC"; then
9453 WINDMC=$ac_cv_prog_WINDMC
9456 if test -n "$ac_cv_prog_WINDMC"; then
9457 for ncn_progname in windmc; do
9458 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9459 set dummy ${ncn_progname}; ac_word=$2
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9461 $as_echo_n "checking for $ac_word... " >&6; }
9462 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9463 $as_echo_n "(cached) " >&6
9464 else
9465 if test -n "$WINDMC"; then
9466 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9467 else
9468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9469 for as_dir in $PATH
9471 IFS=$as_save_IFS
9472 test -z "$as_dir" && as_dir=.
9473 for ac_exec_ext in '' $ac_executable_extensions; do
9474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9475 ac_cv_prog_WINDMC="${ncn_progname}"
9476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9477 break 2
9479 done
9480 done
9481 IFS=$as_save_IFS
9485 WINDMC=$ac_cv_prog_WINDMC
9486 if test -n "$WINDMC"; then
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9488 $as_echo "$WINDMC" >&6; }
9489 else
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9491 $as_echo "no" >&6; }
9495 done
9498 for ncn_progname in windmc; do
9499 if test -n "$ncn_tool_prefix"; then
9500 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9501 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9503 $as_echo_n "checking for $ac_word... " >&6; }
9504 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9505 $as_echo_n "(cached) " >&6
9506 else
9507 if test -n "$WINDMC"; then
9508 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9509 else
9510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9511 for as_dir in $PATH
9513 IFS=$as_save_IFS
9514 test -z "$as_dir" && as_dir=.
9515 for ac_exec_ext in '' $ac_executable_extensions; do
9516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9517 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9519 break 2
9521 done
9522 done
9523 IFS=$as_save_IFS
9527 WINDMC=$ac_cv_prog_WINDMC
9528 if test -n "$WINDMC"; then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9530 $as_echo "$WINDMC" >&6; }
9531 else
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9533 $as_echo "no" >&6; }
9538 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9539 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9540 set dummy ${ncn_progname}; ac_word=$2
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9542 $as_echo_n "checking for $ac_word... " >&6; }
9543 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9544 $as_echo_n "(cached) " >&6
9545 else
9546 if test -n "$WINDMC"; then
9547 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9548 else
9549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9550 for as_dir in $PATH
9552 IFS=$as_save_IFS
9553 test -z "$as_dir" && as_dir=.
9554 for ac_exec_ext in '' $ac_executable_extensions; do
9555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9556 ac_cv_prog_WINDMC="${ncn_progname}"
9557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9558 break 2
9560 done
9561 done
9562 IFS=$as_save_IFS
9566 WINDMC=$ac_cv_prog_WINDMC
9567 if test -n "$WINDMC"; then
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9569 $as_echo "$WINDMC" >&6; }
9570 else
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9572 $as_echo "no" >&6; }
9577 test -n "$ac_cv_prog_WINDMC" && break
9578 done
9580 if test -z "$ac_cv_prog_WINDMC" ; then
9581 set dummy windmc
9582 if test $build = $host ; then
9583 WINDMC="$2"
9584 else
9585 WINDMC="${ncn_tool_prefix}$2"
9591 if test -n "$OBJCOPY"; then
9592 ac_cv_prog_OBJCOPY=$OBJCOPY
9593 elif test -n "$ac_cv_prog_OBJCOPY"; then
9594 OBJCOPY=$ac_cv_prog_OBJCOPY
9597 if test -n "$ac_cv_prog_OBJCOPY"; then
9598 for ncn_progname in objcopy; do
9599 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9600 set dummy ${ncn_progname}; ac_word=$2
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9602 $as_echo_n "checking for $ac_word... " >&6; }
9603 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9604 $as_echo_n "(cached) " >&6
9605 else
9606 if test -n "$OBJCOPY"; then
9607 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9608 else
9609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9610 for as_dir in $PATH
9612 IFS=$as_save_IFS
9613 test -z "$as_dir" && as_dir=.
9614 for ac_exec_ext in '' $ac_executable_extensions; do
9615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9616 ac_cv_prog_OBJCOPY="${ncn_progname}"
9617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9618 break 2
9620 done
9621 done
9622 IFS=$as_save_IFS
9626 OBJCOPY=$ac_cv_prog_OBJCOPY
9627 if test -n "$OBJCOPY"; then
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9629 $as_echo "$OBJCOPY" >&6; }
9630 else
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9632 $as_echo "no" >&6; }
9636 done
9639 for ncn_progname in objcopy; do
9640 if test -n "$ncn_tool_prefix"; then
9641 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9642 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9644 $as_echo_n "checking for $ac_word... " >&6; }
9645 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9646 $as_echo_n "(cached) " >&6
9647 else
9648 if test -n "$OBJCOPY"; then
9649 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9650 else
9651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9652 for as_dir in $PATH
9654 IFS=$as_save_IFS
9655 test -z "$as_dir" && as_dir=.
9656 for ac_exec_ext in '' $ac_executable_extensions; do
9657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9658 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9660 break 2
9662 done
9663 done
9664 IFS=$as_save_IFS
9668 OBJCOPY=$ac_cv_prog_OBJCOPY
9669 if test -n "$OBJCOPY"; then
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9671 $as_echo "$OBJCOPY" >&6; }
9672 else
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9674 $as_echo "no" >&6; }
9679 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9680 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9681 set dummy ${ncn_progname}; ac_word=$2
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9683 $as_echo_n "checking for $ac_word... " >&6; }
9684 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9685 $as_echo_n "(cached) " >&6
9686 else
9687 if test -n "$OBJCOPY"; then
9688 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9689 else
9690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9691 for as_dir in $PATH
9693 IFS=$as_save_IFS
9694 test -z "$as_dir" && as_dir=.
9695 for ac_exec_ext in '' $ac_executable_extensions; do
9696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9697 ac_cv_prog_OBJCOPY="${ncn_progname}"
9698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9699 break 2
9701 done
9702 done
9703 IFS=$as_save_IFS
9707 OBJCOPY=$ac_cv_prog_OBJCOPY
9708 if test -n "$OBJCOPY"; then
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9710 $as_echo "$OBJCOPY" >&6; }
9711 else
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9713 $as_echo "no" >&6; }
9718 test -n "$ac_cv_prog_OBJCOPY" && break
9719 done
9721 if test -z "$ac_cv_prog_OBJCOPY" ; then
9722 set dummy objcopy
9723 if test $build = $host ; then
9724 OBJCOPY="$2"
9725 else
9726 OBJCOPY="${ncn_tool_prefix}$2"
9732 if test -n "$OBJDUMP"; then
9733 ac_cv_prog_OBJDUMP=$OBJDUMP
9734 elif test -n "$ac_cv_prog_OBJDUMP"; then
9735 OBJDUMP=$ac_cv_prog_OBJDUMP
9738 if test -n "$ac_cv_prog_OBJDUMP"; then
9739 for ncn_progname in objdump; do
9740 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9741 set dummy ${ncn_progname}; ac_word=$2
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9743 $as_echo_n "checking for $ac_word... " >&6; }
9744 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9745 $as_echo_n "(cached) " >&6
9746 else
9747 if test -n "$OBJDUMP"; then
9748 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9749 else
9750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9751 for as_dir in $PATH
9753 IFS=$as_save_IFS
9754 test -z "$as_dir" && as_dir=.
9755 for ac_exec_ext in '' $ac_executable_extensions; do
9756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9757 ac_cv_prog_OBJDUMP="${ncn_progname}"
9758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9759 break 2
9761 done
9762 done
9763 IFS=$as_save_IFS
9767 OBJDUMP=$ac_cv_prog_OBJDUMP
9768 if test -n "$OBJDUMP"; then
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9770 $as_echo "$OBJDUMP" >&6; }
9771 else
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9773 $as_echo "no" >&6; }
9777 done
9780 for ncn_progname in objdump; do
9781 if test -n "$ncn_tool_prefix"; then
9782 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9783 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9785 $as_echo_n "checking for $ac_word... " >&6; }
9786 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9787 $as_echo_n "(cached) " >&6
9788 else
9789 if test -n "$OBJDUMP"; then
9790 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9791 else
9792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9793 for as_dir in $PATH
9795 IFS=$as_save_IFS
9796 test -z "$as_dir" && as_dir=.
9797 for ac_exec_ext in '' $ac_executable_extensions; do
9798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9799 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9801 break 2
9803 done
9804 done
9805 IFS=$as_save_IFS
9809 OBJDUMP=$ac_cv_prog_OBJDUMP
9810 if test -n "$OBJDUMP"; then
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9812 $as_echo "$OBJDUMP" >&6; }
9813 else
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9815 $as_echo "no" >&6; }
9820 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9821 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9822 set dummy ${ncn_progname}; ac_word=$2
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9824 $as_echo_n "checking for $ac_word... " >&6; }
9825 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9826 $as_echo_n "(cached) " >&6
9827 else
9828 if test -n "$OBJDUMP"; then
9829 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9830 else
9831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9832 for as_dir in $PATH
9834 IFS=$as_save_IFS
9835 test -z "$as_dir" && as_dir=.
9836 for ac_exec_ext in '' $ac_executable_extensions; do
9837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9838 ac_cv_prog_OBJDUMP="${ncn_progname}"
9839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9840 break 2
9842 done
9843 done
9844 IFS=$as_save_IFS
9848 OBJDUMP=$ac_cv_prog_OBJDUMP
9849 if test -n "$OBJDUMP"; then
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9851 $as_echo "$OBJDUMP" >&6; }
9852 else
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9854 $as_echo "no" >&6; }
9859 test -n "$ac_cv_prog_OBJDUMP" && break
9860 done
9862 if test -z "$ac_cv_prog_OBJDUMP" ; then
9863 set dummy objdump
9864 if test $build = $host ; then
9865 OBJDUMP="$2"
9866 else
9867 OBJDUMP="${ncn_tool_prefix}$2"
9873 if test -n "$READELF"; then
9874 ac_cv_prog_READELF=$READELF
9875 elif test -n "$ac_cv_prog_READELF"; then
9876 READELF=$ac_cv_prog_READELF
9879 if test -n "$ac_cv_prog_READELF"; then
9880 for ncn_progname in readelf; do
9881 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9882 set dummy ${ncn_progname}; ac_word=$2
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9884 $as_echo_n "checking for $ac_word... " >&6; }
9885 if test "${ac_cv_prog_READELF+set}" = set; then :
9886 $as_echo_n "(cached) " >&6
9887 else
9888 if test -n "$READELF"; then
9889 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9890 else
9891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9892 for as_dir in $PATH
9894 IFS=$as_save_IFS
9895 test -z "$as_dir" && as_dir=.
9896 for ac_exec_ext in '' $ac_executable_extensions; do
9897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9898 ac_cv_prog_READELF="${ncn_progname}"
9899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9900 break 2
9902 done
9903 done
9904 IFS=$as_save_IFS
9908 READELF=$ac_cv_prog_READELF
9909 if test -n "$READELF"; then
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9911 $as_echo "$READELF" >&6; }
9912 else
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9914 $as_echo "no" >&6; }
9918 done
9921 for ncn_progname in readelf; do
9922 if test -n "$ncn_tool_prefix"; then
9923 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9924 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9926 $as_echo_n "checking for $ac_word... " >&6; }
9927 if test "${ac_cv_prog_READELF+set}" = set; then :
9928 $as_echo_n "(cached) " >&6
9929 else
9930 if test -n "$READELF"; then
9931 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9932 else
9933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9934 for as_dir in $PATH
9936 IFS=$as_save_IFS
9937 test -z "$as_dir" && as_dir=.
9938 for ac_exec_ext in '' $ac_executable_extensions; do
9939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9940 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9942 break 2
9944 done
9945 done
9946 IFS=$as_save_IFS
9950 READELF=$ac_cv_prog_READELF
9951 if test -n "$READELF"; then
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9953 $as_echo "$READELF" >&6; }
9954 else
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9956 $as_echo "no" >&6; }
9961 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9962 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9963 set dummy ${ncn_progname}; ac_word=$2
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9965 $as_echo_n "checking for $ac_word... " >&6; }
9966 if test "${ac_cv_prog_READELF+set}" = set; then :
9967 $as_echo_n "(cached) " >&6
9968 else
9969 if test -n "$READELF"; then
9970 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9971 else
9972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9973 for as_dir in $PATH
9975 IFS=$as_save_IFS
9976 test -z "$as_dir" && as_dir=.
9977 for ac_exec_ext in '' $ac_executable_extensions; do
9978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9979 ac_cv_prog_READELF="${ncn_progname}"
9980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9981 break 2
9983 done
9984 done
9985 IFS=$as_save_IFS
9989 READELF=$ac_cv_prog_READELF
9990 if test -n "$READELF"; then
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9992 $as_echo "$READELF" >&6; }
9993 else
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9995 $as_echo "no" >&6; }
10000 test -n "$ac_cv_prog_READELF" && break
10001 done
10003 if test -z "$ac_cv_prog_READELF" ; then
10004 set dummy readelf
10005 if test $build = $host ; then
10006 READELF="$2"
10007 else
10008 READELF="${ncn_tool_prefix}$2"
10017 # Target tools.
10019 # Check whether --with-build-time-tools was given.
10020 if test "${with_build_time_tools+set}" = set; then :
10021 withval=$with_build_time_tools; case x"$withval" in
10022 x/*) ;;
10024 with_build_time_tools=
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: argument to --with-build-time-tools must be an absolute path" >&5
10026 $as_echo "$as_me: WARNING: argument to --with-build-time-tools must be an absolute path" >&2;}
10028 esac
10029 else
10030 with_build_time_tools=
10036 if test -n "$CC_FOR_TARGET"; then
10037 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10038 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10039 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10042 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10043 for ncn_progname in cc gcc; do
10044 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10045 set dummy ${ncn_progname}; ac_word=$2
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10047 $as_echo_n "checking for $ac_word... " >&6; }
10048 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10049 $as_echo_n "(cached) " >&6
10050 else
10051 if test -n "$CC_FOR_TARGET"; then
10052 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10053 else
10054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10055 for as_dir in $PATH
10057 IFS=$as_save_IFS
10058 test -z "$as_dir" && as_dir=.
10059 for ac_exec_ext in '' $ac_executable_extensions; do
10060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10061 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10063 break 2
10065 done
10066 done
10067 IFS=$as_save_IFS
10071 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10072 if test -n "$CC_FOR_TARGET"; then
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
10074 $as_echo "$CC_FOR_TARGET" >&6; }
10075 else
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10077 $as_echo "no" >&6; }
10081 done
10084 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10085 for ncn_progname in cc gcc; do
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10087 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10088 if test -x $with_build_time_tools/${ncn_progname}; then
10089 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10091 $as_echo "yes" >&6; }
10092 break
10093 else
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10095 $as_echo "no" >&6; }
10097 done
10100 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10101 for ncn_progname in cc gcc; do
10102 if test -n "$ncn_target_tool_prefix"; then
10103 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10104 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10106 $as_echo_n "checking for $ac_word... " >&6; }
10107 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10108 $as_echo_n "(cached) " >&6
10109 else
10110 if test -n "$CC_FOR_TARGET"; then
10111 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10112 else
10113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10114 for as_dir in $PATH
10116 IFS=$as_save_IFS
10117 test -z "$as_dir" && as_dir=.
10118 for ac_exec_ext in '' $ac_executable_extensions; do
10119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10120 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10122 break 2
10124 done
10125 done
10126 IFS=$as_save_IFS
10130 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10131 if test -n "$CC_FOR_TARGET"; then
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
10133 $as_echo "$CC_FOR_TARGET" >&6; }
10134 else
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10136 $as_echo "no" >&6; }
10141 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10142 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10143 set dummy ${ncn_progname}; ac_word=$2
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10145 $as_echo_n "checking for $ac_word... " >&6; }
10146 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10147 $as_echo_n "(cached) " >&6
10148 else
10149 if test -n "$CC_FOR_TARGET"; then
10150 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10151 else
10152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10153 for as_dir in $PATH
10155 IFS=$as_save_IFS
10156 test -z "$as_dir" && as_dir=.
10157 for ac_exec_ext in '' $ac_executable_extensions; do
10158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10159 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10161 break 2
10163 done
10164 done
10165 IFS=$as_save_IFS
10169 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10170 if test -n "$CC_FOR_TARGET"; then
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
10172 $as_echo "$CC_FOR_TARGET" >&6; }
10173 else
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10175 $as_echo "no" >&6; }
10180 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10181 done
10184 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10185 set dummy cc gcc
10186 if test $build = $target ; then
10187 CC_FOR_TARGET="$2"
10188 else
10189 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10191 else
10192 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10197 if test -n "$CXX_FOR_TARGET"; then
10198 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10199 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10200 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10203 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10204 for ncn_progname in c++ g++ cxx gxx; do
10205 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10206 set dummy ${ncn_progname}; ac_word=$2
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10208 $as_echo_n "checking for $ac_word... " >&6; }
10209 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10210 $as_echo_n "(cached) " >&6
10211 else
10212 if test -n "$CXX_FOR_TARGET"; then
10213 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10214 else
10215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10216 for as_dir in $PATH
10218 IFS=$as_save_IFS
10219 test -z "$as_dir" && as_dir=.
10220 for ac_exec_ext in '' $ac_executable_extensions; do
10221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10222 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10224 break 2
10226 done
10227 done
10228 IFS=$as_save_IFS
10232 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10233 if test -n "$CXX_FOR_TARGET"; then
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
10235 $as_echo "$CXX_FOR_TARGET" >&6; }
10236 else
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10238 $as_echo "no" >&6; }
10242 done
10245 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10246 for ncn_progname in c++ g++ cxx gxx; do
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10248 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10249 if test -x $with_build_time_tools/${ncn_progname}; then
10250 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10252 $as_echo "yes" >&6; }
10253 break
10254 else
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10256 $as_echo "no" >&6; }
10258 done
10261 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10262 for ncn_progname in c++ g++ cxx gxx; do
10263 if test -n "$ncn_target_tool_prefix"; then
10264 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10265 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10267 $as_echo_n "checking for $ac_word... " >&6; }
10268 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10269 $as_echo_n "(cached) " >&6
10270 else
10271 if test -n "$CXX_FOR_TARGET"; then
10272 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10273 else
10274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10275 for as_dir in $PATH
10277 IFS=$as_save_IFS
10278 test -z "$as_dir" && as_dir=.
10279 for ac_exec_ext in '' $ac_executable_extensions; do
10280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10281 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10283 break 2
10285 done
10286 done
10287 IFS=$as_save_IFS
10291 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10292 if test -n "$CXX_FOR_TARGET"; then
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
10294 $as_echo "$CXX_FOR_TARGET" >&6; }
10295 else
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10297 $as_echo "no" >&6; }
10302 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10303 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10304 set dummy ${ncn_progname}; ac_word=$2
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10306 $as_echo_n "checking for $ac_word... " >&6; }
10307 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10308 $as_echo_n "(cached) " >&6
10309 else
10310 if test -n "$CXX_FOR_TARGET"; then
10311 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10312 else
10313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10314 for as_dir in $PATH
10316 IFS=$as_save_IFS
10317 test -z "$as_dir" && as_dir=.
10318 for ac_exec_ext in '' $ac_executable_extensions; do
10319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10320 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10322 break 2
10324 done
10325 done
10326 IFS=$as_save_IFS
10330 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10331 if test -n "$CXX_FOR_TARGET"; then
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
10333 $as_echo "$CXX_FOR_TARGET" >&6; }
10334 else
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10336 $as_echo "no" >&6; }
10341 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10342 done
10345 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10346 set dummy c++ g++ cxx gxx
10347 if test $build = $target ; then
10348 CXX_FOR_TARGET="$2"
10349 else
10350 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10352 else
10353 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10358 if test -n "$GCC_FOR_TARGET"; then
10359 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10360 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10361 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10364 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10365 for ncn_progname in gcc; do
10366 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10367 set dummy ${ncn_progname}; ac_word=$2
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10369 $as_echo_n "checking for $ac_word... " >&6; }
10370 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10371 $as_echo_n "(cached) " >&6
10372 else
10373 if test -n "$GCC_FOR_TARGET"; then
10374 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10375 else
10376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10377 for as_dir in $PATH
10379 IFS=$as_save_IFS
10380 test -z "$as_dir" && as_dir=.
10381 for ac_exec_ext in '' $ac_executable_extensions; do
10382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10383 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10385 break 2
10387 done
10388 done
10389 IFS=$as_save_IFS
10393 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10394 if test -n "$GCC_FOR_TARGET"; then
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10396 $as_echo "$GCC_FOR_TARGET" >&6; }
10397 else
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10399 $as_echo "no" >&6; }
10403 done
10406 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10407 for ncn_progname in gcc; do
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10409 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10410 if test -x $with_build_time_tools/${ncn_progname}; then
10411 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10413 $as_echo "yes" >&6; }
10414 break
10415 else
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10417 $as_echo "no" >&6; }
10419 done
10422 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10423 for ncn_progname in gcc; do
10424 if test -n "$ncn_target_tool_prefix"; then
10425 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10426 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10428 $as_echo_n "checking for $ac_word... " >&6; }
10429 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10430 $as_echo_n "(cached) " >&6
10431 else
10432 if test -n "$GCC_FOR_TARGET"; then
10433 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10434 else
10435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10436 for as_dir in $PATH
10438 IFS=$as_save_IFS
10439 test -z "$as_dir" && as_dir=.
10440 for ac_exec_ext in '' $ac_executable_extensions; do
10441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10442 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10444 break 2
10446 done
10447 done
10448 IFS=$as_save_IFS
10452 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10453 if test -n "$GCC_FOR_TARGET"; then
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10455 $as_echo "$GCC_FOR_TARGET" >&6; }
10456 else
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10458 $as_echo "no" >&6; }
10463 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10464 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10465 set dummy ${ncn_progname}; ac_word=$2
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10467 $as_echo_n "checking for $ac_word... " >&6; }
10468 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10469 $as_echo_n "(cached) " >&6
10470 else
10471 if test -n "$GCC_FOR_TARGET"; then
10472 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10473 else
10474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10475 for as_dir in $PATH
10477 IFS=$as_save_IFS
10478 test -z "$as_dir" && as_dir=.
10479 for ac_exec_ext in '' $ac_executable_extensions; do
10480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10481 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10483 break 2
10485 done
10486 done
10487 IFS=$as_save_IFS
10491 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10492 if test -n "$GCC_FOR_TARGET"; then
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10494 $as_echo "$GCC_FOR_TARGET" >&6; }
10495 else
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10497 $as_echo "no" >&6; }
10502 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10503 done
10506 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10507 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10508 else
10509 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10514 if test -n "$GCJ_FOR_TARGET"; then
10515 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10516 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10517 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10520 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10521 for ncn_progname in gcj; do
10522 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10523 set dummy ${ncn_progname}; ac_word=$2
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10525 $as_echo_n "checking for $ac_word... " >&6; }
10526 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10527 $as_echo_n "(cached) " >&6
10528 else
10529 if test -n "$GCJ_FOR_TARGET"; then
10530 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10531 else
10532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10533 for as_dir in $PATH
10535 IFS=$as_save_IFS
10536 test -z "$as_dir" && as_dir=.
10537 for ac_exec_ext in '' $ac_executable_extensions; do
10538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10539 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10541 break 2
10543 done
10544 done
10545 IFS=$as_save_IFS
10549 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10550 if test -n "$GCJ_FOR_TARGET"; then
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10552 $as_echo "$GCJ_FOR_TARGET" >&6; }
10553 else
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10555 $as_echo "no" >&6; }
10559 done
10562 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10563 for ncn_progname in gcj; do
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10565 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10566 if test -x $with_build_time_tools/${ncn_progname}; then
10567 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10569 $as_echo "yes" >&6; }
10570 break
10571 else
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10573 $as_echo "no" >&6; }
10575 done
10578 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10579 for ncn_progname in gcj; do
10580 if test -n "$ncn_target_tool_prefix"; then
10581 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10582 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10584 $as_echo_n "checking for $ac_word... " >&6; }
10585 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10586 $as_echo_n "(cached) " >&6
10587 else
10588 if test -n "$GCJ_FOR_TARGET"; then
10589 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10590 else
10591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10592 for as_dir in $PATH
10594 IFS=$as_save_IFS
10595 test -z "$as_dir" && as_dir=.
10596 for ac_exec_ext in '' $ac_executable_extensions; do
10597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10598 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10600 break 2
10602 done
10603 done
10604 IFS=$as_save_IFS
10608 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10609 if test -n "$GCJ_FOR_TARGET"; then
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10611 $as_echo "$GCJ_FOR_TARGET" >&6; }
10612 else
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10614 $as_echo "no" >&6; }
10619 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10620 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10621 set dummy ${ncn_progname}; ac_word=$2
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10623 $as_echo_n "checking for $ac_word... " >&6; }
10624 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10625 $as_echo_n "(cached) " >&6
10626 else
10627 if test -n "$GCJ_FOR_TARGET"; then
10628 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10629 else
10630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10631 for as_dir in $PATH
10633 IFS=$as_save_IFS
10634 test -z "$as_dir" && as_dir=.
10635 for ac_exec_ext in '' $ac_executable_extensions; do
10636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10637 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10639 break 2
10641 done
10642 done
10643 IFS=$as_save_IFS
10647 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10648 if test -n "$GCJ_FOR_TARGET"; then
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10650 $as_echo "$GCJ_FOR_TARGET" >&6; }
10651 else
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10653 $as_echo "no" >&6; }
10658 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10659 done
10662 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10663 set dummy gcj
10664 if test $build = $target ; then
10665 GCJ_FOR_TARGET="$2"
10666 else
10667 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10669 else
10670 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10675 if test -n "$GFORTRAN_FOR_TARGET"; then
10676 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10677 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10678 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10681 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10682 for ncn_progname in gfortran; do
10683 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10684 set dummy ${ncn_progname}; ac_word=$2
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10686 $as_echo_n "checking for $ac_word... " >&6; }
10687 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10688 $as_echo_n "(cached) " >&6
10689 else
10690 if test -n "$GFORTRAN_FOR_TARGET"; then
10691 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10692 else
10693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10694 for as_dir in $PATH
10696 IFS=$as_save_IFS
10697 test -z "$as_dir" && as_dir=.
10698 for ac_exec_ext in '' $ac_executable_extensions; do
10699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10700 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10702 break 2
10704 done
10705 done
10706 IFS=$as_save_IFS
10710 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10711 if test -n "$GFORTRAN_FOR_TARGET"; then
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10713 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10714 else
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10716 $as_echo "no" >&6; }
10720 done
10723 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10724 for ncn_progname in gfortran; do
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10726 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10727 if test -x $with_build_time_tools/${ncn_progname}; then
10728 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10730 $as_echo "yes" >&6; }
10731 break
10732 else
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10734 $as_echo "no" >&6; }
10736 done
10739 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10740 for ncn_progname in gfortran; do
10741 if test -n "$ncn_target_tool_prefix"; then
10742 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10743 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10745 $as_echo_n "checking for $ac_word... " >&6; }
10746 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10747 $as_echo_n "(cached) " >&6
10748 else
10749 if test -n "$GFORTRAN_FOR_TARGET"; then
10750 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10751 else
10752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10753 for as_dir in $PATH
10755 IFS=$as_save_IFS
10756 test -z "$as_dir" && as_dir=.
10757 for ac_exec_ext in '' $ac_executable_extensions; do
10758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10759 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10761 break 2
10763 done
10764 done
10765 IFS=$as_save_IFS
10769 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10770 if test -n "$GFORTRAN_FOR_TARGET"; then
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10772 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10773 else
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10775 $as_echo "no" >&6; }
10780 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10781 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10782 set dummy ${ncn_progname}; ac_word=$2
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10784 $as_echo_n "checking for $ac_word... " >&6; }
10785 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10786 $as_echo_n "(cached) " >&6
10787 else
10788 if test -n "$GFORTRAN_FOR_TARGET"; then
10789 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10790 else
10791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10792 for as_dir in $PATH
10794 IFS=$as_save_IFS
10795 test -z "$as_dir" && as_dir=.
10796 for ac_exec_ext in '' $ac_executable_extensions; do
10797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10798 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10800 break 2
10802 done
10803 done
10804 IFS=$as_save_IFS
10808 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10809 if test -n "$GFORTRAN_FOR_TARGET"; then
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10811 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10812 else
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10814 $as_echo "no" >&6; }
10819 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10820 done
10823 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10824 set dummy gfortran
10825 if test $build = $target ; then
10826 GFORTRAN_FOR_TARGET="$2"
10827 else
10828 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10830 else
10831 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10836 if test -n "$GOC_FOR_TARGET"; then
10837 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10838 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10839 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10842 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10843 for ncn_progname in gccgo; do
10844 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10845 set dummy ${ncn_progname}; ac_word=$2
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10847 $as_echo_n "checking for $ac_word... " >&6; }
10848 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10849 $as_echo_n "(cached) " >&6
10850 else
10851 if test -n "$GOC_FOR_TARGET"; then
10852 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10853 else
10854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10855 for as_dir in $PATH
10857 IFS=$as_save_IFS
10858 test -z "$as_dir" && as_dir=.
10859 for ac_exec_ext in '' $ac_executable_extensions; do
10860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10861 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10863 break 2
10865 done
10866 done
10867 IFS=$as_save_IFS
10871 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10872 if test -n "$GOC_FOR_TARGET"; then
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10874 $as_echo "$GOC_FOR_TARGET" >&6; }
10875 else
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10877 $as_echo "no" >&6; }
10881 done
10884 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10885 for ncn_progname in gccgo; do
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10887 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10888 if test -x $with_build_time_tools/${ncn_progname}; then
10889 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10891 $as_echo "yes" >&6; }
10892 break
10893 else
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10895 $as_echo "no" >&6; }
10897 done
10900 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10901 for ncn_progname in gccgo; do
10902 if test -n "$ncn_target_tool_prefix"; then
10903 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10904 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10906 $as_echo_n "checking for $ac_word... " >&6; }
10907 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10908 $as_echo_n "(cached) " >&6
10909 else
10910 if test -n "$GOC_FOR_TARGET"; then
10911 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10912 else
10913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10914 for as_dir in $PATH
10916 IFS=$as_save_IFS
10917 test -z "$as_dir" && as_dir=.
10918 for ac_exec_ext in '' $ac_executable_extensions; do
10919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10920 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10922 break 2
10924 done
10925 done
10926 IFS=$as_save_IFS
10930 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10931 if test -n "$GOC_FOR_TARGET"; then
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10933 $as_echo "$GOC_FOR_TARGET" >&6; }
10934 else
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10936 $as_echo "no" >&6; }
10941 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10942 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10943 set dummy ${ncn_progname}; ac_word=$2
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10945 $as_echo_n "checking for $ac_word... " >&6; }
10946 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10947 $as_echo_n "(cached) " >&6
10948 else
10949 if test -n "$GOC_FOR_TARGET"; then
10950 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10951 else
10952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10953 for as_dir in $PATH
10955 IFS=$as_save_IFS
10956 test -z "$as_dir" && as_dir=.
10957 for ac_exec_ext in '' $ac_executable_extensions; do
10958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10959 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10961 break 2
10963 done
10964 done
10965 IFS=$as_save_IFS
10969 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10970 if test -n "$GOC_FOR_TARGET"; then
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10972 $as_echo "$GOC_FOR_TARGET" >&6; }
10973 else
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10975 $as_echo "no" >&6; }
10980 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10981 done
10984 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10985 set dummy gccgo
10986 if test $build = $target ; then
10987 GOC_FOR_TARGET="$2"
10988 else
10989 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10991 else
10992 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10997 if test -n "$GUPC_FOR_TARGET"; then
10998 ac_cv_prog_GUPC_FOR_TARGET=$GUPC_FOR_TARGET
10999 elif test -n "$ac_cv_prog_GUPC_FOR_TARGET"; then
11000 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
11003 if test -n "$ac_cv_prog_GUPC_FOR_TARGET"; then
11004 for ncn_progname in gupc; do
11005 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11006 set dummy ${ncn_progname}; ac_word=$2
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11008 $as_echo_n "checking for $ac_word... " >&6; }
11009 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
11010 $as_echo_n "(cached) " >&6
11011 else
11012 if test -n "$GUPC_FOR_TARGET"; then
11013 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
11014 else
11015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11016 for as_dir in $PATH
11018 IFS=$as_save_IFS
11019 test -z "$as_dir" && as_dir=.
11020 for ac_exec_ext in '' $ac_executable_extensions; do
11021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11022 ac_cv_prog_GUPC_FOR_TARGET="${ncn_progname}"
11023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11024 break 2
11026 done
11027 done
11028 IFS=$as_save_IFS
11032 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
11033 if test -n "$GUPC_FOR_TARGET"; then
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUPC_FOR_TARGET" >&5
11035 $as_echo "$GUPC_FOR_TARGET" >&6; }
11036 else
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11038 $as_echo "no" >&6; }
11042 done
11045 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11046 for ncn_progname in gupc; do
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11048 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11049 if test -x $with_build_time_tools/${ncn_progname}; then
11050 ac_cv_prog_GUPC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11052 $as_echo "yes" >&6; }
11053 break
11054 else
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11056 $as_echo "no" >&6; }
11058 done
11061 if test -z "$ac_cv_prog_GUPC_FOR_TARGET"; then
11062 for ncn_progname in gupc; do
11063 if test -n "$ncn_target_tool_prefix"; then
11064 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11065 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11067 $as_echo_n "checking for $ac_word... " >&6; }
11068 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
11069 $as_echo_n "(cached) " >&6
11070 else
11071 if test -n "$GUPC_FOR_TARGET"; then
11072 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
11073 else
11074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11075 for as_dir in $PATH
11077 IFS=$as_save_IFS
11078 test -z "$as_dir" && as_dir=.
11079 for ac_exec_ext in '' $ac_executable_extensions; do
11080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11081 ac_cv_prog_GUPC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11083 break 2
11085 done
11086 done
11087 IFS=$as_save_IFS
11091 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
11092 if test -n "$GUPC_FOR_TARGET"; then
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUPC_FOR_TARGET" >&5
11094 $as_echo "$GUPC_FOR_TARGET" >&6; }
11095 else
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11097 $as_echo "no" >&6; }
11102 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" && test $build = $target ; then
11103 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11104 set dummy ${ncn_progname}; ac_word=$2
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11106 $as_echo_n "checking for $ac_word... " >&6; }
11107 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
11108 $as_echo_n "(cached) " >&6
11109 else
11110 if test -n "$GUPC_FOR_TARGET"; then
11111 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
11112 else
11113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11114 for as_dir in $PATH
11116 IFS=$as_save_IFS
11117 test -z "$as_dir" && as_dir=.
11118 for ac_exec_ext in '' $ac_executable_extensions; do
11119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11120 ac_cv_prog_GUPC_FOR_TARGET="${ncn_progname}"
11121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11122 break 2
11124 done
11125 done
11126 IFS=$as_save_IFS
11130 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
11131 if test -n "$GUPC_FOR_TARGET"; then
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUPC_FOR_TARGET" >&5
11133 $as_echo "$GUPC_FOR_TARGET" >&6; }
11134 else
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11136 $as_echo "no" >&6; }
11141 test -n "$ac_cv_prog_GUPC_FOR_TARGET" && break
11142 done
11145 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" ; then
11146 set dummy gupc
11147 if test $build = $target ; then
11148 GUPC_FOR_TARGET="$2"
11149 else
11150 GUPC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11152 else
11153 GUPC_FOR_TARGET="$ac_cv_prog_GUPC_FOR_TARGET"
11158 cat > conftest.c << \EOF
11159 #ifdef __GNUC__
11160 gcc_yay;
11161 #endif
11163 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
11164 have_gcc_for_target=yes
11165 else
11166 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
11167 have_gcc_for_target=no
11169 rm conftest.c
11174 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11175 if test -n "$with_build_time_tools"; then
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ar in $with_build_time_tools" >&5
11177 $as_echo_n "checking for ar in $with_build_time_tools... " >&6; }
11178 if test -x $with_build_time_tools/ar; then
11179 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
11180 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AR_FOR_TARGET" >&5
11182 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
11183 else
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11185 $as_echo "no" >&6; }
11187 elif test $build != $host && test $have_gcc_for_target = yes; then
11188 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
11189 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
11190 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11193 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11194 # Extract the first word of "ar", so it can be a program name with args.
11195 set dummy ar; ac_word=$2
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11197 $as_echo_n "checking for $ac_word... " >&6; }
11198 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
11199 $as_echo_n "(cached) " >&6
11200 else
11201 case $AR_FOR_TARGET in
11202 [\\/]* | ?:[\\/]*)
11203 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11207 for as_dir in $gcc_cv_tool_dirs
11209 IFS=$as_save_IFS
11210 test -z "$as_dir" && as_dir=.
11211 for ac_exec_ext in '' $ac_executable_extensions; do
11212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11213 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11215 break 2
11217 done
11218 done
11219 IFS=$as_save_IFS
11222 esac
11224 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11225 if test -n "$AR_FOR_TARGET"; then
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
11227 $as_echo "$AR_FOR_TARGET" >&6; }
11228 else
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11230 $as_echo "no" >&6; }
11235 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11238 if test -n "$AR_FOR_TARGET"; then
11239 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11240 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11241 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11244 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11245 for ncn_progname in ar; do
11246 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11247 set dummy ${ncn_progname}; ac_word=$2
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11249 $as_echo_n "checking for $ac_word... " >&6; }
11250 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11251 $as_echo_n "(cached) " >&6
11252 else
11253 if test -n "$AR_FOR_TARGET"; then
11254 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11255 else
11256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11257 for as_dir in $PATH
11259 IFS=$as_save_IFS
11260 test -z "$as_dir" && as_dir=.
11261 for ac_exec_ext in '' $ac_executable_extensions; do
11262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11263 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11265 break 2
11267 done
11268 done
11269 IFS=$as_save_IFS
11273 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11274 if test -n "$AR_FOR_TARGET"; then
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
11276 $as_echo "$AR_FOR_TARGET" >&6; }
11277 else
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11279 $as_echo "no" >&6; }
11283 done
11286 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11287 for ncn_progname in ar; do
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11289 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11290 if test -x $with_build_time_tools/${ncn_progname}; then
11291 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11293 $as_echo "yes" >&6; }
11294 break
11295 else
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11297 $as_echo "no" >&6; }
11299 done
11302 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11303 for ncn_progname in ar; do
11304 if test -n "$ncn_target_tool_prefix"; then
11305 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11306 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11308 $as_echo_n "checking for $ac_word... " >&6; }
11309 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11310 $as_echo_n "(cached) " >&6
11311 else
11312 if test -n "$AR_FOR_TARGET"; then
11313 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11314 else
11315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11316 for as_dir in $PATH
11318 IFS=$as_save_IFS
11319 test -z "$as_dir" && as_dir=.
11320 for ac_exec_ext in '' $ac_executable_extensions; do
11321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11322 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11324 break 2
11326 done
11327 done
11328 IFS=$as_save_IFS
11332 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11333 if test -n "$AR_FOR_TARGET"; then
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
11335 $as_echo "$AR_FOR_TARGET" >&6; }
11336 else
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11338 $as_echo "no" >&6; }
11343 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11344 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11345 set dummy ${ncn_progname}; ac_word=$2
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11347 $as_echo_n "checking for $ac_word... " >&6; }
11348 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11349 $as_echo_n "(cached) " >&6
11350 else
11351 if test -n "$AR_FOR_TARGET"; then
11352 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11353 else
11354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11355 for as_dir in $PATH
11357 IFS=$as_save_IFS
11358 test -z "$as_dir" && as_dir=.
11359 for ac_exec_ext in '' $ac_executable_extensions; do
11360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11361 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11363 break 2
11365 done
11366 done
11367 IFS=$as_save_IFS
11371 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11372 if test -n "$AR_FOR_TARGET"; then
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
11374 $as_echo "$AR_FOR_TARGET" >&6; }
11375 else
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11377 $as_echo "no" >&6; }
11382 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11383 done
11386 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11387 set dummy ar
11388 if test $build = $target ; then
11389 AR_FOR_TARGET="$2"
11390 else
11391 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11393 else
11394 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11397 else
11398 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11404 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11405 if test -n "$with_build_time_tools"; then
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as in $with_build_time_tools" >&5
11407 $as_echo_n "checking for as in $with_build_time_tools... " >&6; }
11408 if test -x $with_build_time_tools/as; then
11409 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11410 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AS_FOR_TARGET" >&5
11412 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11413 else
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11415 $as_echo "no" >&6; }
11417 elif test $build != $host && test $have_gcc_for_target = yes; then
11418 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11419 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11420 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11423 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11424 # Extract the first word of "as", so it can be a program name with args.
11425 set dummy as; ac_word=$2
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11427 $as_echo_n "checking for $ac_word... " >&6; }
11428 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11429 $as_echo_n "(cached) " >&6
11430 else
11431 case $AS_FOR_TARGET in
11432 [\\/]* | ?:[\\/]*)
11433 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11437 for as_dir in $gcc_cv_tool_dirs
11439 IFS=$as_save_IFS
11440 test -z "$as_dir" && as_dir=.
11441 for ac_exec_ext in '' $ac_executable_extensions; do
11442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11443 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11445 break 2
11447 done
11448 done
11449 IFS=$as_save_IFS
11452 esac
11454 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11455 if test -n "$AS_FOR_TARGET"; then
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
11457 $as_echo "$AS_FOR_TARGET" >&6; }
11458 else
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11460 $as_echo "no" >&6; }
11465 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11468 if test -n "$AS_FOR_TARGET"; then
11469 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11470 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11471 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11474 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11475 for ncn_progname in as; do
11476 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11477 set dummy ${ncn_progname}; ac_word=$2
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11479 $as_echo_n "checking for $ac_word... " >&6; }
11480 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11481 $as_echo_n "(cached) " >&6
11482 else
11483 if test -n "$AS_FOR_TARGET"; then
11484 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11485 else
11486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11487 for as_dir in $PATH
11489 IFS=$as_save_IFS
11490 test -z "$as_dir" && as_dir=.
11491 for ac_exec_ext in '' $ac_executable_extensions; do
11492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11493 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11495 break 2
11497 done
11498 done
11499 IFS=$as_save_IFS
11503 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11504 if test -n "$AS_FOR_TARGET"; then
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
11506 $as_echo "$AS_FOR_TARGET" >&6; }
11507 else
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11509 $as_echo "no" >&6; }
11513 done
11516 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11517 for ncn_progname in as; do
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11519 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11520 if test -x $with_build_time_tools/${ncn_progname}; then
11521 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11523 $as_echo "yes" >&6; }
11524 break
11525 else
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11527 $as_echo "no" >&6; }
11529 done
11532 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11533 for ncn_progname in as; do
11534 if test -n "$ncn_target_tool_prefix"; then
11535 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11536 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11538 $as_echo_n "checking for $ac_word... " >&6; }
11539 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11540 $as_echo_n "(cached) " >&6
11541 else
11542 if test -n "$AS_FOR_TARGET"; then
11543 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11544 else
11545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11546 for as_dir in $PATH
11548 IFS=$as_save_IFS
11549 test -z "$as_dir" && as_dir=.
11550 for ac_exec_ext in '' $ac_executable_extensions; do
11551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11552 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11554 break 2
11556 done
11557 done
11558 IFS=$as_save_IFS
11562 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11563 if test -n "$AS_FOR_TARGET"; then
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
11565 $as_echo "$AS_FOR_TARGET" >&6; }
11566 else
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11568 $as_echo "no" >&6; }
11573 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11574 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11575 set dummy ${ncn_progname}; ac_word=$2
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11577 $as_echo_n "checking for $ac_word... " >&6; }
11578 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11579 $as_echo_n "(cached) " >&6
11580 else
11581 if test -n "$AS_FOR_TARGET"; then
11582 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11583 else
11584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11585 for as_dir in $PATH
11587 IFS=$as_save_IFS
11588 test -z "$as_dir" && as_dir=.
11589 for ac_exec_ext in '' $ac_executable_extensions; do
11590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11591 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11593 break 2
11595 done
11596 done
11597 IFS=$as_save_IFS
11601 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11602 if test -n "$AS_FOR_TARGET"; then
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
11604 $as_echo "$AS_FOR_TARGET" >&6; }
11605 else
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11607 $as_echo "no" >&6; }
11612 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11613 done
11616 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11617 set dummy as
11618 if test $build = $target ; then
11619 AS_FOR_TARGET="$2"
11620 else
11621 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11623 else
11624 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11627 else
11628 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11634 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11635 if test -n "$with_build_time_tools"; then
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlltool in $with_build_time_tools" >&5
11637 $as_echo_n "checking for dlltool in $with_build_time_tools... " >&6; }
11638 if test -x $with_build_time_tools/dlltool; then
11639 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11640 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11642 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11643 else
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11645 $as_echo "no" >&6; }
11647 elif test $build != $host && test $have_gcc_for_target = yes; then
11648 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11649 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11650 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11653 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11654 # Extract the first word of "dlltool", so it can be a program name with args.
11655 set dummy dlltool; ac_word=$2
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11657 $as_echo_n "checking for $ac_word... " >&6; }
11658 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11659 $as_echo_n "(cached) " >&6
11660 else
11661 case $DLLTOOL_FOR_TARGET in
11662 [\\/]* | ?:[\\/]*)
11663 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11667 for as_dir in $gcc_cv_tool_dirs
11669 IFS=$as_save_IFS
11670 test -z "$as_dir" && as_dir=.
11671 for ac_exec_ext in '' $ac_executable_extensions; do
11672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11673 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11675 break 2
11677 done
11678 done
11679 IFS=$as_save_IFS
11682 esac
11684 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11685 if test -n "$DLLTOOL_FOR_TARGET"; then
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11687 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11688 else
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11690 $as_echo "no" >&6; }
11695 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11698 if test -n "$DLLTOOL_FOR_TARGET"; then
11699 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11700 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11701 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11704 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11705 for ncn_progname in dlltool; do
11706 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11707 set dummy ${ncn_progname}; ac_word=$2
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11709 $as_echo_n "checking for $ac_word... " >&6; }
11710 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11711 $as_echo_n "(cached) " >&6
11712 else
11713 if test -n "$DLLTOOL_FOR_TARGET"; then
11714 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11715 else
11716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11717 for as_dir in $PATH
11719 IFS=$as_save_IFS
11720 test -z "$as_dir" && as_dir=.
11721 for ac_exec_ext in '' $ac_executable_extensions; do
11722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11723 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11725 break 2
11727 done
11728 done
11729 IFS=$as_save_IFS
11733 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11734 if test -n "$DLLTOOL_FOR_TARGET"; then
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11736 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11737 else
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11739 $as_echo "no" >&6; }
11743 done
11746 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11747 for ncn_progname in dlltool; do
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11749 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11750 if test -x $with_build_time_tools/${ncn_progname}; then
11751 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11753 $as_echo "yes" >&6; }
11754 break
11755 else
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11757 $as_echo "no" >&6; }
11759 done
11762 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11763 for ncn_progname in dlltool; do
11764 if test -n "$ncn_target_tool_prefix"; then
11765 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11766 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11768 $as_echo_n "checking for $ac_word... " >&6; }
11769 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11770 $as_echo_n "(cached) " >&6
11771 else
11772 if test -n "$DLLTOOL_FOR_TARGET"; then
11773 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11774 else
11775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11776 for as_dir in $PATH
11778 IFS=$as_save_IFS
11779 test -z "$as_dir" && as_dir=.
11780 for ac_exec_ext in '' $ac_executable_extensions; do
11781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11782 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11784 break 2
11786 done
11787 done
11788 IFS=$as_save_IFS
11792 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11793 if test -n "$DLLTOOL_FOR_TARGET"; then
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11795 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11796 else
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11798 $as_echo "no" >&6; }
11803 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11804 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11805 set dummy ${ncn_progname}; ac_word=$2
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11807 $as_echo_n "checking for $ac_word... " >&6; }
11808 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11809 $as_echo_n "(cached) " >&6
11810 else
11811 if test -n "$DLLTOOL_FOR_TARGET"; then
11812 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11813 else
11814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11815 for as_dir in $PATH
11817 IFS=$as_save_IFS
11818 test -z "$as_dir" && as_dir=.
11819 for ac_exec_ext in '' $ac_executable_extensions; do
11820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11821 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11823 break 2
11825 done
11826 done
11827 IFS=$as_save_IFS
11831 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11832 if test -n "$DLLTOOL_FOR_TARGET"; then
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11834 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11835 else
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11837 $as_echo "no" >&6; }
11842 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11843 done
11846 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11847 set dummy dlltool
11848 if test $build = $target ; then
11849 DLLTOOL_FOR_TARGET="$2"
11850 else
11851 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11853 else
11854 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11857 else
11858 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11864 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11865 if test -n "$with_build_time_tools"; then
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld in $with_build_time_tools" >&5
11867 $as_echo_n "checking for ld in $with_build_time_tools... " >&6; }
11868 if test -x $with_build_time_tools/ld; then
11869 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11870 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LD_FOR_TARGET" >&5
11872 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11873 else
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11875 $as_echo "no" >&6; }
11877 elif test $build != $host && test $have_gcc_for_target = yes; then
11878 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11879 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11880 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11883 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11884 # Extract the first word of "ld", so it can be a program name with args.
11885 set dummy ld; ac_word=$2
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11887 $as_echo_n "checking for $ac_word... " >&6; }
11888 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11889 $as_echo_n "(cached) " >&6
11890 else
11891 case $LD_FOR_TARGET in
11892 [\\/]* | ?:[\\/]*)
11893 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11897 for as_dir in $gcc_cv_tool_dirs
11899 IFS=$as_save_IFS
11900 test -z "$as_dir" && as_dir=.
11901 for ac_exec_ext in '' $ac_executable_extensions; do
11902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11903 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11905 break 2
11907 done
11908 done
11909 IFS=$as_save_IFS
11912 esac
11914 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11915 if test -n "$LD_FOR_TARGET"; then
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11917 $as_echo "$LD_FOR_TARGET" >&6; }
11918 else
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11920 $as_echo "no" >&6; }
11925 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11928 if test -n "$LD_FOR_TARGET"; then
11929 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11930 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11931 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11934 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11935 for ncn_progname in ld; do
11936 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11937 set dummy ${ncn_progname}; ac_word=$2
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11939 $as_echo_n "checking for $ac_word... " >&6; }
11940 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11941 $as_echo_n "(cached) " >&6
11942 else
11943 if test -n "$LD_FOR_TARGET"; then
11944 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11945 else
11946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11947 for as_dir in $PATH
11949 IFS=$as_save_IFS
11950 test -z "$as_dir" && as_dir=.
11951 for ac_exec_ext in '' $ac_executable_extensions; do
11952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11953 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11955 break 2
11957 done
11958 done
11959 IFS=$as_save_IFS
11963 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11964 if test -n "$LD_FOR_TARGET"; then
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11966 $as_echo "$LD_FOR_TARGET" >&6; }
11967 else
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11969 $as_echo "no" >&6; }
11973 done
11976 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11977 for ncn_progname in ld; do
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11979 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11980 if test -x $with_build_time_tools/${ncn_progname}; then
11981 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11983 $as_echo "yes" >&6; }
11984 break
11985 else
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11987 $as_echo "no" >&6; }
11989 done
11992 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11993 for ncn_progname in ld; do
11994 if test -n "$ncn_target_tool_prefix"; then
11995 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11996 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11998 $as_echo_n "checking for $ac_word... " >&6; }
11999 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
12000 $as_echo_n "(cached) " >&6
12001 else
12002 if test -n "$LD_FOR_TARGET"; then
12003 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12004 else
12005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12006 for as_dir in $PATH
12008 IFS=$as_save_IFS
12009 test -z "$as_dir" && as_dir=.
12010 for ac_exec_ext in '' $ac_executable_extensions; do
12011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12012 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12014 break 2
12016 done
12017 done
12018 IFS=$as_save_IFS
12022 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12023 if test -n "$LD_FOR_TARGET"; then
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
12025 $as_echo "$LD_FOR_TARGET" >&6; }
12026 else
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12028 $as_echo "no" >&6; }
12033 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
12034 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12035 set dummy ${ncn_progname}; ac_word=$2
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12037 $as_echo_n "checking for $ac_word... " >&6; }
12038 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
12039 $as_echo_n "(cached) " >&6
12040 else
12041 if test -n "$LD_FOR_TARGET"; then
12042 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12043 else
12044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12045 for as_dir in $PATH
12047 IFS=$as_save_IFS
12048 test -z "$as_dir" && as_dir=.
12049 for ac_exec_ext in '' $ac_executable_extensions; do
12050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12051 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
12052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12053 break 2
12055 done
12056 done
12057 IFS=$as_save_IFS
12061 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12062 if test -n "$LD_FOR_TARGET"; then
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
12064 $as_echo "$LD_FOR_TARGET" >&6; }
12065 else
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12067 $as_echo "no" >&6; }
12072 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
12073 done
12076 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
12077 set dummy ld
12078 if test $build = $target ; then
12079 LD_FOR_TARGET="$2"
12080 else
12081 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
12083 else
12084 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
12087 else
12088 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12094 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12095 if test -n "$with_build_time_tools"; then
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lipo in $with_build_time_tools" >&5
12097 $as_echo_n "checking for lipo in $with_build_time_tools... " >&6; }
12098 if test -x $with_build_time_tools/lipo; then
12099 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
12100 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
12102 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
12103 else
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12105 $as_echo "no" >&6; }
12107 elif test $build != $host && test $have_gcc_for_target = yes; then
12108 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
12109 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
12110 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12113 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12114 # Extract the first word of "lipo", so it can be a program name with args.
12115 set dummy lipo; ac_word=$2
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12117 $as_echo_n "checking for $ac_word... " >&6; }
12118 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
12119 $as_echo_n "(cached) " >&6
12120 else
12121 case $LIPO_FOR_TARGET in
12122 [\\/]* | ?:[\\/]*)
12123 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
12126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12127 for as_dir in $gcc_cv_tool_dirs
12129 IFS=$as_save_IFS
12130 test -z "$as_dir" && as_dir=.
12131 for ac_exec_ext in '' $ac_executable_extensions; do
12132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12133 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12135 break 2
12137 done
12138 done
12139 IFS=$as_save_IFS
12142 esac
12144 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12145 if test -n "$LIPO_FOR_TARGET"; then
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
12147 $as_echo "$LIPO_FOR_TARGET" >&6; }
12148 else
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12150 $as_echo "no" >&6; }
12155 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12158 if test -n "$LIPO_FOR_TARGET"; then
12159 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12160 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12161 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12164 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12165 for ncn_progname in lipo; do
12166 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12167 set dummy ${ncn_progname}; ac_word=$2
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12169 $as_echo_n "checking for $ac_word... " >&6; }
12170 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12171 $as_echo_n "(cached) " >&6
12172 else
12173 if test -n "$LIPO_FOR_TARGET"; then
12174 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12175 else
12176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12177 for as_dir in $PATH
12179 IFS=$as_save_IFS
12180 test -z "$as_dir" && as_dir=.
12181 for ac_exec_ext in '' $ac_executable_extensions; do
12182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12183 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12185 break 2
12187 done
12188 done
12189 IFS=$as_save_IFS
12193 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12194 if test -n "$LIPO_FOR_TARGET"; then
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
12196 $as_echo "$LIPO_FOR_TARGET" >&6; }
12197 else
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12199 $as_echo "no" >&6; }
12203 done
12206 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12207 for ncn_progname in lipo; do
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12209 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12210 if test -x $with_build_time_tools/${ncn_progname}; then
12211 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12213 $as_echo "yes" >&6; }
12214 break
12215 else
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12217 $as_echo "no" >&6; }
12219 done
12222 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12223 for ncn_progname in lipo; do
12224 if test -n "$ncn_target_tool_prefix"; then
12225 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12226 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12228 $as_echo_n "checking for $ac_word... " >&6; }
12229 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12230 $as_echo_n "(cached) " >&6
12231 else
12232 if test -n "$LIPO_FOR_TARGET"; then
12233 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12234 else
12235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12236 for as_dir in $PATH
12238 IFS=$as_save_IFS
12239 test -z "$as_dir" && as_dir=.
12240 for ac_exec_ext in '' $ac_executable_extensions; do
12241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12242 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12244 break 2
12246 done
12247 done
12248 IFS=$as_save_IFS
12252 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12253 if test -n "$LIPO_FOR_TARGET"; then
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
12255 $as_echo "$LIPO_FOR_TARGET" >&6; }
12256 else
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12258 $as_echo "no" >&6; }
12263 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12264 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12265 set dummy ${ncn_progname}; ac_word=$2
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12267 $as_echo_n "checking for $ac_word... " >&6; }
12268 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12269 $as_echo_n "(cached) " >&6
12270 else
12271 if test -n "$LIPO_FOR_TARGET"; then
12272 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12273 else
12274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12275 for as_dir in $PATH
12277 IFS=$as_save_IFS
12278 test -z "$as_dir" && as_dir=.
12279 for ac_exec_ext in '' $ac_executable_extensions; do
12280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12281 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12283 break 2
12285 done
12286 done
12287 IFS=$as_save_IFS
12291 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12292 if test -n "$LIPO_FOR_TARGET"; then
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
12294 $as_echo "$LIPO_FOR_TARGET" >&6; }
12295 else
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12297 $as_echo "no" >&6; }
12302 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12303 done
12306 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12307 set dummy lipo
12308 if test $build = $target ; then
12309 LIPO_FOR_TARGET="$2"
12310 else
12311 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12313 else
12314 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12317 else
12318 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12324 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12325 if test -n "$with_build_time_tools"; then
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm in $with_build_time_tools" >&5
12327 $as_echo_n "checking for nm in $with_build_time_tools... " >&6; }
12328 if test -x $with_build_time_tools/nm; then
12329 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12330 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_NM_FOR_TARGET" >&5
12332 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12333 else
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12335 $as_echo "no" >&6; }
12337 elif test $build != $host && test $have_gcc_for_target = yes; then
12338 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12339 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12340 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12343 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12344 # Extract the first word of "nm", so it can be a program name with args.
12345 set dummy nm; ac_word=$2
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12347 $as_echo_n "checking for $ac_word... " >&6; }
12348 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
12349 $as_echo_n "(cached) " >&6
12350 else
12351 case $NM_FOR_TARGET in
12352 [\\/]* | ?:[\\/]*)
12353 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12357 for as_dir in $gcc_cv_tool_dirs
12359 IFS=$as_save_IFS
12360 test -z "$as_dir" && as_dir=.
12361 for ac_exec_ext in '' $ac_executable_extensions; do
12362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12363 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12365 break 2
12367 done
12368 done
12369 IFS=$as_save_IFS
12372 esac
12374 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12375 if test -n "$NM_FOR_TARGET"; then
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
12377 $as_echo "$NM_FOR_TARGET" >&6; }
12378 else
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12380 $as_echo "no" >&6; }
12385 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12388 if test -n "$NM_FOR_TARGET"; then
12389 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12390 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12391 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12394 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12395 for ncn_progname in nm; do
12396 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12397 set dummy ${ncn_progname}; ac_word=$2
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12399 $as_echo_n "checking for $ac_word... " >&6; }
12400 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12401 $as_echo_n "(cached) " >&6
12402 else
12403 if test -n "$NM_FOR_TARGET"; then
12404 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12405 else
12406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12407 for as_dir in $PATH
12409 IFS=$as_save_IFS
12410 test -z "$as_dir" && as_dir=.
12411 for ac_exec_ext in '' $ac_executable_extensions; do
12412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12413 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12415 break 2
12417 done
12418 done
12419 IFS=$as_save_IFS
12423 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12424 if test -n "$NM_FOR_TARGET"; then
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
12426 $as_echo "$NM_FOR_TARGET" >&6; }
12427 else
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12429 $as_echo "no" >&6; }
12433 done
12436 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12437 for ncn_progname in nm; do
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12439 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12440 if test -x $with_build_time_tools/${ncn_progname}; then
12441 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12443 $as_echo "yes" >&6; }
12444 break
12445 else
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12447 $as_echo "no" >&6; }
12449 done
12452 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12453 for ncn_progname in nm; do
12454 if test -n "$ncn_target_tool_prefix"; then
12455 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12456 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12458 $as_echo_n "checking for $ac_word... " >&6; }
12459 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12460 $as_echo_n "(cached) " >&6
12461 else
12462 if test -n "$NM_FOR_TARGET"; then
12463 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12464 else
12465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12466 for as_dir in $PATH
12468 IFS=$as_save_IFS
12469 test -z "$as_dir" && as_dir=.
12470 for ac_exec_ext in '' $ac_executable_extensions; do
12471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12472 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12474 break 2
12476 done
12477 done
12478 IFS=$as_save_IFS
12482 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12483 if test -n "$NM_FOR_TARGET"; then
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
12485 $as_echo "$NM_FOR_TARGET" >&6; }
12486 else
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12488 $as_echo "no" >&6; }
12493 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12494 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12495 set dummy ${ncn_progname}; ac_word=$2
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12497 $as_echo_n "checking for $ac_word... " >&6; }
12498 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12499 $as_echo_n "(cached) " >&6
12500 else
12501 if test -n "$NM_FOR_TARGET"; then
12502 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12503 else
12504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12505 for as_dir in $PATH
12507 IFS=$as_save_IFS
12508 test -z "$as_dir" && as_dir=.
12509 for ac_exec_ext in '' $ac_executable_extensions; do
12510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12511 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12513 break 2
12515 done
12516 done
12517 IFS=$as_save_IFS
12521 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12522 if test -n "$NM_FOR_TARGET"; then
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
12524 $as_echo "$NM_FOR_TARGET" >&6; }
12525 else
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12527 $as_echo "no" >&6; }
12532 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12533 done
12536 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12537 set dummy nm
12538 if test $build = $target ; then
12539 NM_FOR_TARGET="$2"
12540 else
12541 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12543 else
12544 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12547 else
12548 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12554 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12555 if test -n "$with_build_time_tools"; then
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdump in $with_build_time_tools" >&5
12557 $as_echo_n "checking for objdump in $with_build_time_tools... " >&6; }
12558 if test -x $with_build_time_tools/objdump; then
12559 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12560 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12562 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12563 else
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12565 $as_echo "no" >&6; }
12567 elif test $build != $host && test $have_gcc_for_target = yes; then
12568 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12569 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12570 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12573 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12574 # Extract the first word of "objdump", so it can be a program name with args.
12575 set dummy objdump; ac_word=$2
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12577 $as_echo_n "checking for $ac_word... " >&6; }
12578 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12579 $as_echo_n "(cached) " >&6
12580 else
12581 case $OBJDUMP_FOR_TARGET in
12582 [\\/]* | ?:[\\/]*)
12583 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12587 for as_dir in $gcc_cv_tool_dirs
12589 IFS=$as_save_IFS
12590 test -z "$as_dir" && as_dir=.
12591 for ac_exec_ext in '' $ac_executable_extensions; do
12592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12593 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12595 break 2
12597 done
12598 done
12599 IFS=$as_save_IFS
12602 esac
12604 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12605 if test -n "$OBJDUMP_FOR_TARGET"; then
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12607 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12608 else
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12610 $as_echo "no" >&6; }
12615 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12618 if test -n "$OBJDUMP_FOR_TARGET"; then
12619 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12620 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12621 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12624 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12625 for ncn_progname in objdump; do
12626 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12627 set dummy ${ncn_progname}; ac_word=$2
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12629 $as_echo_n "checking for $ac_word... " >&6; }
12630 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12631 $as_echo_n "(cached) " >&6
12632 else
12633 if test -n "$OBJDUMP_FOR_TARGET"; then
12634 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12635 else
12636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12637 for as_dir in $PATH
12639 IFS=$as_save_IFS
12640 test -z "$as_dir" && as_dir=.
12641 for ac_exec_ext in '' $ac_executable_extensions; do
12642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12643 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12645 break 2
12647 done
12648 done
12649 IFS=$as_save_IFS
12653 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12654 if test -n "$OBJDUMP_FOR_TARGET"; then
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12656 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12657 else
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12659 $as_echo "no" >&6; }
12663 done
12666 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12667 for ncn_progname in objdump; do
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12669 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12670 if test -x $with_build_time_tools/${ncn_progname}; then
12671 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12673 $as_echo "yes" >&6; }
12674 break
12675 else
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12677 $as_echo "no" >&6; }
12679 done
12682 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12683 for ncn_progname in objdump; do
12684 if test -n "$ncn_target_tool_prefix"; then
12685 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12686 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12688 $as_echo_n "checking for $ac_word... " >&6; }
12689 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12690 $as_echo_n "(cached) " >&6
12691 else
12692 if test -n "$OBJDUMP_FOR_TARGET"; then
12693 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12694 else
12695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12696 for as_dir in $PATH
12698 IFS=$as_save_IFS
12699 test -z "$as_dir" && as_dir=.
12700 for ac_exec_ext in '' $ac_executable_extensions; do
12701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12702 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12704 break 2
12706 done
12707 done
12708 IFS=$as_save_IFS
12712 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12713 if test -n "$OBJDUMP_FOR_TARGET"; then
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12715 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12716 else
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12718 $as_echo "no" >&6; }
12723 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12724 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12725 set dummy ${ncn_progname}; ac_word=$2
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12727 $as_echo_n "checking for $ac_word... " >&6; }
12728 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12729 $as_echo_n "(cached) " >&6
12730 else
12731 if test -n "$OBJDUMP_FOR_TARGET"; then
12732 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12733 else
12734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12735 for as_dir in $PATH
12737 IFS=$as_save_IFS
12738 test -z "$as_dir" && as_dir=.
12739 for ac_exec_ext in '' $ac_executable_extensions; do
12740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12741 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12743 break 2
12745 done
12746 done
12747 IFS=$as_save_IFS
12751 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12752 if test -n "$OBJDUMP_FOR_TARGET"; then
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12754 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12755 else
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12757 $as_echo "no" >&6; }
12762 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12763 done
12766 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12767 set dummy objdump
12768 if test $build = $target ; then
12769 OBJDUMP_FOR_TARGET="$2"
12770 else
12771 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12773 else
12774 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12777 else
12778 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12784 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12785 if test -n "$with_build_time_tools"; then
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ranlib in $with_build_time_tools" >&5
12787 $as_echo_n "checking for ranlib in $with_build_time_tools... " >&6; }
12788 if test -x $with_build_time_tools/ranlib; then
12789 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12790 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12792 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12793 else
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12795 $as_echo "no" >&6; }
12797 elif test $build != $host && test $have_gcc_for_target = yes; then
12798 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12799 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12800 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12803 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12804 # Extract the first word of "ranlib", so it can be a program name with args.
12805 set dummy ranlib; ac_word=$2
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12807 $as_echo_n "checking for $ac_word... " >&6; }
12808 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12809 $as_echo_n "(cached) " >&6
12810 else
12811 case $RANLIB_FOR_TARGET in
12812 [\\/]* | ?:[\\/]*)
12813 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12817 for as_dir in $gcc_cv_tool_dirs
12819 IFS=$as_save_IFS
12820 test -z "$as_dir" && as_dir=.
12821 for ac_exec_ext in '' $ac_executable_extensions; do
12822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12823 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12825 break 2
12827 done
12828 done
12829 IFS=$as_save_IFS
12832 esac
12834 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12835 if test -n "$RANLIB_FOR_TARGET"; then
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12837 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12838 else
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12840 $as_echo "no" >&6; }
12845 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12848 if test -n "$RANLIB_FOR_TARGET"; then
12849 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12850 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12851 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12854 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12855 for ncn_progname in ranlib; do
12856 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12857 set dummy ${ncn_progname}; ac_word=$2
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12859 $as_echo_n "checking for $ac_word... " >&6; }
12860 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12861 $as_echo_n "(cached) " >&6
12862 else
12863 if test -n "$RANLIB_FOR_TARGET"; then
12864 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12865 else
12866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12867 for as_dir in $PATH
12869 IFS=$as_save_IFS
12870 test -z "$as_dir" && as_dir=.
12871 for ac_exec_ext in '' $ac_executable_extensions; do
12872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12873 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12875 break 2
12877 done
12878 done
12879 IFS=$as_save_IFS
12883 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12884 if test -n "$RANLIB_FOR_TARGET"; then
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12886 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12887 else
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12889 $as_echo "no" >&6; }
12893 done
12896 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12897 for ncn_progname in ranlib; do
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12899 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12900 if test -x $with_build_time_tools/${ncn_progname}; then
12901 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12903 $as_echo "yes" >&6; }
12904 break
12905 else
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12907 $as_echo "no" >&6; }
12909 done
12912 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12913 for ncn_progname in ranlib; do
12914 if test -n "$ncn_target_tool_prefix"; then
12915 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12916 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12918 $as_echo_n "checking for $ac_word... " >&6; }
12919 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12920 $as_echo_n "(cached) " >&6
12921 else
12922 if test -n "$RANLIB_FOR_TARGET"; then
12923 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12924 else
12925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12926 for as_dir in $PATH
12928 IFS=$as_save_IFS
12929 test -z "$as_dir" && as_dir=.
12930 for ac_exec_ext in '' $ac_executable_extensions; do
12931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12932 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12934 break 2
12936 done
12937 done
12938 IFS=$as_save_IFS
12942 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12943 if test -n "$RANLIB_FOR_TARGET"; then
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12945 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12946 else
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12948 $as_echo "no" >&6; }
12953 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12954 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12955 set dummy ${ncn_progname}; ac_word=$2
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12957 $as_echo_n "checking for $ac_word... " >&6; }
12958 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12959 $as_echo_n "(cached) " >&6
12960 else
12961 if test -n "$RANLIB_FOR_TARGET"; then
12962 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12963 else
12964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12965 for as_dir in $PATH
12967 IFS=$as_save_IFS
12968 test -z "$as_dir" && as_dir=.
12969 for ac_exec_ext in '' $ac_executable_extensions; do
12970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12971 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12973 break 2
12975 done
12976 done
12977 IFS=$as_save_IFS
12981 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12982 if test -n "$RANLIB_FOR_TARGET"; then
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12984 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12985 else
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12987 $as_echo "no" >&6; }
12992 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12993 done
12996 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12997 set dummy ranlib
12998 if test $build = $target ; then
12999 RANLIB_FOR_TARGET="$2"
13000 else
13001 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
13003 else
13004 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
13007 else
13008 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13014 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13015 if test -n "$with_build_time_tools"; then
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readelf in $with_build_time_tools" >&5
13017 $as_echo_n "checking for readelf in $with_build_time_tools... " >&6; }
13018 if test -x $with_build_time_tools/readelf; then
13019 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
13020 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_READELF_FOR_TARGET" >&5
13022 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
13023 else
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13025 $as_echo "no" >&6; }
13027 elif test $build != $host && test $have_gcc_for_target = yes; then
13028 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
13029 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
13030 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13033 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13034 # Extract the first word of "readelf", so it can be a program name with args.
13035 set dummy readelf; ac_word=$2
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13037 $as_echo_n "checking for $ac_word... " >&6; }
13038 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
13039 $as_echo_n "(cached) " >&6
13040 else
13041 case $READELF_FOR_TARGET in
13042 [\\/]* | ?:[\\/]*)
13043 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
13046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13047 for as_dir in $gcc_cv_tool_dirs
13049 IFS=$as_save_IFS
13050 test -z "$as_dir" && as_dir=.
13051 for ac_exec_ext in '' $ac_executable_extensions; do
13052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13053 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13055 break 2
13057 done
13058 done
13059 IFS=$as_save_IFS
13062 esac
13064 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13065 if test -n "$READELF_FOR_TARGET"; then
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
13067 $as_echo "$READELF_FOR_TARGET" >&6; }
13068 else
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13070 $as_echo "no" >&6; }
13075 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13078 if test -n "$READELF_FOR_TARGET"; then
13079 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13080 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13081 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13084 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13085 for ncn_progname in readelf; do
13086 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13087 set dummy ${ncn_progname}; ac_word=$2
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13089 $as_echo_n "checking for $ac_word... " >&6; }
13090 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13091 $as_echo_n "(cached) " >&6
13092 else
13093 if test -n "$READELF_FOR_TARGET"; then
13094 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13095 else
13096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13097 for as_dir in $PATH
13099 IFS=$as_save_IFS
13100 test -z "$as_dir" && as_dir=.
13101 for ac_exec_ext in '' $ac_executable_extensions; do
13102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13103 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13105 break 2
13107 done
13108 done
13109 IFS=$as_save_IFS
13113 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13114 if test -n "$READELF_FOR_TARGET"; then
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
13116 $as_echo "$READELF_FOR_TARGET" >&6; }
13117 else
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13119 $as_echo "no" >&6; }
13123 done
13126 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13127 for ncn_progname in readelf; do
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
13129 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
13130 if test -x $with_build_time_tools/${ncn_progname}; then
13131 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13133 $as_echo "yes" >&6; }
13134 break
13135 else
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13137 $as_echo "no" >&6; }
13139 done
13142 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13143 for ncn_progname in readelf; do
13144 if test -n "$ncn_target_tool_prefix"; then
13145 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13146 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13148 $as_echo_n "checking for $ac_word... " >&6; }
13149 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13150 $as_echo_n "(cached) " >&6
13151 else
13152 if test -n "$READELF_FOR_TARGET"; then
13153 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13154 else
13155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13156 for as_dir in $PATH
13158 IFS=$as_save_IFS
13159 test -z "$as_dir" && as_dir=.
13160 for ac_exec_ext in '' $ac_executable_extensions; do
13161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13162 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13164 break 2
13166 done
13167 done
13168 IFS=$as_save_IFS
13172 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13173 if test -n "$READELF_FOR_TARGET"; then
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
13175 $as_echo "$READELF_FOR_TARGET" >&6; }
13176 else
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13178 $as_echo "no" >&6; }
13183 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13184 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13185 set dummy ${ncn_progname}; ac_word=$2
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13187 $as_echo_n "checking for $ac_word... " >&6; }
13188 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13189 $as_echo_n "(cached) " >&6
13190 else
13191 if test -n "$READELF_FOR_TARGET"; then
13192 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13193 else
13194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13195 for as_dir in $PATH
13197 IFS=$as_save_IFS
13198 test -z "$as_dir" && as_dir=.
13199 for ac_exec_ext in '' $ac_executable_extensions; do
13200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13201 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13203 break 2
13205 done
13206 done
13207 IFS=$as_save_IFS
13211 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13212 if test -n "$READELF_FOR_TARGET"; then
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF_FOR_TARGET" >&5
13214 $as_echo "$READELF_FOR_TARGET" >&6; }
13215 else
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13217 $as_echo "no" >&6; }
13222 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13223 done
13226 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13227 set dummy readelf
13228 if test $build = $target ; then
13229 READELF_FOR_TARGET="$2"
13230 else
13231 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13233 else
13234 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13237 else
13238 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13244 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13245 if test -n "$with_build_time_tools"; then
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strip in $with_build_time_tools" >&5
13247 $as_echo_n "checking for strip in $with_build_time_tools... " >&6; }
13248 if test -x $with_build_time_tools/strip; then
13249 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13250 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
13252 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13253 else
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13255 $as_echo "no" >&6; }
13257 elif test $build != $host && test $have_gcc_for_target = yes; then
13258 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13259 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13260 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13263 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13264 # Extract the first word of "strip", so it can be a program name with args.
13265 set dummy strip; ac_word=$2
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13267 $as_echo_n "checking for $ac_word... " >&6; }
13268 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13269 $as_echo_n "(cached) " >&6
13270 else
13271 case $STRIP_FOR_TARGET in
13272 [\\/]* | ?:[\\/]*)
13273 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13277 for as_dir in $gcc_cv_tool_dirs
13279 IFS=$as_save_IFS
13280 test -z "$as_dir" && as_dir=.
13281 for ac_exec_ext in '' $ac_executable_extensions; do
13282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13283 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13285 break 2
13287 done
13288 done
13289 IFS=$as_save_IFS
13292 esac
13294 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13295 if test -n "$STRIP_FOR_TARGET"; then
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
13297 $as_echo "$STRIP_FOR_TARGET" >&6; }
13298 else
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13300 $as_echo "no" >&6; }
13305 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13308 if test -n "$STRIP_FOR_TARGET"; then
13309 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13310 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13311 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13314 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13315 for ncn_progname in strip; do
13316 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13317 set dummy ${ncn_progname}; ac_word=$2
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13319 $as_echo_n "checking for $ac_word... " >&6; }
13320 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13321 $as_echo_n "(cached) " >&6
13322 else
13323 if test -n "$STRIP_FOR_TARGET"; then
13324 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13325 else
13326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13327 for as_dir in $PATH
13329 IFS=$as_save_IFS
13330 test -z "$as_dir" && as_dir=.
13331 for ac_exec_ext in '' $ac_executable_extensions; do
13332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13333 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13335 break 2
13337 done
13338 done
13339 IFS=$as_save_IFS
13343 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13344 if test -n "$STRIP_FOR_TARGET"; then
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
13346 $as_echo "$STRIP_FOR_TARGET" >&6; }
13347 else
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13349 $as_echo "no" >&6; }
13353 done
13356 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13357 for ncn_progname in strip; do
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
13359 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
13360 if test -x $with_build_time_tools/${ncn_progname}; then
13361 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13363 $as_echo "yes" >&6; }
13364 break
13365 else
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13367 $as_echo "no" >&6; }
13369 done
13372 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13373 for ncn_progname in strip; do
13374 if test -n "$ncn_target_tool_prefix"; then
13375 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13376 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13378 $as_echo_n "checking for $ac_word... " >&6; }
13379 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13380 $as_echo_n "(cached) " >&6
13381 else
13382 if test -n "$STRIP_FOR_TARGET"; then
13383 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13384 else
13385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13386 for as_dir in $PATH
13388 IFS=$as_save_IFS
13389 test -z "$as_dir" && as_dir=.
13390 for ac_exec_ext in '' $ac_executable_extensions; do
13391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13392 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13394 break 2
13396 done
13397 done
13398 IFS=$as_save_IFS
13402 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13403 if test -n "$STRIP_FOR_TARGET"; then
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
13405 $as_echo "$STRIP_FOR_TARGET" >&6; }
13406 else
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13408 $as_echo "no" >&6; }
13413 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13414 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13415 set dummy ${ncn_progname}; ac_word=$2
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13417 $as_echo_n "checking for $ac_word... " >&6; }
13418 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13419 $as_echo_n "(cached) " >&6
13420 else
13421 if test -n "$STRIP_FOR_TARGET"; then
13422 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13423 else
13424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13425 for as_dir in $PATH
13427 IFS=$as_save_IFS
13428 test -z "$as_dir" && as_dir=.
13429 for ac_exec_ext in '' $ac_executable_extensions; do
13430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13431 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13433 break 2
13435 done
13436 done
13437 IFS=$as_save_IFS
13441 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13442 if test -n "$STRIP_FOR_TARGET"; then
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
13444 $as_echo "$STRIP_FOR_TARGET" >&6; }
13445 else
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13447 $as_echo "no" >&6; }
13452 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13453 done
13456 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13457 set dummy strip
13458 if test $build = $target ; then
13459 STRIP_FOR_TARGET="$2"
13460 else
13461 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13463 else
13464 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13467 else
13468 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13474 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13475 if test -n "$with_build_time_tools"; then
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windres in $with_build_time_tools" >&5
13477 $as_echo_n "checking for windres in $with_build_time_tools... " >&6; }
13478 if test -x $with_build_time_tools/windres; then
13479 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13480 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13482 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13483 else
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13485 $as_echo "no" >&6; }
13487 elif test $build != $host && test $have_gcc_for_target = yes; then
13488 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13489 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13490 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13493 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13494 # Extract the first word of "windres", so it can be a program name with args.
13495 set dummy windres; ac_word=$2
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13497 $as_echo_n "checking for $ac_word... " >&6; }
13498 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13499 $as_echo_n "(cached) " >&6
13500 else
13501 case $WINDRES_FOR_TARGET in
13502 [\\/]* | ?:[\\/]*)
13503 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13507 for as_dir in $gcc_cv_tool_dirs
13509 IFS=$as_save_IFS
13510 test -z "$as_dir" && as_dir=.
13511 for ac_exec_ext in '' $ac_executable_extensions; do
13512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13513 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13515 break 2
13517 done
13518 done
13519 IFS=$as_save_IFS
13522 esac
13524 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13525 if test -n "$WINDRES_FOR_TARGET"; then
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
13527 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13528 else
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13530 $as_echo "no" >&6; }
13535 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13538 if test -n "$WINDRES_FOR_TARGET"; then
13539 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13540 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13541 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13544 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13545 for ncn_progname in windres; do
13546 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13547 set dummy ${ncn_progname}; ac_word=$2
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13549 $as_echo_n "checking for $ac_word... " >&6; }
13550 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13551 $as_echo_n "(cached) " >&6
13552 else
13553 if test -n "$WINDRES_FOR_TARGET"; then
13554 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13555 else
13556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13557 for as_dir in $PATH
13559 IFS=$as_save_IFS
13560 test -z "$as_dir" && as_dir=.
13561 for ac_exec_ext in '' $ac_executable_extensions; do
13562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13563 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13565 break 2
13567 done
13568 done
13569 IFS=$as_save_IFS
13573 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13574 if test -n "$WINDRES_FOR_TARGET"; then
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
13576 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13577 else
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13579 $as_echo "no" >&6; }
13583 done
13586 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13587 for ncn_progname in windres; do
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
13589 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
13590 if test -x $with_build_time_tools/${ncn_progname}; then
13591 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13593 $as_echo "yes" >&6; }
13594 break
13595 else
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13597 $as_echo "no" >&6; }
13599 done
13602 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13603 for ncn_progname in windres; do
13604 if test -n "$ncn_target_tool_prefix"; then
13605 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13606 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13608 $as_echo_n "checking for $ac_word... " >&6; }
13609 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13610 $as_echo_n "(cached) " >&6
13611 else
13612 if test -n "$WINDRES_FOR_TARGET"; then
13613 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13614 else
13615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13616 for as_dir in $PATH
13618 IFS=$as_save_IFS
13619 test -z "$as_dir" && as_dir=.
13620 for ac_exec_ext in '' $ac_executable_extensions; do
13621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13622 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13624 break 2
13626 done
13627 done
13628 IFS=$as_save_IFS
13632 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13633 if test -n "$WINDRES_FOR_TARGET"; then
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
13635 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13636 else
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13638 $as_echo "no" >&6; }
13643 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13644 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13645 set dummy ${ncn_progname}; ac_word=$2
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13647 $as_echo_n "checking for $ac_word... " >&6; }
13648 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13649 $as_echo_n "(cached) " >&6
13650 else
13651 if test -n "$WINDRES_FOR_TARGET"; then
13652 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13653 else
13654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13655 for as_dir in $PATH
13657 IFS=$as_save_IFS
13658 test -z "$as_dir" && as_dir=.
13659 for ac_exec_ext in '' $ac_executable_extensions; do
13660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13661 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13663 break 2
13665 done
13666 done
13667 IFS=$as_save_IFS
13671 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13672 if test -n "$WINDRES_FOR_TARGET"; then
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
13674 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13675 else
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13677 $as_echo "no" >&6; }
13682 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13683 done
13686 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13687 set dummy windres
13688 if test $build = $target ; then
13689 WINDRES_FOR_TARGET="$2"
13690 else
13691 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13693 else
13694 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13697 else
13698 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13704 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13705 if test -n "$with_build_time_tools"; then
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windmc in $with_build_time_tools" >&5
13707 $as_echo_n "checking for windmc in $with_build_time_tools... " >&6; }
13708 if test -x $with_build_time_tools/windmc; then
13709 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13710 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13712 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13713 else
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13715 $as_echo "no" >&6; }
13717 elif test $build != $host && test $have_gcc_for_target = yes; then
13718 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13719 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13720 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13723 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13724 # Extract the first word of "windmc", so it can be a program name with args.
13725 set dummy windmc; ac_word=$2
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13727 $as_echo_n "checking for $ac_word... " >&6; }
13728 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13729 $as_echo_n "(cached) " >&6
13730 else
13731 case $WINDMC_FOR_TARGET in
13732 [\\/]* | ?:[\\/]*)
13733 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13737 for as_dir in $gcc_cv_tool_dirs
13739 IFS=$as_save_IFS
13740 test -z "$as_dir" && as_dir=.
13741 for ac_exec_ext in '' $ac_executable_extensions; do
13742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13743 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13745 break 2
13747 done
13748 done
13749 IFS=$as_save_IFS
13752 esac
13754 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13755 if test -n "$WINDMC_FOR_TARGET"; then
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13757 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13758 else
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13760 $as_echo "no" >&6; }
13765 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13768 if test -n "$WINDMC_FOR_TARGET"; then
13769 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13770 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13771 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13774 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13775 for ncn_progname in windmc; do
13776 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13777 set dummy ${ncn_progname}; ac_word=$2
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13779 $as_echo_n "checking for $ac_word... " >&6; }
13780 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13781 $as_echo_n "(cached) " >&6
13782 else
13783 if test -n "$WINDMC_FOR_TARGET"; then
13784 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13785 else
13786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13787 for as_dir in $PATH
13789 IFS=$as_save_IFS
13790 test -z "$as_dir" && as_dir=.
13791 for ac_exec_ext in '' $ac_executable_extensions; do
13792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13793 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13795 break 2
13797 done
13798 done
13799 IFS=$as_save_IFS
13803 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13804 if test -n "$WINDMC_FOR_TARGET"; then
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13806 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13807 else
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13809 $as_echo "no" >&6; }
13813 done
13816 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13817 for ncn_progname in windmc; do
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
13819 $as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
13820 if test -x $with_build_time_tools/${ncn_progname}; then
13821 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13823 $as_echo "yes" >&6; }
13824 break
13825 else
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13827 $as_echo "no" >&6; }
13829 done
13832 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13833 for ncn_progname in windmc; do
13834 if test -n "$ncn_target_tool_prefix"; then
13835 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13836 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13838 $as_echo_n "checking for $ac_word... " >&6; }
13839 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13840 $as_echo_n "(cached) " >&6
13841 else
13842 if test -n "$WINDMC_FOR_TARGET"; then
13843 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13844 else
13845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13846 for as_dir in $PATH
13848 IFS=$as_save_IFS
13849 test -z "$as_dir" && as_dir=.
13850 for ac_exec_ext in '' $ac_executable_extensions; do
13851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13852 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13854 break 2
13856 done
13857 done
13858 IFS=$as_save_IFS
13862 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13863 if test -n "$WINDMC_FOR_TARGET"; then
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13865 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13866 else
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13868 $as_echo "no" >&6; }
13873 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13874 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13875 set dummy ${ncn_progname}; ac_word=$2
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13877 $as_echo_n "checking for $ac_word... " >&6; }
13878 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13879 $as_echo_n "(cached) " >&6
13880 else
13881 if test -n "$WINDMC_FOR_TARGET"; then
13882 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13883 else
13884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13885 for as_dir in $PATH
13887 IFS=$as_save_IFS
13888 test -z "$as_dir" && as_dir=.
13889 for ac_exec_ext in '' $ac_executable_extensions; do
13890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13891 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13893 break 2
13895 done
13896 done
13897 IFS=$as_save_IFS
13901 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13902 if test -n "$WINDMC_FOR_TARGET"; then
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13904 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13905 else
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13907 $as_echo "no" >&6; }
13912 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13913 done
13916 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13917 set dummy windmc
13918 if test $build = $target ; then
13919 WINDMC_FOR_TARGET="$2"
13920 else
13921 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13923 else
13924 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13927 else
13928 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13932 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ar" >&5
13935 $as_echo_n "checking where to find the target ar... " >&6; }
13936 if test "x${build}" != "x${host}" ; then
13937 if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
13938 # We already found the complete path
13939 ac_dir=`dirname $AR_FOR_TARGET`
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13941 $as_echo "pre-installed in $ac_dir" >&6; }
13942 else
13943 # Canadian cross, just use what we found
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13945 $as_echo "pre-installed" >&6; }
13947 else
13948 ok=yes
13949 case " ${configdirs} " in
13950 *" binutils "*) ;;
13951 *) ok=no ;;
13952 esac
13954 if test $ok = yes; then
13955 # An in-tree tool is available and we can use it
13956 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13958 $as_echo "just compiled" >&6; }
13959 elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
13960 # We already found the complete path
13961 ac_dir=`dirname $AR_FOR_TARGET`
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13963 $as_echo "pre-installed in $ac_dir" >&6; }
13964 elif test "x$target" = "x$host"; then
13965 # We can use an host tool
13966 AR_FOR_TARGET='$(AR)'
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13968 $as_echo "host tool" >&6; }
13969 else
13970 # We need a cross tool
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13972 $as_echo "pre-installed" >&6; }
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5
13977 $as_echo_n "checking where to find the target as... " >&6; }
13978 if test "x${build}" != "x${host}" ; then
13979 if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
13980 # We already found the complete path
13981 ac_dir=`dirname $AS_FOR_TARGET`
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13983 $as_echo "pre-installed in $ac_dir" >&6; }
13984 else
13985 # Canadian cross, just use what we found
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13987 $as_echo "pre-installed" >&6; }
13989 else
13990 ok=yes
13991 case " ${configdirs} " in
13992 *" gas "*) ;;
13993 *) ok=no ;;
13994 esac
13996 if test $ok = yes; then
13997 # An in-tree tool is available and we can use it
13998 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14000 $as_echo "just compiled" >&6; }
14001 elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
14002 # We already found the complete path
14003 ac_dir=`dirname $AS_FOR_TARGET`
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14005 $as_echo "pre-installed in $ac_dir" >&6; }
14006 elif test "x$target" = "x$host"; then
14007 # We can use an host tool
14008 AS_FOR_TARGET='$(AS)'
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14010 $as_echo "host tool" >&6; }
14011 else
14012 # We need a cross tool
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14014 $as_echo "pre-installed" >&6; }
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5
14019 $as_echo_n "checking where to find the target cc... " >&6; }
14020 if test "x${build}" != "x${host}" ; then
14021 if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
14022 # We already found the complete path
14023 ac_dir=`dirname $CC_FOR_TARGET`
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14025 $as_echo "pre-installed in $ac_dir" >&6; }
14026 else
14027 # Canadian cross, just use what we found
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14029 $as_echo "pre-installed" >&6; }
14031 else
14032 ok=yes
14033 case " ${configdirs} " in
14034 *" gcc "*) ;;
14035 *) ok=no ;;
14036 esac
14038 if test $ok = yes; then
14039 # An in-tree tool is available and we can use it
14040 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14042 $as_echo "just compiled" >&6; }
14043 elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
14044 # We already found the complete path
14045 ac_dir=`dirname $CC_FOR_TARGET`
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14047 $as_echo "pre-installed in $ac_dir" >&6; }
14048 elif test "x$target" = "x$host"; then
14049 # We can use an host tool
14050 CC_FOR_TARGET='$(CC)'
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14052 $as_echo "host tool" >&6; }
14053 else
14054 # We need a cross tool
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14056 $as_echo "pre-installed" >&6; }
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++" >&5
14061 $as_echo_n "checking where to find the target c++... " >&6; }
14062 if test "x${build}" != "x${host}" ; then
14063 if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
14064 # We already found the complete path
14065 ac_dir=`dirname $CXX_FOR_TARGET`
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14067 $as_echo "pre-installed in $ac_dir" >&6; }
14068 else
14069 # Canadian cross, just use what we found
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14071 $as_echo "pre-installed" >&6; }
14073 else
14074 ok=yes
14075 case " ${configdirs} " in
14076 *" gcc "*) ;;
14077 *) ok=no ;;
14078 esac
14079 case ,${enable_languages}, in
14080 *,c++,*) ;;
14081 *) ok=no ;;
14082 esac
14083 if test $ok = yes; then
14084 # An in-tree tool is available and we can use it
14085 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xg++ -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 -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14087 $as_echo "just compiled" >&6; }
14088 elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
14089 # We already found the complete path
14090 ac_dir=`dirname $CXX_FOR_TARGET`
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14092 $as_echo "pre-installed in $ac_dir" >&6; }
14093 elif test "x$target" = "x$host"; then
14094 # We can use an host tool
14095 CXX_FOR_TARGET='$(CXX)'
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14097 $as_echo "host tool" >&6; }
14098 else
14099 # We need a cross tool
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14101 $as_echo "pre-installed" >&6; }
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++ for libstdc++" >&5
14106 $as_echo_n "checking where to find the target c++ for libstdc++... " >&6; }
14107 if test "x${build}" != "x${host}" ; then
14108 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
14109 # We already found the complete path
14110 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14112 $as_echo "pre-installed in $ac_dir" >&6; }
14113 else
14114 # Canadian cross, just use what we found
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14116 $as_echo "pre-installed" >&6; }
14118 else
14119 ok=yes
14120 case " ${configdirs} " in
14121 *" gcc "*) ;;
14122 *) ok=no ;;
14123 esac
14124 case ,${enable_languages}, in
14125 *,c++,*) ;;
14126 *) ok=no ;;
14127 esac
14128 if test $ok = yes; then
14129 # An in-tree tool is available and we can use it
14130 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 -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14132 $as_echo "just compiled" >&6; }
14133 elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
14134 # We already found the complete path
14135 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14137 $as_echo "pre-installed in $ac_dir" >&6; }
14138 elif test "x$target" = "x$host"; then
14139 # We can use an host tool
14140 RAW_CXX_FOR_TARGET='$(CXX)'
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14142 $as_echo "host tool" >&6; }
14143 else
14144 # We need a cross tool
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14146 $as_echo "pre-installed" >&6; }
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target dlltool" >&5
14151 $as_echo_n "checking where to find the target dlltool... " >&6; }
14152 if test "x${build}" != "x${host}" ; then
14153 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
14154 # We already found the complete path
14155 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14157 $as_echo "pre-installed in $ac_dir" >&6; }
14158 else
14159 # Canadian cross, just use what we found
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14161 $as_echo "pre-installed" >&6; }
14163 else
14164 ok=yes
14165 case " ${configdirs} " in
14166 *" binutils "*) ;;
14167 *) ok=no ;;
14168 esac
14170 if test $ok = yes; then
14171 # An in-tree tool is available and we can use it
14172 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14174 $as_echo "just compiled" >&6; }
14175 elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
14176 # We already found the complete path
14177 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14179 $as_echo "pre-installed in $ac_dir" >&6; }
14180 elif test "x$target" = "x$host"; then
14181 # We can use an host tool
14182 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14184 $as_echo "host tool" >&6; }
14185 else
14186 # We need a cross tool
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14188 $as_echo "pre-installed" >&6; }
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcc" >&5
14193 $as_echo_n "checking where to find the target gcc... " >&6; }
14194 if test "x${build}" != "x${host}" ; then
14195 if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
14196 # We already found the complete path
14197 ac_dir=`dirname $GCC_FOR_TARGET`
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14199 $as_echo "pre-installed in $ac_dir" >&6; }
14200 else
14201 # Canadian cross, just use what we found
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14203 $as_echo "pre-installed" >&6; }
14205 else
14206 ok=yes
14207 case " ${configdirs} " in
14208 *" gcc "*) ;;
14209 *) ok=no ;;
14210 esac
14212 if test $ok = yes; then
14213 # An in-tree tool is available and we can use it
14214 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14216 $as_echo "just compiled" >&6; }
14217 elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
14218 # We already found the complete path
14219 ac_dir=`dirname $GCC_FOR_TARGET`
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14221 $as_echo "pre-installed in $ac_dir" >&6; }
14222 elif test "x$target" = "x$host"; then
14223 # We can use an host tool
14224 GCC_FOR_TARGET='$()'
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14226 $as_echo "host tool" >&6; }
14227 else
14228 # We need a cross tool
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14230 $as_echo "pre-installed" >&6; }
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcj" >&5
14235 $as_echo_n "checking where to find the target gcj... " >&6; }
14236 if test "x${build}" != "x${host}" ; then
14237 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
14238 # We already found the complete path
14239 ac_dir=`dirname $GCJ_FOR_TARGET`
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14241 $as_echo "pre-installed in $ac_dir" >&6; }
14242 else
14243 # Canadian cross, just use what we found
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14245 $as_echo "pre-installed" >&6; }
14247 else
14248 ok=yes
14249 case " ${configdirs} " in
14250 *" gcc "*) ;;
14251 *) ok=no ;;
14252 esac
14253 case ,${enable_languages}, in
14254 *,java,*) ;;
14255 *) ok=no ;;
14256 esac
14257 if test $ok = yes; then
14258 # An in-tree tool is available and we can use it
14259 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14261 $as_echo "just compiled" >&6; }
14262 elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
14263 # We already found the complete path
14264 ac_dir=`dirname $GCJ_FOR_TARGET`
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14266 $as_echo "pre-installed in $ac_dir" >&6; }
14267 elif test "x$target" = "x$host"; then
14268 # We can use an host tool
14269 GCJ_FOR_TARGET='$(GCJ)'
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14271 $as_echo "host tool" >&6; }
14272 else
14273 # We need a cross tool
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14275 $as_echo "pre-installed" >&6; }
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gfortran" >&5
14280 $as_echo_n "checking where to find the target gfortran... " >&6; }
14281 if test "x${build}" != "x${host}" ; then
14282 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
14283 # We already found the complete path
14284 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14286 $as_echo "pre-installed in $ac_dir" >&6; }
14287 else
14288 # Canadian cross, just use what we found
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14290 $as_echo "pre-installed" >&6; }
14292 else
14293 ok=yes
14294 case " ${configdirs} " in
14295 *" gcc "*) ;;
14296 *) ok=no ;;
14297 esac
14298 case ,${enable_languages}, in
14299 *,fortran,*) ;;
14300 *) ok=no ;;
14301 esac
14302 if test $ok = yes; then
14303 # An in-tree tool is available and we can use it
14304 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14306 $as_echo "just compiled" >&6; }
14307 elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
14308 # We already found the complete path
14309 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14311 $as_echo "pre-installed in $ac_dir" >&6; }
14312 elif test "x$target" = "x$host"; then
14313 # We can use an host tool
14314 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14316 $as_echo "host tool" >&6; }
14317 else
14318 # We need a cross tool
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14320 $as_echo "pre-installed" >&6; }
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gccgo" >&5
14325 $as_echo_n "checking where to find the target gccgo... " >&6; }
14326 if test "x${build}" != "x${host}" ; then
14327 if expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
14328 # We already found the complete path
14329 ac_dir=`dirname $GOC_FOR_TARGET`
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14331 $as_echo "pre-installed in $ac_dir" >&6; }
14332 else
14333 # Canadian cross, just use what we found
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14335 $as_echo "pre-installed" >&6; }
14337 else
14338 ok=yes
14339 case " ${configdirs} " in
14340 *" gcc "*) ;;
14341 *) ok=no ;;
14342 esac
14343 case ,${enable_languages}, in
14344 *,go,*) ;;
14345 *) ok=no ;;
14346 esac
14347 if test $ok = yes; then
14348 # An in-tree tool is available and we can use it
14349 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14351 $as_echo "just compiled" >&6; }
14352 elif expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
14353 # We already found the complete path
14354 ac_dir=`dirname $GOC_FOR_TARGET`
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14356 $as_echo "pre-installed in $ac_dir" >&6; }
14357 elif test "x$target" = "x$host"; then
14358 # We can use an host tool
14359 GOC_FOR_TARGET='$(GOC)'
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14361 $as_echo "host tool" >&6; }
14362 else
14363 # We need a cross tool
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14365 $as_echo "pre-installed" >&6; }
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gupc" >&5
14370 $as_echo_n "checking where to find the target gupc... " >&6; }
14371 if test "x${build}" != "x${host}" ; then
14372 if expr "x$GUPC_FOR_TARGET" : "x/" > /dev/null; then
14373 # We already found the complete path
14374 ac_dir=`dirname $GUPC_FOR_TARGET`
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14376 $as_echo "pre-installed in $ac_dir" >&6; }
14377 else
14378 # Canadian cross, just use what we found
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14380 $as_echo "pre-installed" >&6; }
14382 else
14383 ok=yes
14384 case " ${configdirs} " in
14385 *" gcc "*) ;;
14386 *) ok=no ;;
14387 esac
14388 case ,${enable_languages}, in
14389 *,upc,*) ;;
14390 *) ok=no ;;
14391 esac
14392 if test $ok = yes; then
14393 # An in-tree tool is available and we can use it
14394 GUPC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gupc -B$$r/$(HOST_SUBDIR)/gcc/'
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14396 $as_echo "just compiled" >&6; }
14397 elif expr "x$GUPC_FOR_TARGET" : "x/" > /dev/null; then
14398 # We already found the complete path
14399 ac_dir=`dirname $GUPC_FOR_TARGET`
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14401 $as_echo "pre-installed in $ac_dir" >&6; }
14402 elif test "x$target" = "x$host"; then
14403 # We can use an host tool
14404 GUPC_FOR_TARGET='$(GUPC)'
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14406 $as_echo "host tool" >&6; }
14407 else
14408 # We need a cross tool
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14410 $as_echo "pre-installed" >&6; }
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
14415 $as_echo_n "checking where to find the target ld... " >&6; }
14416 if test "x${build}" != "x${host}" ; then
14417 if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
14418 # We already found the complete path
14419 ac_dir=`dirname $LD_FOR_TARGET`
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14421 $as_echo "pre-installed in $ac_dir" >&6; }
14422 else
14423 # Canadian cross, just use what we found
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14425 $as_echo "pre-installed" >&6; }
14427 else
14428 ok=yes
14429 case " ${configdirs} " in
14430 *" ld "*) ;;
14431 *) ok=no ;;
14432 esac
14434 if test $ok = yes; then
14435 # An in-tree tool is available and we can use it
14436 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14438 $as_echo "just compiled" >&6; }
14439 elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
14440 # We already found the complete path
14441 ac_dir=`dirname $LD_FOR_TARGET`
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14443 $as_echo "pre-installed in $ac_dir" >&6; }
14444 elif test "x$target" = "x$host"; then
14445 # We can use an host tool
14446 LD_FOR_TARGET='$(LD)'
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14448 $as_echo "host tool" >&6; }
14449 else
14450 # We need a cross tool
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14452 $as_echo "pre-installed" >&6; }
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target lipo" >&5
14457 $as_echo_n "checking where to find the target lipo... " >&6; }
14458 if test "x${build}" != "x${host}" ; then
14459 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
14460 # We already found the complete path
14461 ac_dir=`dirname $LIPO_FOR_TARGET`
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14463 $as_echo "pre-installed in $ac_dir" >&6; }
14464 else
14465 # Canadian cross, just use what we found
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14467 $as_echo "pre-installed" >&6; }
14469 else
14470 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
14471 # We already found the complete path
14472 ac_dir=`dirname $LIPO_FOR_TARGET`
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14474 $as_echo "pre-installed in $ac_dir" >&6; }
14475 elif test "x$target" = "x$host"; then
14476 # We can use an host tool
14477 LIPO_FOR_TARGET='$(LIPO)'
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14479 $as_echo "host tool" >&6; }
14480 else
14481 # We need a cross tool
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14483 $as_echo "pre-installed" >&6; }
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target nm" >&5
14488 $as_echo_n "checking where to find the target nm... " >&6; }
14489 if test "x${build}" != "x${host}" ; then
14490 if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
14491 # We already found the complete path
14492 ac_dir=`dirname $NM_FOR_TARGET`
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14494 $as_echo "pre-installed in $ac_dir" >&6; }
14495 else
14496 # Canadian cross, just use what we found
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14498 $as_echo "pre-installed" >&6; }
14500 else
14501 ok=yes
14502 case " ${configdirs} " in
14503 *" binutils "*) ;;
14504 *) ok=no ;;
14505 esac
14507 if test $ok = yes; then
14508 # An in-tree tool is available and we can use it
14509 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14511 $as_echo "just compiled" >&6; }
14512 elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
14513 # We already found the complete path
14514 ac_dir=`dirname $NM_FOR_TARGET`
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14516 $as_echo "pre-installed in $ac_dir" >&6; }
14517 elif test "x$target" = "x$host"; then
14518 # We can use an host tool
14519 NM_FOR_TARGET='$(NM)'
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14521 $as_echo "host tool" >&6; }
14522 else
14523 # We need a cross tool
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14525 $as_echo "pre-installed" >&6; }
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objdump" >&5
14530 $as_echo_n "checking where to find the target objdump... " >&6; }
14531 if test "x${build}" != "x${host}" ; then
14532 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
14533 # We already found the complete path
14534 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14536 $as_echo "pre-installed in $ac_dir" >&6; }
14537 else
14538 # Canadian cross, just use what we found
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14540 $as_echo "pre-installed" >&6; }
14542 else
14543 ok=yes
14544 case " ${configdirs} " in
14545 *" binutils "*) ;;
14546 *) ok=no ;;
14547 esac
14549 if test $ok = yes; then
14550 # An in-tree tool is available and we can use it
14551 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14553 $as_echo "just compiled" >&6; }
14554 elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
14555 # We already found the complete path
14556 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14558 $as_echo "pre-installed in $ac_dir" >&6; }
14559 elif test "x$target" = "x$host"; then
14560 # We can use an host tool
14561 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14563 $as_echo "host tool" >&6; }
14564 else
14565 # We need a cross tool
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14567 $as_echo "pre-installed" >&6; }
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ranlib" >&5
14572 $as_echo_n "checking where to find the target ranlib... " >&6; }
14573 if test "x${build}" != "x${host}" ; then
14574 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
14575 # We already found the complete path
14576 ac_dir=`dirname $RANLIB_FOR_TARGET`
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14578 $as_echo "pre-installed in $ac_dir" >&6; }
14579 else
14580 # Canadian cross, just use what we found
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14582 $as_echo "pre-installed" >&6; }
14584 else
14585 ok=yes
14586 case " ${configdirs} " in
14587 *" binutils "*) ;;
14588 *) ok=no ;;
14589 esac
14591 if test $ok = yes; then
14592 # An in-tree tool is available and we can use it
14593 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14595 $as_echo "just compiled" >&6; }
14596 elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
14597 # We already found the complete path
14598 ac_dir=`dirname $RANLIB_FOR_TARGET`
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14600 $as_echo "pre-installed in $ac_dir" >&6; }
14601 elif test "x$target" = "x$host"; then
14602 # We can use an host tool
14603 RANLIB_FOR_TARGET='$(RANLIB)'
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14605 $as_echo "host tool" >&6; }
14606 else
14607 # We need a cross tool
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14609 $as_echo "pre-installed" >&6; }
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target readelf" >&5
14614 $as_echo_n "checking where to find the target readelf... " >&6; }
14615 if test "x${build}" != "x${host}" ; then
14616 if expr "x$READELF_FOR_TARGET" : "x/" > /dev/null; then
14617 # We already found the complete path
14618 ac_dir=`dirname $READELF_FOR_TARGET`
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14620 $as_echo "pre-installed in $ac_dir" >&6; }
14621 else
14622 # Canadian cross, just use what we found
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14624 $as_echo "pre-installed" >&6; }
14626 else
14627 ok=yes
14628 case " ${configdirs} " in
14629 *" binutils "*) ;;
14630 *) ok=no ;;
14631 esac
14633 if test $ok = yes; then
14634 # An in-tree tool is available and we can use it
14635 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14637 $as_echo "just compiled" >&6; }
14638 elif expr "x$READELF_FOR_TARGET" : "x/" > /dev/null; then
14639 # We already found the complete path
14640 ac_dir=`dirname $READELF_FOR_TARGET`
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14642 $as_echo "pre-installed in $ac_dir" >&6; }
14643 elif test "x$target" = "x$host"; then
14644 # We can use an host tool
14645 READELF_FOR_TARGET='$(READELF)'
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14647 $as_echo "host tool" >&6; }
14648 else
14649 # We need a cross tool
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14651 $as_echo "pre-installed" >&6; }
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target strip" >&5
14656 $as_echo_n "checking where to find the target strip... " >&6; }
14657 if test "x${build}" != "x${host}" ; then
14658 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
14659 # We already found the complete path
14660 ac_dir=`dirname $STRIP_FOR_TARGET`
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14662 $as_echo "pre-installed in $ac_dir" >&6; }
14663 else
14664 # Canadian cross, just use what we found
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14666 $as_echo "pre-installed" >&6; }
14668 else
14669 ok=yes
14670 case " ${configdirs} " in
14671 *" binutils "*) ;;
14672 *) ok=no ;;
14673 esac
14675 if test $ok = yes; then
14676 # An in-tree tool is available and we can use it
14677 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14679 $as_echo "just compiled" >&6; }
14680 elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
14681 # We already found the complete path
14682 ac_dir=`dirname $STRIP_FOR_TARGET`
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14684 $as_echo "pre-installed in $ac_dir" >&6; }
14685 elif test "x$target" = "x$host"; then
14686 # We can use an host tool
14687 STRIP_FOR_TARGET='$(STRIP)'
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14689 $as_echo "host tool" >&6; }
14690 else
14691 # We need a cross tool
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14693 $as_echo "pre-installed" >&6; }
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windres" >&5
14698 $as_echo_n "checking where to find the target windres... " >&6; }
14699 if test "x${build}" != "x${host}" ; then
14700 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
14701 # We already found the complete path
14702 ac_dir=`dirname $WINDRES_FOR_TARGET`
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14704 $as_echo "pre-installed in $ac_dir" >&6; }
14705 else
14706 # Canadian cross, just use what we found
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14708 $as_echo "pre-installed" >&6; }
14710 else
14711 ok=yes
14712 case " ${configdirs} " in
14713 *" binutils "*) ;;
14714 *) ok=no ;;
14715 esac
14717 if test $ok = yes; then
14718 # An in-tree tool is available and we can use it
14719 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14721 $as_echo "just compiled" >&6; }
14722 elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
14723 # We already found the complete path
14724 ac_dir=`dirname $WINDRES_FOR_TARGET`
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14726 $as_echo "pre-installed in $ac_dir" >&6; }
14727 elif test "x$target" = "x$host"; then
14728 # We can use an host tool
14729 WINDRES_FOR_TARGET='$(WINDRES)'
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14731 $as_echo "host tool" >&6; }
14732 else
14733 # We need a cross tool
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14735 $as_echo "pre-installed" >&6; }
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windmc" >&5
14740 $as_echo_n "checking where to find the target windmc... " >&6; }
14741 if test "x${build}" != "x${host}" ; then
14742 if expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
14743 # We already found the complete path
14744 ac_dir=`dirname $WINDMC_FOR_TARGET`
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14746 $as_echo "pre-installed in $ac_dir" >&6; }
14747 else
14748 # Canadian cross, just use what we found
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14750 $as_echo "pre-installed" >&6; }
14752 else
14753 ok=yes
14754 case " ${configdirs} " in
14755 *" binutils "*) ;;
14756 *) ok=no ;;
14757 esac
14759 if test $ok = yes; then
14760 # An in-tree tool is available and we can use it
14761 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
14763 $as_echo "just compiled" >&6; }
14764 elif expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
14765 # We already found the complete path
14766 ac_dir=`dirname $WINDMC_FOR_TARGET`
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
14768 $as_echo "pre-installed in $ac_dir" >&6; }
14769 elif test "x$target" = "x$host"; then
14770 # We can use an host tool
14771 WINDMC_FOR_TARGET='$(WINDMC)'
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
14773 $as_echo "host tool" >&6; }
14774 else
14775 # We need a cross tool
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
14777 $as_echo "pre-installed" >&6; }
14785 # Certain tools may need extra flags.
14786 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14787 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14788 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14790 # When building target libraries, except in a Canadian cross, we use
14791 # the same toolchain as the compiler we just built.
14792 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14793 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14794 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14795 if test $host = $build; then
14796 case " $configdirs " in
14797 *" gcc "*)
14798 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14799 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14800 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14802 esac
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
14810 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
14811 # Check whether --enable-maintainer-mode was given.
14812 if test "${enable_maintainer_mode+set}" = set; then :
14813 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14814 else
14815 USE_MAINTAINER_MODE=no
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
14819 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14822 if test "$USE_MAINTAINER_MODE" = yes; then
14823 MAINTAINER_MODE_TRUE=
14824 MAINTAINER_MODE_FALSE='#'
14825 else
14826 MAINTAINER_MODE_TRUE='#'
14827 MAINTAINER_MODE_FALSE=
14829 MAINT=$MAINTAINER_MODE_TRUE
14831 # ---------------------
14832 # GCC bootstrap support
14833 # ---------------------
14835 # Stage specific cflags for build.
14836 stage1_cflags="-g"
14837 case $build in
14838 vax-*-*)
14839 case ${GCC} in
14840 yes) stage1_cflags="-g -Wa,-J" ;;
14841 *) stage1_cflags="-g -J" ;;
14842 esac ;;
14843 esac
14847 # Enable --enable-checking in stage1 of the compiler.
14848 # Check whether --enable-stage1-checking was given.
14849 if test "${enable_stage1_checking+set}" = set; then :
14850 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14851 else
14852 if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
14853 stage1_checking=--enable-checking=yes,types
14854 else
14855 stage1_checking=--enable-checking=$enable_checking,types
14861 # Enable -Werror in bootstrap stage2 and later.
14862 # Check whether --enable-werror was given.
14863 if test "${enable_werror+set}" = set; then :
14864 enableval=$enable_werror;
14865 else
14866 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14867 enable_werror=yes
14868 else
14869 enable_werror=no
14873 case ${enable_werror} in
14874 yes) stage2_werror_flag="--enable-werror-always" ;;
14875 *) stage2_werror_flag="" ;;
14876 esac
14879 # Enable --enable-host-shared.
14880 # Check whether --enable-host-shared was given.
14881 if test "${enable_host_shared+set}" = set; then :
14882 enableval=$enable_host_shared; host_shared=$enableval
14883 else
14884 host_shared=no
14889 # Specify what files to not compare during bootstrap.
14891 compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
14892 case "$target" in
14893 hppa*64*-*-hpux*) ;;
14894 hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/*" ;;
14895 powerpc*-ibm-aix*) compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/* | *libgomp*\$(objext)" ;;
14896 esac
14899 ac_config_files="$ac_config_files Makefile"
14901 cat >confcache <<\_ACEOF
14902 # This file is a shell script that caches the results of configure
14903 # tests run on this system so they can be shared between configure
14904 # scripts and configure runs, see configure's option --config-cache.
14905 # It is not useful on other systems. If it contains results you don't
14906 # want to keep, you may remove or edit it.
14908 # config.status only pays attention to the cache file if you give it
14909 # the --recheck option to rerun configure.
14911 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14912 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14913 # following values.
14915 _ACEOF
14917 # The following way of writing the cache mishandles newlines in values,
14918 # but we know of no workaround that is simple, portable, and efficient.
14919 # So, we kill variables containing newlines.
14920 # Ultrix sh set writes to stderr and can't be redirected directly,
14921 # and sets the high bit in the cache file unless we assign to the vars.
14923 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14924 eval ac_val=\$$ac_var
14925 case $ac_val in #(
14926 *${as_nl}*)
14927 case $ac_var in #(
14928 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14929 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14930 esac
14931 case $ac_var in #(
14932 _ | IFS | as_nl) ;; #(
14933 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14934 *) { eval $ac_var=; unset $ac_var;} ;;
14935 esac ;;
14936 esac
14937 done
14939 (set) 2>&1 |
14940 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14941 *${as_nl}ac_space=\ *)
14942 # `set' does not quote correctly, so add quotes: double-quote
14943 # substitution turns \\\\ into \\, and sed turns \\ into \.
14944 sed -n \
14945 "s/'/'\\\\''/g;
14946 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14947 ;; #(
14949 # `set' quotes correctly as required by POSIX, so do not add quotes.
14950 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14952 esac |
14953 sort
14955 sed '
14956 /^ac_cv_env_/b end
14957 t clear
14958 :clear
14959 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14960 t end
14961 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14962 :end' >>confcache
14963 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14964 if test -w "$cache_file"; then
14965 test "x$cache_file" != "x/dev/null" &&
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14967 $as_echo "$as_me: updating cache $cache_file" >&6;}
14968 cat confcache >$cache_file
14969 else
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14971 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14974 rm -f confcache
14976 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14977 # Let make expand exec_prefix.
14978 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14980 # Transform confdefs.h into DEFS.
14981 # Protect against shell expansion while executing Makefile rules.
14982 # Protect against Makefile macro expansion.
14984 # If the first sed substitution is executed (which looks for macros that
14985 # take arguments), then branch to the quote section. Otherwise,
14986 # look for a macro that doesn't take arguments.
14987 ac_script='
14988 :mline
14989 /\\$/{
14991 s,\\\n,,
14992 b mline
14994 t clear
14995 :clear
14996 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14997 t quote
14998 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14999 t quote
15000 b any
15001 :quote
15002 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
15003 s/\[/\\&/g
15004 s/\]/\\&/g
15005 s/\$/$$/g
15007 :any
15010 s/^\n//
15011 s/\n/ /g
15015 DEFS=`sed -n "$ac_script" confdefs.h`
15018 ac_libobjs=
15019 ac_ltlibobjs=
15020 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15021 # 1. Remove the extension, and $U if already installed.
15022 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15023 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15024 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15025 # will be set to the directory where LIBOBJS objects are built.
15026 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15027 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15028 done
15029 LIBOBJS=$ac_libobjs
15031 LTLIBOBJS=$ac_ltlibobjs
15035 : ${CONFIG_STATUS=./config.status}
15036 ac_write_fail=0
15037 ac_clean_files_save=$ac_clean_files
15038 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15040 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15041 as_write_fail=0
15042 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15043 #! $SHELL
15044 # Generated by $as_me.
15045 # Run this file to recreate the current configuration.
15046 # Compiler output produced by configure, useful for debugging
15047 # configure, is in config.log if it exists.
15049 debug=false
15050 ac_cs_recheck=false
15051 ac_cs_silent=false
15053 SHELL=\${CONFIG_SHELL-$SHELL}
15054 export SHELL
15055 _ASEOF
15056 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15057 ## -------------------- ##
15058 ## M4sh Initialization. ##
15059 ## -------------------- ##
15061 # Be more Bourne compatible
15062 DUALCASE=1; export DUALCASE # for MKS sh
15063 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15064 emulate sh
15065 NULLCMD=:
15066 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15067 # is contrary to our usage. Disable this feature.
15068 alias -g '${1+"$@"}'='"$@"'
15069 setopt NO_GLOB_SUBST
15070 else
15071 case `(set -o) 2>/dev/null` in #(
15072 *posix*) :
15073 set -o posix ;; #(
15074 *) :
15076 esac
15080 as_nl='
15082 export as_nl
15083 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15084 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15085 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15086 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15087 # Prefer a ksh shell builtin over an external printf program on Solaris,
15088 # but without wasting forks for bash or zsh.
15089 if test -z "$BASH_VERSION$ZSH_VERSION" \
15090 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15091 as_echo='print -r --'
15092 as_echo_n='print -rn --'
15093 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15094 as_echo='printf %s\n'
15095 as_echo_n='printf %s'
15096 else
15097 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15098 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15099 as_echo_n='/usr/ucb/echo -n'
15100 else
15101 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15102 as_echo_n_body='eval
15103 arg=$1;
15104 case $arg in #(
15105 *"$as_nl"*)
15106 expr "X$arg" : "X\\(.*\\)$as_nl";
15107 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15108 esac;
15109 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15111 export as_echo_n_body
15112 as_echo_n='sh -c $as_echo_n_body as_echo'
15114 export as_echo_body
15115 as_echo='sh -c $as_echo_body as_echo'
15118 # The user is always right.
15119 if test "${PATH_SEPARATOR+set}" != set; then
15120 PATH_SEPARATOR=:
15121 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15122 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15123 PATH_SEPARATOR=';'
15128 # IFS
15129 # We need space, tab and new line, in precisely that order. Quoting is
15130 # there to prevent editors from complaining about space-tab.
15131 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15132 # splitting by setting IFS to empty value.)
15133 IFS=" "" $as_nl"
15135 # Find who we are. Look in the path if we contain no directory separator.
15136 case $0 in #((
15137 *[\\/]* ) as_myself=$0 ;;
15138 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15139 for as_dir in $PATH
15141 IFS=$as_save_IFS
15142 test -z "$as_dir" && as_dir=.
15143 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15144 done
15145 IFS=$as_save_IFS
15148 esac
15149 # We did not find ourselves, most probably we were run as `sh COMMAND'
15150 # in which case we are not to be found in the path.
15151 if test "x$as_myself" = x; then
15152 as_myself=$0
15154 if test ! -f "$as_myself"; then
15155 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15156 exit 1
15159 # Unset variables that we do not need and which cause bugs (e.g. in
15160 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15161 # suppresses any "Segmentation fault" message there. '((' could
15162 # trigger a bug in pdksh 5.2.14.
15163 for as_var in BASH_ENV ENV MAIL MAILPATH
15164 do eval test x\${$as_var+set} = xset \
15165 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15166 done
15167 PS1='$ '
15168 PS2='> '
15169 PS4='+ '
15171 # NLS nuisances.
15172 LC_ALL=C
15173 export LC_ALL
15174 LANGUAGE=C
15175 export LANGUAGE
15177 # CDPATH.
15178 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15181 # as_fn_error ERROR [LINENO LOG_FD]
15182 # ---------------------------------
15183 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15184 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15185 # script with status $?, using 1 if that was 0.
15186 as_fn_error ()
15188 as_status=$?; test $as_status -eq 0 && as_status=1
15189 if test "$3"; then
15190 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15191 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15193 $as_echo "$as_me: error: $1" >&2
15194 as_fn_exit $as_status
15195 } # as_fn_error
15198 # as_fn_set_status STATUS
15199 # -----------------------
15200 # Set $? to STATUS, without forking.
15201 as_fn_set_status ()
15203 return $1
15204 } # as_fn_set_status
15206 # as_fn_exit STATUS
15207 # -----------------
15208 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15209 as_fn_exit ()
15211 set +e
15212 as_fn_set_status $1
15213 exit $1
15214 } # as_fn_exit
15216 # as_fn_unset VAR
15217 # ---------------
15218 # Portably unset VAR.
15219 as_fn_unset ()
15221 { eval $1=; unset $1;}
15223 as_unset=as_fn_unset
15224 # as_fn_append VAR VALUE
15225 # ----------------------
15226 # Append the text in VALUE to the end of the definition contained in VAR. Take
15227 # advantage of any shell optimizations that allow amortized linear growth over
15228 # repeated appends, instead of the typical quadratic growth present in naive
15229 # implementations.
15230 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15231 eval 'as_fn_append ()
15233 eval $1+=\$2
15235 else
15236 as_fn_append ()
15238 eval $1=\$$1\$2
15240 fi # as_fn_append
15242 # as_fn_arith ARG...
15243 # ------------------
15244 # Perform arithmetic evaluation on the ARGs, and store the result in the
15245 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15246 # must be portable across $(()) and expr.
15247 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15248 eval 'as_fn_arith ()
15250 as_val=$(( $* ))
15252 else
15253 as_fn_arith ()
15255 as_val=`expr "$@" || test $? -eq 1`
15257 fi # as_fn_arith
15260 if expr a : '\(a\)' >/dev/null 2>&1 &&
15261 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15262 as_expr=expr
15263 else
15264 as_expr=false
15267 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15268 as_basename=basename
15269 else
15270 as_basename=false
15273 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15274 as_dirname=dirname
15275 else
15276 as_dirname=false
15279 as_me=`$as_basename -- "$0" ||
15280 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15281 X"$0" : 'X\(//\)$' \| \
15282 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15283 $as_echo X/"$0" |
15284 sed '/^.*\/\([^/][^/]*\)\/*$/{
15285 s//\1/
15288 /^X\/\(\/\/\)$/{
15289 s//\1/
15292 /^X\/\(\/\).*/{
15293 s//\1/
15296 s/.*/./; q'`
15298 # Avoid depending upon Character Ranges.
15299 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15300 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15301 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15302 as_cr_digits='0123456789'
15303 as_cr_alnum=$as_cr_Letters$as_cr_digits
15305 ECHO_C= ECHO_N= ECHO_T=
15306 case `echo -n x` in #(((((
15307 -n*)
15308 case `echo 'xy\c'` in
15309 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15310 xy) ECHO_C='\c';;
15311 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15312 ECHO_T=' ';;
15313 esac;;
15315 ECHO_N='-n';;
15316 esac
15318 rm -f conf$$ conf$$.exe conf$$.file
15319 if test -d conf$$.dir; then
15320 rm -f conf$$.dir/conf$$.file
15321 else
15322 rm -f conf$$.dir
15323 mkdir conf$$.dir 2>/dev/null
15325 if (echo >conf$$.file) 2>/dev/null; then
15326 if ln -s conf$$.file conf$$ 2>/dev/null; then
15327 as_ln_s='ln -s'
15328 # ... but there are two gotchas:
15329 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15330 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15331 # In both cases, we have to default to `cp -p'.
15332 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15333 as_ln_s='cp -p'
15334 elif ln conf$$.file conf$$ 2>/dev/null; then
15335 as_ln_s=ln
15336 else
15337 as_ln_s='cp -p'
15339 else
15340 as_ln_s='cp -p'
15342 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15343 rmdir conf$$.dir 2>/dev/null
15346 # as_fn_mkdir_p
15347 # -------------
15348 # Create "$as_dir" as a directory, including parents if necessary.
15349 as_fn_mkdir_p ()
15352 case $as_dir in #(
15353 -*) as_dir=./$as_dir;;
15354 esac
15355 test -d "$as_dir" || eval $as_mkdir_p || {
15356 as_dirs=
15357 while :; do
15358 case $as_dir in #(
15359 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15360 *) as_qdir=$as_dir;;
15361 esac
15362 as_dirs="'$as_qdir' $as_dirs"
15363 as_dir=`$as_dirname -- "$as_dir" ||
15364 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15365 X"$as_dir" : 'X\(//\)[^/]' \| \
15366 X"$as_dir" : 'X\(//\)$' \| \
15367 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15368 $as_echo X"$as_dir" |
15369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15370 s//\1/
15373 /^X\(\/\/\)[^/].*/{
15374 s//\1/
15377 /^X\(\/\/\)$/{
15378 s//\1/
15381 /^X\(\/\).*/{
15382 s//\1/
15385 s/.*/./; q'`
15386 test -d "$as_dir" && break
15387 done
15388 test -z "$as_dirs" || eval "mkdir $as_dirs"
15389 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15392 } # as_fn_mkdir_p
15393 if mkdir -p . 2>/dev/null; then
15394 as_mkdir_p='mkdir -p "$as_dir"'
15395 else
15396 test -d ./-p && rmdir ./-p
15397 as_mkdir_p=false
15400 if test -x / >/dev/null 2>&1; then
15401 as_test_x='test -x'
15402 else
15403 if ls -dL / >/dev/null 2>&1; then
15404 as_ls_L_option=L
15405 else
15406 as_ls_L_option=
15408 as_test_x='
15409 eval sh -c '\''
15410 if test -d "$1"; then
15411 test -d "$1/.";
15412 else
15413 case $1 in #(
15414 -*)set "./$1";;
15415 esac;
15416 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15417 ???[sx]*):;;*)false;;esac;fi
15418 '\'' sh
15421 as_executable_p=$as_test_x
15423 # Sed expression to map a string onto a valid CPP name.
15424 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15426 # Sed expression to map a string onto a valid variable name.
15427 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15430 exec 6>&1
15431 ## ----------------------------------- ##
15432 ## Main body of $CONFIG_STATUS script. ##
15433 ## ----------------------------------- ##
15434 _ASEOF
15435 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15438 # Save the log message, to keep $0 and so on meaningful, and to
15439 # report actual input values of CONFIG_FILES etc. instead of their
15440 # values after options handling.
15441 ac_log="
15442 This file was extended by $as_me, which was
15443 generated by GNU Autoconf 2.64. Invocation command line was
15445 CONFIG_FILES = $CONFIG_FILES
15446 CONFIG_HEADERS = $CONFIG_HEADERS
15447 CONFIG_LINKS = $CONFIG_LINKS
15448 CONFIG_COMMANDS = $CONFIG_COMMANDS
15449 $ $0 $@
15451 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15454 _ACEOF
15456 case $ac_config_files in *"
15457 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15458 esac
15462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15463 # Files that config.status was made for.
15464 config_files="$ac_config_files"
15466 _ACEOF
15468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15469 ac_cs_usage="\
15470 \`$as_me' instantiates files and other configuration actions
15471 from templates according to the current configuration. Unless the files
15472 and actions are specified as TAGs, all are instantiated by default.
15474 Usage: $0 [OPTION]... [TAG]...
15476 -h, --help print this help, then exit
15477 -V, --version print version number and configuration settings, then exit
15478 -q, --quiet, --silent
15479 do not print progress messages
15480 -d, --debug don't remove temporary files
15481 --recheck update $as_me by reconfiguring in the same conditions
15482 --file=FILE[:TEMPLATE]
15483 instantiate the configuration file FILE
15485 Configuration files:
15486 $config_files
15488 Report bugs to the package provider."
15490 _ACEOF
15491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15492 ac_cs_version="\\
15493 config.status
15494 configured by $0, generated by GNU Autoconf 2.64,
15495 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15497 Copyright (C) 2009 Free Software Foundation, Inc.
15498 This config.status script is free software; the Free Software Foundation
15499 gives unlimited permission to copy, distribute and modify it."
15501 ac_pwd='$ac_pwd'
15502 srcdir='$srcdir'
15503 INSTALL='$INSTALL'
15504 AWK='$AWK'
15505 test -n "\$AWK" || AWK=awk
15506 _ACEOF
15508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15509 # The default lists apply if the user does not specify any file.
15510 ac_need_defaults=:
15511 while test $# != 0
15513 case $1 in
15514 --*=*)
15515 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15516 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15517 ac_shift=:
15520 ac_option=$1
15521 ac_optarg=$2
15522 ac_shift=shift
15524 esac
15526 case $ac_option in
15527 # Handling of the options.
15528 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15529 ac_cs_recheck=: ;;
15530 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15531 $as_echo "$ac_cs_version"; exit ;;
15532 --debug | --debu | --deb | --de | --d | -d )
15533 debug=: ;;
15534 --file | --fil | --fi | --f )
15535 $ac_shift
15536 case $ac_optarg in
15537 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15538 esac
15539 as_fn_append CONFIG_FILES " '$ac_optarg'"
15540 ac_need_defaults=false;;
15541 --he | --h | --help | --hel | -h )
15542 $as_echo "$ac_cs_usage"; exit ;;
15543 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15544 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15545 ac_cs_silent=: ;;
15547 # This is an error.
15548 -*) as_fn_error "unrecognized option: \`$1'
15549 Try \`$0 --help' for more information." ;;
15551 *) as_fn_append ac_config_targets " $1"
15552 ac_need_defaults=false ;;
15554 esac
15555 shift
15556 done
15558 ac_configure_extra_args=
15560 if $ac_cs_silent; then
15561 exec 6>/dev/null
15562 ac_configure_extra_args="$ac_configure_extra_args --silent"
15565 _ACEOF
15566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15567 if \$ac_cs_recheck; then
15568 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15569 shift
15570 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15571 CONFIG_SHELL='$SHELL'
15572 export CONFIG_SHELL
15573 exec "\$@"
15576 _ACEOF
15577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15578 exec 5>>config.log
15580 echo
15581 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15582 ## Running $as_me. ##
15583 _ASBOX
15584 $as_echo "$ac_log"
15585 } >&5
15587 _ACEOF
15588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15590 # INIT-COMMANDS
15592 extrasub_build="$extrasub_build"
15593 extrasub_host="$extrasub_host"
15594 extrasub_target="$extrasub_target"
15596 _ACEOF
15598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15600 # Handling of arguments.
15601 for ac_config_target in $ac_config_targets
15603 case $ac_config_target in
15604 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15606 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15607 esac
15608 done
15611 # If the user did not use the arguments to specify the items to instantiate,
15612 # then the envvar interface is used. Set only those that are not.
15613 # We use the long form for the default assignment because of an extremely
15614 # bizarre bug on SunOS 4.1.3.
15615 if $ac_need_defaults; then
15616 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15619 # Have a temporary directory for convenience. Make it in the build tree
15620 # simply because there is no reason against having it here, and in addition,
15621 # creating and moving files from /tmp can sometimes cause problems.
15622 # Hook for its removal unless debugging.
15623 # Note that there is a small window in which the directory will not be cleaned:
15624 # after its creation but before its name has been assigned to `$tmp'.
15625 $debug ||
15627 tmp=
15628 trap 'exit_status=$?
15629 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15631 trap 'as_fn_exit 1' 1 2 13 15
15633 # Create a (secure) tmp directory for tmp files.
15636 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15637 test -n "$tmp" && test -d "$tmp"
15638 } ||
15640 tmp=./conf$$-$RANDOM
15641 (umask 077 && mkdir "$tmp")
15642 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15644 # Set up the scripts for CONFIG_FILES section.
15645 # No need to generate them if there are no CONFIG_FILES.
15646 # This happens for instance with `./config.status config.h'.
15647 if test -n "$CONFIG_FILES"; then
15649 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
15650 ac_cs_awk_getline=:
15651 ac_cs_awk_pipe_init=
15652 ac_cs_awk_read_file='
15653 while ((getline aline < (F[key])) > 0)
15654 print(aline)
15655 close(F[key])'
15656 ac_cs_awk_pipe_fini=
15657 else
15658 ac_cs_awk_getline=false
15659 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
15660 ac_cs_awk_read_file='
15661 print "|#_!!_#|"
15662 print "cat " F[key] " &&"
15663 '$ac_cs_awk_pipe_init
15664 # The final `:' finishes the AND list.
15665 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
15667 ac_cr=`echo X | tr X '\015'`
15668 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15669 # But we know of no other shell where ac_cr would be empty at this
15670 # point, so we can use a bashism as a fallback.
15671 if test "x$ac_cr" = x; then
15672 eval ac_cr=\$\'\\r\'
15674 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15675 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15676 ac_cs_awk_cr='\r'
15677 else
15678 ac_cs_awk_cr=$ac_cr
15681 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15682 _ACEOF
15684 # Create commands to substitute file output variables.
15686 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15687 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15688 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
15689 echo "_ACAWK" &&
15690 echo "_ACEOF"
15691 } >conf$$files.sh &&
15692 . ./conf$$files.sh ||
15693 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15694 rm -f conf$$files.sh
15697 echo "cat >conf$$subs.awk <<_ACEOF" &&
15698 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15699 echo "_ACEOF"
15700 } >conf$$subs.sh ||
15701 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15702 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15703 ac_delim='%!_!# '
15704 for ac_last_try in false false false false false :; do
15705 . ./conf$$subs.sh ||
15706 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15708 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15709 if test $ac_delim_n = $ac_delim_num; then
15710 break
15711 elif $ac_last_try; then
15712 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15713 else
15714 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15716 done
15717 rm -f conf$$subs.sh
15719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15720 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15721 _ACEOF
15722 sed -n '
15724 s/^/S["/; s/!.*/"]=/
15727 s/^[^!]*!//
15728 :repl
15729 t repl
15730 s/'"$ac_delim"'$//
15731 t delim
15734 s/\(.\{148\}\).*/\1/
15735 t more1
15736 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15739 b repl
15740 :more1
15741 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15744 s/.\{148\}//
15745 t nl
15746 :delim
15748 s/\(.\{148\}\).*/\1/
15749 t more2
15750 s/["\\]/\\&/g; s/^/"/; s/$/"/
15753 :more2
15754 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15757 s/.\{148\}//
15758 t delim
15759 ' <conf$$subs.awk | sed '
15760 /^[^""]/{
15762 s/\n//
15764 ' >>$CONFIG_STATUS || ac_write_fail=1
15765 rm -f conf$$subs.awk
15766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15767 _ACAWK
15768 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15769 for (key in S) S_is_set[key] = 1
15770 FS = "\a"
15771 \$ac_cs_awk_pipe_init
15774 line = $ 0
15775 nfields = split(line, field, "@")
15776 substed = 0
15777 len = length(field[1])
15778 for (i = 2; i < nfields; i++) {
15779 key = field[i]
15780 keylen = length(key)
15781 if (S_is_set[key]) {
15782 value = S[key]
15783 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15784 len += length(value) + length(field[++i])
15785 substed = 1
15786 } else
15787 len += 1 + keylen
15789 if (nfields == 3 && !substed) {
15790 key = field[2]
15791 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15792 \$ac_cs_awk_read_file
15793 next
15796 print line
15798 \$ac_cs_awk_pipe_fini
15799 _ACAWK
15800 _ACEOF
15801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15802 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15803 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15804 else
15806 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15807 || as_fn_error "could not setup config files machinery" "$LINENO" 5
15808 _ACEOF
15810 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15811 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15812 # trailing colons and then remove the whole line if VPATH becomes empty
15813 # (actually we leave an empty line to preserve line numbers).
15814 if test "x$srcdir" = x.; then
15815 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15816 s/:*\$(srcdir):*/:/
15817 s/:*\${srcdir}:*/:/
15818 s/:*@srcdir@:*/:/
15819 s/^\([^=]*=[ ]*\):*/\1/
15820 s/:*$//
15821 s/^[^=]*=[ ]*$//
15825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15826 fi # test -n "$CONFIG_FILES"
15829 eval set X " :F $CONFIG_FILES "
15830 shift
15831 for ac_tag
15833 case $ac_tag in
15834 :[FHLC]) ac_mode=$ac_tag; continue;;
15835 esac
15836 case $ac_mode$ac_tag in
15837 :[FHL]*:*);;
15838 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15839 :[FH]-) ac_tag=-:-;;
15840 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15841 esac
15842 ac_save_IFS=$IFS
15843 IFS=:
15844 set x $ac_tag
15845 IFS=$ac_save_IFS
15846 shift
15847 ac_file=$1
15848 shift
15850 case $ac_mode in
15851 :L) ac_source=$1;;
15852 :[FH])
15853 ac_file_inputs=
15854 for ac_f
15856 case $ac_f in
15857 -) ac_f="$tmp/stdin";;
15858 *) # Look for the file first in the build tree, then in the source tree
15859 # (if the path is not absolute). The absolute path cannot be DOS-style,
15860 # because $ac_f cannot contain `:'.
15861 test -f "$ac_f" ||
15862 case $ac_f in
15863 [\\/$]*) false;;
15864 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15865 esac ||
15866 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15867 esac
15868 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15869 as_fn_append ac_file_inputs " '$ac_f'"
15870 done
15872 # Let's still pretend it is `configure' which instantiates (i.e., don't
15873 # use $as_me), people would be surprised to read:
15874 # /* config.h. Generated by config.status. */
15875 configure_input='Generated from '`
15876 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15877 `' by configure.'
15878 if test x"$ac_file" != x-; then
15879 configure_input="$ac_file. $configure_input"
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15881 $as_echo "$as_me: creating $ac_file" >&6;}
15883 # Neutralize special characters interpreted by sed in replacement strings.
15884 case $configure_input in #(
15885 *\&* | *\|* | *\\* )
15886 ac_sed_conf_input=`$as_echo "$configure_input" |
15887 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15888 *) ac_sed_conf_input=$configure_input;;
15889 esac
15891 case $ac_tag in
15892 *:-:* | *:-) cat >"$tmp/stdin" \
15893 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15894 esac
15896 esac
15898 ac_dir=`$as_dirname -- "$ac_file" ||
15899 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15900 X"$ac_file" : 'X\(//\)[^/]' \| \
15901 X"$ac_file" : 'X\(//\)$' \| \
15902 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15903 $as_echo X"$ac_file" |
15904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15905 s//\1/
15908 /^X\(\/\/\)[^/].*/{
15909 s//\1/
15912 /^X\(\/\/\)$/{
15913 s//\1/
15916 /^X\(\/\).*/{
15917 s//\1/
15920 s/.*/./; q'`
15921 as_dir="$ac_dir"; as_fn_mkdir_p
15922 ac_builddir=.
15924 case "$ac_dir" in
15925 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15927 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15928 # A ".." for each directory in $ac_dir_suffix.
15929 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15930 case $ac_top_builddir_sub in
15931 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15932 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15933 esac ;;
15934 esac
15935 ac_abs_top_builddir=$ac_pwd
15936 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15937 # for backward compatibility:
15938 ac_top_builddir=$ac_top_build_prefix
15940 case $srcdir in
15941 .) # We are building in place.
15942 ac_srcdir=.
15943 ac_top_srcdir=$ac_top_builddir_sub
15944 ac_abs_top_srcdir=$ac_pwd ;;
15945 [\\/]* | ?:[\\/]* ) # Absolute name.
15946 ac_srcdir=$srcdir$ac_dir_suffix;
15947 ac_top_srcdir=$srcdir
15948 ac_abs_top_srcdir=$srcdir ;;
15949 *) # Relative name.
15950 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15951 ac_top_srcdir=$ac_top_build_prefix$srcdir
15952 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15953 esac
15954 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15957 case $ac_mode in
15960 # CONFIG_FILE
15963 case $INSTALL in
15964 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15965 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15966 esac
15967 _ACEOF
15969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15970 # If the template does not know about datarootdir, expand it.
15971 # FIXME: This hack should be removed a few years after 2.60.
15972 ac_datarootdir_hack=; ac_datarootdir_seen=
15973 ac_sed_dataroot='
15974 /datarootdir/ {
15978 /@datadir@/p
15979 /@docdir@/p
15980 /@infodir@/p
15981 /@localedir@/p
15982 /@mandir@/p'
15983 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15984 *datarootdir*) ac_datarootdir_seen=yes;;
15985 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15987 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15988 _ACEOF
15989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15990 ac_datarootdir_hack='
15991 s&@datadir@&$datadir&g
15992 s&@docdir@&$docdir&g
15993 s&@infodir@&$infodir&g
15994 s&@localedir@&$localedir&g
15995 s&@mandir@&$mandir&g
15996 s&\\\${datarootdir}&$datarootdir&g' ;;
15997 esac
15998 _ACEOF
16000 # Neutralize VPATH when `$srcdir' = `.'.
16001 # Shell code in configure.ac might set extrasub.
16002 # FIXME: do we really want to maintain this feature?
16003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16004 ac_sed_extra="$ac_vpsub
16005 $extrasub
16006 _ACEOF
16007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16009 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16010 s|@configure_input@|$ac_sed_conf_input|;t t
16011 s&@top_builddir@&$ac_top_builddir_sub&;t t
16012 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16013 s&@srcdir@&$ac_srcdir&;t t
16014 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16015 s&@top_srcdir@&$ac_top_srcdir&;t t
16016 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16017 s&@builddir@&$ac_builddir&;t t
16018 s&@abs_builddir@&$ac_abs_builddir&;t t
16019 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16020 s&@INSTALL@&$ac_INSTALL&;t t
16021 $ac_datarootdir_hack
16023 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16024 if $ac_cs_awk_getline; then
16025 $AWK -f "$tmp/subs.awk"
16026 else
16027 $AWK -f "$tmp/subs.awk" | $SHELL
16028 fi >$tmp/out \
16029 || as_fn_error "could not create $ac_file" "$LINENO" 5
16031 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16032 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16033 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16035 which seems to be undefined. Please make sure it is defined." >&5
16036 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16037 which seems to be undefined. Please make sure it is defined." >&2;}
16039 rm -f "$tmp/stdin"
16040 case $ac_file in
16041 -) cat "$tmp/out" && rm -f "$tmp/out";;
16042 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16043 esac \
16044 || as_fn_error "could not create $ac_file" "$LINENO" 5
16049 esac
16052 case $ac_file$ac_mode in
16053 "Makefile":F) sed "$extrasub_build" Makefile |
16054 sed "$extrasub_host" |
16055 sed "$extrasub_target" > mf$$
16056 mv -f mf$$ Makefile ;;
16058 esac
16059 done # for ac_tag
16062 as_fn_exit 0
16063 _ACEOF
16064 ac_clean_files=$ac_clean_files_save
16066 test $ac_write_fail = 0 ||
16067 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16070 # configure is writing to config.log, and then calls config.status.
16071 # config.status does its own redirection, appending to config.log.
16072 # Unfortunately, on DOS this fails, as config.log is still kept open
16073 # by configure, so config.status won't be able to write to it; its
16074 # output is simply discarded. So we exec the FD to /dev/null,
16075 # effectively closing config.log, so it can be properly (re)opened and
16076 # appended to by config.status. When coming back to configure, we
16077 # need to make the FD available again.
16078 if test "$no_create" != yes; then
16079 ac_cs_success=:
16080 ac_config_status_args=
16081 test "$silent" = yes &&
16082 ac_config_status_args="$ac_config_status_args --quiet"
16083 exec 5>/dev/null
16084 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16085 exec 5>>config.log
16086 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16087 # would make configure fail if this is the last instruction.
16088 $ac_cs_success || as_fn_exit $?
16090 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16092 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}