* elf32-tic6x.c (elf32_tic6x_check_relocs): Initialize pc_count field.
[deliverable/binutils-gdb.git] / configure
... / ...
CommitLineData
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.64.
4#
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.
8#
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## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if 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
24else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_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.
43if 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 --'
47elif (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'
50else
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"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if 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=';'
78 }
79fi
80
81
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.)
87IFS=" "" $as_nl"
88
89# Find who we are. Look in the path if we contain no directory separator.
90case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93for as_dir in $PATH
94do
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
99IFS=$as_save_IFS
100
101 ;;
102esac
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.
105if test "x$as_myself" = x; then
106 as_myself=$0
107fi
108if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111fi
112
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.
117for as_var in BASH_ENV ENV MAIL MAILPATH
118do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120done
121PS1='$ '
122PS2='> '
123PS4='+ '
124
125# NLS nuisances.
126LC_ALL=C
127export LC_ALL
128LANGUAGE=C
129export LANGUAGE
130
131# CDPATH.
132(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134if 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
142else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148esac
149fi
150"
151 as_required="as_fn_return () { (exit \$1); }
152as_fn_success () { as_fn_return 0; }
153as_fn_failure () { as_fn_return 1; }
154as_fn_ret_success () { return 0; }
155as_fn_ret_failure () { return 1; }
156
157exitcode=0
158as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164else
165 exitcode=1; echo positional parameters were not saved.
166fi
167test 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
172test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev/null; then :
174 as_have_required=yes
175else
176 as_have_required=no
177fi
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
179
180else
181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182as_found=false
183for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
184do
185 IFS=$as_save_IFS
186 test -z "$as_dir" && as_dir=.
187 as_found=:
188 case $as_dir in #(
189 /*)
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
198fi
199fi
200 done;;
201 esac
202 as_found=false
203done
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
207fi; }
208IFS=$as_save_IFS
209
210
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+"$@"}
220fi
221
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."
233 fi
234 exit 1
235fi
236fi
237fi
238SHELL=${CONFIG_SHELL-/bin/sh}
239export SHELL
240# Unset more variables known to interfere with behavior of common tools.
241CLICOLOR_FORCE= GREP_OPTIONS=
242unset CLICOLOR_FORCE GREP_OPTIONS
243
244## --------------------- ##
245## M4sh Shell Functions. ##
246## --------------------- ##
247# as_fn_unset VAR
248# ---------------
249# Portably unset VAR.
250as_fn_unset ()
251{
252 { eval $1=; unset $1;}
253}
254as_unset=as_fn_unset
255
256# as_fn_set_status STATUS
257# -----------------------
258# Set $? to STATUS, without forking.
259as_fn_set_status ()
260{
261 return $1
262} # as_fn_set_status
263
264# as_fn_exit STATUS
265# -----------------
266# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
267as_fn_exit ()
268{
269 set +e
270 as_fn_set_status $1
271 exit $1
272} # as_fn_exit
273
274# as_fn_mkdir_p
275# -------------
276# Create "$as_dir" as a directory, including parents if necessary.
277as_fn_mkdir_p ()
278{
279
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/
299 q
300 }
301 /^X\(\/\/\)[^/].*/{
302 s//\1/
303 q
304 }
305 /^X\(\/\/\)$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\).*/{
310 s//\1/
311 q
312 }
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"
318
319
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.
327if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328 eval 'as_fn_append ()
329 {
330 eval $1+=\$2
331 }'
332else
333 as_fn_append ()
334 {
335 eval $1=\$$1\$2
336 }
337fi # as_fn_append
338
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.
344if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
345 eval 'as_fn_arith ()
346 {
347 as_val=$(( $* ))
348 }'
349else
350 as_fn_arith ()
351 {
352 as_val=`expr "$@" || test $? -eq 1`
353 }
354fi # as_fn_arith
355
356
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.
362as_fn_error ()
363{
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
368 fi
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit $as_status
371} # as_fn_error
372
373if expr a : '\(a\)' >/dev/null 2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001; then
375 as_expr=expr
376else
377 as_expr=false
378fi
379
380if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
381 as_basename=basename
382else
383 as_basename=false
384fi
385
386if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
387 as_dirname=dirname
388else
389 as_dirname=false
390fi
391
392as_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/
399 q
400 }
401 /^X\/\(\/\/\)$/{
402 s//\1/
403 q
404 }
405 /^X\/\(\/\).*/{
406 s//\1/
407 q
408 }
409 s/.*/./; q'`
410
411# Avoid depending upon Character Ranges.
412as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415as_cr_digits='0123456789'
416as_cr_alnum=$as_cr_Letters$as_cr_digits
417
418
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 '
425 p
426 /[$]LINENO/=
427 ' <$as_myself |
428 sed '
429 s/[$]LINENO.*/&-/
430 t lineno
431 b
432 :lineno
433 N
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; }
441
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
448}
449
450ECHO_C= ECHO_N= ECHO_T=
451case `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;;
459*)
460 ECHO_N='-n';;
461esac
462
463rm -f conf$$ conf$$.exe conf$$.file
464if test -d conf$$.dir; then
465 rm -f conf$$.dir/conf$$.file
466else
467 rm -f conf$$.dir
468 mkdir conf$$.dir 2>/dev/null
469fi
470if (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'
483 fi
484else
485 as_ln_s='cp -p'
486fi
487rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488rmdir conf$$.dir 2>/dev/null
489
490if mkdir -p . 2>/dev/null; then
491 as_mkdir_p='mkdir -p "$as_dir"'
492else
493 test -d ./-p && rmdir ./-p
494 as_mkdir_p=false
495fi
496
497if test -x / >/dev/null 2>&1; then
498 as_test_x='test -x'
499else
500 if ls -dL / >/dev/null 2>&1; then
501 as_ls_L_option=L
502 else
503 as_ls_L_option=
504 fi
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
516 '
517fi
518as_executable_p=$as_test_x
519
520# Sed expression to map a string onto a valid CPP name.
521as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522
523# Sed expression to map a string onto a valid variable name.
524as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
525
526
527exec 7<&0 </dev/null 6>&1
528
529# Name of the host.
530# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531# so uname gets run too.
532ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
533
534#
535# Initializations.
536#
537ac_default_prefix=/usr/local
538ac_clean_files=
539ac_config_libobj_dir=.
540LIBOBJS=
541cross_compiling=no
542subdirs=
543MFLAGS=
544MAKEFLAGS=
545
546# Identity of this package.
547PACKAGE_NAME=
548PACKAGE_TARNAME=
549PACKAGE_VERSION=
550PACKAGE_STRING=
551PACKAGE_BUGREPORT=
552PACKAGE_URL=
553
554ac_unique_file="move-if-change"
555enable_option_checking=no
556ac_subst_vars='LTLIBOBJS
557LIBOBJS
558compare_exclusions
559stage2_werror_flag
560stage1_checking
561stage1_cflags
562MAINT
563MAINTAINER_MODE_FALSE
564MAINTAINER_MODE_TRUE
565COMPILER_NM_FOR_TARGET
566COMPILER_LD_FOR_TARGET
567COMPILER_AS_FOR_TARGET
568FLAGS_FOR_TARGET
569RAW_CXX_FOR_TARGET
570WINDMC_FOR_TARGET
571WINDRES_FOR_TARGET
572STRIP_FOR_TARGET
573RANLIB_FOR_TARGET
574OBJDUMP_FOR_TARGET
575NM_FOR_TARGET
576LIPO_FOR_TARGET
577LD_FOR_TARGET
578DLLTOOL_FOR_TARGET
579AS_FOR_TARGET
580AR_FOR_TARGET
581GOC_FOR_TARGET
582GFORTRAN_FOR_TARGET
583GCJ_FOR_TARGET
584GCC_FOR_TARGET
585CXX_FOR_TARGET
586CC_FOR_TARGET
587OBJDUMP
588OBJCOPY
589WINDMC
590WINDRES
591STRIP
592RANLIB
593NM
594LIPO
595LD
596DLLTOOL
597AS
598AR
599RUNTEST
600EXPECT
601MAKEINFO
602FLEX
603LEX
604M4
605BISON
606YACC
607WINDRES_FOR_BUILD
608WINDMC_FOR_BUILD
609RANLIB_FOR_BUILD
610NM_FOR_BUILD
611LD_FOR_BUILD
612LDFLAGS_FOR_BUILD
613GOC_FOR_BUILD
614GFORTRAN_FOR_BUILD
615GCJ_FOR_BUILD
616DLLTOOL_FOR_BUILD
617CXX_FOR_BUILD
618CXXFLAGS_FOR_BUILD
619CFLAGS_FOR_BUILD
620CC_FOR_BUILD
621AS_FOR_BUILD
622AR_FOR_BUILD
623target_configdirs
624configdirs
625build_configdirs
626INSTALL_GDB_TK
627GDB_TK
628CONFIGURE_GDB_TK
629build_tooldir
630tooldir
631GCC_SHLIB_SUBDIR
632RPATH_ENVVAR
633target_configargs
634host_configargs
635build_configargs
636BUILD_CONFIG
637CXXFLAGS_FOR_TARGET
638CFLAGS_FOR_TARGET
639DEBUG_PREFIX_CFLAGS_FOR_TARGET
640SYSROOT_CFLAGS_FOR_TARGET
641stage1_languages
642extra_host_libiberty_configure_flags
643clooginc
644clooglibs
645pplinc
646ppllibs
647poststage1_ldflags
648poststage1_libs
649stage1_libs
650stage1_ldflags
651extra_mpc_mpfr_configure_flags
652extra_mpc_gmp_configure_flags
653extra_mpfr_configure_flags
654gmpinc
655gmplibs
656do_compare
657GNATMAKE
658GNATBIND
659ac_ct_CXX
660CXXFLAGS
661CXX
662OBJEXT
663EXEEXT
664ac_ct_CC
665CPPFLAGS
666LDFLAGS
667CFLAGS
668CC
669target_subdir
670host_subdir
671build_subdir
672build_libsubdir
673AWK
674SED
675LN_S
676LN
677INSTALL_DATA
678INSTALL_SCRIPT
679INSTALL_PROGRAM
680target_os
681target_vendor
682target_cpu
683target
684host_os
685host_vendor
686host_cpu
687host
688target_noncanonical
689host_noncanonical
690build_noncanonical
691build_os
692build_vendor
693build_cpu
694build
695TOPLEVEL_CONFIGURE_ARGUMENTS
696target_alias
697host_alias
698build_alias
699LIBS
700ECHO_T
701ECHO_N
702ECHO_C
703DEFS
704mandir
705localedir
706libdir
707psdir
708pdfdir
709dvidir
710htmldir
711infodir
712docdir
713oldincludedir
714includedir
715localstatedir
716sharedstatedir
717sysconfdir
718datadir
719datarootdir
720libexecdir
721sbindir
722bindir
723program_transform_name
724prefix
725exec_prefix
726PACKAGE_URL
727PACKAGE_BUGREPORT
728PACKAGE_STRING
729PACKAGE_VERSION
730PACKAGE_TARNAME
731PACKAGE_NAME
732PATH_SEPARATOR
733SHELL'
734ac_subst_files='serialization_dependencies
735host_makefile_frag
736target_makefile_frag
737alphaieee_frag
738ospace_frag'
739ac_user_opts='
740enable_option_checking
741with_build_libsubdir
742enable_gold
743enable_ld
744enable_libquadmath
745enable_libquadmath_support
746enable_libada
747enable_libssp
748enable_build_with_cxx
749with_mpc
750with_mpc_include
751with_mpc_lib
752with_mpfr_dir
753with_mpfr
754with_mpfr_include
755with_mpfr_lib
756with_gmp_dir
757with_gmp
758with_gmp_include
759with_gmp_lib
760with_host_libstdcxx
761with_stage1_ldflags
762with_stage1_libs
763with_boot_libs
764with_boot_ldflags
765with_ppl
766with_ppl_include
767with_ppl_lib
768enable_ppl_version_check
769with_cloog
770with_cloog_include
771with_cloog_lib
772enable_cloog_backend
773enable_cloog_version_check
774enable_lto
775enable_stage1_languages
776enable_objc_gc
777with_build_sysroot
778with_debug_prefix_map
779enable_bootstrap
780with_build_config
781enable_serial_configure
782with_build_time_tools
783enable_maintainer_mode
784enable_stage1_checking
785enable_werror
786'
787 ac_precious_vars='build_alias
788host_alias
789target_alias
790CC
791CFLAGS
792LDFLAGS
793LIBS
794CPPFLAGS
795CXX
796CXXFLAGS
797CCC
798build_configargs
799host_configargs
800target_configargs
801AR
802AS
803DLLTOOL
804LD
805LIPO
806NM
807RANLIB
808STRIP
809WINDRES
810WINDMC
811OBJCOPY
812OBJDUMP
813CC_FOR_TARGET
814CXX_FOR_TARGET
815GCC_FOR_TARGET
816GCJ_FOR_TARGET
817GFORTRAN_FOR_TARGET
818GOC_FOR_TARGET
819AR_FOR_TARGET
820AS_FOR_TARGET
821DLLTOOL_FOR_TARGET
822LD_FOR_TARGET
823LIPO_FOR_TARGET
824NM_FOR_TARGET
825OBJDUMP_FOR_TARGET
826RANLIB_FOR_TARGET
827STRIP_FOR_TARGET
828WINDRES_FOR_TARGET
829WINDMC_FOR_TARGET'
830
831
832# Initialize some variables set by options.
833ac_init_help=
834ac_init_version=false
835ac_unrecognized_opts=
836ac_unrecognized_sep=
837# The variables have the same names as the options, with
838# dashes changed to underlines.
839cache_file=/dev/null
840exec_prefix=NONE
841no_create=
842no_recursion=
843prefix=NONE
844program_prefix=NONE
845program_suffix=NONE
846program_transform_name=s,x,x,
847silent=
848site=
849srcdir=
850verbose=
851x_includes=NONE
852x_libraries=NONE
853
854# Installation directory options.
855# These are left unexpanded so users can "make install exec_prefix=/foo"
856# and all the variables that are supposed to be based on exec_prefix
857# by default will actually change.
858# Use braces instead of parens because sh, perl, etc. also accept them.
859# (The list follows the same order as the GNU Coding Standards.)
860bindir='${exec_prefix}/bin'
861sbindir='${exec_prefix}/sbin'
862libexecdir='${exec_prefix}/libexec'
863datarootdir='${prefix}/share'
864datadir='${datarootdir}'
865sysconfdir='${prefix}/etc'
866sharedstatedir='${prefix}/com'
867localstatedir='${prefix}/var'
868includedir='${prefix}/include'
869oldincludedir='/usr/include'
870docdir='${datarootdir}/doc/${PACKAGE}'
871infodir='${datarootdir}/info'
872htmldir='${docdir}'
873dvidir='${docdir}'
874pdfdir='${docdir}'
875psdir='${docdir}'
876libdir='${exec_prefix}/lib'
877localedir='${datarootdir}/locale'
878mandir='${datarootdir}/man'
879
880ac_prev=
881ac_dashdash=
882for ac_option
883do
884 # If the previous option needs an argument, assign it.
885 if test -n "$ac_prev"; then
886 eval $ac_prev=\$ac_option
887 ac_prev=
888 continue
889 fi
890
891 case $ac_option in
892 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893 *) ac_optarg=yes ;;
894 esac
895
896 # Accept the important Cygnus configure options, so we can diagnose typos.
897
898 case $ac_dashdash$ac_option in
899 --)
900 ac_dashdash=yes ;;
901
902 -bindir | --bindir | --bindi | --bind | --bin | --bi)
903 ac_prev=bindir ;;
904 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
905 bindir=$ac_optarg ;;
906
907 -build | --build | --buil | --bui | --bu)
908 ac_prev=build_alias ;;
909 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
910 build_alias=$ac_optarg ;;
911
912 -cache-file | --cache-file | --cache-fil | --cache-fi \
913 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
914 ac_prev=cache_file ;;
915 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
916 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
917 cache_file=$ac_optarg ;;
918
919 --config-cache | -C)
920 cache_file=config.cache ;;
921
922 -datadir | --datadir | --datadi | --datad)
923 ac_prev=datadir ;;
924 -datadir=* | --datadir=* | --datadi=* | --datad=*)
925 datadir=$ac_optarg ;;
926
927 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
928 | --dataroo | --dataro | --datar)
929 ac_prev=datarootdir ;;
930 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
931 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
932 datarootdir=$ac_optarg ;;
933
934 -disable-* | --disable-*)
935 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
936 # Reject names that are not valid shell variable names.
937 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938 as_fn_error "invalid feature name: $ac_useropt"
939 ac_useropt_orig=$ac_useropt
940 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941 case $ac_user_opts in
942 *"
943"enable_$ac_useropt"
944"*) ;;
945 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
946 ac_unrecognized_sep=', ';;
947 esac
948 eval enable_$ac_useropt=no ;;
949
950 -docdir | --docdir | --docdi | --doc | --do)
951 ac_prev=docdir ;;
952 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
953 docdir=$ac_optarg ;;
954
955 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
956 ac_prev=dvidir ;;
957 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
958 dvidir=$ac_optarg ;;
959
960 -enable-* | --enable-*)
961 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
962 # Reject names that are not valid shell variable names.
963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964 as_fn_error "invalid feature name: $ac_useropt"
965 ac_useropt_orig=$ac_useropt
966 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967 case $ac_user_opts in
968 *"
969"enable_$ac_useropt"
970"*) ;;
971 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
972 ac_unrecognized_sep=', ';;
973 esac
974 eval enable_$ac_useropt=\$ac_optarg ;;
975
976 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
977 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
978 | --exec | --exe | --ex)
979 ac_prev=exec_prefix ;;
980 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
981 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
982 | --exec=* | --exe=* | --ex=*)
983 exec_prefix=$ac_optarg ;;
984
985 -gas | --gas | --ga | --g)
986 # Obsolete; use --with-gas.
987 with_gas=yes ;;
988
989 -help | --help | --hel | --he | -h)
990 ac_init_help=long ;;
991 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
992 ac_init_help=recursive ;;
993 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
994 ac_init_help=short ;;
995
996 -host | --host | --hos | --ho)
997 ac_prev=host_alias ;;
998 -host=* | --host=* | --hos=* | --ho=*)
999 host_alias=$ac_optarg ;;
1000
1001 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1002 ac_prev=htmldir ;;
1003 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1004 | --ht=*)
1005 htmldir=$ac_optarg ;;
1006
1007 -includedir | --includedir | --includedi | --included | --include \
1008 | --includ | --inclu | --incl | --inc)
1009 ac_prev=includedir ;;
1010 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1011 | --includ=* | --inclu=* | --incl=* | --inc=*)
1012 includedir=$ac_optarg ;;
1013
1014 -infodir | --infodir | --infodi | --infod | --info | --inf)
1015 ac_prev=infodir ;;
1016 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1017 infodir=$ac_optarg ;;
1018
1019 -libdir | --libdir | --libdi | --libd)
1020 ac_prev=libdir ;;
1021 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1022 libdir=$ac_optarg ;;
1023
1024 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1025 | --libexe | --libex | --libe)
1026 ac_prev=libexecdir ;;
1027 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1028 | --libexe=* | --libex=* | --libe=*)
1029 libexecdir=$ac_optarg ;;
1030
1031 -localedir | --localedir | --localedi | --localed | --locale)
1032 ac_prev=localedir ;;
1033 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1034 localedir=$ac_optarg ;;
1035
1036 -localstatedir | --localstatedir | --localstatedi | --localstated \
1037 | --localstate | --localstat | --localsta | --localst | --locals)
1038 ac_prev=localstatedir ;;
1039 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1040 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1041 localstatedir=$ac_optarg ;;
1042
1043 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1044 ac_prev=mandir ;;
1045 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1046 mandir=$ac_optarg ;;
1047
1048 -nfp | --nfp | --nf)
1049 # Obsolete; use --without-fp.
1050 with_fp=no ;;
1051
1052 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1053 | --no-cr | --no-c | -n)
1054 no_create=yes ;;
1055
1056 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1057 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1058 no_recursion=yes ;;
1059
1060 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1061 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1062 | --oldin | --oldi | --old | --ol | --o)
1063 ac_prev=oldincludedir ;;
1064 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1065 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1066 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1067 oldincludedir=$ac_optarg ;;
1068
1069 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1070 ac_prev=prefix ;;
1071 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1072 prefix=$ac_optarg ;;
1073
1074 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1075 | --program-pre | --program-pr | --program-p)
1076 ac_prev=program_prefix ;;
1077 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1078 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1079 program_prefix=$ac_optarg ;;
1080
1081 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1082 | --program-suf | --program-su | --program-s)
1083 ac_prev=program_suffix ;;
1084 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1085 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1086 program_suffix=$ac_optarg ;;
1087
1088 -program-transform-name | --program-transform-name \
1089 | --program-transform-nam | --program-transform-na \
1090 | --program-transform-n | --program-transform- \
1091 | --program-transform | --program-transfor \
1092 | --program-transfo | --program-transf \
1093 | --program-trans | --program-tran \
1094 | --progr-tra | --program-tr | --program-t)
1095 ac_prev=program_transform_name ;;
1096 -program-transform-name=* | --program-transform-name=* \
1097 | --program-transform-nam=* | --program-transform-na=* \
1098 | --program-transform-n=* | --program-transform-=* \
1099 | --program-transform=* | --program-transfor=* \
1100 | --program-transfo=* | --program-transf=* \
1101 | --program-trans=* | --program-tran=* \
1102 | --progr-tra=* | --program-tr=* | --program-t=*)
1103 program_transform_name=$ac_optarg ;;
1104
1105 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1106 ac_prev=pdfdir ;;
1107 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1108 pdfdir=$ac_optarg ;;
1109
1110 -psdir | --psdir | --psdi | --psd | --ps)
1111 ac_prev=psdir ;;
1112 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1113 psdir=$ac_optarg ;;
1114
1115 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1116 | -silent | --silent | --silen | --sile | --sil)
1117 silent=yes ;;
1118
1119 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1120 ac_prev=sbindir ;;
1121 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1122 | --sbi=* | --sb=*)
1123 sbindir=$ac_optarg ;;
1124
1125 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1126 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1127 | --sharedst | --shareds | --shared | --share | --shar \
1128 | --sha | --sh)
1129 ac_prev=sharedstatedir ;;
1130 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1131 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1132 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1133 | --sha=* | --sh=*)
1134 sharedstatedir=$ac_optarg ;;
1135
1136 -site | --site | --sit)
1137 ac_prev=site ;;
1138 -site=* | --site=* | --sit=*)
1139 site=$ac_optarg ;;
1140
1141 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1142 ac_prev=srcdir ;;
1143 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1144 srcdir=$ac_optarg ;;
1145
1146 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1147 | --syscon | --sysco | --sysc | --sys | --sy)
1148 ac_prev=sysconfdir ;;
1149 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1150 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1151 sysconfdir=$ac_optarg ;;
1152
1153 -target | --target | --targe | --targ | --tar | --ta | --t)
1154 ac_prev=target_alias ;;
1155 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1156 target_alias=$ac_optarg ;;
1157
1158 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1159 verbose=yes ;;
1160
1161 -version | --version | --versio | --versi | --vers | -V)
1162 ac_init_version=: ;;
1163
1164 -with-* | --with-*)
1165 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168 as_fn_error "invalid package name: $ac_useropt"
1169 ac_useropt_orig=$ac_useropt
1170 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171 case $ac_user_opts in
1172 *"
1173"with_$ac_useropt"
1174"*) ;;
1175 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1176 ac_unrecognized_sep=', ';;
1177 esac
1178 eval with_$ac_useropt=\$ac_optarg ;;
1179
1180 -without-* | --without-*)
1181 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184 as_fn_error "invalid package name: $ac_useropt"
1185 ac_useropt_orig=$ac_useropt
1186 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187 case $ac_user_opts in
1188 *"
1189"with_$ac_useropt"
1190"*) ;;
1191 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1192 ac_unrecognized_sep=', ';;
1193 esac
1194 eval with_$ac_useropt=no ;;
1195
1196 --x)
1197 # Obsolete; use --with-x.
1198 with_x=yes ;;
1199
1200 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1201 | --x-incl | --x-inc | --x-in | --x-i)
1202 ac_prev=x_includes ;;
1203 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1204 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1205 x_includes=$ac_optarg ;;
1206
1207 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1208 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1209 ac_prev=x_libraries ;;
1210 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1211 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1212 x_libraries=$ac_optarg ;;
1213
1214 -*) as_fn_error "unrecognized option: \`$ac_option'
1215Try \`$0 --help' for more information."
1216 ;;
1217
1218 *=*)
1219 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1220 # Reject names that are not valid shell variable names.
1221 case $ac_envvar in #(
1222 '' | [0-9]* | *[!_$as_cr_alnum]* )
1223 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1224 esac
1225 eval $ac_envvar=\$ac_optarg
1226 export $ac_envvar ;;
1227
1228 *)
1229 # FIXME: should be removed in autoconf 3.0.
1230 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1231 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1232 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1233 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1234 ;;
1235
1236 esac
1237done
1238
1239if test -n "$ac_prev"; then
1240 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1241 as_fn_error "missing argument to $ac_option"
1242fi
1243
1244if test -n "$ac_unrecognized_opts"; then
1245 case $enable_option_checking in
1246 no) ;;
1247 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1248 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1249 esac
1250fi
1251
1252# Check all directory arguments for consistency.
1253for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1254 datadir sysconfdir sharedstatedir localstatedir includedir \
1255 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1256 libdir localedir mandir
1257do
1258 eval ac_val=\$$ac_var
1259 # Remove trailing slashes.
1260 case $ac_val in
1261 */ )
1262 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1263 eval $ac_var=\$ac_val;;
1264 esac
1265 # Be sure to have absolute directory names.
1266 case $ac_val in
1267 [\\/$]* | ?:[\\/]* ) continue;;
1268 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1269 esac
1270 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1271done
1272
1273# There might be people who depend on the old broken behavior: `$host'
1274# used to hold the argument of --host etc.
1275# FIXME: To remove some day.
1276build=$build_alias
1277host=$host_alias
1278target=$target_alias
1279
1280# FIXME: To remove some day.
1281if test "x$host_alias" != x; then
1282 if test "x$build_alias" = x; then
1283 cross_compiling=maybe
1284 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1285 If a cross compiler is detected then cross compile mode will be used." >&2
1286 elif test "x$build_alias" != "x$host_alias"; then
1287 cross_compiling=yes
1288 fi
1289fi
1290
1291ac_tool_prefix=
1292test -n "$host_alias" && ac_tool_prefix=$host_alias-
1293
1294test "$silent" = yes && exec 6>/dev/null
1295
1296
1297ac_pwd=`pwd` && test -n "$ac_pwd" &&
1298ac_ls_di=`ls -di .` &&
1299ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1300 as_fn_error "working directory cannot be determined"
1301test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302 as_fn_error "pwd does not report name of working directory"
1303
1304
1305# Find the source files, if location was not specified.
1306if test -z "$srcdir"; then
1307 ac_srcdir_defaulted=yes
1308 # Try the directory containing this script, then the parent directory.
1309 ac_confdir=`$as_dirname -- "$as_myself" ||
1310$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1311 X"$as_myself" : 'X\(//\)[^/]' \| \
1312 X"$as_myself" : 'X\(//\)$' \| \
1313 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1314$as_echo X"$as_myself" |
1315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1316 s//\1/
1317 q
1318 }
1319 /^X\(\/\/\)[^/].*/{
1320 s//\1/
1321 q
1322 }
1323 /^X\(\/\/\)$/{
1324 s//\1/
1325 q
1326 }
1327 /^X\(\/\).*/{
1328 s//\1/
1329 q
1330 }
1331 s/.*/./; q'`
1332 srcdir=$ac_confdir
1333 if test ! -r "$srcdir/$ac_unique_file"; then
1334 srcdir=..
1335 fi
1336else
1337 ac_srcdir_defaulted=no
1338fi
1339if test ! -r "$srcdir/$ac_unique_file"; then
1340 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1341 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1342fi
1343ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1344ac_abs_confdir=`(
1345 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1346 pwd)`
1347# When building in place, set srcdir=.
1348if test "$ac_abs_confdir" = "$ac_pwd"; then
1349 srcdir=.
1350fi
1351# Remove unnecessary trailing slashes from srcdir.
1352# Double slashes in file names in object file debugging info
1353# mess up M-x gdb in Emacs.
1354case $srcdir in
1355*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1356esac
1357case $srcdir in
1358 *" "*)
1359 as_fn_error "path to source, $srcdir, contains spaces"
1360 ;;
1361esac
1362ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1363
1364for ac_var in $ac_precious_vars; do
1365 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1366 eval ac_env_${ac_var}_value=\$${ac_var}
1367 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1368 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1369done
1370
1371#
1372# Report the --help message.
1373#
1374if test "$ac_init_help" = "long"; then
1375 # Omit some internal or obsolete options to make the list less imposing.
1376 # This message is too long to be a string in the A/UX 3.1 sh.
1377 cat <<_ACEOF
1378\`configure' configures this package to adapt to many kinds of systems.
1379
1380Usage: $0 [OPTION]... [VAR=VALUE]...
1381
1382To assign environment variables (e.g., CC, CFLAGS...), specify them as
1383VAR=VALUE. See below for descriptions of some of the useful variables.
1384
1385Defaults for the options are specified in brackets.
1386
1387Configuration:
1388 -h, --help display this help and exit
1389 --help=short display options specific to this package
1390 --help=recursive display the short help of all the included packages
1391 -V, --version display version information and exit
1392 -q, --quiet, --silent do not print \`checking...' messages
1393 --cache-file=FILE cache test results in FILE [disabled]
1394 -C, --config-cache alias for \`--cache-file=config.cache'
1395 -n, --no-create do not create output files
1396 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1397
1398Installation directories:
1399 --prefix=PREFIX install architecture-independent files in PREFIX
1400 [$ac_default_prefix]
1401 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1402 [PREFIX]
1403
1404By default, \`make install' will install all the files in
1405\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1406an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1407for instance \`--prefix=\$HOME'.
1408
1409For better control, use the options below.
1410
1411Fine tuning of the installation directories:
1412 --bindir=DIR user executables [EPREFIX/bin]
1413 --sbindir=DIR system admin executables [EPREFIX/sbin]
1414 --libexecdir=DIR program executables [EPREFIX/libexec]
1415 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1416 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1417 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1418 --libdir=DIR object code libraries [EPREFIX/lib]
1419 --includedir=DIR C header files [PREFIX/include]
1420 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1421 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1422 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1423 --infodir=DIR info documentation [DATAROOTDIR/info]
1424 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1425 --mandir=DIR man documentation [DATAROOTDIR/man]
1426 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1427 --htmldir=DIR html documentation [DOCDIR]
1428 --dvidir=DIR dvi documentation [DOCDIR]
1429 --pdfdir=DIR pdf documentation [DOCDIR]
1430 --psdir=DIR ps documentation [DOCDIR]
1431_ACEOF
1432
1433 cat <<\_ACEOF
1434
1435Program names:
1436 --program-prefix=PREFIX prepend PREFIX to installed program names
1437 --program-suffix=SUFFIX append SUFFIX to installed program names
1438 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1439
1440System types:
1441 --build=BUILD configure for building on BUILD [guessed]
1442 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1443 --target=TARGET configure for building compilers for TARGET [HOST]
1444_ACEOF
1445fi
1446
1447if test -n "$ac_init_help"; then
1448
1449 cat <<\_ACEOF
1450
1451Optional Features:
1452 --disable-option-checking ignore unrecognized --enable/--with options
1453 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1454 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1455 --enable-gold[=ARG] build gold [ARG={default,yes,no}]
1456 --enable-ld[=ARG] build ld [ARG={default,yes,no}]
1457 --disable-libquadmath do not build libquadmath directory
1458 --disable-libquadmath-support
1459 disable libquadmath support for Fortran
1460 --enable-libada build libada directory
1461 --enable-libssp build libssp directory
1462 --enable-build-with-cxx build with C++ compiler instead of C compiler
1463 --disable-ppl-version-check
1464 disable check for PPL version
1465 --enable-cloog-backend[=BACKEND]
1466 set the CLooG BACKEND used to either isl, ppl or
1467 ppl-legacy (default)
1468 --disable-cloog-version-check
1469 disable check for CLooG version
1470 --enable-lto enable link time optimization support
1471 --enable-stage1-languages[=all]
1472 choose additional languages to build during stage1.
1473 Mostly useful for compiler development
1474 --enable-objc-gc enable use of Boehm's garbage collector with the GNU
1475 Objective-C runtime
1476 --enable-bootstrap enable bootstrapping [yes if native build]
1477 --enable-serial-[{host,target,build}-]configure
1478 force sequential configuration of sub-packages for
1479 the host, target or build machine, or all
1480 sub-packages
1481 --enable-maintainer-mode
1482 enable make rules and dependencies not useful (and
1483 sometimes confusing) to the casual installer
1484 --enable-stage1-checking[=all]
1485 choose additional checking for stage1 of the
1486 compiler
1487 --enable-werror enable -Werror in bootstrap stage2 and later
1488
1489Optional Packages:
1490 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1491 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1492 --with-build-libsubdir=DIR Directory where to find libraries for build system
1493 --with-mpc=PATH specify prefix directory for installed MPC package.
1494 Equivalent to --with-mpc-include=PATH/include plus
1495 --with-mpc-lib=PATH/lib
1496 --with-mpc-include=PATH specify directory for installed MPC include files
1497 --with-mpc-lib=PATH specify directory for the installed MPC library
1498 --with-mpfr-dir=PATH this option has been REMOVED
1499 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1500 Equivalent to --with-mpfr-include=PATH/include plus
1501 --with-mpfr-lib=PATH/lib
1502 --with-mpfr-include=PATH
1503 specify directory for installed MPFR include files
1504 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1505 --with-gmp-dir=PATH this option has been REMOVED
1506 --with-gmp=PATH specify prefix directory for the installed GMP
1507 package. Equivalent to
1508 --with-gmp-include=PATH/include plus
1509 --with-gmp-lib=PATH/lib
1510 --with-gmp-include=PATH specify directory for installed GMP include files
1511 --with-gmp-lib=PATH specify directory for the installed GMP library
1512 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1513 linking with PPL
1514 --with-stage1-ldflags=FLAGS
1515 linker flags for stage1
1516 --with-stage1-libs=LIBS libraries for stage1
1517 --with-boot-libs=LIBS libraries for stage2 and later
1518 --with-boot-ldflags=FLAGS
1519 linker flags for stage2 and later
1520 --with-ppl=PATH specify prefix directory for the installed PPL
1521 package. Equivalent to
1522 --with-ppl-include=PATH/include plus
1523 --with-ppl-lib=PATH/lib
1524 --with-ppl-include=PATH specify directory for installed PPL include files
1525 --with-ppl-lib=PATH specify directory for the installed PPL library
1526 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
1527 package. Equivalent to
1528 --with-cloog-include=PATH/include plus
1529 --with-cloog-lib=PATH/lib
1530 --with-cloog-include=PATH
1531 Specify directory for installed CLooG include files
1532 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1533 library
1534 --with-build-sysroot=SYSROOT
1535 use sysroot as the system root during the build
1536 --with-debug-prefix-map='A=B C=D ...'
1537 map A to B, C to D ... in debug information
1538 --with-build-config='NAME NAME2...'
1539 use config/NAME.mk build configuration
1540 --with-build-time-tools=PATH
1541 use given path to find target tools during the build
1542
1543Some influential environment variables:
1544 CC C compiler command
1545 CFLAGS C compiler flags
1546 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1547 nonstandard directory <lib dir>
1548 LIBS libraries to pass to the linker, e.g. -l<library>
1549 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1550 you have headers in a nonstandard directory <include dir>
1551 CXX C++ compiler command
1552 CXXFLAGS C++ compiler flags
1553 build_configargs
1554 additional configure arguments for build directories
1555 host_configargs
1556 additional configure arguments for host directories
1557 target_configargs
1558 additional configure arguments for target directories
1559 AR AR for the host
1560 AS AS for the host
1561 DLLTOOL DLLTOOL for the host
1562 LD LD for the host
1563 LIPO LIPO for the host
1564 NM NM for the host
1565 RANLIB RANLIB for the host
1566 STRIP STRIP for the host
1567 WINDRES WINDRES for the host
1568 WINDMC WINDMC for the host
1569 OBJCOPY OBJCOPY for the host
1570 OBJDUMP OBJDUMP for the host
1571 CC_FOR_TARGET
1572 CC for the target
1573 CXX_FOR_TARGET
1574 CXX for the target
1575 GCC_FOR_TARGET
1576 GCC for the target
1577 GCJ_FOR_TARGET
1578 GCJ for the target
1579 GFORTRAN_FOR_TARGET
1580 GFORTRAN for the target
1581 GOC_FOR_TARGET
1582 GOC for the target
1583 AR_FOR_TARGET
1584 AR for the target
1585 AS_FOR_TARGET
1586 AS for the target
1587 DLLTOOL_FOR_TARGET
1588 DLLTOOL for the target
1589 LD_FOR_TARGET
1590 LD for the target
1591 LIPO_FOR_TARGET
1592 LIPO for the target
1593 NM_FOR_TARGET
1594 NM for the target
1595 OBJDUMP_FOR_TARGET
1596 OBJDUMP for the target
1597 RANLIB_FOR_TARGET
1598 RANLIB for the target
1599 STRIP_FOR_TARGET
1600 STRIP for the target
1601 WINDRES_FOR_TARGET
1602 WINDRES for the target
1603 WINDMC_FOR_TARGET
1604 WINDMC for the target
1605
1606Use these variables to override the choices made by `configure' or to help
1607it to find libraries and programs with nonstandard names/locations.
1608
1609Report bugs to the package provider.
1610_ACEOF
1611ac_status=$?
1612fi
1613
1614if test "$ac_init_help" = "recursive"; then
1615 # If there are subdirs, report their specific --help.
1616 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1617 test -d "$ac_dir" ||
1618 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1619 continue
1620 ac_builddir=.
1621
1622case "$ac_dir" in
1623.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1624*)
1625 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1626 # A ".." for each directory in $ac_dir_suffix.
1627 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1628 case $ac_top_builddir_sub in
1629 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1630 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1631 esac ;;
1632esac
1633ac_abs_top_builddir=$ac_pwd
1634ac_abs_builddir=$ac_pwd$ac_dir_suffix
1635# for backward compatibility:
1636ac_top_builddir=$ac_top_build_prefix
1637
1638case $srcdir in
1639 .) # We are building in place.
1640 ac_srcdir=.
1641 ac_top_srcdir=$ac_top_builddir_sub
1642 ac_abs_top_srcdir=$ac_pwd ;;
1643 [\\/]* | ?:[\\/]* ) # Absolute name.
1644 ac_srcdir=$srcdir$ac_dir_suffix;
1645 ac_top_srcdir=$srcdir
1646 ac_abs_top_srcdir=$srcdir ;;
1647 *) # Relative name.
1648 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1649 ac_top_srcdir=$ac_top_build_prefix$srcdir
1650 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1651esac
1652ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1653
1654 cd "$ac_dir" || { ac_status=$?; continue; }
1655 # Check for guested configure.
1656 if test -f "$ac_srcdir/configure.gnu"; then
1657 echo &&
1658 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1659 elif test -f "$ac_srcdir/configure"; then
1660 echo &&
1661 $SHELL "$ac_srcdir/configure" --help=recursive
1662 else
1663 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1664 fi || ac_status=$?
1665 cd "$ac_pwd" || { ac_status=$?; break; }
1666 done
1667fi
1668
1669test -n "$ac_init_help" && exit $ac_status
1670if $ac_init_version; then
1671 cat <<\_ACEOF
1672configure
1673generated by GNU Autoconf 2.64
1674
1675Copyright (C) 2009 Free Software Foundation, Inc.
1676This configure script is free software; the Free Software Foundation
1677gives unlimited permission to copy, distribute and modify it.
1678_ACEOF
1679 exit
1680fi
1681
1682## ------------------------ ##
1683## Autoconf initialization. ##
1684## ------------------------ ##
1685
1686# ac_fn_c_try_compile LINENO
1687# --------------------------
1688# Try to compile conftest.$ac_ext, and return whether this succeeded.
1689ac_fn_c_try_compile ()
1690{
1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692 rm -f conftest.$ac_objext
1693 if { { ac_try="$ac_compile"
1694case "(($ac_try" in
1695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696 *) ac_try_echo=$ac_try;;
1697esac
1698eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699$as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_compile") 2>conftest.err
1701 ac_status=$?
1702 if test -s conftest.err; then
1703 grep -v '^ *+' conftest.err >conftest.er1
1704 cat conftest.er1 >&5
1705 mv -f conftest.er1 conftest.err
1706 fi
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; } && {
1709 test -z "$ac_c_werror_flag" ||
1710 test ! -s conftest.err
1711 } && test -s conftest.$ac_objext; then :
1712 ac_retval=0
1713else
1714 $as_echo "$as_me: failed program was:" >&5
1715sed 's/^/| /' conftest.$ac_ext >&5
1716
1717 ac_retval=1
1718fi
1719 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1720 return $ac_retval
1721
1722} # ac_fn_c_try_compile
1723
1724# ac_fn_cxx_try_compile LINENO
1725# ----------------------------
1726# Try to compile conftest.$ac_ext, and return whether this succeeded.
1727ac_fn_cxx_try_compile ()
1728{
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 rm -f conftest.$ac_objext
1731 if { { ac_try="$ac_compile"
1732case "(($ac_try" in
1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734 *) ac_try_echo=$ac_try;;
1735esac
1736eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737$as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_compile") 2>conftest.err
1739 ac_status=$?
1740 if test -s conftest.err; then
1741 grep -v '^ *+' conftest.err >conftest.er1
1742 cat conftest.er1 >&5
1743 mv -f conftest.er1 conftest.err
1744 fi
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; } && {
1747 test -z "$ac_cxx_werror_flag" ||
1748 test ! -s conftest.err
1749 } && test -s conftest.$ac_objext; then :
1750 ac_retval=0
1751else
1752 $as_echo "$as_me: failed program was:" >&5
1753sed 's/^/| /' conftest.$ac_ext >&5
1754
1755 ac_retval=1
1756fi
1757 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1758 return $ac_retval
1759
1760} # ac_fn_cxx_try_compile
1761
1762# ac_fn_c_try_link LINENO
1763# -----------------------
1764# Try to link conftest.$ac_ext, and return whether this succeeded.
1765ac_fn_c_try_link ()
1766{
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 rm -f conftest.$ac_objext conftest$ac_exeext
1769 if { { ac_try="$ac_link"
1770case "(($ac_try" in
1771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1773esac
1774eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775$as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_link") 2>conftest.err
1777 ac_status=$?
1778 if test -s conftest.err; then
1779 grep -v '^ *+' conftest.err >conftest.er1
1780 cat conftest.er1 >&5
1781 mv -f conftest.er1 conftest.err
1782 fi
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && {
1785 test -z "$ac_c_werror_flag" ||
1786 test ! -s conftest.err
1787 } && test -s conftest$ac_exeext && {
1788 test "$cross_compiling" = yes ||
1789 $as_test_x conftest$ac_exeext
1790 }; then :
1791 ac_retval=0
1792else
1793 $as_echo "$as_me: failed program was:" >&5
1794sed 's/^/| /' conftest.$ac_ext >&5
1795
1796 ac_retval=1
1797fi
1798 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1799 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1800 # interfere with the next link command; also delete a directory that is
1801 # left behind by Apple's compiler. We do this before executing the actions.
1802 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1804 return $ac_retval
1805
1806} # ac_fn_c_try_link
1807cat >config.log <<_ACEOF
1808This file contains any messages produced by compilers while
1809running configure, to aid debugging if configure makes a mistake.
1810
1811It was created by $as_me, which was
1812generated by GNU Autoconf 2.64. Invocation command line was
1813
1814 $ $0 $@
1815
1816_ACEOF
1817exec 5>>config.log
1818{
1819cat <<_ASUNAME
1820## --------- ##
1821## Platform. ##
1822## --------- ##
1823
1824hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1825uname -m = `(uname -m) 2>/dev/null || echo unknown`
1826uname -r = `(uname -r) 2>/dev/null || echo unknown`
1827uname -s = `(uname -s) 2>/dev/null || echo unknown`
1828uname -v = `(uname -v) 2>/dev/null || echo unknown`
1829
1830/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1831/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1832
1833/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1834/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1835/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1836/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1837/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1838/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1839/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1840
1841_ASUNAME
1842
1843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1844for as_dir in $PATH
1845do
1846 IFS=$as_save_IFS
1847 test -z "$as_dir" && as_dir=.
1848 $as_echo "PATH: $as_dir"
1849 done
1850IFS=$as_save_IFS
1851
1852} >&5
1853
1854cat >&5 <<_ACEOF
1855
1856
1857## ----------- ##
1858## Core tests. ##
1859## ----------- ##
1860
1861_ACEOF
1862
1863
1864# Keep a trace of the command line.
1865# Strip out --no-create and --no-recursion so they do not pile up.
1866# Strip out --silent because we don't want to record it for future runs.
1867# Also quote any args containing shell meta-characters.
1868# Make two passes to allow for proper duplicate-argument suppression.
1869ac_configure_args=
1870ac_configure_args0=
1871ac_configure_args1=
1872ac_must_keep_next=false
1873for ac_pass in 1 2
1874do
1875 for ac_arg
1876 do
1877 case $ac_arg in
1878 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1879 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1880 | -silent | --silent | --silen | --sile | --sil)
1881 continue ;;
1882 *\'*)
1883 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1884 esac
1885 case $ac_pass in
1886 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1887 2)
1888 as_fn_append ac_configure_args1 " '$ac_arg'"
1889 if test $ac_must_keep_next = true; then
1890 ac_must_keep_next=false # Got value, back to normal.
1891 else
1892 case $ac_arg in
1893 *=* | --config-cache | -C | -disable-* | --disable-* \
1894 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1895 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1896 | -with-* | --with-* | -without-* | --without-* | --x)
1897 case "$ac_configure_args0 " in
1898 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1899 esac
1900 ;;
1901 -* ) ac_must_keep_next=true ;;
1902 esac
1903 fi
1904 as_fn_append ac_configure_args " '$ac_arg'"
1905 ;;
1906 esac
1907 done
1908done
1909{ ac_configure_args0=; unset ac_configure_args0;}
1910{ ac_configure_args1=; unset ac_configure_args1;}
1911
1912# When interrupted or exit'd, cleanup temporary files, and complete
1913# config.log. We remove comments because anyway the quotes in there
1914# would cause problems or look ugly.
1915# WARNING: Use '\'' to represent an apostrophe within the trap.
1916# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1917trap 'exit_status=$?
1918 # Save into config.log some information that might help in debugging.
1919 {
1920 echo
1921
1922 cat <<\_ASBOX
1923## ---------------- ##
1924## Cache variables. ##
1925## ---------------- ##
1926_ASBOX
1927 echo
1928 # The following way of writing the cache mishandles newlines in values,
1929(
1930 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1931 eval ac_val=\$$ac_var
1932 case $ac_val in #(
1933 *${as_nl}*)
1934 case $ac_var in #(
1935 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1936$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1937 esac
1938 case $ac_var in #(
1939 _ | IFS | as_nl) ;; #(
1940 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1941 *) { eval $ac_var=; unset $ac_var;} ;;
1942 esac ;;
1943 esac
1944 done
1945 (set) 2>&1 |
1946 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1947 *${as_nl}ac_space=\ *)
1948 sed -n \
1949 "s/'\''/'\''\\\\'\'''\''/g;
1950 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1951 ;; #(
1952 *)
1953 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1954 ;;
1955 esac |
1956 sort
1957)
1958 echo
1959
1960 cat <<\_ASBOX
1961## ----------------- ##
1962## Output variables. ##
1963## ----------------- ##
1964_ASBOX
1965 echo
1966 for ac_var in $ac_subst_vars
1967 do
1968 eval ac_val=\$$ac_var
1969 case $ac_val in
1970 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1971 esac
1972 $as_echo "$ac_var='\''$ac_val'\''"
1973 done | sort
1974 echo
1975
1976 if test -n "$ac_subst_files"; then
1977 cat <<\_ASBOX
1978## ------------------- ##
1979## File substitutions. ##
1980## ------------------- ##
1981_ASBOX
1982 echo
1983 for ac_var in $ac_subst_files
1984 do
1985 eval ac_val=\$$ac_var
1986 case $ac_val in
1987 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1988 esac
1989 $as_echo "$ac_var='\''$ac_val'\''"
1990 done | sort
1991 echo
1992 fi
1993
1994 if test -s confdefs.h; then
1995 cat <<\_ASBOX
1996## ----------- ##
1997## confdefs.h. ##
1998## ----------- ##
1999_ASBOX
2000 echo
2001 cat confdefs.h
2002 echo
2003 fi
2004 test "$ac_signal" != 0 &&
2005 $as_echo "$as_me: caught signal $ac_signal"
2006 $as_echo "$as_me: exit $exit_status"
2007 } >&5
2008 rm -f core *.core core.conftest.* &&
2009 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2010 exit $exit_status
2011' 0
2012for ac_signal in 1 2 13 15; do
2013 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2014done
2015ac_signal=0
2016
2017# confdefs.h avoids OS command line length limits that DEFS can exceed.
2018rm -f -r conftest* confdefs.h
2019
2020$as_echo "/* confdefs.h */" > confdefs.h
2021
2022# Predefined preprocessor variables.
2023
2024cat >>confdefs.h <<_ACEOF
2025#define PACKAGE_NAME "$PACKAGE_NAME"
2026_ACEOF
2027
2028cat >>confdefs.h <<_ACEOF
2029#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2030_ACEOF
2031
2032cat >>confdefs.h <<_ACEOF
2033#define PACKAGE_VERSION "$PACKAGE_VERSION"
2034_ACEOF
2035
2036cat >>confdefs.h <<_ACEOF
2037#define PACKAGE_STRING "$PACKAGE_STRING"
2038_ACEOF
2039
2040cat >>confdefs.h <<_ACEOF
2041#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2042_ACEOF
2043
2044cat >>confdefs.h <<_ACEOF
2045#define PACKAGE_URL "$PACKAGE_URL"
2046_ACEOF
2047
2048
2049# Let the site file select an alternate cache file if it wants to.
2050# Prefer an explicitly selected file to automatically selected ones.
2051ac_site_file1=NONE
2052ac_site_file2=NONE
2053if test -n "$CONFIG_SITE"; then
2054 ac_site_file1=$CONFIG_SITE
2055elif test "x$prefix" != xNONE; then
2056 ac_site_file1=$prefix/share/config.site
2057 ac_site_file2=$prefix/etc/config.site
2058else
2059 ac_site_file1=$ac_default_prefix/share/config.site
2060 ac_site_file2=$ac_default_prefix/etc/config.site
2061fi
2062for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2063do
2064 test "x$ac_site_file" = xNONE && continue
2065 if test -r "$ac_site_file"; then
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2067$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2068 sed 's/^/| /' "$ac_site_file" >&5
2069 . "$ac_site_file"
2070 fi
2071done
2072
2073if test -r "$cache_file"; then
2074 # Some versions of bash will fail to source /dev/null (special
2075 # files actually), so we avoid doing that.
2076 if test -f "$cache_file"; then
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2078$as_echo "$as_me: loading cache $cache_file" >&6;}
2079 case $cache_file in
2080 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2081 *) . "./$cache_file";;
2082 esac
2083 fi
2084else
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2086$as_echo "$as_me: creating cache $cache_file" >&6;}
2087 >$cache_file
2088fi
2089
2090# Check that the precious variables saved in the cache have kept the same
2091# value.
2092ac_cache_corrupted=false
2093for ac_var in $ac_precious_vars; do
2094 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2095 eval ac_new_set=\$ac_env_${ac_var}_set
2096 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2097 eval ac_new_val=\$ac_env_${ac_var}_value
2098 case $ac_old_set,$ac_new_set in
2099 set,)
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2101$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2102 ac_cache_corrupted=: ;;
2103 ,set)
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2105$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2106 ac_cache_corrupted=: ;;
2107 ,);;
2108 *)
2109 if test "x$ac_old_val" != "x$ac_new_val"; then
2110 # differences in whitespace do not lead to failure.
2111 ac_old_val_w=`echo x $ac_old_val`
2112 ac_new_val_w=`echo x $ac_new_val`
2113 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2115$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2116 ac_cache_corrupted=:
2117 else
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2119$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2120 eval $ac_var=\$ac_old_val
2121 fi
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2123$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2125$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2126 fi;;
2127 esac
2128 # Pass precious variables to config.status.
2129 if test "$ac_new_set" = set; then
2130 case $ac_new_val in
2131 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2132 *) ac_arg=$ac_var=$ac_new_val ;;
2133 esac
2134 case " $ac_configure_args " in
2135 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2136 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2137 esac
2138 fi
2139done
2140if $ac_cache_corrupted; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2142$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2144$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2145 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2146fi
2147## -------------------- ##
2148## Main body of script. ##
2149## -------------------- ##
2150
2151ac_ext=c
2152ac_cpp='$CPP $CPPFLAGS'
2153ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2154ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2155ac_compiler_gnu=$ac_cv_c_compiler_gnu
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165progname=$0
2166# if PWD already has a value, it is probably wrong.
2167if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2168
2169# Export original configure arguments for use by sub-configures.
2170# Quote arguments with shell meta charatcers.
2171TOPLEVEL_CONFIGURE_ARGUMENTS=
2172set -- "$progname" "$@"
2173for ac_arg
2174do
2175 case "$ac_arg" in
2176 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2177 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2178 # if the argument is of the form -foo=baz, quote the baz part only
2179 ac_arg=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2180 *) ;;
2181 esac
2182 # Add the quoted argument to the list.
2183 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2184done
2185if test "$silent" = yes; then
2186 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2187fi
2188# Remove the initial space we just introduced and, as these will be
2189# expanded by make, quote '$'.
2190TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2191
2192
2193# Find the build, host, and target systems.
2194ac_aux_dir=
2195for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2196 for ac_t in install-sh install.sh shtool; do
2197 if test -f "$ac_dir/$ac_t"; then
2198 ac_aux_dir=$ac_dir
2199 ac_install_sh="$ac_aux_dir/$ac_t -c"
2200 break 2
2201 fi
2202 done
2203done
2204if test -z "$ac_aux_dir"; then
2205 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2206fi
2207
2208# These three variables are undocumented and unsupported,
2209# and are intended to be withdrawn in a future Autoconf release.
2210# They can cause serious problems if a builder's source tree is in a directory
2211# whose full name contains unusual characters.
2212ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2213ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2214ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2215
2216
2217# Make sure we can run config.sub.
2218$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2219 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2220
2221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2222$as_echo_n "checking build system type... " >&6; }
2223if test "${ac_cv_build+set}" = set; then :
2224 $as_echo_n "(cached) " >&6
2225else
2226 ac_build_alias=$build_alias
2227test "x$ac_build_alias" = x &&
2228 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2229test "x$ac_build_alias" = x &&
2230 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2231ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2232 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2233
2234fi
2235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2236$as_echo "$ac_cv_build" >&6; }
2237case $ac_cv_build in
2238*-*-*) ;;
2239*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2240esac
2241build=$ac_cv_build
2242ac_save_IFS=$IFS; IFS='-'
2243set x $ac_cv_build
2244shift
2245build_cpu=$1
2246build_vendor=$2
2247shift; shift
2248# Remember, the first character of IFS is used to create $*,
2249# except with old shells:
2250build_os=$*
2251IFS=$ac_save_IFS
2252case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2253
2254
2255 case ${build_alias} in
2256 "") build_noncanonical=${build} ;;
2257 *) build_noncanonical=${build_alias} ;;
2258esac
2259
2260
2261
2262 case ${host_alias} in
2263 "") host_noncanonical=${build_noncanonical} ;;
2264 *) host_noncanonical=${host_alias} ;;
2265esac
2266
2267
2268
2269 case ${target_alias} in
2270 "") target_noncanonical=${host_noncanonical} ;;
2271 *) target_noncanonical=${target_alias} ;;
2272esac
2273
2274
2275
2276
2277test "$host_noncanonical" = "$target_noncanonical" &&
2278 test "$program_prefix$program_suffix$program_transform_name" = \
2279 NONENONEs,x,x, &&
2280 program_transform_name=s,y,y,
2281
2282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2283$as_echo_n "checking host system type... " >&6; }
2284if test "${ac_cv_host+set}" = set; then :
2285 $as_echo_n "(cached) " >&6
2286else
2287 if test "x$host_alias" = x; then
2288 ac_cv_host=$ac_cv_build
2289else
2290 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2291 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2292fi
2293
2294fi
2295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2296$as_echo "$ac_cv_host" >&6; }
2297case $ac_cv_host in
2298*-*-*) ;;
2299*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2300esac
2301host=$ac_cv_host
2302ac_save_IFS=$IFS; IFS='-'
2303set x $ac_cv_host
2304shift
2305host_cpu=$1
2306host_vendor=$2
2307shift; shift
2308# Remember, the first character of IFS is used to create $*,
2309# except with old shells:
2310host_os=$*
2311IFS=$ac_save_IFS
2312case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2313
2314
2315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2316$as_echo_n "checking target system type... " >&6; }
2317if test "${ac_cv_target+set}" = set; then :
2318 $as_echo_n "(cached) " >&6
2319else
2320 if test "x$target_alias" = x; then
2321 ac_cv_target=$ac_cv_host
2322else
2323 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2324 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2325fi
2326
2327fi
2328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2329$as_echo "$ac_cv_target" >&6; }
2330case $ac_cv_target in
2331*-*-*) ;;
2332*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2333esac
2334target=$ac_cv_target
2335ac_save_IFS=$IFS; IFS='-'
2336set x $ac_cv_target
2337shift
2338target_cpu=$1
2339target_vendor=$2
2340shift; shift
2341# Remember, the first character of IFS is used to create $*,
2342# except with old shells:
2343target_os=$*
2344IFS=$ac_save_IFS
2345case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2346
2347
2348# The aliases save the names the user supplied, while $host etc.
2349# will get canonicalized.
2350test -n "$target_alias" &&
2351 test "$program_prefix$program_suffix$program_transform_name" = \
2352 NONENONEs,x,x, &&
2353 program_prefix=${target_alias}-
2354
2355test "$program_prefix" != NONE &&
2356 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2357# Use a double $ so make ignores it.
2358test "$program_suffix" != NONE &&
2359 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2360# Double any \ or $.
2361# By default was `s,x,x', remove it if useless.
2362ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2363program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2364
2365
2366
2367# Get 'install' or 'install-sh' and its variants.
2368# Find a good install program. We prefer a C program (faster),
2369# so one script is as good as another. But avoid the broken or
2370# incompatible versions:
2371# SysV /etc/install, /usr/sbin/install
2372# SunOS /usr/etc/install
2373# IRIX /sbin/install
2374# AIX /bin/install
2375# AmigaOS /C/install, which installs bootblocks on floppy discs
2376# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2377# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2378# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2379# OS/2's system install, which has a completely different semantic
2380# ./install, which can be erroneously created by make from ./install.sh.
2381# Reject install programs that cannot install multiple files.
2382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2383$as_echo_n "checking for a BSD-compatible install... " >&6; }
2384if test -z "$INSTALL"; then
2385if test "${ac_cv_path_install+set}" = set; then :
2386 $as_echo_n "(cached) " >&6
2387else
2388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2389for as_dir in $PATH
2390do
2391 IFS=$as_save_IFS
2392 test -z "$as_dir" && as_dir=.
2393 # Account for people who put trailing slashes in PATH elements.
2394case $as_dir/ in #((
2395 ./ | .// | /[cC]/* | \
2396 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2397 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2398 /usr/ucb/* ) ;;
2399 *)
2400 # OSF1 and SCO ODT 3.0 have their own names for install.
2401 # Don't use installbsd from OSF since it installs stuff as root
2402 # by default.
2403 for ac_prog in ginstall scoinst install; do
2404 for ac_exec_ext in '' $ac_executable_extensions; do
2405 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2406 if test $ac_prog = install &&
2407 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2408 # AIX install. It has an incompatible calling convention.
2409 :
2410 elif test $ac_prog = install &&
2411 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2412 # program-specific install script used by HP pwplus--don't use.
2413 :
2414 else
2415 rm -rf conftest.one conftest.two conftest.dir
2416 echo one > conftest.one
2417 echo two > conftest.two
2418 mkdir conftest.dir
2419 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2420 test -s conftest.one && test -s conftest.two &&
2421 test -s conftest.dir/conftest.one &&
2422 test -s conftest.dir/conftest.two
2423 then
2424 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2425 break 3
2426 fi
2427 fi
2428 fi
2429 done
2430 done
2431 ;;
2432esac
2433
2434 done
2435IFS=$as_save_IFS
2436
2437rm -rf conftest.one conftest.two conftest.dir
2438
2439fi
2440 if test "${ac_cv_path_install+set}" = set; then
2441 INSTALL=$ac_cv_path_install
2442 else
2443 # As a last resort, use the slow shell script. Don't cache a
2444 # value for INSTALL within a source directory, because that will
2445 # break other packages using the cache if that directory is
2446 # removed, or if the value is a relative name.
2447 INSTALL=$ac_install_sh
2448 fi
2449fi
2450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2451$as_echo "$INSTALL" >&6; }
2452
2453# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2454# It thinks the first close brace ends the variable substitution.
2455test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2456
2457test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2458
2459test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2460
2461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2462$as_echo_n "checking whether ln works... " >&6; }
2463if test "${acx_cv_prog_LN+set}" = set; then :
2464 $as_echo_n "(cached) " >&6
2465else
2466 rm -f conftestdata_t
2467echo >conftestdata_f
2468if ln conftestdata_f conftestdata_t 2>/dev/null
2469then
2470 acx_cv_prog_LN=ln
2471else
2472 acx_cv_prog_LN=no
2473fi
2474rm -f conftestdata_f conftestdata_t
2475
2476fi
2477if test $acx_cv_prog_LN = no; then
2478 LN="cp"
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2480$as_echo "no, using $LN" >&6; }
2481else
2482 LN="$acx_cv_prog_LN"
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2484$as_echo "yes" >&6; }
2485fi
2486
2487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2488$as_echo_n "checking whether ln -s works... " >&6; }
2489LN_S=$as_ln_s
2490if test "$LN_S" = "ln -s"; then
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2492$as_echo "yes" >&6; }
2493else
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2495$as_echo "no, using $LN_S" >&6; }
2496fi
2497
2498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2499$as_echo_n "checking for a sed that does not truncate output... " >&6; }
2500if test "${ac_cv_path_SED+set}" = set; then :
2501 $as_echo_n "(cached) " >&6
2502else
2503 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2504 for ac_i in 1 2 3 4 5 6 7; do
2505 ac_script="$ac_script$as_nl$ac_script"
2506 done
2507 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2508 { ac_script=; unset ac_script;}
2509 if test -z "$SED"; then
2510 ac_path_SED_found=false
2511 # Loop through the user's path and test for each of PROGNAME-LIST
2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513for as_dir in $PATH
2514do
2515 IFS=$as_save_IFS
2516 test -z "$as_dir" && as_dir=.
2517 for ac_prog in sed gsed; do
2518 for ac_exec_ext in '' $ac_executable_extensions; do
2519 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2520 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
2521# Check for GNU ac_path_SED and select it if it is found.
2522 # Check for GNU $ac_path_SED
2523case `"$ac_path_SED" --version 2>&1` in
2524*GNU*)
2525 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2526*)
2527 ac_count=0
2528 $as_echo_n 0123456789 >"conftest.in"
2529 while :
2530 do
2531 cat "conftest.in" "conftest.in" >"conftest.tmp"
2532 mv "conftest.tmp" "conftest.in"
2533 cp "conftest.in" "conftest.nl"
2534 $as_echo '' >> "conftest.nl"
2535 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2536 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2537 as_fn_arith $ac_count + 1 && ac_count=$as_val
2538 if test $ac_count -gt ${ac_path_SED_max-0}; then
2539 # Best one so far, save it but keep looking for a better one
2540 ac_cv_path_SED="$ac_path_SED"
2541 ac_path_SED_max=$ac_count
2542 fi
2543 # 10*(2^10) chars as input seems more than enough
2544 test $ac_count -gt 10 && break
2545 done
2546 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2547esac
2548
2549 $ac_path_SED_found && break 3
2550 done
2551 done
2552 done
2553IFS=$as_save_IFS
2554 if test -z "$ac_cv_path_SED"; then
2555 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
2556 fi
2557else
2558 ac_cv_path_SED=$SED
2559fi
2560
2561fi
2562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2563$as_echo "$ac_cv_path_SED" >&6; }
2564 SED="$ac_cv_path_SED"
2565 rm -f conftest.sed
2566
2567for ac_prog in gawk mawk nawk awk
2568do
2569 # Extract the first word of "$ac_prog", so it can be a program name with args.
2570set dummy $ac_prog; ac_word=$2
2571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2572$as_echo_n "checking for $ac_word... " >&6; }
2573if test "${ac_cv_prog_AWK+set}" = set; then :
2574 $as_echo_n "(cached) " >&6
2575else
2576 if test -n "$AWK"; then
2577 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2578else
2579as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580for as_dir in $PATH
2581do
2582 IFS=$as_save_IFS
2583 test -z "$as_dir" && as_dir=.
2584 for ac_exec_ext in '' $ac_executable_extensions; do
2585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2586 ac_cv_prog_AWK="$ac_prog"
2587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2588 break 2
2589 fi
2590done
2591 done
2592IFS=$as_save_IFS
2593
2594fi
2595fi
2596AWK=$ac_cv_prog_AWK
2597if test -n "$AWK"; then
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2599$as_echo "$AWK" >&6; }
2600else
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2602$as_echo "no" >&6; }
2603fi
2604
2605
2606 test -n "$AWK" && break
2607done
2608
2609
2610srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2611
2612# We pass INSTALL explicitly to sub-makes. Make sure that it is not
2613# a relative path.
2614if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2615 INSTALL="${srcpwd}/install-sh -c"
2616fi
2617
2618# Set srcdir to "." if that's what it is.
2619# This is important for multilib support.
2620pwd=`${PWDCMD-pwd}`
2621if test "${pwd}" = "${srcpwd}" ; then
2622 srcdir=.
2623fi
2624
2625topsrcdir=$srcpwd
2626
2627extra_host_args=
2628
2629### To add a new directory to the tree, first choose whether it is a target
2630### or a host dependent tool. Then put it into the appropriate list
2631### (library or tools, host or target), doing a dependency sort.
2632
2633# Subdirs will be configured in the order listed in build_configdirs,
2634# configdirs, or target_configdirs; see the serialization section below.
2635
2636# Dependency sorting is only needed when *configuration* must be done in
2637# a particular order. In all cases a dependency should be specified in
2638# the Makefile, whether or not it's implicitly specified here.
2639
2640# Double entries in build_configdirs, configdirs, or target_configdirs may
2641# cause circular dependencies and break everything horribly.
2642
2643# these library is used by various programs built for the build
2644# environment
2645#
2646build_libs="build-libiberty"
2647
2648# these tools are built for the build environment
2649build_tools="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2650
2651# these libraries are used by various programs built for the host environment
2652#
2653host_libs="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2654
2655# these tools are built for the host environment
2656# Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2657# know that we are building the simulator.
2658# binutils, gas and ld appear in that order because it makes sense to run
2659# "make check" in that particular order.
2660# If --enable-gold is used, "gold" may replace "ld".
2661host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2662
2663# libgcj represents the runtime libraries only used by gcj.
2664libgcj="target-libffi \
2665 target-zlib \
2666 target-libjava"
2667
2668# these libraries are built for the target environment, and are built after
2669# the host libraries and the host tools (which may be a cross compiler)
2670#
2671target_libraries="target-libgcc \
2672 target-libiberty \
2673 target-libgloss \
2674 target-newlib \
2675 target-libgomp \
2676 target-libstdc++-v3 \
2677 target-libmudflap \
2678 target-libssp \
2679 target-libquadmath \
2680 target-libgfortran \
2681 target-boehm-gc \
2682 ${libgcj} \
2683 target-libobjc \
2684 target-libada \
2685 target-libgo"
2686
2687# these tools are built using the target libraries, and are intended to
2688# run only in the target environment
2689#
2690# note: any program that *uses* libraries that are in the "target_libraries"
2691# list belongs in this list.
2692#
2693target_tools="target-rda"
2694
2695################################################################################
2696
2697## All tools belong in one of the four categories, and are assigned above
2698## We assign ${configdirs} this way to remove all embedded newlines. This
2699## is important because configure will choke if they ever get through.
2700## ${configdirs} is directories we build using the host tools.
2701## ${target_configdirs} is directories we build using the target tools.
2702configdirs=`echo ${host_libs} ${host_tools}`
2703target_configdirs=`echo ${target_libraries} ${target_tools}`
2704build_configdirs=`echo ${build_libs} ${build_tools}`
2705
2706
2707
2708################################################################################
2709
2710srcname="gnu development package"
2711
2712# This gets set non-empty for some net releases of packages.
2713appdirs=""
2714
2715# Define is_cross_compiler to save on calls to 'test'.
2716is_cross_compiler=
2717if test x"${host}" = x"${target}" ; then
2718 is_cross_compiler=no
2719else
2720 is_cross_compiler=yes
2721fi
2722
2723# Find the build and target subdir names.
2724
2725# post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2726# have matching libraries, they should use host libraries: Makefile.tpl
2727# arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2728# However, they still use the build modules, because the corresponding
2729# host modules (e.g. bison) are only built for the host when bootstrap
2730# finishes. So:
2731# - build_subdir is where we find build modules, and never changes.
2732# - build_libsubdir is where we find build libraries, and can be overridden.
2733
2734# Prefix 'build-' so this never conflicts with target_subdir.
2735build_subdir="build-${build_noncanonical}"
2736
2737# Check whether --with-build-libsubdir was given.
2738if test "${with_build_libsubdir+set}" = set; then :
2739 withval=$with_build_libsubdir; build_libsubdir="$withval"
2740else
2741 build_libsubdir="$build_subdir"
2742fi
2743
2744# --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2745if ( test $srcdir = . && test -d gcc ) \
2746 || test -d $srcdir/../host-${host_noncanonical}; then
2747 host_subdir="host-${host_noncanonical}"
2748else
2749 host_subdir=.
2750fi
2751# No prefix.
2752target_subdir=${target_noncanonical}
2753
2754# Be sure to cover against remnants of an in-tree build.
2755if test $srcdir != . && test -d $srcdir/host-${host_noncanonical}; then
2756 as_fn_error "building out of tree but $srcdir contains host-${host_noncanonical}.
2757Use a pristine source tree when building in a separate tree" "$LINENO" 5
2758fi
2759
2760# Skipdirs are removed silently.
2761skipdirs=
2762# Noconfigdirs are removed loudly.
2763noconfigdirs=""
2764
2765use_gnu_ld=
2766# Make sure we don't let GNU ld be added if we didn't want it.
2767if test x$with_gnu_ld = xno ; then
2768 use_gnu_ld=no
2769 noconfigdirs="$noconfigdirs ld gold"
2770fi
2771
2772use_gnu_as=
2773# Make sure we don't let GNU as be added if we didn't want it.
2774if test x$with_gnu_as = xno ; then
2775 use_gnu_as=no
2776 noconfigdirs="$noconfigdirs gas"
2777fi
2778
2779use_included_zlib=
2780# Make sure we don't let ZLIB be added if we didn't want it.
2781if test x$with_system_zlib = xyes ; then
2782 use_included_zlib=no
2783 noconfigdirs="$noconfigdirs zlib"
2784fi
2785
2786# some tools are so dependent upon X11 that if we're not building with X,
2787# it's not even worth trying to configure, much less build, that tool.
2788
2789case ${with_x} in
2790 yes | "") ;; # the default value for this tree is that X11 is available
2791 no)
2792 skipdirs="${skipdirs} tk itcl libgui"
2793 # We won't be able to build gdbtk without X.
2794 enable_gdbtk=no
2795 ;;
2796 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2797esac
2798
2799# Some are only suitable for cross toolchains.
2800# Remove these if host=target.
2801cross_only="target-libgloss target-newlib target-opcodes"
2802
2803case $is_cross_compiler in
2804 no) skipdirs="${skipdirs} ${cross_only}" ;;
2805esac
2806
2807# If both --with-headers and --with-libs are specified, default to
2808# --without-newlib.
2809if test x"${with_headers}" != x && test x"${with_headers}" != xno \
2810 && test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
2811 if test x"${with_newlib}" = x ; then
2812 with_newlib=no
2813 fi
2814fi
2815
2816# Recognize --with-newlib/--without-newlib.
2817case ${with_newlib} in
2818 no) skipdirs="${skipdirs} target-newlib" ;;
2819 yes) skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2820esac
2821
2822# Handle --enable-gold, --enable-ld.
2823# --disable-gold [--enable-ld]
2824# Build only ld. Default option.
2825# --enable-gold [--enable-ld]
2826# Build both gold and ld. Install gold as "ld.gold", install ld
2827# as "ld.bfd" and "ld".
2828# --enable-gold=default [--enable-ld]
2829# Build both gold and ld. Install gold as "ld.gold" and "ld",
2830# install ld as "ld.bfd".
2831# --enable-gold[=default] --disable-ld
2832# Build only gold, which is then installed as both "ld.gold" and "ld".
2833# --enable-gold --enable-ld=default
2834# Build both gold (installed as "ld.gold") and ld (installed as "ld"
2835# and ld.bfd).
2836# In other words, ld is default
2837# --enable-gold=default --enable-ld=default
2838# Error.
2839
2840default_ld=
2841# Check whether --enable-gold was given.
2842if test "${enable_gold+set}" = set; then :
2843 enableval=$enable_gold; ENABLE_GOLD=$enableval
2844else
2845 ENABLE_GOLD=no
2846fi
2847
2848case "${ENABLE_GOLD}" in
2849 yes|default)
2850 # Check for ELF target.
2851 is_elf=no
2852 case "${target}" in
2853 *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \
2854 | *-*-linux* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \
2855 | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* \
2856 | *-*-solaris2* | *-*-nto*)
2857 case "${target}" in
2858 *-*-linux*aout* | *-*-linux*oldld*)
2859 ;;
2860 *)
2861 is_elf=yes
2862 ;;
2863 esac
2864 esac
2865
2866 if test "$is_elf" = "yes"; then
2867 # Check for target supported by gold.
2868 case "${target}" in
2869 i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-*)
2870 configdirs="$configdirs gold"
2871 if test x${ENABLE_GOLD} = xdefault; then
2872 default_ld=gold
2873 fi
2874 ENABLE_GOLD=yes
2875 ;;
2876 esac
2877 fi
2878 ;;
2879 no)
2880 ;;
2881 *)
2882 as_fn_error "invalid --enable-gold argument" "$LINENO" 5
2883 ;;
2884esac
2885
2886# Check whether --enable-ld was given.
2887if test "${enable_ld+set}" = set; then :
2888 enableval=$enable_ld; ENABLE_LD=$enableval
2889else
2890 ENABLE_LD=yes
2891fi
2892
2893
2894case "${ENABLE_LD}" in
2895 default)
2896 if test x${default_ld} != x; then
2897 as_fn_error "either gold or ld can be the default ld" "$LINENO" 5
2898 fi
2899 ;;
2900 yes)
2901 ;;
2902 no)
2903 if test x${ENABLE_GOLD} != xyes; then
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2905$as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2906 fi
2907 configdirs=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2908 ;;
2909 *)
2910 as_fn_error "invalid --enable-ld argument" "$LINENO" 5
2911 ;;
2912esac
2913
2914# Configure extra directories which are host specific
2915
2916case "${host}" in
2917 *-cygwin*)
2918 configdirs="$configdirs libtermcap" ;;
2919esac
2920
2921# A target can indicate whether a language isn't supported for some reason.
2922# Only spaces may be used in this macro; not newlines or tabs.
2923unsupported_languages=
2924
2925# Remove more programs from consideration, based on the host or
2926# target this usually means that a port of the program doesn't
2927# exist yet.
2928
2929case "${host}" in
2930 i[3456789]86-*-msdosdjgpp*)
2931 noconfigdirs="$noconfigdirs tcl tk itcl"
2932 ;;
2933esac
2934
2935
2936# Check whether --enable-libquadmath was given.
2937if test "${enable_libquadmath+set}" = set; then :
2938 enableval=$enable_libquadmath; ENABLE_LIBQUADMATH=$enableval
2939else
2940 ENABLE_LIBQUADMATH=yes
2941fi
2942
2943if test "${ENABLE_LIBQUADMATH}" = "no" ; then
2944 noconfigdirs="$noconfigdirs target-libquadmath"
2945fi
2946
2947
2948# Check whether --enable-libquadmath-support was given.
2949if test "${enable_libquadmath_support+set}" = set; then :
2950 enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
2951else
2952 ENABLE_LIBQUADMATH_SUPPORT=yes
2953fi
2954
2955enable_libquadmath_support=
2956if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
2957 enable_libquadmath_support=no
2958fi
2959
2960
2961# Check whether --enable-libada was given.
2962if test "${enable_libada+set}" = set; then :
2963 enableval=$enable_libada; ENABLE_LIBADA=$enableval
2964else
2965 ENABLE_LIBADA=yes
2966fi
2967
2968if test "${ENABLE_LIBADA}" != "yes" ; then
2969 noconfigdirs="$noconfigdirs gnattools"
2970fi
2971
2972# Check whether --enable-libssp was given.
2973if test "${enable_libssp+set}" = set; then :
2974 enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
2975else
2976 ENABLE_LIBSSP=yes
2977fi
2978
2979
2980# Save it here so that, even in case of --enable-libgcj, if the Java
2981# front-end isn't enabled, we still get libgcj disabled.
2982libgcj_saved=$libgcj
2983case $enable_libgcj in
2984yes)
2985 # If we reset it here, it won't get added to noconfigdirs in the
2986 # target-specific build rules, so it will be forcibly enabled
2987 # (unless the Java language itself isn't enabled).
2988 libgcj=
2989 ;;
2990no)
2991 # Make sure we get it printed in the list of not supported target libs.
2992 # Don't disable libffi, though, other languages use it.
2993 noconfigdirs="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
2994 # Clear libgcj_saved so that even if java is enabled libffi won't be
2995 # built.
2996 libgcj_saved=
2997 ;;
2998esac
2999
3000
3001# Disable libmudflap on some systems.
3002if test x$enable_libmudflap = x ; then
3003 case "${target}" in
3004 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | bfin*-*-uclinux* | *-*-kopensolaris*-gnu)
3005 # Enable libmudflap by default in GNU and friends.
3006 ;;
3007 *-*-freebsd*)
3008 # Enable libmudflap by default in FreeBSD.
3009 ;;
3010 *)
3011 # Disable it by default everywhere else.
3012 noconfigdirs="$noconfigdirs target-libmudflap"
3013 ;;
3014 esac
3015fi
3016
3017# Disable libgomp on non POSIX hosted systems.
3018if test x$enable_libgomp = x ; then
3019 # Enable libgomp by default on hosted POSIX systems.
3020 case "${target}" in
3021 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
3022 ;;
3023 *-*-netbsd* | *-*-freebsd* | *-*-openbsd* | *-*-dragonfly*)
3024 ;;
3025 *-*-solaris2* | *-*-irix6* | *-*-osf* | *-*-hpux11*)
3026 ;;
3027 *-*-darwin* | *-*-aix*)
3028 ;;
3029 *)
3030 noconfigdirs="$noconfigdirs target-libgomp"
3031 ;;
3032 esac
3033fi
3034
3035# Disable libssp for some systems.
3036case "${target}" in
3037 avr-*-*)
3038 # No hosted I/O support.
3039 noconfigdirs="$noconfigdirs target-libssp"
3040 ;;
3041 powerpc-*-aix* | rs6000-*-aix*)
3042 noconfigdirs="$noconfigdirs target-libssp"
3043 ;;
3044esac
3045
3046# Disable target libiberty for some systems.
3047case "${target}" in
3048 *-*-kaos*)
3049 # Remove unsupported stuff on all kaOS configurations.
3050 skipdirs="target-libiberty"
3051 ;;
3052 *-*-netbsd*)
3053 # Skip some stuff on all NetBSD configurations.
3054 noconfigdirs="$noconfigdirs target-libiberty"
3055 ;;
3056 *-*-netware*)
3057 noconfigdirs="$noconfigdirs target-libiberty"
3058 ;;
3059 *-*-rtems*)
3060 skipdirs="${skipdirs} target-libiberty"
3061 ;;
3062 *-*-tpf*)
3063 noconfigdirs="$noconfigdirs target-libiberty"
3064 ;;
3065 *-*-vxworks*)
3066 noconfigdirs="$noconfigdirs target-libiberty"
3067 ;;
3068 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
3069 noconfigdirs="$noconfigdirs target-libiberty"
3070 ;;
3071 arm*-*-symbianelf*)
3072 noconfigdirs="$noconfigdirs target-libiberty"
3073 ;;
3074 avr-*-*)
3075 noconfigdirs="$noconfigdirs target-libiberty"
3076 ;;
3077 m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
3078 noconfigdirs="$noconfigdirs target-libiberty"
3079 ;;
3080 picochip-*-*)
3081 noconfigdirs="$noconfigdirs target-libiberty"
3082 ;;
3083 mips*-sde-elf*)
3084 skipdirs="$skipdirs target-libiberty"
3085 ;;
3086 ip2k-*-*)
3087 noconfigdirs="$noconfigdirs target-libiberty"
3088 ;;
3089esac
3090
3091# Disable libstdc++-v3 for some systems.
3092case "${target}" in
3093 *-*-vxworks*)
3094 # VxWorks uses the Dinkumware C++ library.
3095 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3096 ;;
3097 arm*-wince-pe*)
3098 # the C++ libraries don't build on top of CE's C libraries
3099 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3100 ;;
3101 avr-*-*)
3102 noconfigdirs="$noconfigdirs target-libstdc++-v3"
3103 ;;
3104esac
3105
3106# Disable Fortran for some systems.
3107case "${target}" in
3108 mmix-*-*)
3109 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3110 unsupported_languages="$unsupported_languages fortran"
3111 ;;
3112esac
3113
3114# Default libgloss CPU subdirectory.
3115libgloss_dir="$target_cpu"
3116
3117case "${target}" in
3118 *-*-chorusos)
3119 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3120 ;;
3121 powerpc-*-darwin*)
3122 noconfigdirs="$noconfigdirs ld gas gdb gprof"
3123 noconfigdirs="$noconfigdirs sim target-rda"
3124 ;;
3125 i[3456789]86-*-darwin*)
3126 noconfigdirs="$noconfigdirs ld gprof"
3127 noconfigdirs="$noconfigdirs sim target-rda"
3128 ;;
3129 x86_64-*-darwin[912]*)
3130 noconfigdirs="$noconfigdirs ld gas gprof"
3131 noconfigdirs="$noconfigdirs sim target-rda"
3132 ;;
3133 *-*-darwin*)
3134 noconfigdirs="$noconfigdirs ld gas gdb gprof"
3135 noconfigdirs="$noconfigdirs sim target-rda"
3136 noconfigdirs="$noconfigdirs ${libgcj}"
3137 ;;
3138 *-*-dragonfly*)
3139 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3140 ;;
3141 *-*-freebsd*)
3142 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3143 if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
3144 && test -f /usr/local/include/gmp.h; then
3145 with_gmp=/usr/local
3146 fi
3147
3148 # Skip some stuff that's unsupported on some FreeBSD configurations.
3149 case "${target}" in
3150 i*86-*-*) ;;
3151 alpha*-*-*) ;;
3152 x86_64-*-*) ;;
3153 *)
3154 noconfigdirs="$noconfigdirs ${libgcj}"
3155 ;;
3156 esac
3157 ;;
3158 *-*-kaos*)
3159 # Remove unsupported stuff on all kaOS configurations.
3160 noconfigdirs="$noconfigdirs target-libgloss"
3161 ;;
3162 *-*-netbsd*)
3163 # Skip some stuff on all NetBSD configurations.
3164 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3165
3166 # Skip some stuff that's unsupported on some NetBSD configurations.
3167 case "${target}" in
3168 i*86-*-netbsdelf*) ;;
3169 arm*-*-netbsdelf*) ;;
3170 *)
3171 noconfigdirs="$noconfigdirs ${libgcj}"
3172 ;;
3173 esac
3174 ;;
3175 *-*-netware*)
3176 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3177 ;;
3178 *-*-rtems*)
3179 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3180 ;;
3181 # The tpf target doesn't support gdb yet.
3182 *-*-tpf*)
3183 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj} gdb tcl tk libgui itcl"
3184 ;;
3185 *-*-uclinux*)
3186 noconfigdirs="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
3187 ;;
3188 *-*-vxworks*)
3189 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3190 ;;
3191 alpha*-dec-osf*)
3192 # ld works, but does not support shared libraries.
3193 # newlib is not 64 bit ready.
3194 # gas doesn't generate exception information.
3195 noconfigdirs="$noconfigdirs gas ld target-newlib target-libgloss"
3196 ;;
3197 alpha*-*-*vms*)
3198 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3199 ;;
3200 alpha*-*-linux*)
3201 # newlib is not 64 bit ready
3202 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3203 ;;
3204 alpha*-*-*)
3205 # newlib is not 64 bit ready
3206 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3207 ;;
3208 am33_2.0-*-linux*)
3209 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3210 ;;
3211 sh-*-linux*)
3212 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3213 ;;
3214 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
3215 noconfigdirs="$noconfigdirs ${libgcj}"
3216 noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
3217 noconfigdirs="$noconfigdirs target-newlib"
3218 libgloss_dir=wince
3219 ;;
3220 arc-*-*)
3221 noconfigdirs="$noconfigdirs target-libgloss"
3222 ;;
3223 arm-*-coff)
3224 libgloss_dir=arm
3225 ;;
3226 arm-*-elf* | arm*-*-eabi* )
3227 noconfigdirs="$noconfigdirs target-libffi"
3228 libgloss_dir=arm
3229 ;;
3230 arm*-*-linux-gnueabi)
3231 case ${with_newlib} in
3232 no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3233 esac
3234 libgloss_dir=arm
3235 ;;
3236 arm*-*-symbianelf*)
3237 noconfigdirs="$noconfigdirs ${libgcj}"
3238 libgloss_dir=arm
3239 ;;
3240 arm-*-pe*)
3241 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3242 ;;
3243 arm-*-riscix*)
3244 noconfigdirs="$noconfigdirs ld target-libgloss"
3245 ;;
3246 avr-*-*)
3247 noconfigdirs="$noconfigdirs ${libgcj}"
3248 ;;
3249 bfin-*-*)
3250 unsupported_languages="$unsupported_languages java"
3251 noconfigdirs="$noconfigdirs target-boehm-gc"
3252 ;;
3253 c4x-*-* | tic4x-*-*)
3254 noconfigdirs="$noconfigdirs target-libgloss"
3255 ;;
3256 tic54x-*-*)
3257 noconfigdirs="$noconfigdirs target-libgloss gdb"
3258 ;;
3259 cr16-*-*)
3260 noconfigdirs="$noconfigdirs ${libgcj} gdb"
3261 ;;
3262 cris-*-* | crisv32-*-*)
3263 unsupported_languages="$unsupported_languages java"
3264 case "${target}" in
3265 *-*-linux*)
3266 noconfigdirs="$noconfigdirs target-newlib target-libgloss";;
3267 *) # See PR46792 regarding target-libffi.
3268 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc";;
3269 esac
3270 libgloss_dir=cris
3271 ;;
3272 d10v-*-*)
3273 noconfigdirs="$noconfigdirs target-libgloss"
3274 ;;
3275 d30v-*-*)
3276 noconfigdirs="$noconfigdirs gdb"
3277 ;;
3278 fr30-*-elf*)
3279 noconfigdirs="$noconfigdirs ${libgcj} gdb"
3280 ;;
3281 frv-*-*)
3282 noconfigdirs="$noconfigdirs ${libgcj}"
3283 ;;
3284 moxie-*-*)
3285 noconfigdirs="$noconfigdirs ${libgcj}"
3286 noconfigdirs="$noconfigdirs gprof"
3287 ;;
3288 h8300*-*-*)
3289 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
3290 ;;
3291 h8500-*-*)
3292 noconfigdirs="$noconfigdirs target-libgloss"
3293 ;;
3294 hppa1.1-*-osf* | hppa1.1-*-bsd* )
3295 ;;
3296 hppa*64*-*-linux*)
3297 # In this case, it's because the hppa64-linux target is for
3298 # the kernel only at this point and has no libc, and thus no
3299 # headers, crt*.o, etc., all of which are needed by these.
3300 noconfigdirs="$noconfigdirs target-zlib"
3301 ;;
3302 hppa*-*-linux*)
3303 ;;
3304 hppa*-*-*elf* | \
3305 hppa*-*-lites* | \
3306 hppa*-*-openbsd* | \
3307 hppa*64*-*-*)
3308 noconfigdirs="$noconfigdirs ${libgcj}"
3309 ;;
3310 hppa*-hp-hpux11*)
3311 noconfigdirs="$noconfigdirs ld"
3312 ;;
3313 hppa*-*-pro*)
3314 libgloss_dir=pa
3315 ;;
3316 hppa*-*-*)
3317 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3318 # build on HP-UX 10.20.
3319 noconfigdirs="$noconfigdirs ld ${libgcj}"
3320 ;;
3321 i960-*-*)
3322 noconfigdirs="$noconfigdirs gdb"
3323 ;;
3324 ia64*-*-elf*)
3325 # No gdb support yet.
3326 noconfigdirs="$noconfigdirs readline libgui itcl gdb"
3327 ;;
3328 ia64*-**-hpux*)
3329 # No ld support yet.
3330 noconfigdirs="$noconfigdirs ${libgcj} libgui itcl ld"
3331 ;;
3332 ia64*-*-*vms*)
3333 # No gdb or ld support yet.
3334 noconfigdirs="$noconfigdirs ${libgcj} readline libgui itcl gdb ld"
3335 ;;
3336 i[3456789]86-*-coff | i[3456789]86-*-elf)
3337 noconfigdirs="$noconfigdirs ${libgcj}"
3338 libgloss_dir=i386
3339 ;;
3340 i[3456789]86-*-linux*)
3341 # This section makes it possible to build newlib natively on linux.
3342 # If we are using a cross compiler then don't configure newlib.
3343 if test x${is_cross_compiler} != xno ; then
3344 noconfigdirs="$noconfigdirs target-newlib"
3345 fi
3346 noconfigdirs="$noconfigdirs target-libgloss"
3347 # If we are not using a cross compiler, do configure newlib.
3348 # Note however, that newlib will only be configured in this situation
3349 # if the --with-newlib option has been given, because otherwise
3350 # 'target-newlib' will appear in skipdirs.
3351 ;;
3352 i[3456789]86-w64-mingw*)
3353 noconfigdirs="$noconfigdirs target-libgloss target-newlib ${libgcj}"
3354 ;;
3355 i[3456789]86-*-mingw*)
3356 target_configdirs="$target_configdirs target-winsup"
3357 noconfigdirs="$noconfigdirs target-libgloss target-newlib ${libgcj}"
3358 ;;
3359 x86_64-*-mingw*)
3360 noconfigdirs="$noconfigdirs target-libgloss target-newlib ${libgcj}"
3361 ;;
3362 *-*-cygwin*)
3363 target_configdirs="$target_configdirs target-libtermcap target-winsup"
3364 noconfigdirs="$noconfigdirs target-libgloss"
3365 # always build newlib if winsup directory is present.
3366 if test -d "$srcdir/winsup/cygwin"; then
3367 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3368 elif test -d "$srcdir/newlib"; then
3369 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3370 fi
3371 ;;
3372 i[3456789]86-*-interix* )
3373 ;;
3374 i[3456789]86-*-pe)
3375 noconfigdirs="$noconfigdirs target-libgloss"
3376 ;;
3377 i[3456789]86-*-sco3.2v5*)
3378 # The linker does not yet know about weak symbols in COFF,
3379 # and is not configured to handle mixed ELF and COFF.
3380 noconfigdirs="$noconfigdirs ld target-libgloss"
3381 ;;
3382 i[3456789]86-*-sco*)
3383 noconfigdirs="$noconfigdirs gprof target-libgloss"
3384 ;;
3385 i[3456789]86-*-solaris2*)
3386 noconfigdirs="$noconfigdirs target-libgloss"
3387 ;;
3388 i[3456789]86-*-sysv4*)
3389 noconfigdirs="$noconfigdirs target-libgloss"
3390 ;;
3391 i[3456789]86-*-beos*)
3392 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3393 ;;
3394 i[3456789]86-*-rdos*)
3395 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3396 ;;
3397 m32r-*-*)
3398 noconfigdirs="$noconfigdirs ${libgcj}"
3399 ;;
3400 m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
3401 libgloss_dir=m68hc11
3402 ;;
3403 m68k-*-elf*)
3404 noconfigdirs="$noconfigdirs ${libgcj}"
3405 ;;
3406 m68*-*-* | fido-*-*)
3407 libgloss_dir=m68k
3408 ;;
3409 mmix-*-*)
3410 noconfigdirs="$noconfigdirs target-libffi target-boehm-gc gdb"
3411 unsupported_languages="$unsupported_languages java"
3412 ;;
3413 mt-*-*)
3414 noconfigdirs="$noconfigdirs sim"
3415 ;;
3416 powerpc-*-aix*)
3417 # copied from rs6000-*-* entry
3418 noconfigdirs="$noconfigdirs gprof target-libgloss target-newlib ${libgcj}"
3419 ;;
3420 powerpc*-*-winnt* | powerpc*-*-pe*)
3421 target_configdirs="$target_configdirs target-winsup"
3422 noconfigdirs="$noconfigdirs gdb tcl tk target-libgloss itcl"
3423 # always build newlib.
3424 skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3425 ;;
3426 # This is temporary until we can link against shared libraries
3427 powerpcle-*-solaris*)
3428 noconfigdirs="$noconfigdirs gdb sim tcl tk itcl"
3429 libgloss_dir=rs6000
3430 ;;
3431 powerpc-*-beos*)
3432 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3433 ;;
3434 powerpc-*-eabi)
3435 noconfigdirs="$noconfigdirs ${libgcj}"
3436 libgloss_dir=rs6000
3437 ;;
3438 powerpc-*-eabi* | powerpcle-*-eabi* | powerpc-*-rtems* )
3439 libgloss_dir=rs6000
3440 ;;
3441 rs6000-*-lynxos*)
3442 noconfigdirs="$noconfigdirs target-newlib gprof ${libgcj}"
3443 ;;
3444 rs6000-*-aix*)
3445 noconfigdirs="$noconfigdirs gprof target-libgloss target-newlib ${libgcj}"
3446 ;;
3447 rs6000-*-*)
3448 noconfigdirs="$noconfigdirs gprof ${libgcj}"
3449 ;;
3450 m68k-apollo-*)
3451 noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss"
3452 ;;
3453 microblaze*)
3454 noconfigdirs="$noconfigdirs gprof ${libgcj}"
3455 ;;
3456 mips*-sde-elf*)
3457 noconfigdirs="$noconfigdirs ${libgcj}"
3458 if test x$with_newlib = xyes; then
3459 noconfigdirs="$noconfigdirs gprof"
3460 fi
3461 libgloss_dir=mips
3462 ;;
3463 mips*-*-irix5*)
3464 noconfigdirs="$noconfigdirs gprof target-libgloss"
3465 ;;
3466 mips*-*-irix6*)
3467 # Linking libjava exceeds command-line length limits on at least
3468 # IRIX 6.2, but not on IRIX 6.5.
3469 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3470 # <oldham@codesourcery.com>
3471 noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
3472 ;;
3473 mips*-*-bsd*)
3474 noconfigdirs="$noconfigdirs gprof target-libgloss"
3475 ;;
3476 mips*-*-linux*)
3477 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3478 ;;
3479 mips*-*-*)
3480 noconfigdirs="$noconfigdirs gprof ${libgcj}"
3481 libgloss_dir=mips
3482 ;;
3483 sh-*-* | sh64-*-*)
3484 case "${target}" in
3485 sh*-*-elf)
3486 noconfigdirs="$noconfigdirs ${libgcj}" ;;
3487 *)
3488 noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" ;;
3489 esac
3490 ;;
3491 sparclet-*-aout* | sparc86x-*-*)
3492 libgloss_dir=sparc
3493 ;;
3494 sparc-*-elf*)
3495 noconfigdirs="$noconfigdirs ${libgcj}"
3496 ;;
3497 sparc64-*-elf*)
3498 noconfigdirs="$noconfigdirs ${libgcj}"
3499 libgloss_dir=sparc
3500 ;;
3501 sparclite-*-*)
3502 libgloss_dir=sparc
3503 ;;
3504 sparc-*-sunos4*)
3505 if test x${is_cross_compiler} != xno ; then
3506 noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
3507 else
3508 use_gnu_ld=no
3509 fi
3510 ;;
3511 sparc-*-solaris* | sparc64-*-solaris* | sparcv9-*-solaris*)
3512 ;;
3513 tic6x-*-*)
3514 noconfigdirs="$noconfigdirs gdb sim ${libgcj}"
3515 ;;
3516 v810-*-*)
3517 noconfigdirs="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3518 ;;
3519 vax-*-*)
3520 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3521 ;;
3522 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
3523 noconfigdirs="$noconfigdirs target-newlib target-libgloss"
3524 ;;
3525 *-*-lynxos*)
3526 noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3527 ;;
3528 *-*-*)
3529 noconfigdirs="$noconfigdirs ${libgcj}"
3530 ;;
3531esac
3532
3533# If we aren't building newlib, then don't build libgloss, since libgloss
3534# depends upon some newlib header files.
3535case "${noconfigdirs}" in
3536 *target-libgloss*) ;;
3537 *target-newlib*) noconfigdirs="$noconfigdirs target-libgloss" ;;
3538esac
3539
3540# Work in distributions that contain no compiler tools, like Autoconf.
3541host_makefile_frag=/dev/null
3542if test -d ${srcdir}/config ; then
3543case "${host}" in
3544 i[3456789]86-*-msdosdjgpp*)
3545 host_makefile_frag="config/mh-djgpp"
3546 ;;
3547 *-cygwin*)
3548
3549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3550$as_echo_n "checking to see if cat works as expected... " >&6; }
3551echo a >cygwin-cat-check
3552if test `cat cygwin-cat-check` = a ; then
3553 rm cygwin-cat-check
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3555$as_echo "yes" >&6; }
3556else
3557 rm cygwin-cat-check
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3559$as_echo "no" >&6; }
3560 as_fn_error "The cat command does not ignore carriage return characters.
3561 Please either mount the build directory in binary mode or run the following
3562 commands before running any configure script:
3563set -o igncr
3564export SHELLOPTS
3565 " "$LINENO" 5
3566fi
3567
3568 host_makefile_frag="config/mh-cygwin"
3569 ;;
3570 *-mingw*)
3571 host_makefile_frag="config/mh-mingw"
3572 ;;
3573 *-interix*)
3574 host_makefile_frag="config/mh-interix"
3575 ;;
3576 hppa*-hp-hpux10*)
3577 host_makefile_frag="config/mh-pa-hpux10"
3578 ;;
3579 hppa*-hp-hpux*)
3580 host_makefile_frag="config/mh-pa"
3581 ;;
3582 hppa*-*)
3583 host_makefile_frag="config/mh-pa"
3584 ;;
3585 *-*-darwin*)
3586 host_makefile_frag="config/mh-darwin"
3587 ;;
3588 powerpc-*-aix*)
3589 host_makefile_frag="config/mh-ppc-aix"
3590 ;;
3591 rs6000-*-aix*)
3592 host_makefile_frag="config/mh-ppc-aix"
3593 ;;
3594esac
3595fi
3596
3597if test "${build}" != "${host}" ; then
3598 AR_FOR_BUILD=${AR_FOR_BUILD-ar}
3599 AS_FOR_BUILD=${AS_FOR_BUILD-as}
3600 CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
3601 CXX_FOR_BUILD=${CXX_FOR_BUILD-g++}
3602 GCJ_FOR_BUILD=${GCJ_FOR_BUILD-gcj}
3603 GFORTRAN_FOR_BUILD=${GFORTRAN_FOR_BUILD-gfortran}
3604 GOC_FOR_BUILD=${GOC_FOR_BUILD-gccgo}
3605 DLLTOOL_FOR_BUILD=${DLLTOOL_FOR_BUILD-dlltool}
3606 LD_FOR_BUILD=${LD_FOR_BUILD-ld}
3607 NM_FOR_BUILD=${NM_FOR_BUILD-nm}
3608 RANLIB_FOR_BUILD=${RANLIB_FOR_BUILD-ranlib}
3609 WINDRES_FOR_BUILD=${WINDRES_FOR_BUILD-windres}
3610 WINDMC_FOR_BUILD=${WINDMC_FOR_BUILD-windmc}
3611else
3612 AR_FOR_BUILD="\$(AR)"
3613 AS_FOR_BUILD="\$(AS)"
3614 CC_FOR_BUILD="\$(CC)"
3615 CXX_FOR_BUILD="\$(CXX)"
3616 GCJ_FOR_BUILD="\$(GCJ)"
3617 GFORTRAN_FOR_BUILD="\$(GFORTRAN)"
3618 GOC_FOR_BUILD="\$(GOC)"
3619 DLLTOOL_FOR_BUILD="\$(DLLTOOL)"
3620 LD_FOR_BUILD="\$(LD)"
3621 NM_FOR_BUILD="\$(NM)"
3622 RANLIB_FOR_BUILD="\$(RANLIB)"
3623 WINDRES_FOR_BUILD="\$(WINDRES)"
3624 WINDMC_FOR_BUILD="\$(WINDMC)"
3625fi
3626
3627ac_ext=c
3628ac_cpp='$CPP $CPPFLAGS'
3629ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3630ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3631ac_compiler_gnu=$ac_cv_c_compiler_gnu
3632if test -n "$ac_tool_prefix"; then
3633 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3634set dummy ${ac_tool_prefix}gcc; ac_word=$2
3635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3636$as_echo_n "checking for $ac_word... " >&6; }
3637if test "${ac_cv_prog_CC+set}" = set; then :
3638 $as_echo_n "(cached) " >&6
3639else
3640 if test -n "$CC"; then
3641 ac_cv_prog_CC="$CC" # Let the user override the test.
3642else
3643as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3644for as_dir in $PATH
3645do
3646 IFS=$as_save_IFS
3647 test -z "$as_dir" && as_dir=.
3648 for ac_exec_ext in '' $ac_executable_extensions; do
3649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3650 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3652 break 2
3653 fi
3654done
3655 done
3656IFS=$as_save_IFS
3657
3658fi
3659fi
3660CC=$ac_cv_prog_CC
3661if test -n "$CC"; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3663$as_echo "$CC" >&6; }
3664else
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666$as_echo "no" >&6; }
3667fi
3668
3669
3670fi
3671if test -z "$ac_cv_prog_CC"; then
3672 ac_ct_CC=$CC
3673 # Extract the first word of "gcc", so it can be a program name with args.
3674set dummy gcc; ac_word=$2
3675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3676$as_echo_n "checking for $ac_word... " >&6; }
3677if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3678 $as_echo_n "(cached) " >&6
3679else
3680 if test -n "$ac_ct_CC"; then
3681 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3682else
3683as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684for as_dir in $PATH
3685do
3686 IFS=$as_save_IFS
3687 test -z "$as_dir" && as_dir=.
3688 for ac_exec_ext in '' $ac_executable_extensions; do
3689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3690 ac_cv_prog_ac_ct_CC="gcc"
3691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3692 break 2
3693 fi
3694done
3695 done
3696IFS=$as_save_IFS
3697
3698fi
3699fi
3700ac_ct_CC=$ac_cv_prog_ac_ct_CC
3701if test -n "$ac_ct_CC"; then
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3703$as_echo "$ac_ct_CC" >&6; }
3704else
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3706$as_echo "no" >&6; }
3707fi
3708
3709 if test "x$ac_ct_CC" = x; then
3710 CC=""
3711 else
3712 case $cross_compiling:$ac_tool_warned in
3713yes:)
3714{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3715$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3716ac_tool_warned=yes ;;
3717esac
3718 CC=$ac_ct_CC
3719 fi
3720else
3721 CC="$ac_cv_prog_CC"
3722fi
3723
3724if test -z "$CC"; then
3725 if test -n "$ac_tool_prefix"; then
3726 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3727set dummy ${ac_tool_prefix}cc; ac_word=$2
3728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3729$as_echo_n "checking for $ac_word... " >&6; }
3730if test "${ac_cv_prog_CC+set}" = set; then :
3731 $as_echo_n "(cached) " >&6
3732else
3733 if test -n "$CC"; then
3734 ac_cv_prog_CC="$CC" # Let the user override the test.
3735else
3736as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3737for as_dir in $PATH
3738do
3739 IFS=$as_save_IFS
3740 test -z "$as_dir" && as_dir=.
3741 for ac_exec_ext in '' $ac_executable_extensions; do
3742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3743 ac_cv_prog_CC="${ac_tool_prefix}cc"
3744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3745 break 2
3746 fi
3747done
3748 done
3749IFS=$as_save_IFS
3750
3751fi
3752fi
3753CC=$ac_cv_prog_CC
3754if test -n "$CC"; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3756$as_echo "$CC" >&6; }
3757else
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3759$as_echo "no" >&6; }
3760fi
3761
3762
3763 fi
3764fi
3765if test -z "$CC"; then
3766 # Extract the first word of "cc", so it can be a program name with args.
3767set dummy cc; ac_word=$2
3768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3769$as_echo_n "checking for $ac_word... " >&6; }
3770if test "${ac_cv_prog_CC+set}" = set; then :
3771 $as_echo_n "(cached) " >&6
3772else
3773 if test -n "$CC"; then
3774 ac_cv_prog_CC="$CC" # Let the user override the test.
3775else
3776 ac_prog_rejected=no
3777as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3778for as_dir in $PATH
3779do
3780 IFS=$as_save_IFS
3781 test -z "$as_dir" && as_dir=.
3782 for ac_exec_ext in '' $ac_executable_extensions; do
3783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3784 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3785 ac_prog_rejected=yes
3786 continue
3787 fi
3788 ac_cv_prog_CC="cc"
3789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3790 break 2
3791 fi
3792done
3793 done
3794IFS=$as_save_IFS
3795
3796if test $ac_prog_rejected = yes; then
3797 # We found a bogon in the path, so make sure we never use it.
3798 set dummy $ac_cv_prog_CC
3799 shift
3800 if test $# != 0; then
3801 # We chose a different compiler from the bogus one.
3802 # However, it has the same basename, so the bogon will be chosen
3803 # first if we set CC to just the basename; use the full file name.
3804 shift
3805 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3806 fi
3807fi
3808fi
3809fi
3810CC=$ac_cv_prog_CC
3811if test -n "$CC"; then
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3813$as_echo "$CC" >&6; }
3814else
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3816$as_echo "no" >&6; }
3817fi
3818
3819
3820fi
3821if test -z "$CC"; then
3822 if test -n "$ac_tool_prefix"; then
3823 for ac_prog in cl.exe
3824 do
3825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3826set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3828$as_echo_n "checking for $ac_word... " >&6; }
3829if test "${ac_cv_prog_CC+set}" = set; then :
3830 $as_echo_n "(cached) " >&6
3831else
3832 if test -n "$CC"; then
3833 ac_cv_prog_CC="$CC" # Let the user override the test.
3834else
3835as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3836for as_dir in $PATH
3837do
3838 IFS=$as_save_IFS
3839 test -z "$as_dir" && as_dir=.
3840 for ac_exec_ext in '' $ac_executable_extensions; do
3841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3842 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3844 break 2
3845 fi
3846done
3847 done
3848IFS=$as_save_IFS
3849
3850fi
3851fi
3852CC=$ac_cv_prog_CC
3853if test -n "$CC"; then
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3855$as_echo "$CC" >&6; }
3856else
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3858$as_echo "no" >&6; }
3859fi
3860
3861
3862 test -n "$CC" && break
3863 done
3864fi
3865if test -z "$CC"; then
3866 ac_ct_CC=$CC
3867 for ac_prog in cl.exe
3868do
3869 # Extract the first word of "$ac_prog", so it can be a program name with args.
3870set dummy $ac_prog; ac_word=$2
3871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3872$as_echo_n "checking for $ac_word... " >&6; }
3873if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3874 $as_echo_n "(cached) " >&6
3875else
3876 if test -n "$ac_ct_CC"; then
3877 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3878else
3879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3880for as_dir in $PATH
3881do
3882 IFS=$as_save_IFS
3883 test -z "$as_dir" && as_dir=.
3884 for ac_exec_ext in '' $ac_executable_extensions; do
3885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3886 ac_cv_prog_ac_ct_CC="$ac_prog"
3887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3888 break 2
3889 fi
3890done
3891 done
3892IFS=$as_save_IFS
3893
3894fi
3895fi
3896ac_ct_CC=$ac_cv_prog_ac_ct_CC
3897if test -n "$ac_ct_CC"; then
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3899$as_echo "$ac_ct_CC" >&6; }
3900else
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3902$as_echo "no" >&6; }
3903fi
3904
3905
3906 test -n "$ac_ct_CC" && break
3907done
3908
3909 if test "x$ac_ct_CC" = x; then
3910 CC=""
3911 else
3912 case $cross_compiling:$ac_tool_warned in
3913yes:)
3914{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3915$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3916ac_tool_warned=yes ;;
3917esac
3918 CC=$ac_ct_CC
3919 fi
3920fi
3921
3922fi
3923
3924
3925test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3926$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3927as_fn_error "no acceptable C compiler found in \$PATH
3928See \`config.log' for more details." "$LINENO" 5; }
3929
3930# Provide some information about the compiler.
3931$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3932set X $ac_compile
3933ac_compiler=$2
3934for ac_option in --version -v -V -qversion; do
3935 { { ac_try="$ac_compiler $ac_option >&5"
3936case "(($ac_try" in
3937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3938 *) ac_try_echo=$ac_try;;
3939esac
3940eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3941$as_echo "$ac_try_echo"; } >&5
3942 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3943 ac_status=$?
3944 if test -s conftest.err; then
3945 sed '10a\
3946... rest of stderr output deleted ...
3947 10q' conftest.err >conftest.er1
3948 cat conftest.er1 >&5
3949 rm -f conftest.er1 conftest.err
3950 fi
3951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3952 test $ac_status = 0; }
3953done
3954
3955cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956/* end confdefs.h. */
3957
3958int
3959main ()
3960{
3961
3962 ;
3963 return 0;
3964}
3965_ACEOF
3966ac_clean_files_save=$ac_clean_files
3967ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3968# Try to create an executable without -o first, disregard a.out.
3969# It will help us diagnose broken compilers, and finding out an intuition
3970# of exeext.
3971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3972$as_echo_n "checking for C compiler default output file name... " >&6; }
3973ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3974
3975# The possible output files:
3976ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3977
3978ac_rmfiles=
3979for ac_file in $ac_files
3980do
3981 case $ac_file in
3982 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3983 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3984 esac
3985done
3986rm -f $ac_rmfiles
3987
3988if { { ac_try="$ac_link_default"
3989case "(($ac_try" in
3990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3991 *) ac_try_echo=$ac_try;;
3992esac
3993eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3994$as_echo "$ac_try_echo"; } >&5
3995 (eval "$ac_link_default") 2>&5
3996 ac_status=$?
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; }; then :
3999 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4000# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4001# in a Makefile. We should not override ac_cv_exeext if it was cached,
4002# so that the user can short-circuit this test for compilers unknown to
4003# Autoconf.
4004for ac_file in $ac_files ''
4005do
4006 test -f "$ac_file" || continue
4007 case $ac_file in
4008 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4009 ;;
4010 [ab].out )
4011 # We found the default executable, but exeext='' is most
4012 # certainly right.
4013 break;;
4014 *.* )
4015 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4016 then :; else
4017 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4018 fi
4019 # We set ac_cv_exeext here because the later test for it is not
4020 # safe: cross compilers may not add the suffix if given an `-o'
4021 # argument, so we may need to know it at that point already.
4022 # Even if this section looks crufty: it has the advantage of
4023 # actually working.
4024 break;;
4025 * )
4026 break;;
4027 esac
4028done
4029test "$ac_cv_exeext" = no && ac_cv_exeext=
4030
4031else
4032 ac_file=''
4033fi
4034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4035$as_echo "$ac_file" >&6; }
4036if test -z "$ac_file"; then :
4037 $as_echo "$as_me: failed program was:" >&5
4038sed 's/^/| /' conftest.$ac_ext >&5
4039
4040{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042{ as_fn_set_status 77
4043as_fn_error "C compiler cannot create executables
4044See \`config.log' for more details." "$LINENO" 5; }; }
4045fi
4046ac_exeext=$ac_cv_exeext
4047
4048# Check that the compiler produces executables we can run. If not, either
4049# the compiler is broken, or we cross compile.
4050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4051$as_echo_n "checking whether the C compiler works... " >&6; }
4052# If not cross compiling, check that we can run a simple program.
4053if test "$cross_compiling" != yes; then
4054 if { ac_try='./$ac_file'
4055 { { case "(($ac_try" in
4056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4057 *) ac_try_echo=$ac_try;;
4058esac
4059eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4060$as_echo "$ac_try_echo"; } >&5
4061 (eval "$ac_try") 2>&5
4062 ac_status=$?
4063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4064 test $ac_status = 0; }; }; then
4065 cross_compiling=no
4066 else
4067 if test "$cross_compiling" = maybe; then
4068 cross_compiling=yes
4069 else
4070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4071$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4072as_fn_error "cannot run C compiled programs.
4073If you meant to cross compile, use \`--host'.
4074See \`config.log' for more details." "$LINENO" 5; }
4075 fi
4076 fi
4077fi
4078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4079$as_echo "yes" >&6; }
4080
4081rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4082ac_clean_files=$ac_clean_files_save
4083# Check that the compiler produces executables we can run. If not, either
4084# the compiler is broken, or we cross compile.
4085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4086$as_echo_n "checking whether we are cross compiling... " >&6; }
4087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4088$as_echo "$cross_compiling" >&6; }
4089
4090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4091$as_echo_n "checking for suffix of executables... " >&6; }
4092if { { ac_try="$ac_link"
4093case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096esac
4097eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098$as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_link") 2>&5
4100 ac_status=$?
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }; then :
4103 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4104# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4105# work properly (i.e., refer to `conftest.exe'), while it won't with
4106# `rm'.
4107for ac_file in conftest.exe conftest conftest.*; do
4108 test -f "$ac_file" || continue
4109 case $ac_file in
4110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4111 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4112 break;;
4113 * ) break;;
4114 esac
4115done
4116else
4117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4119as_fn_error "cannot compute suffix of executables: cannot compile and link
4120See \`config.log' for more details." "$LINENO" 5; }
4121fi
4122rm -f conftest$ac_cv_exeext
4123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4124$as_echo "$ac_cv_exeext" >&6; }
4125
4126rm -f conftest.$ac_ext
4127EXEEXT=$ac_cv_exeext
4128ac_exeext=$EXEEXT
4129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4130$as_echo_n "checking for suffix of object files... " >&6; }
4131if test "${ac_cv_objext+set}" = set; then :
4132 $as_echo_n "(cached) " >&6
4133else
4134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135/* end confdefs.h. */
4136
4137int
4138main ()
4139{
4140
4141 ;
4142 return 0;
4143}
4144_ACEOF
4145rm -f conftest.o conftest.obj
4146if { { ac_try="$ac_compile"
4147case "(($ac_try" in
4148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4149 *) ac_try_echo=$ac_try;;
4150esac
4151eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4152$as_echo "$ac_try_echo"; } >&5
4153 (eval "$ac_compile") 2>&5
4154 ac_status=$?
4155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4156 test $ac_status = 0; }; then :
4157 for ac_file in conftest.o conftest.obj conftest.*; do
4158 test -f "$ac_file" || continue;
4159 case $ac_file in
4160 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4161 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4162 break;;
4163 esac
4164done
4165else
4166 $as_echo "$as_me: failed program was:" >&5
4167sed 's/^/| /' conftest.$ac_ext >&5
4168
4169{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4170$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4171as_fn_error "cannot compute suffix of object files: cannot compile
4172See \`config.log' for more details." "$LINENO" 5; }
4173fi
4174rm -f conftest.$ac_cv_objext conftest.$ac_ext
4175fi
4176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4177$as_echo "$ac_cv_objext" >&6; }
4178OBJEXT=$ac_cv_objext
4179ac_objext=$OBJEXT
4180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4181$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4182if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4183 $as_echo_n "(cached) " >&6
4184else
4185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4186/* end confdefs.h. */
4187
4188int
4189main ()
4190{
4191#ifndef __GNUC__
4192 choke me
4193#endif
4194
4195 ;
4196 return 0;
4197}
4198_ACEOF
4199if ac_fn_c_try_compile "$LINENO"; then :
4200 ac_compiler_gnu=yes
4201else
4202 ac_compiler_gnu=no
4203fi
4204rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4205ac_cv_c_compiler_gnu=$ac_compiler_gnu
4206
4207fi
4208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4209$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4210if test $ac_compiler_gnu = yes; then
4211 GCC=yes
4212else
4213 GCC=
4214fi
4215ac_test_CFLAGS=${CFLAGS+set}
4216ac_save_CFLAGS=$CFLAGS
4217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4218$as_echo_n "checking whether $CC accepts -g... " >&6; }
4219if test "${ac_cv_prog_cc_g+set}" = set; then :
4220 $as_echo_n "(cached) " >&6
4221else
4222 ac_save_c_werror_flag=$ac_c_werror_flag
4223 ac_c_werror_flag=yes
4224 ac_cv_prog_cc_g=no
4225 CFLAGS="-g"
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227/* end confdefs.h. */
4228
4229int
4230main ()
4231{
4232
4233 ;
4234 return 0;
4235}
4236_ACEOF
4237if ac_fn_c_try_compile "$LINENO"; then :
4238 ac_cv_prog_cc_g=yes
4239else
4240 CFLAGS=""
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242/* end confdefs.h. */
4243
4244int
4245main ()
4246{
4247
4248 ;
4249 return 0;
4250}
4251_ACEOF
4252if ac_fn_c_try_compile "$LINENO"; then :
4253
4254else
4255 ac_c_werror_flag=$ac_save_c_werror_flag
4256 CFLAGS="-g"
4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4258/* end confdefs.h. */
4259
4260int
4261main ()
4262{
4263
4264 ;
4265 return 0;
4266}
4267_ACEOF
4268if ac_fn_c_try_compile "$LINENO"; then :
4269 ac_cv_prog_cc_g=yes
4270fi
4271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4272fi
4273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4274fi
4275rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4276 ac_c_werror_flag=$ac_save_c_werror_flag
4277fi
4278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4279$as_echo "$ac_cv_prog_cc_g" >&6; }
4280if test "$ac_test_CFLAGS" = set; then
4281 CFLAGS=$ac_save_CFLAGS
4282elif test $ac_cv_prog_cc_g = yes; then
4283 if test "$GCC" = yes; then
4284 CFLAGS="-g -O2"
4285 else
4286 CFLAGS="-g"
4287 fi
4288else
4289 if test "$GCC" = yes; then
4290 CFLAGS="-O2"
4291 else
4292 CFLAGS=
4293 fi
4294fi
4295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4296$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4297if test "${ac_cv_prog_cc_c89+set}" = set; then :
4298 $as_echo_n "(cached) " >&6
4299else
4300 ac_cv_prog_cc_c89=no
4301ac_save_CC=$CC
4302cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303/* end confdefs.h. */
4304#include <stdarg.h>
4305#include <stdio.h>
4306#include <sys/types.h>
4307#include <sys/stat.h>
4308/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4309struct buf { int x; };
4310FILE * (*rcsopen) (struct buf *, struct stat *, int);
4311static char *e (p, i)
4312 char **p;
4313 int i;
4314{
4315 return p[i];
4316}
4317static char *f (char * (*g) (char **, int), char **p, ...)
4318{
4319 char *s;
4320 va_list v;
4321 va_start (v,p);
4322 s = g (p, va_arg (v,int));
4323 va_end (v);
4324 return s;
4325}
4326
4327/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4328 function prototypes and stuff, but not '\xHH' hex character constants.
4329 These don't provoke an error unfortunately, instead are silently treated
4330 as 'x'. The following induces an error, until -std is added to get
4331 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4332 array size at least. It's necessary to write '\x00'==0 to get something
4333 that's true only with -std. */
4334int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4335
4336/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4337 inside strings and character constants. */
4338#define FOO(x) 'x'
4339int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4340
4341int test (int i, double x);
4342struct s1 {int (*f) (int a);};
4343struct s2 {int (*f) (double a);};
4344int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4345int argc;
4346char **argv;
4347int
4348main ()
4349{
4350return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4351 ;
4352 return 0;
4353}
4354_ACEOF
4355for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4356 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4357do
4358 CC="$ac_save_CC $ac_arg"
4359 if ac_fn_c_try_compile "$LINENO"; then :
4360 ac_cv_prog_cc_c89=$ac_arg
4361fi
4362rm -f core conftest.err conftest.$ac_objext
4363 test "x$ac_cv_prog_cc_c89" != "xno" && break
4364done
4365rm -f conftest.$ac_ext
4366CC=$ac_save_CC
4367
4368fi
4369# AC_CACHE_VAL
4370case "x$ac_cv_prog_cc_c89" in
4371 x)
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4373$as_echo "none needed" >&6; } ;;
4374 xno)
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4376$as_echo "unsupported" >&6; } ;;
4377 *)
4378 CC="$CC $ac_cv_prog_cc_c89"
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4380$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4381esac
4382if test "x$ac_cv_prog_cc_c89" != xno; then :
4383
4384fi
4385
4386ac_ext=c
4387ac_cpp='$CPP $CPPFLAGS'
4388ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4389ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4390ac_compiler_gnu=$ac_cv_c_compiler_gnu
4391
4392ac_ext=cpp
4393ac_cpp='$CXXCPP $CPPFLAGS'
4394ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4395ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4396ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4397if test -z "$CXX"; then
4398 if test -n "$CCC"; then
4399 CXX=$CCC
4400 else
4401 if test -n "$ac_tool_prefix"; then
4402 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4403 do
4404 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4405set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4407$as_echo_n "checking for $ac_word... " >&6; }
4408if test "${ac_cv_prog_CXX+set}" = set; then :
4409 $as_echo_n "(cached) " >&6
4410else
4411 if test -n "$CXX"; then
4412 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4413else
4414as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415for as_dir in $PATH
4416do
4417 IFS=$as_save_IFS
4418 test -z "$as_dir" && as_dir=.
4419 for ac_exec_ext in '' $ac_executable_extensions; do
4420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4421 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4423 break 2
4424 fi
4425done
4426 done
4427IFS=$as_save_IFS
4428
4429fi
4430fi
4431CXX=$ac_cv_prog_CXX
4432if test -n "$CXX"; then
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4434$as_echo "$CXX" >&6; }
4435else
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4437$as_echo "no" >&6; }
4438fi
4439
4440
4441 test -n "$CXX" && break
4442 done
4443fi
4444if test -z "$CXX"; then
4445 ac_ct_CXX=$CXX
4446 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4447do
4448 # Extract the first word of "$ac_prog", so it can be a program name with args.
4449set dummy $ac_prog; ac_word=$2
4450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4451$as_echo_n "checking for $ac_word... " >&6; }
4452if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4453 $as_echo_n "(cached) " >&6
4454else
4455 if test -n "$ac_ct_CXX"; then
4456 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4457else
4458as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4459for as_dir in $PATH
4460do
4461 IFS=$as_save_IFS
4462 test -z "$as_dir" && as_dir=.
4463 for ac_exec_ext in '' $ac_executable_extensions; do
4464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4465 ac_cv_prog_ac_ct_CXX="$ac_prog"
4466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4467 break 2
4468 fi
4469done
4470 done
4471IFS=$as_save_IFS
4472
4473fi
4474fi
4475ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4476if test -n "$ac_ct_CXX"; then
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4478$as_echo "$ac_ct_CXX" >&6; }
4479else
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4481$as_echo "no" >&6; }
4482fi
4483
4484
4485 test -n "$ac_ct_CXX" && break
4486done
4487
4488 if test "x$ac_ct_CXX" = x; then
4489 CXX="g++"
4490 else
4491 case $cross_compiling:$ac_tool_warned in
4492yes:)
4493{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4494$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4495ac_tool_warned=yes ;;
4496esac
4497 CXX=$ac_ct_CXX
4498 fi
4499fi
4500
4501 fi
4502fi
4503# Provide some information about the compiler.
4504$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4505set X $ac_compile
4506ac_compiler=$2
4507for ac_option in --version -v -V -qversion; do
4508 { { ac_try="$ac_compiler $ac_option >&5"
4509case "(($ac_try" in
4510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4511 *) ac_try_echo=$ac_try;;
4512esac
4513eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4514$as_echo "$ac_try_echo"; } >&5
4515 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4516 ac_status=$?
4517 if test -s conftest.err; then
4518 sed '10a\
4519... rest of stderr output deleted ...
4520 10q' conftest.err >conftest.er1
4521 cat conftest.er1 >&5
4522 rm -f conftest.er1 conftest.err
4523 fi
4524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4525 test $ac_status = 0; }
4526done
4527
4528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4529$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4530if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4531 $as_echo_n "(cached) " >&6
4532else
4533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4534/* end confdefs.h. */
4535
4536int
4537main ()
4538{
4539#ifndef __GNUC__
4540 choke me
4541#endif
4542
4543 ;
4544 return 0;
4545}
4546_ACEOF
4547if ac_fn_cxx_try_compile "$LINENO"; then :
4548 ac_compiler_gnu=yes
4549else
4550 ac_compiler_gnu=no
4551fi
4552rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4553ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4554
4555fi
4556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4557$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4558if test $ac_compiler_gnu = yes; then
4559 GXX=yes
4560else
4561 GXX=
4562fi
4563ac_test_CXXFLAGS=${CXXFLAGS+set}
4564ac_save_CXXFLAGS=$CXXFLAGS
4565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4566$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4567if test "${ac_cv_prog_cxx_g+set}" = set; then :
4568 $as_echo_n "(cached) " >&6
4569else
4570 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4571 ac_cxx_werror_flag=yes
4572 ac_cv_prog_cxx_g=no
4573 CXXFLAGS="-g"
4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575/* end confdefs.h. */
4576
4577int
4578main ()
4579{
4580
4581 ;
4582 return 0;
4583}
4584_ACEOF
4585if ac_fn_cxx_try_compile "$LINENO"; then :
4586 ac_cv_prog_cxx_g=yes
4587else
4588 CXXFLAGS=""
4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4590/* end confdefs.h. */
4591
4592int
4593main ()
4594{
4595
4596 ;
4597 return 0;
4598}
4599_ACEOF
4600if ac_fn_cxx_try_compile "$LINENO"; then :
4601
4602else
4603 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4604 CXXFLAGS="-g"
4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606/* end confdefs.h. */
4607
4608int
4609main ()
4610{
4611
4612 ;
4613 return 0;
4614}
4615_ACEOF
4616if ac_fn_cxx_try_compile "$LINENO"; then :
4617 ac_cv_prog_cxx_g=yes
4618fi
4619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4620fi
4621rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4622fi
4623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4624 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4625fi
4626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4627$as_echo "$ac_cv_prog_cxx_g" >&6; }
4628if test "$ac_test_CXXFLAGS" = set; then
4629 CXXFLAGS=$ac_save_CXXFLAGS
4630elif test $ac_cv_prog_cxx_g = yes; then
4631 if test "$GXX" = yes; then
4632 CXXFLAGS="-g -O2"
4633 else
4634 CXXFLAGS="-g"
4635 fi
4636else
4637 if test "$GXX" = yes; then
4638 CXXFLAGS="-O2"
4639 else
4640 CXXFLAGS=
4641 fi
4642fi
4643ac_ext=c
4644ac_cpp='$CPP $CPPFLAGS'
4645ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4646ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4647ac_compiler_gnu=$ac_cv_c_compiler_gnu
4648
4649
4650# We must set the default linker to the linker used by gcc for the correct
4651# operation of libtool. If LD is not defined and we are using gcc, try to
4652# set the LD default to the ld used by gcc.
4653if test -z "$LD"; then
4654 if test "$GCC" = yes; then
4655 case $build in
4656 *-*-mingw*)
4657 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4658 *)
4659 gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;;
4660 esac
4661 case $gcc_prog_ld in
4662 # Accept absolute paths.
4663 [\\/]* | [A-Za-z]:[\\/]*)
4664 LD="$gcc_prog_ld" ;;
4665 esac
4666 fi
4667fi
4668
4669
4670
4671
4672if test -n "$ac_tool_prefix"; then
4673 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4674set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
4675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4676$as_echo_n "checking for $ac_word... " >&6; }
4677if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4678 $as_echo_n "(cached) " >&6
4679else
4680 if test -n "$GNATBIND"; then
4681 ac_cv_prog_GNATBIND="$GNATBIND" # Let the user override the test.
4682else
4683as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4684for as_dir in $PATH
4685do
4686 IFS=$as_save_IFS
4687 test -z "$as_dir" && as_dir=.
4688 for ac_exec_ext in '' $ac_executable_extensions; do
4689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4690 ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind"
4691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4692 break 2
4693 fi
4694done
4695 done
4696IFS=$as_save_IFS
4697
4698fi
4699fi
4700GNATBIND=$ac_cv_prog_GNATBIND
4701if test -n "$GNATBIND"; then
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4703$as_echo "$GNATBIND" >&6; }
4704else
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4706$as_echo "no" >&6; }
4707fi
4708
4709
4710fi
4711if test -z "$ac_cv_prog_GNATBIND"; then
4712 ac_ct_GNATBIND=$GNATBIND
4713 # Extract the first word of "gnatbind", so it can be a program name with args.
4714set dummy gnatbind; ac_word=$2
4715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4716$as_echo_n "checking for $ac_word... " >&6; }
4717if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4718 $as_echo_n "(cached) " >&6
4719else
4720 if test -n "$ac_ct_GNATBIND"; then
4721 ac_cv_prog_ac_ct_GNATBIND="$ac_ct_GNATBIND" # Let the user override the test.
4722else
4723as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4724for as_dir in $PATH
4725do
4726 IFS=$as_save_IFS
4727 test -z "$as_dir" && as_dir=.
4728 for ac_exec_ext in '' $ac_executable_extensions; do
4729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4730 ac_cv_prog_ac_ct_GNATBIND="gnatbind"
4731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4732 break 2
4733 fi
4734done
4735 done
4736IFS=$as_save_IFS
4737
4738fi
4739fi
4740ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND
4741if test -n "$ac_ct_GNATBIND"; then
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4743$as_echo "$ac_ct_GNATBIND" >&6; }
4744else
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746$as_echo "no" >&6; }
4747fi
4748
4749 if test "x$ac_ct_GNATBIND" = x; then
4750 GNATBIND="no"
4751 else
4752 case $cross_compiling:$ac_tool_warned in
4753yes:)
4754{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4755$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4756ac_tool_warned=yes ;;
4757esac
4758 GNATBIND=$ac_ct_GNATBIND
4759 fi
4760else
4761 GNATBIND="$ac_cv_prog_GNATBIND"
4762fi
4763
4764if test -n "$ac_tool_prefix"; then
4765 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4766set dummy ${ac_tool_prefix}gnatmake; ac_word=$2
4767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4768$as_echo_n "checking for $ac_word... " >&6; }
4769if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4770 $as_echo_n "(cached) " >&6
4771else
4772 if test -n "$GNATMAKE"; then
4773 ac_cv_prog_GNATMAKE="$GNATMAKE" # Let the user override the test.
4774else
4775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4776for as_dir in $PATH
4777do
4778 IFS=$as_save_IFS
4779 test -z "$as_dir" && as_dir=.
4780 for ac_exec_ext in '' $ac_executable_extensions; do
4781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4782 ac_cv_prog_GNATMAKE="${ac_tool_prefix}gnatmake"
4783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4784 break 2
4785 fi
4786done
4787 done
4788IFS=$as_save_IFS
4789
4790fi
4791fi
4792GNATMAKE=$ac_cv_prog_GNATMAKE
4793if test -n "$GNATMAKE"; then
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4795$as_echo "$GNATMAKE" >&6; }
4796else
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4798$as_echo "no" >&6; }
4799fi
4800
4801
4802fi
4803if test -z "$ac_cv_prog_GNATMAKE"; then
4804 ac_ct_GNATMAKE=$GNATMAKE
4805 # Extract the first word of "gnatmake", so it can be a program name with args.
4806set dummy gnatmake; ac_word=$2
4807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4808$as_echo_n "checking for $ac_word... " >&6; }
4809if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4810 $as_echo_n "(cached) " >&6
4811else
4812 if test -n "$ac_ct_GNATMAKE"; then
4813 ac_cv_prog_ac_ct_GNATMAKE="$ac_ct_GNATMAKE" # Let the user override the test.
4814else
4815as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4816for as_dir in $PATH
4817do
4818 IFS=$as_save_IFS
4819 test -z "$as_dir" && as_dir=.
4820 for ac_exec_ext in '' $ac_executable_extensions; do
4821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4822 ac_cv_prog_ac_ct_GNATMAKE="gnatmake"
4823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4824 break 2
4825 fi
4826done
4827 done
4828IFS=$as_save_IFS
4829
4830fi
4831fi
4832ac_ct_GNATMAKE=$ac_cv_prog_ac_ct_GNATMAKE
4833if test -n "$ac_ct_GNATMAKE"; then
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4835$as_echo "$ac_ct_GNATMAKE" >&6; }
4836else
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4838$as_echo "no" >&6; }
4839fi
4840
4841 if test "x$ac_ct_GNATMAKE" = x; then
4842 GNATMAKE="no"
4843 else
4844 case $cross_compiling:$ac_tool_warned in
4845yes:)
4846{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4847$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4848ac_tool_warned=yes ;;
4849esac
4850 GNATMAKE=$ac_ct_GNATMAKE
4851 fi
4852else
4853 GNATMAKE="$ac_cv_prog_GNATMAKE"
4854fi
4855
4856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
4857$as_echo_n "checking whether compiler driver understands Ada... " >&6; }
4858if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
4859 $as_echo_n "(cached) " >&6
4860else
4861 cat >conftest.adb <<EOF
4862procedure conftest is begin null; end conftest;
4863EOF
4864acx_cv_cc_gcc_supports_ada=no
4865# There is a bug in old released versions of GCC which causes the
4866# driver to exit successfully when the appropriate language module
4867# has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4868# Therefore we must check for the error message as well as an
4869# unsuccessful exit.
4870# Other compilers, like HP Tru64 UNIX cc, exit successfully when
4871# given a .adb file, but produce no object file. So we must check
4872# if an object file was really produced to guard against this.
4873errors=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4874if test x"$errors" = x && test -f conftest.$ac_objext; then
4875 acx_cv_cc_gcc_supports_ada=yes
4876fi
4877rm -f conftest.*
4878fi
4879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
4880$as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
4881
4882if test x$GNATBIND != xno && test x$GNATMAKE != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
4883 have_gnat=yes
4884else
4885 have_gnat=no
4886fi
4887
4888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
4889$as_echo_n "checking how to compare bootstrapped objects... " >&6; }
4890if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
4891 $as_echo_n "(cached) " >&6
4892else
4893 echo abfoo >t1
4894 echo cdfoo >t2
4895 gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4896 if cmp t1 t2 2 2 > /dev/null 2>&1; then
4897 if cmp t1 t2 1 1 > /dev/null 2>&1; then
4898 :
4899 else
4900 gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
4901 fi
4902 fi
4903 if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
4904 if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
4905 :
4906 else
4907 gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
4908 fi
4909 fi
4910 rm t1 t2
4911
4912fi
4913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
4914$as_echo "$gcc_cv_prog_cmp_skip" >&6; }
4915do_compare="$gcc_cv_prog_cmp_skip"
4916
4917
4918
4919# See if we are building gcc with C++.
4920# Check whether --enable-build-with-cxx was given.
4921if test "${enable_build_with_cxx+set}" = set; then :
4922 enableval=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX=$enableval
4923else
4924 ENABLE_BUILD_WITH_CXX=no
4925fi
4926
4927
4928# Used for setting $lt_cv_objdir
4929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
4930$as_echo_n "checking for objdir... " >&6; }
4931if test "${lt_cv_objdir+set}" = set; then :
4932 $as_echo_n "(cached) " >&6
4933else
4934 rm -f .libs 2>/dev/null
4935mkdir .libs 2>/dev/null
4936if test -d .libs; then
4937 lt_cv_objdir=.libs
4938else
4939 # MS-DOS does not allow filenames that begin with a dot.
4940 lt_cv_objdir=_libs
4941fi
4942rmdir .libs 2>/dev/null
4943fi
4944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
4945$as_echo "$lt_cv_objdir" >&6; }
4946objdir=$lt_cv_objdir
4947
4948
4949
4950
4951
4952cat >>confdefs.h <<_ACEOF
4953#define LT_OBJDIR "$lt_cv_objdir/"
4954_ACEOF
4955
4956
4957
4958# Check for GMP, MPFR and MPC
4959gmplibs="-lmpc -lmpfr -lgmp"
4960gmpinc=
4961have_gmp=no
4962
4963# Specify a location for mpc
4964# check for this first so it ends up on the link line before mpfr.
4965
4966# Check whether --with-mpc was given.
4967if test "${with_mpc+set}" = set; then :
4968 withval=$with_mpc;
4969fi
4970
4971
4972# Check whether --with-mpc-include was given.
4973if test "${with_mpc_include+set}" = set; then :
4974 withval=$with_mpc_include;
4975fi
4976
4977
4978# Check whether --with-mpc-lib was given.
4979if test "${with_mpc_lib+set}" = set; then :
4980 withval=$with_mpc_lib;
4981fi
4982
4983
4984if test "x$with_mpc" != x; then
4985 gmplibs="-L$with_mpc/lib $gmplibs"
4986 gmpinc="-I$with_mpc/include $gmpinc"
4987fi
4988if test "x$with_mpc_include" != x; then
4989 gmpinc="-I$with_mpc_include $gmpinc"
4990fi
4991if test "x$with_mpc_lib" != x; then
4992 gmplibs="-L$with_mpc_lib $gmplibs"
4993fi
4994if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x && test -d ${srcdir}/mpc; then
4995 gmplibs='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
4996 gmpinc='-I$$s/mpc/src '"$gmpinc"
4997 # Do not test the mpc version. Assume that it is sufficient, since
4998 # it is in the source tree, and the library has not been built yet
4999 # but it would be included on the link line in the version check below
5000 # hence making the test fail.
5001 have_gmp=yes
5002fi
5003
5004# Specify a location for mpfr
5005# check for this first so it ends up on the link line before gmp.
5006
5007# Check whether --with-mpfr-dir was given.
5008if test "${with_mpfr_dir+set}" = set; then :
5009 withval=$with_mpfr_dir; as_fn_error "The --with-mpfr-dir=PATH option has been removed.
5010Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5011fi
5012
5013
5014
5015# Check whether --with-mpfr was given.
5016if test "${with_mpfr+set}" = set; then :
5017 withval=$with_mpfr;
5018fi
5019
5020
5021# Check whether --with-mpfr-include was given.
5022if test "${with_mpfr_include+set}" = set; then :
5023 withval=$with_mpfr_include;
5024fi
5025
5026
5027# Check whether --with-mpfr-lib was given.
5028if test "${with_mpfr_lib+set}" = set; then :
5029 withval=$with_mpfr_lib;
5030fi
5031
5032
5033if test "x$with_mpfr" != x; then
5034 gmplibs="-L$with_mpfr/lib $gmplibs"
5035 gmpinc="-I$with_mpfr/include $gmpinc"
5036fi
5037if test "x$with_mpfr_include" != x; then
5038 gmpinc="-I$with_mpfr_include $gmpinc"
5039fi
5040if test "x$with_mpfr_lib" != x; then
5041 gmplibs="-L$with_mpfr_lib $gmplibs"
5042fi
5043if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x && test -d ${srcdir}/mpfr; then
5044 gmplibs='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5045 gmpinc='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5046 extra_mpc_mpfr_configure_flags='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5047 # Do not test the mpfr version. Assume that it is sufficient, since
5048 # it is in the source tree, and the library has not been built yet
5049 # but it would be included on the link line in the version check below
5050 # hence making the test fail.
5051 have_gmp=yes
5052fi
5053
5054# Specify a location for gmp
5055
5056# Check whether --with-gmp-dir was given.
5057if test "${with_gmp_dir+set}" = set; then :
5058 withval=$with_gmp_dir; as_fn_error "The --with-gmp-dir=PATH option has been removed.
5059Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5060fi
5061
5062
5063
5064# Check whether --with-gmp was given.
5065if test "${with_gmp+set}" = set; then :
5066 withval=$with_gmp;
5067fi
5068
5069
5070# Check whether --with-gmp-include was given.
5071if test "${with_gmp_include+set}" = set; then :
5072 withval=$with_gmp_include;
5073fi
5074
5075
5076# Check whether --with-gmp-lib was given.
5077if test "${with_gmp_lib+set}" = set; then :
5078 withval=$with_gmp_lib;
5079fi
5080
5081
5082
5083if test "x$with_gmp" != x; then
5084 gmplibs="-L$with_gmp/lib $gmplibs"
5085 gmpinc="-I$with_gmp/include $gmpinc"
5086fi
5087if test "x$with_gmp_include" != x; then
5088 gmpinc="-I$with_gmp_include $gmpinc"
5089fi
5090if test "x$with_gmp_lib" != x; then
5091 gmplibs="-L$with_gmp_lib $gmplibs"
5092fi
5093if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x && test -d ${srcdir}/gmp; then
5094 gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5095 gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5096 extra_mpfr_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5097 extra_mpc_gmp_configure_flags='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5098 # Do not test the gmp version. Assume that it is sufficient, since
5099 # it is in the source tree, and the library has not been built yet
5100 # but it would be included on the link line in the version check below
5101 # hence making the test fail.
5102 have_gmp=yes
5103fi
5104
5105if test -d ${srcdir}/gcc && test "x$have_gmp" = xno; then
5106 have_gmp=yes
5107 saved_CFLAGS="$CFLAGS"
5108 CFLAGS="$CFLAGS $gmpinc"
5109 # Check for the recommended and required versions of GMP.
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5111$as_echo_n "checking for the correct version of gmp.h... " >&6; }
5112
5113cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5114/* end confdefs.h. */
5115#include "gmp.h"
5116int
5117main ()
5118{
5119
5120 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5121 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5122 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5123 choke me
5124 #endif
5125
5126 ;
5127 return 0;
5128}
5129_ACEOF
5130if ac_fn_c_try_compile "$LINENO"; then :
5131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5132/* end confdefs.h. */
5133#include <gmp.h>
5134int
5135main ()
5136{
5137
5138 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5139 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5140 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5141 choke me
5142 #endif
5143
5144 ;
5145 return 0;
5146}
5147_ACEOF
5148if ac_fn_c_try_compile "$LINENO"; then :
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5150$as_echo "yes" >&6; }
5151else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5153$as_echo "buggy but acceptable" >&6; }
5154fi
5155rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5156else
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158$as_echo "no" >&6; }; have_gmp=no
5159fi
5160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5161
5162 # If we have GMP, check the MPFR version.
5163 if test x"$have_gmp" = xyes; then
5164 # Check for the recommended and required versions of MPFR.
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5166$as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5168/* end confdefs.h. */
5169#include <gmp.h>
5170 #include <mpfr.h>
5171int
5172main ()
5173{
5174
5175 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5176 choke me
5177 #endif
5178
5179 ;
5180 return 0;
5181}
5182_ACEOF
5183if ac_fn_c_try_compile "$LINENO"; then :
5184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5185/* end confdefs.h. */
5186#include <gmp.h>
5187 #include <mpfr.h>
5188int
5189main ()
5190{
5191
5192 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5193 choke me
5194 #endif
5195
5196 ;
5197 return 0;
5198}
5199_ACEOF
5200if ac_fn_c_try_compile "$LINENO"; then :
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5202$as_echo "yes" >&6; }
5203else
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5205$as_echo "buggy but acceptable" >&6; }
5206fi
5207rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5208else
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5210$as_echo "no" >&6; }; have_gmp=no
5211fi
5212rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5213 fi
5214
5215 # Check for the MPC header version.
5216 if test x"$have_gmp" = xyes ; then
5217 # Check for the recommended and required versions of MPC.
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5219$as_echo_n "checking for the correct version of mpc.h... " >&6; }
5220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5221/* end confdefs.h. */
5222#include <mpc.h>
5223int
5224main ()
5225{
5226
5227 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5228 choke me
5229 #endif
5230
5231 ;
5232 return 0;
5233}
5234_ACEOF
5235if ac_fn_c_try_compile "$LINENO"; then :
5236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5237/* end confdefs.h. */
5238#include <mpc.h>
5239int
5240main ()
5241{
5242
5243 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5244 choke me
5245 #endif
5246
5247 ;
5248 return 0;
5249}
5250_ACEOF
5251if ac_fn_c_try_compile "$LINENO"; then :
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5253$as_echo "yes" >&6; }
5254else
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5256$as_echo "buggy but acceptable" >&6; }
5257fi
5258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5259else
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5261$as_echo "no" >&6; }; have_gmp=no
5262fi
5263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5264 fi
5265
5266 # Now check the MPFR library.
5267 if test x"$have_gmp" = xyes; then
5268 saved_LIBS="$LIBS"
5269 LIBS="$LIBS $gmplibs"
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5271$as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5273/* end confdefs.h. */
5274#include <mpc.h>
5275int
5276main ()
5277{
5278
5279 mpfr_t n;
5280 mpfr_t x;
5281 mpc_t c;
5282 int t;
5283 mpfr_init (n);
5284 mpfr_init (x);
5285 mpfr_atan2 (n, n, x, GMP_RNDN);
5286 mpfr_erfc (n, x, GMP_RNDN);
5287 mpfr_subnormalize (x, t, GMP_RNDN);
5288 mpfr_clear(n);
5289 mpfr_clear(x);
5290 mpc_init2 (c, 53);
5291 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5292 mpc_cosh (c, c, MPC_RNDNN);
5293 mpc_pow (c, c, c, MPC_RNDNN);
5294 mpc_acosh (c, c, MPC_RNDNN);
5295 mpc_clear (c);
5296
5297 ;
5298 return 0;
5299}
5300_ACEOF
5301if ac_fn_c_try_link "$LINENO"; then :
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5303$as_echo "yes" >&6; }
5304else
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5306$as_echo "no" >&6; }; have_gmp=no
5307fi
5308rm -f core conftest.err conftest.$ac_objext \
5309 conftest$ac_exeext conftest.$ac_ext
5310 LIBS="$saved_LIBS"
5311 fi
5312
5313 CFLAGS="$saved_CFLAGS"
5314
5315# The library versions listed in the error message below should match
5316# the HARD-minimums enforced above.
5317 if test x$have_gmp != xyes; then
5318 as_fn_error "Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
5319Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5320their locations. Source code for these libraries can be found at
5321their respective hosting sites as well as at
5322ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5323http://gcc.gnu.org/install/prerequisites.html for additional info. If
5324you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5325make sure that you have installed both the libraries and the header
5326files. They may be located in separate packages." "$LINENO" 5
5327 fi
5328fi
5329
5330# Flags needed for both GMP, MPFR and/or MPC.
5331
5332
5333
5334
5335
5336
5337# Allow host libstdc++ to be specified for static linking with PPL.
5338
5339# Check whether --with-host-libstdcxx was given.
5340if test "${with_host_libstdcxx+set}" = set; then :
5341 withval=$with_host_libstdcxx;
5342fi
5343
5344
5345case $with_host_libstdcxx in
5346 no|yes)
5347 as_fn_error "-with-host-libstdcxx needs an argument" "$LINENO" 5
5348 ;;
5349esac
5350
5351# Linker flags to use for stage1 or when not boostrapping.
5352
5353# Check whether --with-stage1-ldflags was given.
5354if test "${with_stage1_ldflags+set}" = set; then :
5355 withval=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5356 stage1_ldflags=
5357 else
5358 stage1_ldflags=$withval
5359 fi
5360else
5361 stage1_ldflags=
5362fi
5363
5364
5365
5366# Libraries to use for stage1 or when not bootstrapping.
5367
5368# Check whether --with-stage1-libs was given.
5369if test "${with_stage1_libs+set}" = set; then :
5370 withval=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5371 stage1_libs=
5372 else
5373 stage1_libs=$withval
5374 fi
5375else
5376 stage1_libs=$with_host_libstdcxx
5377fi
5378
5379
5380
5381# Libraries to use for stage2 and later builds. This defaults to the
5382# argument passed to --with-host-libstdcxx.
5383
5384# Check whether --with-boot-libs was given.
5385if test "${with_boot_libs+set}" = set; then :
5386 withval=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5387 poststage1_libs=
5388 else
5389 poststage1_libs=$withval
5390 fi
5391else
5392 poststage1_libs=$with_host_libstdcxx
5393fi
5394
5395
5396
5397# Linker flags to use for stage2 and later builds.
5398
5399# Check whether --with-boot-ldflags was given.
5400if test "${with_boot_ldflags+set}" = set; then :
5401 withval=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5402 poststage1_ldflags=
5403 else
5404 poststage1_ldflags=$withval
5405 fi
5406else
5407 poststage1_ldflags=
5408 # In stages 2 and 3, default to linking libstdc++ and libgcc
5409 # statically. But if the user explicitly specified the libraries to
5410 # use, trust that they are doing what they want.
5411 if test "$poststage1_libs" = ""; then
5412 poststage1_ldflags="-static-libstdc++ -static-libgcc"
5413 fi
5414fi
5415
5416
5417
5418# Check for PPL
5419ppllibs=
5420pplinc=
5421pwllib=
5422
5423
5424# Check whether --with-ppl was given.
5425if test "${with_ppl+set}" = set; then :
5426 withval=$with_ppl;
5427fi
5428
5429
5430# Check whether --with-ppl-include was given.
5431if test "${with_ppl_include+set}" = set; then :
5432 withval=$with_ppl_include;
5433fi
5434
5435
5436# Check whether --with-ppl-lib was given.
5437if test "${with_ppl_lib+set}" = set; then :
5438 withval=$with_ppl_lib;
5439fi
5440
5441
5442# Check whether --enable-ppl-version-check was given.
5443if test "${enable_ppl_version_check+set}" = set; then :
5444 enableval=$enable_ppl_version_check;
5445fi
5446
5447
5448case $with_ppl in
5449 yes | no | "")
5450 ;;
5451 *)
5452 ppllibs="-L$with_ppl/lib"
5453 pplinc="-I$with_ppl/include $pplinc"
5454 if test -d "$with_ppl/lib" && test -d "$with_ppl/include"; then
5455 with_ppl=yes
5456 else
5457 as_fn_error "cannot find directories \"$with_ppl/lib\" or \"$with_ppl/include\"" "$LINENO" 5
5458 fi
5459 ;;
5460esac
5461
5462if test x"$with_ppl_include" != x; then
5463 pplinc="-I$with_ppl_include $pplinc"
5464 with_ppl=yes
5465fi
5466
5467if test "x$with_ppl_lib" != x; then
5468 ppllibs="-L$with_ppl_lib"
5469 with_ppl=yes
5470fi
5471
5472if test x"$with_ppl$with_ppl_include$with_ppl_lib" = x && test -d ${srcdir}/ppl; then
5473 if test x"$enable_watchdog" = xyes; then
5474 pwllib="-lpwl"
5475 fi
5476 ppllibs='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"
5477 pplinc='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5478 enable_ppl_version_check=no
5479 with_ppl=yes
5480fi
5481
5482if test "x$with_ppl" != xno; then
5483 if test "x$pwllib" = x; then
5484 saved_LIBS="$LIBS"
5485 LIBS="$LIBS $ppllibs -lstdc++ -lm"
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PWL_handle_timeout in -lpwl" >&5
5487$as_echo_n "checking for PWL_handle_timeout in -lpwl... " >&6; }
5488if test "${ac_cv_lib_pwl_PWL_handle_timeout+set}" = set; then :
5489 $as_echo_n "(cached) " >&6
5490else
5491 ac_check_lib_save_LIBS=$LIBS
5492LIBS="-lpwl $LIBS"
5493cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5494/* end confdefs.h. */
5495
5496/* Override any GCC internal prototype to avoid an error.
5497 Use char because int might match the return type of a GCC
5498 builtin and then its argument prototype would still apply. */
5499#ifdef __cplusplus
5500extern "C"
5501#endif
5502char PWL_handle_timeout ();
5503int
5504main ()
5505{
5506return PWL_handle_timeout ();
5507 ;
5508 return 0;
5509}
5510_ACEOF
5511if ac_fn_c_try_link "$LINENO"; then :
5512 ac_cv_lib_pwl_PWL_handle_timeout=yes
5513else
5514 ac_cv_lib_pwl_PWL_handle_timeout=no
5515fi
5516rm -f core conftest.err conftest.$ac_objext \
5517 conftest$ac_exeext conftest.$ac_ext
5518LIBS=$ac_check_lib_save_LIBS
5519fi
5520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pwl_PWL_handle_timeout" >&5
5521$as_echo "$ac_cv_lib_pwl_PWL_handle_timeout" >&6; }
5522if test "x$ac_cv_lib_pwl_PWL_handle_timeout" = x""yes; then :
5523 pwllib="-lpwl"
5524fi
5525
5526 LIBS="$saved_LIBS"
5527 fi
5528
5529 ppllibs="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"
5530
5531 if test "$enable_ppl_version_check" != no; then
5532 saved_CFLAGS="$CFLAGS"
5533 CFLAGS="$CFLAGS $pplinc $gmpinc"
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.11 (revision 0 or later) of PPL" >&5
5535$as_echo_n "checking for version 0.11 (revision 0 or later) of PPL... " >&6; }
5536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5537/* end confdefs.h. */
5538#include "ppl_c.h"
5539int
5540main ()
5541{
5542
5543 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11
5544 choke me
5545 #endif
5546
5547 ;
5548 return 0;
5549}
5550_ACEOF
5551if ac_fn_c_try_compile "$LINENO"; then :
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5553$as_echo "yes" >&6; }
5554else
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556$as_echo "no" >&6; }; ppllibs= ; pplinc= ; with_ppl=no
5557fi
5558rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5559 CFLAGS="$saved_CFLAGS"
5560 fi
5561fi
5562
5563# Flags needed for PPL
5564
5565
5566
5567
5568# Check for CLOOG
5569
5570
5571
5572# Check whether --with-cloog was given.
5573if test "${with_cloog+set}" = set; then :
5574 withval=$with_cloog;
5575fi
5576
5577
5578# Check whether --with-cloog-include was given.
5579if test "${with_cloog_include+set}" = set; then :
5580 withval=$with_cloog_include;
5581fi
5582
5583
5584# Check whether --with-cloog-lib was given.
5585if test "${with_cloog_lib+set}" = set; then :
5586 withval=$with_cloog_lib;
5587fi
5588
5589
5590 # Check whether --enable-cloog-backend was given.
5591if test "${enable_cloog_backend+set}" = set; then :
5592 enableval=$enable_cloog_backend; if test "x${enableval}" = "xisl"; then
5593 cloog_backend=isl
5594 elif test "x${enableval}" = "xppl"; then
5595 cloog_backend=ppl
5596 else
5597 cloog_backend=ppl-legacy
5598 fi
5599else
5600 cloog_backend=ppl-legacy
5601fi
5602
5603 # Check whether --enable-cloog-version-check was given.
5604if test "${enable_cloog_version_check+set}" = set; then :
5605 enableval=$enable_cloog_version_check; ENABLE_CLOOG_CHECK=$enableval
5606else
5607 ENABLE_CLOOG_CHECK=yes
5608fi
5609
5610
5611 # Initialize clooglibs and clooginc.
5612 case $with_cloog in
5613 no)
5614 clooglibs=
5615 clooginc=
5616 ;;
5617 "" | yes)
5618 ;;
5619 *)
5620 clooglibs="-L$with_cloog/lib"
5621 clooginc="-I$with_cloog/include"
5622 ;;
5623 esac
5624 if test "x${with_cloog_include}" != x ; then
5625 clooginc="-I$with_cloog_include"
5626 fi
5627 if test "x${with_cloog_lib}" != x; then
5628 clooglibs="-L$with_cloog_lib"
5629 fi
5630
5631
5632
5633
5634
5635if test "x$with_ppl" = "xno"; then
5636
5637
5638
5639 if test "x${with_cloog}" = xno; then
5640 graphite_requested=no
5641 elif test "x${with_cloog}" != x \
5642 || test "x${with_cloog_include}" != x \
5643 || test "x${with_cloog_lib}" != x ; then
5644 graphite_requested=yes
5645 else
5646 graphite_requested=no
5647 fi
5648
5649
5650 if test "${graphite_requested}" = yes; then
5651 as_fn_error "Unable to find a usable PPL. See config.log for details." "$LINENO" 5
5652 fi
5653 with_cloog=no
5654fi
5655if test "x${with_cloog}" = x && test "x${with_cloog_include}" = x \
5656 && test "x${with_cloog_lib}" = x && test -d ${srcdir}/cloog; then
5657 clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5658 clooginc='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
5659fi
5660if test "x$with_cloog" != "xno"; then
5661
5662
5663
5664 _cloog_saved_CFLAGS=$CFLAGS
5665 _cloog_saved_CPPFLAGS=$CPPFLAGS
5666 _cloog_saved_LDFLAGS=$LDFLAGS
5667 _cloog_saved_LIBS=$LIBS
5668
5669 _cloogorginc="-DCLOOG_INT_GMP -DCLOOG_ORG"
5670
5671 CFLAGS="${CFLAGS} ${clooginc} ${gmpinc}"
5672 CPPFLAGS="${CPPFLAGS} ${_cloogorginc}"
5673 LDFLAGS="${LDFLAGS} ${clooglibs}"
5674
5675 case $cloog_backend in
5676 "ppl-legacy")
5677 CFLAGS="${CFLAGS} ${pplinc}"
5678 LDFLAGS="${LDFLAGS} ${ppllibs}"
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL Legacy" >&5
5680$as_echo_n "checking for installed CLooG PPL Legacy... " >&6; }
5681if test "${gcc_cv_cloog_type+set}" = set; then :
5682 $as_echo_n "(cached) " >&6
5683else
5684 LIBS="-lcloog ${_cloog_saved_LIBS}"
5685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5686/* end confdefs.h. */
5687#include "cloog/cloog.h"
5688int
5689main ()
5690{
5691#ifndef CLOOG_PPL_BACKEND
5692 choke me
5693 #endif
5694 ;
5695 return 0;
5696}
5697_ACEOF
5698if ac_fn_c_try_link "$LINENO"; then :
5699 gcc_cv_cloog_type="PPL Legacy"
5700else
5701 gcc_cv_cloog_type=no
5702fi
5703rm -f core conftest.err conftest.$ac_objext \
5704 conftest$ac_exeext conftest.$ac_ext
5705fi
5706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5707$as_echo "$gcc_cv_cloog_type" >&6; }
5708 ;;
5709 "isl")
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG ISL" >&5
5711$as_echo_n "checking for installed CLooG ISL... " >&6; }
5712if test "${gcc_cv_cloog_type+set}" = set; then :
5713 $as_echo_n "(cached) " >&6
5714else
5715 LIBS="-lcloog-isl ${_cloog_saved_LIBS}"
5716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5717/* end confdefs.h. */
5718#include "cloog/cloog.h"
5719int
5720main ()
5721{
5722cloog_version ()
5723 ;
5724 return 0;
5725}
5726_ACEOF
5727if ac_fn_c_try_link "$LINENO"; then :
5728 gcc_cv_cloog_type="ISL"
5729else
5730 gcc_cv_cloog_type=no
5731fi
5732rm -f core conftest.err conftest.$ac_objext \
5733 conftest$ac_exeext conftest.$ac_ext
5734fi
5735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5736$as_echo "$gcc_cv_cloog_type" >&6; }
5737 ;;
5738 "ppl")
5739 CFLAGS="${CFLAGS} ${pplinc}"
5740 LDFLAGS="${LDFLAGS} ${ppllibs}"
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL" >&5
5742$as_echo_n "checking for installed CLooG PPL... " >&6; }
5743if test "${gcc_cv_cloog_type+set}" = set; then :
5744 $as_echo_n "(cached) " >&6
5745else
5746 LIBS="-lcloog-ppl ${_cloog_saved_LIBS}"
5747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5748/* end confdefs.h. */
5749#include "cloog/cloog.h"
5750 #include "cloog/ppl/cloog.h"
5751int
5752main ()
5753{
5754cloog_version ()
5755 ;
5756 return 0;
5757}
5758_ACEOF
5759if ac_fn_c_try_link "$LINENO"; then :
5760 gcc_cv_cloog_type="PPL"
5761else
5762 gcc_cv_cloog_type=no
5763fi
5764rm -f core conftest.err conftest.$ac_objext \
5765 conftest$ac_exeext conftest.$ac_ext
5766fi
5767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5768$as_echo "$gcc_cv_cloog_type" >&6; }
5769 ;;
5770 *)
5771 gcc_cv_cloog_type=""
5772 esac
5773
5774 case $gcc_cv_cloog_type in
5775 "PPL Legacy")
5776 clooginc="${clooginc}"
5777 clooglibs="${clooglibs} -lcloog"
5778 cloog_org=no
5779 ;;
5780 "ISL")
5781 clooginc="${clooginc} ${_cloogorginc}"
5782 clooglibs="${clooglibs} -lcloog-isl -lisl"
5783 cloog_org=yes
5784 ;;
5785 "PPL")
5786 clooginc="${clooginc} ${_cloogorginc}"
5787 clooglibs="${clooglibs} -lcloog-ppl"
5788 cloog_org=yes
5789 ;;
5790 *)
5791 clooglibs=
5792 clooginc=
5793 cloog_org=
5794 ;;
5795 esac
5796
5797 LIBS=$_cloog_saved_LIBS
5798 CFLAGS=$_cloog_saved_CFLAGS
5799 CPPFLAGS=$_cloog_saved_CPPFLAGS
5800 LDFLAGS=$_cloog_saved_LDFLAGS
5801
5802
5803
5804
5805
5806 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5807 _cloog_saved_CFLAGS=$CFLAGS
5808 _cloog_saved_LDFLAGS=$LDFLAGS
5809
5810 CFLAGS="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
5811 LDFLAGS="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
5812
5813 if test "${cloog_org}" = yes ; then
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.16.1 of CLooG" >&5
5815$as_echo_n "checking for version 0.16.1 of CLooG... " >&6; }
5816if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
5817 $as_echo_n "(cached) " >&6
5818else
5819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5820/* end confdefs.h. */
5821#include "cloog/cloog.h"
5822int
5823main ()
5824{
5825#if CLOOG_VERSION_MAJOR != 0 \
5826 || CLOOG_VERSION_MINOR != 16 \
5827 || CLOOG_VERSION_REVISION < 1
5828 choke me
5829 #endif
5830 ;
5831 return 0;
5832}
5833_ACEOF
5834if ac_fn_c_try_compile "$LINENO"; then :
5835 gcc_cv_cloog_ct_0_14_0=yes
5836else
5837 gcc_cv_cloog_ct_0_14_0=no
5838fi
5839rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5840fi
5841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_14_0" >&5
5842$as_echo "$gcc_cv_cloog_ct_0_14_0" >&6; }
5843 elif test "${cloog_org}" = no ; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
5845$as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
5846if test "${gcc_cv_cloog_ct_0_15_5+set}" = set; then :
5847 $as_echo_n "(cached) " >&6
5848else
5849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5850/* end confdefs.h. */
5851#include "cloog/cloog.h"
5852int
5853main ()
5854{
5855#if CLOOG_VERSION_MAJOR != 0 \
5856 || CLOOG_VERSION_MINOR != 15 \
5857 || CLOOG_VERSION_REVISION < 5
5858 choke me
5859 #endif
5860 ;
5861 return 0;
5862}
5863_ACEOF
5864if ac_fn_c_try_compile "$LINENO"; then :
5865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5866/* end confdefs.h. */
5867#include "cloog/cloog.h"
5868int
5869main ()
5870{
5871#if CLOOG_VERSION_MAJOR != 0 \
5872 || CLOOG_VERSION_MINOR != 15 \
5873 || CLOOG_VERSION_REVISION < 9
5874 choke me
5875 #endif
5876 ;
5877 return 0;
5878}
5879_ACEOF
5880if ac_fn_c_try_compile "$LINENO"; then :
5881 gcc_cv_cloog_ct_0_15_5=yes
5882else
5883 gcc_cv_cloog_ct_0_15_5="buggy but acceptable"
5884fi
5885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5886else
5887 gcc_cv_cloog_ct_0_15_5=no
5888fi
5889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5890fi
5891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_15_5" >&5
5892$as_echo "$gcc_cv_cloog_ct_0_15_5" >&6; }
5893 fi
5894
5895 CFLAGS=$_cloog_saved_CFLAGS
5896 LDFLAGS=$_cloog_saved_LDFLAGS
5897 fi
5898
5899
5900
5901
5902
5903
5904
5905 if test "x${with_cloog}" = xno; then
5906 graphite_requested=no
5907 elif test "x${with_cloog}" != x \
5908 || test "x${with_cloog_include}" != x \
5909 || test "x${with_cloog_lib}" != x ; then
5910 graphite_requested=yes
5911 else
5912 graphite_requested=no
5913 fi
5914
5915
5916
5917 if test "${gcc_cv_cloog_ct_0_14_0}" = no \
5918 || test "${gcc_cv_cloog_rt_0_14_0}" = no \
5919 || test "${gcc_cv_cloog_ct_0_15_5}" = no; then
5920 clooglibs=
5921 clooginc=
5922 fi
5923
5924 if test "${graphite_requested}" = yes \
5925 && test "x${clooglibs}" = x \
5926 && test "x${clooginc}" = x ; then
5927
5928 as_fn_error "Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
5929 fi
5930
5931
5932fi
5933
5934# Check for LTO support.
5935# Check whether --enable-lto was given.
5936if test "${enable_lto+set}" = set; then :
5937 enableval=$enable_lto; enable_lto=$enableval
5938else
5939 enable_lto=yes; default_enable_lto=yes
5940fi
5941
5942
5943
5944
5945
5946target_elf=no
5947case $target in
5948 *-darwin* | *-aix* | *-cygwin* | *-mingw* | *-aout* | *-*coff* | \
5949 *-msdosdjgpp* | *-netware* | *-vms* | *-wince* | *-*-pe* | \
5950 alpha*-dec-osf* | *-interix* | hppa[12]*-*-hpux*)
5951 target_elf=no
5952 ;;
5953 *)
5954 target_elf=yes
5955 ;;
5956esac
5957
5958if test $target_elf = yes; then :
5959 # ELF platforms build the lto-plugin always.
5960 build_lto_plugin=yes
5961
5962else
5963 if test x"$default_enable_lto" = x"yes" ; then
5964 case $target in
5965 *-apple-darwin9 | *-cygwin* | *-mingw*) ;;
5966 # On other non-ELF platforms, LTO has yet to be validated.
5967 *) enable_lto=no ;;
5968 esac
5969 else
5970 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
5971 # It would also be nice to check the binutils support, but we don't
5972 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
5973 # warn during gcc/ subconfigure; unless you're bootstrapping with
5974 # -flto it won't be needed until after installation anyway.
5975 case $target in
5976 *-cygwin* | *-mingw* | *-apple-darwin*) ;;
5977 *) if test x"$enable_lto" = x"yes"; then
5978 as_fn_error "LTO support is not enabled for this target." "$LINENO" 5
5979 fi
5980 ;;
5981 esac
5982 fi
5983 # Among non-ELF, only Windows platforms support the lto-plugin so far.
5984 # Build it unless LTO was explicitly disabled.
5985 case $target in
5986 *-cygwin* | *-mingw*) build_lto_plugin=$enable_lto ;;
5987 *) ;;
5988 esac
5989
5990fi
5991
5992
5993
5994# By default, C is the only stage 1 language.
5995stage1_languages=,c,
5996
5997# Target libraries that we bootstrap.
5998bootstrap_target_libs=,target-libgcc,
5999
6000# Figure out what language subdirectories are present.
6001# Look if the user specified --enable-languages="..."; if not, use
6002# the environment variable $LANGUAGES if defined. $LANGUAGES might
6003# go away some day.
6004# NB: embedded tabs in this IF block -- do not untabify
6005if test -d ${srcdir}/gcc; then
6006 if test x"${enable_languages+set}" != xset; then
6007 if test x"${LANGUAGES+set}" = xset; then
6008 enable_languages="${LANGUAGES}"
6009 echo configure.in: warning: setting LANGUAGES is deprecated, use --enable-languages instead 1>&2
6010 else
6011 enable_languages=all
6012 fi
6013 else
6014 if test x"${enable_languages}" = x ||
6015 test x"${enable_languages}" = xyes;
6016 then
6017 echo configure.in: --enable-languages needs at least one language argument 1>&2
6018 exit 1
6019 fi
6020 fi
6021 enable_languages=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6022
6023 # 'f95' is the old name for the 'fortran' language. We issue a warning
6024 # and make the substitution.
6025 case ,${enable_languages}, in
6026 *,f95,*)
6027 echo configure.in: warning: 'f95' as language name is deprecated, use 'fortran' instead 1>&2
6028 enable_languages=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6029 ;;
6030 esac
6031
6032 # First scan to see if an enabled language requires some other language.
6033 # We assume that a given config-lang.in will list all the language
6034 # front ends it requires, even if some are required indirectly.
6035 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
6036 case ${lang_frag} in
6037 ..) ;;
6038 # The odd quoting in the next line works around
6039 # an apparent bug in bash 1.12 on linux.
6040 ${srcdir}/gcc/[*]/config-lang.in) ;;
6041 *)
6042 # From the config-lang.in, get $language, $lang_requires, and
6043 # $lang_requires_boot_languages.
6044 language=
6045 lang_requires=
6046 lang_requires_boot_languages=
6047 . ${lang_frag}
6048 for other in ${lang_requires} ${lang_requires_boot_languages}; do
6049 case ,${enable_languages}, in
6050 *,$other,*) ;;
6051 *,all,*) ;;
6052 *,$language,*)
6053 echo " \`$other' language required by \`$language'; enabling" 1>&2
6054 enable_languages="${enable_languages},${other}"
6055 ;;
6056 esac
6057 done
6058 for other in ${lang_requires_boot_languages} ; do
6059 if test "$other" != "c"; then
6060 case ,${enable_stage1_languages}, in
6061 *,$other,*) ;;
6062 *,all,*) ;;
6063 *)
6064 case ,${enable_languages}, in
6065 *,$language,*)
6066 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6067 enable_stage1_languages="$enable_stage1_languages,${other}"
6068 ;;
6069 esac
6070 ;;
6071 esac
6072 fi
6073 done
6074 ;;
6075 esac
6076 done
6077
6078 new_enable_languages=,c,
6079
6080 # If LTO is enabled, add the LTO front end.
6081 extra_host_libiberty_configure_flags=
6082 if test "$enable_lto" = "yes" ; then
6083 case ,${enable_languages}, in
6084 *,lto,*) ;;
6085 *) enable_languages="${enable_languages},lto" ;;
6086 esac
6087 if test "${build_lto_plugin}" = "yes" ; then
6088 configdirs="$configdirs lto-plugin"
6089 extra_host_libiberty_configure_flags=--enable-shared
6090 fi
6091 fi
6092
6093
6094 missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6095 potential_languages=,c,
6096
6097 enabled_target_libs=
6098 disabled_target_libs=
6099
6100 for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
6101 case ${lang_frag} in
6102 ..) ;;
6103 # The odd quoting in the next line works around
6104 # an apparent bug in bash 1.12 on linux.
6105 ${srcdir}/gcc/[*]/config-lang.in) ;;
6106 *)
6107 # From the config-lang.in, get $language, $target_libs,
6108 # $lang_dirs, $boot_language, and $build_by_default
6109 language=
6110 target_libs=
6111 lang_dirs=
6112 subdir_requires=
6113 boot_language=no
6114 build_by_default=yes
6115 . ${lang_frag}
6116 if test x${language} = x; then
6117 echo "${lang_frag} doesn't set \$language." 1>&2
6118 exit 1
6119 fi
6120
6121 if test "$language" = "c++" \
6122 && test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
6123 boot_language=yes
6124 fi
6125
6126 case ,${enable_languages}, in
6127 *,${language},*)
6128 # Language was explicitly selected; include it.
6129 add_this_lang=yes
6130 ;;
6131 *,all,*)
6132 # 'all' was selected, select it if it is a default language
6133 add_this_lang=${build_by_default}
6134 ;;
6135 *)
6136 add_this_lang=no
6137 ;;
6138 esac
6139
6140 # Disable languages that need other directories if these aren't available.
6141 for i in $subdir_requires; do
6142 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6143 case ,${enable_languages}, in
6144 *,${language},*)
6145 # Specifically requested language; tell them.
6146 as_fn_error "The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6147 ;;
6148 *)
6149 # Silently disable.
6150 add_this_lang=unsupported
6151 ;;
6152 esac
6153 done
6154
6155 # Disable Ada if no preexisting GNAT is available.
6156 case ,${enable_languages},:${language}:${have_gnat} in
6157 *,${language},*:ada:no)
6158 # Specifically requested language; tell them.
6159 as_fn_error "GNAT is required to build $language" "$LINENO" 5
6160 ;;
6161 *:ada:no)
6162 # Silently disable.
6163 add_this_lang=unsupported
6164 ;;
6165 esac
6166
6167 # Disable a language that is unsupported by the target.
6168 case " $unsupported_languages " in
6169 *" $language "*)
6170 add_this_lang=unsupported
6171 ;;
6172 esac
6173
6174 case $add_this_lang in
6175 unsupported)
6176 # Remove language-dependent dirs.
6177 disabled_target_libs="$disabled_target_libs $target_libs"
6178 noconfigdirs="$noconfigdirs $lang_dirs"
6179 ;;
6180 no)
6181 # Remove language-dependent dirs; still show language as supported.
6182 disabled_target_libs="$disabled_target_libs $target_libs"
6183 noconfigdirs="$noconfigdirs $lang_dirs"
6184 potential_languages="${potential_languages}${language},"
6185 ;;
6186 yes)
6187 new_enable_languages="${new_enable_languages}${language},"
6188 potential_languages="${potential_languages}${language},"
6189 missing_languages=`echo "$missing_languages" | sed "s/,$language,/,/"`
6190 enabled_target_libs="$enabled_target_libs $target_libs"
6191 case "${boot_language}:,$enable_stage1_languages," in
6192 yes:* | *:*,$language,* | *:*,yes, | *:*,all,)
6193 # Add to (comma-separated) list of stage 1 languages.
6194 case ",$stage1_languages," in
6195 *,$language,* | ,yes, | ,all,) ;;
6196 *) stage1_languages="${stage1_languages}${language}," ;;
6197 esac
6198 # We need to bootstrap any supporting libraries.
6199 bootstrap_target_libs="${bootstrap_target_libs}${target_libs},"
6200 ;;
6201 esac
6202 ;;
6203 esac
6204 ;;
6205 esac
6206 done
6207
6208 # Add target libraries which are only needed for disabled languages
6209 # to noconfigdirs.
6210 if test -n "$disabled_target_libs"; then
6211 for dir in $disabled_target_libs; do
6212 case " $enabled_target_libs " in
6213 *" ${dir} "*) ;;
6214 *) noconfigdirs="$noconfigdirs $dir" ;;
6215 esac
6216 done
6217 fi
6218
6219 # Check whether --enable-stage1-languages was given.
6220if test "${enable_stage1_languages+set}" = set; then :
6221 enableval=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6222 ,no,|,,)
6223 # Set it to something that will have no effect in the loop below
6224 enable_stage1_languages=c ;;
6225 ,yes,)
6226 enable_stage1_languages=`echo $new_enable_languages | \
6227 sed -e "s/^,//" -e "s/,$//" ` ;;
6228 *,all,*)
6229 enable_stage1_languages=`echo ,$enable_stage1_languages, | \
6230 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6231 esac
6232
6233 # Add "good" languages from enable_stage1_languages to stage1_languages,
6234 # while "bad" languages go in missing_languages. Leave no duplicates.
6235 for i in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6236 case $potential_languages in
6237 *,$i,*)
6238 case $stage1_languages in
6239 *,$i,*) ;;
6240 *) stage1_languages="$stage1_languages$i," ;;
6241 esac ;;
6242 *)
6243 case $missing_languages in
6244 *,$i,*) ;;
6245 *) missing_languages="$missing_languages$i," ;;
6246 esac ;;
6247 esac
6248 done
6249fi
6250
6251
6252 # Remove leading/trailing commas that were added for simplicity
6253 potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6254 missing_languages=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6255 stage1_languages=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6256 new_enable_languages=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6257
6258 if test "x$missing_languages" != x; then
6259 as_fn_error "
6260The following requested languages could not be built: ${missing_languages}
6261Supported languages are: ${potential_languages}" "$LINENO" 5
6262 fi
6263 if test "x$new_enable_languages" != "x$enable_languages"; then
6264 echo The following languages will be built: ${new_enable_languages}
6265 enable_languages="$new_enable_languages"
6266 fi
6267
6268
6269 ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6270fi
6271
6272# Handle --disable-<component> generically.
6273for dir in $configdirs $build_configdirs $target_configdirs ; do
6274 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6275 varname=`echo $dirname | sed -e s/+/_/g`
6276 if eval test x\${enable_${varname}} "=" xno ; then
6277 noconfigdirs="$noconfigdirs $dir"
6278 fi
6279done
6280
6281# Check for Boehm's garbage collector
6282# Check whether --enable-objc-gc was given.
6283if test "${enable_objc_gc+set}" = set; then :
6284 enableval=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6285 *,objc,*:*:yes:*target-boehm-gc*)
6286 as_fn_error "Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6287 ;;
6288esac
6289fi
6290
6291
6292# Make sure we only build Boehm's garbage collector if required.
6293case ,${enable_languages},:${enable_objc_gc} in
6294 *,objc,*:yes)
6295 # Keep target-boehm-gc if requested for Objective-C.
6296 ;;
6297 *)
6298 # Otherwise remove target-boehm-gc depending on target-libjava.
6299 if echo " ${noconfigdirs} " | grep "target-libjava" >/dev/null 2>&1; then
6300 noconfigdirs="$noconfigdirs target-boehm-gc"
6301 fi
6302 ;;
6303esac
6304
6305# Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6306# $build_configdirs and $target_configdirs.
6307# If we have the source for $noconfigdirs entries, add them to $notsupp.
6308
6309notsupp=""
6310for dir in . $skipdirs $noconfigdirs ; do
6311 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6312 if test $dir != . && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6313 configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6314 if test -r $srcdir/$dirname/configure ; then
6315 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6316 true
6317 else
6318 notsupp="$notsupp $dir"
6319 fi
6320 fi
6321 fi
6322 if test $dir != . && echo " ${build_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6323 build_configdirs=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6324 if test -r $srcdir/$dirname/configure ; then
6325 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6326 true
6327 else
6328 notsupp="$notsupp $dir"
6329 fi
6330 fi
6331 fi
6332 if test $dir != . && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6333 target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6334 if test -r $srcdir/$dirname/configure ; then
6335 if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6336 true
6337 else
6338 notsupp="$notsupp $dir"
6339 fi
6340 fi
6341 fi
6342done
6343
6344# Sometimes the tools are distributed with libiberty but with no other
6345# libraries. In that case, we don't want to build target-libiberty.
6346# Don't let libgcc imply libiberty either.
6347if test -n "${target_configdirs}" ; then
6348 libgcc=
6349 others=
6350 for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do
6351 if test "$i" = "libgcc"; then
6352 libgcc=target-libgcc
6353 elif test "$i" != "libiberty" ; then
6354 if test -r $srcdir/$i/configure ; then
6355 others=yes;
6356 break;
6357 fi
6358 fi
6359 done
6360 if test -z "${others}" ; then
6361 target_configdirs=$libgcc
6362 fi
6363fi
6364
6365# Quietly strip out all directories which aren't configurable in this tree.
6366# This relies on all configurable subdirectories being autoconfiscated, which
6367# is now the case.
6368build_configdirs_all="$build_configdirs"
6369build_configdirs=
6370for i in ${build_configdirs_all} ; do
6371 j=`echo $i | sed -e s/build-//g`
6372 if test -f ${srcdir}/$j/configure ; then
6373 build_configdirs="${build_configdirs} $i"
6374 fi
6375done
6376
6377configdirs_all="$configdirs"
6378configdirs=
6379for i in ${configdirs_all} ; do
6380 if test -f ${srcdir}/$i/configure ; then
6381 configdirs="${configdirs} $i"
6382 fi
6383done
6384
6385target_configdirs_all="$target_configdirs"
6386target_configdirs=
6387for i in ${target_configdirs_all} ; do
6388 j=`echo $i | sed -e s/target-//g`
6389 if test -f ${srcdir}/$j/configure ; then
6390 target_configdirs="${target_configdirs} $i"
6391 fi
6392done
6393
6394# Produce a warning message for the subdirs we can't configure.
6395# This isn't especially interesting in the Cygnus tree, but in the individual
6396# FSF releases, it's important to let people know when their machine isn't
6397# supported by the one or two programs in a package.
6398
6399if test -n "${notsupp}" && test -z "${norecursion}" ; then
6400 # If $appdirs is non-empty, at least one of those directories must still
6401 # be configured, or we error out. (E.g., if the gas release supports a
6402 # specified target in some subdirs but not the gas subdir, we shouldn't
6403 # pretend that all is well.)
6404 if test -n "$appdirs" ; then
6405 for dir in $appdirs ; do
6406 if test -r $dir/Makefile.in ; then
6407 if echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
6408 appdirs=""
6409 break
6410 fi
6411 if echo " ${target_configdirs} " | grep " target-${dir} " >/dev/null 2>&1; then
6412 appdirs=""
6413 break
6414 fi
6415 fi
6416 done
6417 if test -n "$appdirs" ; then
6418 echo "*** This configuration is not supported by this package." 1>&2
6419 exit 1
6420 fi
6421 fi
6422 # Okay, some application will build, or we don't care to check. Still
6423 # notify of subdirs not getting built.
6424 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6425 echo " ${notsupp}" 1>&2
6426 echo " (Any other directories should still work fine.)" 1>&2
6427fi
6428
6429case "$host" in
6430 *msdosdjgpp*)
6431 enable_gdbtk=no ;;
6432esac
6433
6434# To find our prefix, in gcc_cv_tool_prefix.
6435
6436# The user is always right.
6437if test "${PATH_SEPARATOR+set}" != set; then
6438 echo "#! /bin/sh" >conf$$.sh
6439 echo "exit 0" >>conf$$.sh
6440 chmod +x conf$$.sh
6441 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6442 PATH_SEPARATOR=';'
6443 else
6444 PATH_SEPARATOR=:
6445 fi
6446 rm -f conf$$.sh
6447fi
6448
6449
6450
6451if test "x$exec_prefix" = xNONE; then
6452 if test "x$prefix" = xNONE; then
6453 gcc_cv_tool_prefix=$ac_default_prefix
6454 else
6455 gcc_cv_tool_prefix=$prefix
6456 fi
6457else
6458 gcc_cv_tool_prefix=$exec_prefix
6459fi
6460
6461# If there is no compiler in the tree, use the PATH only. In any
6462# case, if there is no compiler in the tree nobody should use
6463# AS_FOR_TARGET and LD_FOR_TARGET.
6464if test x$host = x$build && test -f $srcdir/gcc/BASE-VER; then
6465 gcc_version=`cat $srcdir/gcc/BASE-VER`
6466 gcc_cv_tool_dirs="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6467 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6468 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6469 gcc_cv_tool_dirs="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6470 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6471 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6472else
6473 gcc_cv_tool_dirs=
6474fi
6475
6476if test x$build = x$target && test -n "$md_exec_prefix"; then
6477 gcc_cv_tool_dirs="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6478fi
6479
6480
6481
6482copy_dirs=
6483
6484
6485# Check whether --with-build-sysroot was given.
6486if test "${with_build_sysroot+set}" = set; then :
6487 withval=$with_build_sysroot; if test x"$withval" != x ; then
6488 SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
6489 fi
6490else
6491 SYSROOT_CFLAGS_FOR_TARGET=
6492fi
6493
6494
6495
6496
6497# Check whether --with-debug-prefix-map was given.
6498if test "${with_debug_prefix_map+set}" = set; then :
6499 withval=$with_debug_prefix_map; if test x"$withval" != x; then
6500 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
6501 for debug_map in $withval; do
6502 DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6503 done
6504 fi
6505else
6506 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
6507fi
6508
6509
6510
6511# During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6512# might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6513# might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6514# We want to ensure that TARGET libraries (which we know are built with
6515# gcc) are built with "-O2 -g", so include those options when setting
6516# CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6517if test "x$CFLAGS_FOR_TARGET" = x; then
6518 CFLAGS_FOR_TARGET=$CFLAGS
6519 case " $CFLAGS " in
6520 *" -O2 "*) ;;
6521 *) CFLAGS_FOR_TARGET="-O2 $CFLAGS" ;;
6522 esac
6523 case " $CFLAGS " in
6524 *" -g "* | *" -g3 "*) ;;
6525 *) CFLAGS_FOR_TARGET="-g $CFLAGS" ;;
6526 esac
6527fi
6528
6529
6530if test "x$CXXFLAGS_FOR_TARGET" = x; then
6531 CXXFLAGS_FOR_TARGET=$CXXFLAGS
6532 case " $CXXFLAGS " in
6533 *" -O2 "*) ;;
6534 *) CXXFLAGS_FOR_TARGET="-O2 $CXXFLAGS" ;;
6535 esac
6536 case " $CXXFLAGS " in
6537 *" -g "* | *" -g3 "*) ;;
6538 *) CXXFLAGS_FOR_TARGET="-g $CXXFLAGS" ;;
6539 esac
6540fi
6541
6542
6543# Handle --with-headers=XXX. If the value is not "yes", the contents of
6544# the named directory are copied to $(tooldir)/sys-include.
6545if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
6546 if test x${is_cross_compiler} = xno ; then
6547 echo 1>&2 '***' --with-headers is only supported when cross compiling
6548 exit 1
6549 fi
6550 if test x"${with_headers}" != xyes ; then
6551 x=${gcc_cv_tool_prefix}
6552 copy_dirs="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6553 fi
6554fi
6555
6556# Handle --with-libs=XXX. If the value is not "yes", the contents of
6557# the name directories are copied to $(tooldir)/lib. Multiple directories
6558# are permitted.
6559if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
6560 if test x${is_cross_compiler} = xno ; then
6561 echo 1>&2 '***' --with-libs is only supported when cross compiling
6562 exit 1
6563 fi
6564 if test x"${with_libs}" != xyes ; then
6565 # Copy the libraries in reverse order, so that files in the first named
6566 # library override files in subsequent libraries.
6567 x=${gcc_cv_tool_prefix}
6568 for l in ${with_libs}; do
6569 copy_dirs="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6570 done
6571 fi
6572fi
6573
6574# Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6575#
6576# This is done by determining whether or not the appropriate directory
6577# is available, and by checking whether or not specific configurations
6578# have requested that this magic not happen.
6579#
6580# The command line options always override the explicit settings in
6581# configure.in, and the settings in configure.in override this magic.
6582#
6583# If the default for a toolchain is to use GNU as and ld, and you don't
6584# want to do that, then you should use the --without-gnu-as and
6585# --without-gnu-ld options for the configure script. Similarly, if
6586# the default is to use the included zlib and you don't want to do that,
6587# you should use the --with-system-zlib option for the configure script.
6588
6589if test x${use_gnu_as} = x &&
6590 echo " ${configdirs} " | grep " gas " > /dev/null 2>&1 ; then
6591 with_gnu_as=yes
6592 extra_host_args="$extra_host_args --with-gnu-as"
6593fi
6594
6595if test x${use_gnu_ld} = x &&
6596 echo " ${configdirs} " | egrep " (go)?ld " > /dev/null 2>&1 ; then
6597 with_gnu_ld=yes
6598 extra_host_args="$extra_host_args --with-gnu-ld"
6599fi
6600
6601if test x${use_included_zlib} = x &&
6602 echo " ${configdirs} " | grep " zlib " > /dev/null 2>&1 ; then
6603 :
6604else
6605 with_system_zlib=yes
6606 extra_host_args="$extra_host_args --with-system-zlib"
6607fi
6608
6609# If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6610# can detect this case.
6611
6612if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 ; then
6613 with_newlib=yes
6614 extra_host_args="$extra_host_args --with-newlib"
6615fi
6616
6617# Handle ${copy_dirs}
6618set fnord ${copy_dirs}
6619shift
6620while test $# != 0 ; do
6621 if test -f $2/COPIED && test x"`cat $2/COPIED`" = x"$1" ; then
6622 :
6623 else
6624 echo Copying $1 to $2
6625
6626 # Use the install script to create the directory and all required
6627 # parent directories.
6628 if test -d $2 ; then
6629 :
6630 else
6631 echo >config.temp
6632 ${srcdir}/install-sh -c -m 644 config.temp $2/COPIED
6633 fi
6634
6635 # Copy the directory, assuming we have tar.
6636 # FIXME: Should we use B in the second tar? Not all systems support it.
6637 (cd $1; tar -cf - .) | (cd $2; tar -xpf -)
6638
6639 # It is the responsibility of the user to correctly adjust all
6640 # symlinks. If somebody can figure out how to handle them correctly
6641 # here, feel free to add the code.
6642
6643 echo $1 > $2/COPIED
6644 fi
6645 shift; shift
6646done
6647
6648# Determine a target-dependent exec_prefix that the installed
6649# gcc will search in. Keep this list sorted by triplet, with
6650# the *-*-osname triplets last.
6651md_exec_prefix=
6652case "${target}" in
6653 i[34567]86-pc-msdosdjgpp*)
6654 md_exec_prefix=/dev/env/DJDIR/bin
6655 ;;
6656 *-*-hpux* | \
6657 *-*-nto-qnx* | \
6658 *-*-solaris2*)
6659 md_exec_prefix=/usr/ccs/bin
6660 ;;
6661esac
6662
6663extra_arflags_for_target=
6664extra_nmflags_for_target=
6665extra_ranlibflags_for_target=
6666target_makefile_frag=/dev/null
6667case "${target}" in
6668 spu-*-*)
6669 target_makefile_frag="config/mt-spu"
6670 ;;
6671 mips*-sde-elf*)
6672 target_makefile_frag="config/mt-sde"
6673 ;;
6674 mipsisa*-*-elfoabi*)
6675 target_makefile_frag="config/mt-mips-elfoabi"
6676 ;;
6677 mips*-*-*linux* | mips*-*-gnu*)
6678 target_makefile_frag="config/mt-mips-gnu"
6679 ;;
6680 *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
6681 target_makefile_frag="config/mt-gnu"
6682 ;;
6683 *-*-aix4.[3456789]* | *-*-aix[56789].*)
6684 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6685 # commands to handle both 32-bit and 64-bit objects. These flags are
6686 # harmless if we're using GNU nm or ar.
6687 extra_arflags_for_target=" -X32_64"
6688 extra_nmflags_for_target=" -B -X32_64"
6689 ;;
6690 *-*-darwin[3-9]*)
6691 # ranlib before Darwin10 requires the -c flag to look at common symbols.
6692 extra_ranlibflags_for_target=" -c"
6693 ;;
6694esac
6695
6696alphaieee_frag=/dev/null
6697case $target in
6698 alpha*-*-*)
6699 # This just makes sure to use the -mieee option to build target libs.
6700 # This should probably be set individually by each library.
6701 alphaieee_frag="config/mt-alphaieee"
6702 ;;
6703esac
6704
6705# If --enable-target-optspace always use -Os instead of -O2 to build
6706# the target libraries, similarly if it is not specified, use -Os
6707# on selected platforms.
6708ospace_frag=/dev/null
6709case "${enable_target_optspace}:${target}" in
6710 yes:*)
6711 ospace_frag="config/mt-ospace"
6712 ;;
6713 :d30v-*)
6714 ospace_frag="config/mt-d30v"
6715 ;;
6716 :m32r-* | :d10v-* | :fr30-*)
6717 ospace_frag="config/mt-ospace"
6718 ;;
6719 no:* | :*)
6720 ;;
6721 *)
6722 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6723 ;;
6724esac
6725
6726# Default to using --with-stabs for certain targets.
6727if test x${with_stabs} = x ; then
6728 case "${target}" in
6729 mips*-*-irix[56]*)
6730 ;;
6731 mips*-*-* | alpha*-*-osf*)
6732 with_stabs=yes;
6733 extra_host_args="${extra_host_args} --with-stabs"
6734 ;;
6735 esac
6736fi
6737
6738# hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6739# them automatically.
6740case "${host}" in
6741 hppa*64*-*-hpux11*)
6742 extra_host_args="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6743 ;;
6744esac
6745
6746# Some systems (e.g., one of the i386-aix systems the gas testers are
6747# using) don't handle "\$" correctly, so don't use it here.
6748tooldir='${exec_prefix}'/${target_noncanonical}
6749build_tooldir=${tooldir}
6750
6751# Create a .gdbinit file which runs the one in srcdir
6752# and tells GDB to look there for source files.
6753
6754if test -r ${srcdir}/.gdbinit ; then
6755 case ${srcdir} in
6756 .) ;;
6757 *) cat > ./.gdbinit <<EOF
6758# ${NO_EDIT}
6759dir ${srcdir}
6760dir .
6761source ${srcdir}/.gdbinit
6762EOF
6763 ;;
6764 esac
6765fi
6766
6767# Make sure that the compiler is able to generate an executable. If it
6768# can't, we are probably in trouble. We don't care whether we can run the
6769# executable--we might be using a cross compiler--we only care whether it
6770# can be created. At this point the main configure script has set CC.
6771we_are_ok=no
6772echo "int main () { return 0; }" > conftest.c
6773${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6774if test $? = 0 ; then
6775 if test -s conftest || test -s conftest.exe ; then
6776 we_are_ok=yes
6777 fi
6778fi
6779case $we_are_ok in
6780 no)
6781 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6782 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6783 rm -f conftest*
6784 exit 1
6785 ;;
6786esac
6787rm -f conftest*
6788
6789# The Solaris /usr/ucb/cc compiler does not appear to work.
6790case "${host}" in
6791 sparc-sun-solaris2*)
6792 CCBASE="`echo ${CC-cc} | sed 's/ .*$//'`"
6793 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6794 could_use=
6795 test -d /opt/SUNWspro/bin && could_use="/opt/SUNWspro/bin"
6796 if test -d /opt/cygnus/bin ; then
6797 if test "$could_use" = "" ; then
6798 could_use="/opt/cygnus/bin"
6799 else
6800 could_use="$could_use or /opt/cygnus/bin"
6801 fi
6802 fi
6803 if test "$could_use" = "" ; then
6804 echo "Warning: compilation may fail because you're using"
6805 echo "/usr/ucb/cc. You should change your PATH or CC "
6806 echo "variable and rerun configure."
6807 else
6808 echo "Warning: compilation may fail because you're using"
6809 echo "/usr/ucb/cc, when you should use the C compiler from"
6810 echo "$could_use. You should change your"
6811 echo "PATH or CC variable and rerun configure."
6812 fi
6813 fi
6814 ;;
6815esac
6816
6817# Decide which environment variable is used to find dynamic libraries.
6818case "${host}" in
6819 *-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
6820 *-*-darwin*) RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
6821 *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
6822 *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
6823esac
6824
6825# On systems where the dynamic library environment variable is PATH,
6826# gcc/ will put dynamic libraries into a subdirectory to avoid adding
6827# built executables to PATH.
6828if test "$RPATH_ENVVAR" = PATH; then
6829 GCC_SHLIB_SUBDIR=/shlib
6830else
6831 GCC_SHLIB_SUBDIR=
6832fi
6833
6834# Record target_configdirs and the configure arguments for target and
6835# build configuration in Makefile.
6836target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6837build_configdirs=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6838
6839# If we are building libgomp, bootstrap it.
6840if echo " ${target_configdirs} " | grep " libgomp " > /dev/null 2>&1 ; then
6841 bootstrap_target_libs=${bootstrap_target_libs}target-libgomp,
6842fi
6843
6844# Determine whether gdb needs tk/tcl or not.
6845# Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6846# and in that case we want gdb to be built without tk. Ugh!
6847# In fact I believe gdb is the *only* package directly dependent on tk,
6848# so we should be able to put the 'maybe's in unconditionally and
6849# leave out the maybe dependencies when enable_gdbtk is false. I'm not
6850# 100% sure that that's safe though.
6851
6852gdb_tk="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6853case "$enable_gdbtk" in
6854 no)
6855 GDB_TK="" ;;
6856 yes)
6857 GDB_TK="${gdb_tk}" ;;
6858 *)
6859 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6860 # distro. Eventually someone will fix this and move Insight, nee
6861 # gdbtk to a separate directory.
6862 if test -d ${srcdir}/gdb/gdbtk ; then
6863 GDB_TK="${gdb_tk}"
6864 else
6865 GDB_TK=""
6866 fi
6867 ;;
6868esac
6869CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6870INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6871
6872# Strip out unwanted targets.
6873
6874# While at that, we remove Makefiles if we were started for recursive
6875# configuration, so that the top-level Makefile reconfigures them,
6876# like we used to do when configure itself was recursive.
6877
6878# Loop over modules. We used to use the "$extrasub" feature from Autoconf
6879# but now we're fixing up the Makefile ourselves with the additional
6880# commands passed to AC_CONFIG_FILES. Use separate variables
6881# extrasub-{build,host,target} not because there is any reason to split
6882# the substitutions up that way, but only to remain below the limit of
6883# 99 commands in a script, for HP-UX sed.
6884# Do not nest @if/@endif pairs, because configure will not warn you at all.
6885
6886# Check whether --enable-bootstrap was given.
6887if test "${enable_bootstrap+set}" = set; then :
6888 enableval=$enable_bootstrap;
6889else
6890 enable_bootstrap=default
6891fi
6892
6893
6894# Issue errors and warnings for invalid/strange bootstrap combinations.
6895case "$configdirs" in
6896 *gcc*) have_compiler=yes ;;
6897 *) have_compiler=no ;;
6898esac
6899
6900case "$have_compiler:$host:$target:$enable_bootstrap" in
6901 *:*:*:no) ;;
6902
6903 # Default behavior. Enable bootstrap if we have a compiler
6904 # and we are in a native configuration.
6905 yes:$build:$build:default)
6906 enable_bootstrap=yes ;;
6907
6908 *:*:*:default)
6909 enable_bootstrap=no ;;
6910
6911 # We have a compiler and we are in a native configuration, bootstrap is ok
6912 yes:$build:$build:yes)
6913 ;;
6914
6915 # Other configurations, but we have a compiler. Assume the user knows
6916 # what he's doing.
6917 yes:*:*:yes)
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
6919$as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
6920 ;;
6921
6922 # No compiler: if they passed --enable-bootstrap explicitly, fail
6923 no:*:*:yes)
6924 as_fn_error "cannot bootstrap without a compiler" "$LINENO" 5 ;;
6925
6926 # Fail if wrong command line
6927 *)
6928 as_fn_error "invalid option for --enable-bootstrap" "$LINENO" 5
6929 ;;
6930esac
6931
6932case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
6933 *,c++,*:yes:yes) ;;
6934 *:yes:yes)
6935 as_fn_error "bootstrapping with --enable-build-with-cxx requires c++ in --enable-languages" "$LINENO" 5
6936 ;;
6937esac
6938
6939case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
6940 yes:yes:*\ gold\ *:*,c++,*) ;;
6941 yes:yes:*\ gold\ *:*)
6942 as_fn_error "in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
6943 ;;
6944esac
6945
6946# Adjust the toplevel makefile according to whether bootstrap was selected.
6947case $enable_bootstrap in
6948 yes)
6949 bootstrap_suffix=bootstrap
6950 BUILD_CONFIG=bootstrap-debug
6951 ;;
6952 no)
6953 bootstrap_suffix=no-bootstrap
6954 BUILD_CONFIG=
6955 ;;
6956esac
6957
6958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6959$as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6960
6961
6962# Check whether --with-build-config was given.
6963if test "${with_build_config+set}" = set; then :
6964 withval=$with_build_config; case $with_build_config in
6965 yes) with_build_config= ;;
6966 no) with_build_config= BUILD_CONFIG= ;;
6967 esac
6968fi
6969
6970
6971if test "x${with_build_config}" != x; then
6972 BUILD_CONFIG=$with_build_config
6973else
6974 case $BUILD_CONFIG in
6975 bootstrap-debug)
6976 if echo "int f (void) { return 0; }" > conftest.c &&
6977 ${CC} -c conftest.c &&
6978 mv conftest.o conftest.o.g0 &&
6979 ${CC} -c -g conftest.c &&
6980 mv conftest.o conftest.o.g &&
6981 ${srcdir}/contrib/compare-debug conftest.o.g0 conftest.o.g > /dev/null 2>&1; then
6982 :
6983 else
6984 BUILD_CONFIG=
6985 fi
6986 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6987 ;;
6988 esac
6989fi
6990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6991$as_echo "$BUILD_CONFIG" >&6; }
6992
6993
6994extrasub_build=
6995for module in ${build_configdirs} ; do
6996 if test -z "${no_recursion}" \
6997 && test -f ${build_subdir}/${module}/Makefile; then
6998 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6999 rm -f ${build_subdir}/${module}/Makefile
7000 fi
7001 extrasub_build="$extrasub_build
7002/^@if build-$module\$/d
7003/^@endif build-$module\$/d
7004/^@if build-$module-$bootstrap_suffix\$/d
7005/^@endif build-$module-$bootstrap_suffix\$/d"
7006done
7007extrasub_host=
7008for module in ${configdirs} ; do
7009 if test -z "${no_recursion}"; then
7010 for file in stage*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile; do
7011 if test -f ${file}; then
7012 echo 1>&2 "*** removing ${file} to force reconfigure"
7013 rm -f ${file}
7014 fi
7015 done
7016 fi
7017 extrasub_host="$extrasub_host
7018/^@if $module\$/d
7019/^@endif $module\$/d
7020/^@if $module-$bootstrap_suffix\$/d
7021/^@endif $module-$bootstrap_suffix\$/d"
7022done
7023extrasub_target=
7024for module in ${target_configdirs} ; do
7025 if test -z "${no_recursion}" \
7026 && test -f ${target_subdir}/${module}/Makefile; then
7027 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7028 rm -f ${target_subdir}/${module}/Makefile
7029 fi
7030
7031 # We only bootstrap target libraries listed in bootstrap_target_libs.
7032 case $bootstrap_target_libs in
7033 *,target-$module,*) target_bootstrap_suffix=$bootstrap_suffix ;;
7034 *) target_bootstrap_suffix=no-bootstrap ;;
7035 esac
7036
7037 extrasub_target="$extrasub_target
7038/^@if target-$module\$/d
7039/^@endif target-$module\$/d
7040/^@if target-$module-$target_bootstrap_suffix\$/d
7041/^@endif target-$module-$target_bootstrap_suffix\$/d"
7042done
7043
7044# Do the final fixup along with target modules.
7045extrasub_target="$extrasub_target
7046/^@if /,/^@endif /d"
7047
7048# Create the serialization dependencies. This uses a temporary file.
7049
7050# Check whether --enable-serial-configure was given.
7051if test "${enable_serial_configure+set}" = set; then :
7052 enableval=$enable_serial_configure;
7053fi
7054
7055
7056case ${enable_serial_configure} in
7057 yes)
7058 enable_serial_build_configure=yes
7059 enable_serial_host_configure=yes
7060 enable_serial_target_configure=yes
7061 ;;
7062esac
7063
7064# These force 'configure's to be done one at a time, to avoid problems
7065# with contention over a shared config.cache.
7066rm -f serdep.tmp
7067echo '# serdep.tmp' > serdep.tmp
7068olditem=
7069test "x${enable_serial_build_configure}" = xyes &&
7070for item in ${build_configdirs} ; do
7071 case ${olditem} in
7072 "") ;;
7073 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp ;;
7074 esac
7075 olditem=${item}
7076done
7077olditem=
7078test "x${enable_serial_host_configure}" = xyes &&
7079for item in ${configdirs} ; do
7080 case ${olditem} in
7081 "") ;;
7082 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp ;;
7083 esac
7084 olditem=${item}
7085done
7086olditem=
7087test "x${enable_serial_target_configure}" = xyes &&
7088for item in ${target_configdirs} ; do
7089 case ${olditem} in
7090 "") ;;
7091 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp ;;
7092 esac
7093 olditem=${item}
7094done
7095serialization_dependencies=serdep.tmp
7096
7097
7098# Base args. Strip norecursion, cache-file, srcdir, host, build,
7099# target, nonopt, and variable assignments. These are the ones we
7100# might not want to pass down to subconfigures. The exception being
7101# --cache-file=/dev/null, which is used to turn off the use of cache
7102# files altogether, and which should be passed on to subconfigures.
7103# Also strip program-prefix, program-suffix, and program-transform-name,
7104# so that we can pass down a consistent program-transform-name.
7105baseargs=
7106tbaseargs=
7107keep_next=no
7108skip_next=no
7109eval "set -- $ac_configure_args"
7110for ac_arg
7111do
7112 if test X"$skip_next" = X"yes"; then
7113 skip_next=no
7114 continue
7115 fi
7116 if test X"$keep_next" = X"yes"; then
7117 case $ac_arg in
7118 *\'*)
7119 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7120 esac
7121 baseargs="$baseargs '$ac_arg'"
7122 tbaseargs="$tbaseargs '$ac_arg'"
7123 keep_next=no
7124 continue
7125 fi
7126
7127 # Handle separated arguments. Based on the logic generated by
7128 # autoconf 2.59.
7129 case $ac_arg in
7130 *=* | --config-cache | -C | -disable-* | --disable-* \
7131 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
7132 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
7133 | -with-* | --with-* | -without-* | --without-* | --x)
7134 separate_arg=no
7135 ;;
7136 -*)
7137 separate_arg=yes
7138 ;;
7139 *)
7140 separate_arg=no
7141 ;;
7142 esac
7143
7144 skip_targ=no
7145 case $ac_arg in
7146
7147 --with-* | --without-*)
7148 libopt=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7149
7150 case $libopt in
7151 *[-_]include)
7152 lib=`echo "$libopt" | sed 's,[-_]include$,,'`
7153 ;;
7154 *[-_]lib)
7155 lib=`echo "$libopt" | sed 's,[-_]lib$,,'`
7156 ;;
7157 *)
7158 lib=$libopt
7159 ;;
7160 esac
7161
7162
7163 case $lib in
7164 mpc | mpfr | gmp | ppl | cloog)
7165 # If we're processing --with-$lib, --with-$lib-include or
7166 # --with-$lib-lib, for one of the libs above, and target is
7167 # different from host, don't pass the current argument to any
7168 # target library's configure.
7169 if test x$is_cross_compiler = xyes; then
7170 skip_targ=yes
7171 fi
7172 ;;
7173 esac
7174 ;;
7175 esac
7176
7177 case "$ac_arg" in
7178 --cache-file=/dev/null | \
7179 -cache-file=/dev/null )
7180 # Handled here to avoid the test to skip args below.
7181 baseargs="$baseargs '$ac_arg'"
7182 tbaseargs="$tbaseargs '$ac_arg'"
7183 # Assert: $separate_arg should always be no.
7184 keep_next=$separate_arg
7185 ;;
7186 --no*)
7187 continue
7188 ;;
7189 --c* | \
7190 --sr* | \
7191 --ho* | \
7192 --bu* | \
7193 --t* | \
7194 --program-* | \
7195 -cache_file* | \
7196 -srcdir* | \
7197 -host* | \
7198 -build* | \
7199 -target* | \
7200 -program-prefix* | \
7201 -program-suffix* | \
7202 -program-transform-name* )
7203 skip_next=$separate_arg
7204 continue
7205 ;;
7206 -*)
7207 # An option. Add it.
7208 case $ac_arg in
7209 *\'*)
7210 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7211 esac
7212 baseargs="$baseargs '$ac_arg'"
7213 if test X"$skip_targ" = Xno; then
7214 tbaseargs="$tbaseargs '$ac_arg'"
7215 fi
7216 keep_next=$separate_arg
7217 ;;
7218 *)
7219 # Either a variable assignment, or a nonopt (triplet). Don't
7220 # pass it down; let the Makefile handle this.
7221 continue
7222 ;;
7223 esac
7224done
7225# Remove the initial space we just introduced and, as these will be
7226# expanded by make, quote '$'.
7227baseargs=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7228
7229# Add in --program-transform-name, after --program-prefix and
7230# --program-suffix have been applied to it. Autoconf has already
7231# doubled dollar signs and backslashes in program_transform_name; we want
7232# the backslashes un-doubled, and then the entire thing wrapped in single
7233# quotes, because this will be expanded first by make and then by the shell.
7234# Also, because we want to override the logic in subdir configure scripts to
7235# choose program_transform_name, replace any s,x,x, with s,y,y,.
7236sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7237${program_transform_name}
7238EOF_SED
7239gcc_transform_name=`cat conftestsed.out`
7240rm -f conftestsed.out
7241baseargs="$baseargs --program-transform-name='${gcc_transform_name}'"
7242tbaseargs="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7243if test "$silent" = yes; then
7244 baseargs="$baseargs --silent"
7245 tbaseargs="$tbaseargs --silent"
7246fi
7247baseargs="$baseargs --disable-option-checking"
7248tbaseargs="$tbaseargs --disable-option-checking"
7249
7250# Record and document user additions to sub configure arguments.
7251
7252
7253
7254
7255# For the build-side libraries, we just need to pretend we're native,
7256# and not use the same cache file. Multilibs are neither needed nor
7257# desired.
7258build_configargs="$build_configargs --cache-file=../config.cache ${baseargs}"
7259
7260# For host modules, accept cache file option, or specification as blank.
7261case "${cache_file}" in
7262"") # empty
7263 cache_file_option="" ;;
7264/* | [A-Za-z]:[\\/]* ) # absolute path
7265 cache_file_option="--cache-file=${cache_file}" ;;
7266*) # relative path
7267 cache_file_option="--cache-file=../${cache_file}" ;;
7268esac
7269
7270# Host dirs don't like to share a cache file either, horribly enough.
7271# This seems to be due to autoconf 2.5x stupidity.
7272host_configargs="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7273
7274target_configargs="$target_configargs ${tbaseargs}"
7275
7276# Passing a --with-cross-host argument lets the target libraries know
7277# whether they are being built with a cross-compiler or being built
7278# native. However, it would be better to use other mechanisms to make the
7279# sorts of decisions they want to make on this basis. Please consider
7280# this option to be deprecated. FIXME.
7281if test x${is_cross_compiler} = xyes ; then
7282 target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}"
7283fi
7284
7285# Default to --enable-multilib.
7286if test x${enable_multilib} = x ; then
7287 target_configargs="--enable-multilib ${target_configargs}"
7288fi
7289
7290# Pass --with-newlib if appropriate. Note that target_configdirs has
7291# changed from the earlier setting of with_newlib.
7292if test x${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib ; then
7293 target_configargs="--with-newlib ${target_configargs}"
7294fi
7295
7296# Different target subdirs use different values of certain variables
7297# (notably CXX). Worse, multilibs use *lots* of different values.
7298# Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7299# it doesn't automatically accept command-line overrides of them.
7300# This means it's not safe for target subdirs to share a cache file,
7301# which is disgusting, but there you have it. Hopefully this can be
7302# fixed in future. It's still worthwhile to use a cache file for each
7303# directory. I think.
7304
7305# Pass the appropriate --build, --host, --target and --cache-file arguments.
7306# We need to pass --target, as newer autoconf's requires consistency
7307# for target_alias and gcc doesn't manage it consistently.
7308target_configargs="--cache-file=./config.cache ${target_configargs}"
7309
7310FLAGS_FOR_TARGET=
7311case " $target_configdirs " in
7312 *" newlib "*)
7313 case " $target_configargs " in
7314 *" --with-newlib "*)
7315 case "$target" in
7316 *-cygwin*)
7317 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include'
7318 ;;
7319 esac
7320
7321 # If we're not building GCC, don't discard standard headers.
7322 if test -d ${srcdir}/gcc; then
7323 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -nostdinc'
7324
7325 if test "${build}" != "${host}"; then
7326 # On Canadian crosses, CC_FOR_TARGET will have already been set
7327 # by `configure', so we won't have an opportunity to add -Bgcc/
7328 # to it. This is right: we don't want to search that directory
7329 # for binaries, but we want the header files in there, so add
7330 # them explicitly.
7331 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7332
7333 # Someone might think of using the pre-installed headers on
7334 # Canadian crosses, in case the installed compiler is not fully
7335 # compatible with the compiler being built. In this case, it
7336 # would be better to flag an error than risking having
7337 # incompatible object files being constructed. We can't
7338 # guarantee that an error will be flagged, but let's hope the
7339 # compiler will do it, when presented with incompatible header
7340 # files.
7341 fi
7342 fi
7343
7344 case "${target}-${is_cross_compiler}" in
7345 i[3456789]86-*-linux*-no)
7346 # Here host == target, so we don't need to build gcc,
7347 # so we don't want to discard standard headers.
7348 FLAGS_FOR_TARGET=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7349 ;;
7350 *)
7351 # If we're building newlib, use its generic headers last, but search
7352 # for any libc-related directories first (so make it the last -B
7353 # switch).
7354 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7355
7356 # If we're building libgloss, find the startup file, simulator library
7357 # and linker script.
7358 case " $target_configdirs " in
7359 *" libgloss "*)
7360 # Look for startup file, simulator library and maybe linker script.
7361 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7362 # Look for libnosys.a in case the target needs it.
7363 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7364 # Most targets have the linker script in the source directory.
7365 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7366 ;;
7367 esac
7368 ;;
7369 esac
7370 ;;
7371 esac
7372 ;;
7373esac
7374
7375case "$target" in
7376 x86_64-*mingw* | *-w64-mingw*)
7377 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7378 # however, use a symlink named 'mingw' in ${prefix} .
7379 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7380 ;;
7381 *-mingw*)
7382 # MinGW can't be handled as Cygwin above since it does not use newlib.
7383 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'
7384 ;;
7385esac
7386
7387# Allow the user to override the flags for
7388# our build compiler if desired.
7389if test x"${build}" = x"${host}" ; then
7390 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
7391 CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7392 LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7393fi
7394
7395# On Canadian crosses, we'll be searching the right directories for
7396# the previously-installed cross compiler, so don't bother to add
7397# flags for directories within the install tree of the compiler
7398# being built; programs in there won't even run.
7399if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7400 # Search for pre-installed headers if nothing else fits.
7401 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7402fi
7403
7404if test "x${use_gnu_ld}" = x &&
7405 echo " ${configdirs} " | grep " ld " > /dev/null ; then
7406 # Arrange for us to find uninstalled linker scripts.
7407 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7408fi
7409
7410# Search for other target-specific linker scripts and such.
7411case "${target}" in
7412 mep*)
7413 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7414 ;;
7415esac
7416
7417# Makefile fragments.
7418for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7419do
7420 eval fragval=\$$frag
7421 if test $fragval != /dev/null; then
7422 eval $frag=${srcdir}/$fragval
7423 fi
7424done
7425
7426
7427
7428
7429
7430# Miscellanea: directories, flags, etc.
7431
7432
7433
7434
7435
7436
7437
7438
7439# Build module lists & subconfigure args.
7440
7441
7442
7443# Host module lists & subconfigure args.
7444
7445
7446
7447
7448# Target module lists & subconfigure args.
7449
7450
7451
7452# Build tools.
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470# Generate default definitions for YACC, M4, LEX and other programs that run
7471# on the build machine. These are used if the Makefile can't locate these
7472# programs in objdir.
7473MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7474
7475for ac_prog in 'bison -y' byacc yacc
7476do
7477 # Extract the first word of "$ac_prog", so it can be a program name with args.
7478set dummy $ac_prog; ac_word=$2
7479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7480$as_echo_n "checking for $ac_word... " >&6; }
7481if test "${ac_cv_prog_YACC+set}" = set; then :
7482 $as_echo_n "(cached) " >&6
7483else
7484 if test -n "$YACC"; then
7485 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7486else
7487as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7488for as_dir in $PATH
7489do
7490 IFS=$as_save_IFS
7491 test -z "$as_dir" && as_dir=.
7492 for ac_exec_ext in '' $ac_executable_extensions; do
7493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7494 ac_cv_prog_YACC="$ac_prog"
7495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7496 break 2
7497 fi
7498done
7499 done
7500IFS=$as_save_IFS
7501
7502fi
7503fi
7504YACC=$ac_cv_prog_YACC
7505if test -n "$YACC"; then
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
7507$as_echo "$YACC" >&6; }
7508else
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7510$as_echo "no" >&6; }
7511fi
7512
7513
7514 test -n "$YACC" && break
7515done
7516test -n "$YACC" || YACC="$MISSING bison -y"
7517
7518case " $build_configdirs " in
7519 *" bison "*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7520esac
7521
7522for ac_prog in bison
7523do
7524 # Extract the first word of "$ac_prog", so it can be a program name with args.
7525set dummy $ac_prog; ac_word=$2
7526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7527$as_echo_n "checking for $ac_word... " >&6; }
7528if test "${ac_cv_prog_BISON+set}" = set; then :
7529 $as_echo_n "(cached) " >&6
7530else
7531 if test -n "$BISON"; then
7532 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7533else
7534as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7535for as_dir in $PATH
7536do
7537 IFS=$as_save_IFS
7538 test -z "$as_dir" && as_dir=.
7539 for ac_exec_ext in '' $ac_executable_extensions; do
7540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7541 ac_cv_prog_BISON="$ac_prog"
7542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7543 break 2
7544 fi
7545done
7546 done
7547IFS=$as_save_IFS
7548
7549fi
7550fi
7551BISON=$ac_cv_prog_BISON
7552if test -n "$BISON"; then
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
7554$as_echo "$BISON" >&6; }
7555else
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7557$as_echo "no" >&6; }
7558fi
7559
7560
7561 test -n "$BISON" && break
7562done
7563test -n "$BISON" || BISON="$MISSING bison"
7564
7565case " $build_configdirs " in
7566 *" bison "*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7567esac
7568
7569for ac_prog in gm4 gnum4 m4
7570do
7571 # Extract the first word of "$ac_prog", so it can be a program name with args.
7572set dummy $ac_prog; ac_word=$2
7573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574$as_echo_n "checking for $ac_word... " >&6; }
7575if test "${ac_cv_prog_M4+set}" = set; then :
7576 $as_echo_n "(cached) " >&6
7577else
7578 if test -n "$M4"; then
7579 ac_cv_prog_M4="$M4" # Let the user override the test.
7580else
7581as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582for as_dir in $PATH
7583do
7584 IFS=$as_save_IFS
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7588 ac_cv_prog_M4="$ac_prog"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 break 2
7591 fi
7592done
7593 done
7594IFS=$as_save_IFS
7595
7596fi
7597fi
7598M4=$ac_cv_prog_M4
7599if test -n "$M4"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
7601$as_echo "$M4" >&6; }
7602else
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604$as_echo "no" >&6; }
7605fi
7606
7607
7608 test -n "$M4" && break
7609done
7610test -n "$M4" || M4="$MISSING m4"
7611
7612case " $build_configdirs " in
7613 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7614esac
7615
7616for ac_prog in flex lex
7617do
7618 # Extract the first word of "$ac_prog", so it can be a program name with args.
7619set dummy $ac_prog; ac_word=$2
7620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7621$as_echo_n "checking for $ac_word... " >&6; }
7622if test "${ac_cv_prog_LEX+set}" = set; then :
7623 $as_echo_n "(cached) " >&6
7624else
7625 if test -n "$LEX"; then
7626 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7627else
7628as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7629for as_dir in $PATH
7630do
7631 IFS=$as_save_IFS
7632 test -z "$as_dir" && as_dir=.
7633 for ac_exec_ext in '' $ac_executable_extensions; do
7634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7635 ac_cv_prog_LEX="$ac_prog"
7636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7637 break 2
7638 fi
7639done
7640 done
7641IFS=$as_save_IFS
7642
7643fi
7644fi
7645LEX=$ac_cv_prog_LEX
7646if test -n "$LEX"; then
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
7648$as_echo "$LEX" >&6; }
7649else
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7651$as_echo "no" >&6; }
7652fi
7653
7654
7655 test -n "$LEX" && break
7656done
7657test -n "$LEX" || LEX="$MISSING flex"
7658
7659case " $build_configdirs " in
7660 *" flex "*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7661 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7662esac
7663
7664for ac_prog in flex
7665do
7666 # Extract the first word of "$ac_prog", so it can be a program name with args.
7667set dummy $ac_prog; ac_word=$2
7668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7669$as_echo_n "checking for $ac_word... " >&6; }
7670if test "${ac_cv_prog_FLEX+set}" = set; then :
7671 $as_echo_n "(cached) " >&6
7672else
7673 if test -n "$FLEX"; then
7674 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7675else
7676as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7677for as_dir in $PATH
7678do
7679 IFS=$as_save_IFS
7680 test -z "$as_dir" && as_dir=.
7681 for ac_exec_ext in '' $ac_executable_extensions; do
7682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7683 ac_cv_prog_FLEX="$ac_prog"
7684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7685 break 2
7686 fi
7687done
7688 done
7689IFS=$as_save_IFS
7690
7691fi
7692fi
7693FLEX=$ac_cv_prog_FLEX
7694if test -n "$FLEX"; then
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
7696$as_echo "$FLEX" >&6; }
7697else
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7699$as_echo "no" >&6; }
7700fi
7701
7702
7703 test -n "$FLEX" && break
7704done
7705test -n "$FLEX" || FLEX="$MISSING flex"
7706
7707case " $build_configdirs " in
7708 *" flex "*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7709esac
7710
7711for ac_prog in makeinfo
7712do
7713 # Extract the first word of "$ac_prog", so it can be a program name with args.
7714set dummy $ac_prog; ac_word=$2
7715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7716$as_echo_n "checking for $ac_word... " >&6; }
7717if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7718 $as_echo_n "(cached) " >&6
7719else
7720 if test -n "$MAKEINFO"; then
7721 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7722else
7723as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7724for as_dir in $PATH
7725do
7726 IFS=$as_save_IFS
7727 test -z "$as_dir" && as_dir=.
7728 for ac_exec_ext in '' $ac_executable_extensions; do
7729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7730 ac_cv_prog_MAKEINFO="$ac_prog"
7731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7732 break 2
7733 fi
7734done
7735 done
7736IFS=$as_save_IFS
7737
7738fi
7739fi
7740MAKEINFO=$ac_cv_prog_MAKEINFO
7741if test -n "$MAKEINFO"; then
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
7743$as_echo "$MAKEINFO" >&6; }
7744else
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7746$as_echo "no" >&6; }
7747fi
7748
7749
7750 test -n "$MAKEINFO" && break
7751done
7752test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
7753
7754case " $build_configdirs " in
7755 *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7756 *)
7757
7758 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7759 # higher, else we use the "missing" dummy.
7760 if ${MAKEINFO} --version \
7761 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7762 :
7763 else
7764 MAKEINFO="$MISSING makeinfo"
7765 fi
7766 ;;
7767
7768esac
7769
7770# FIXME: expect and dejagnu may become build tools?
7771
7772for ac_prog in expect
7773do
7774 # Extract the first word of "$ac_prog", so it can be a program name with args.
7775set dummy $ac_prog; ac_word=$2
7776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7777$as_echo_n "checking for $ac_word... " >&6; }
7778if test "${ac_cv_prog_EXPECT+set}" = set; then :
7779 $as_echo_n "(cached) " >&6
7780else
7781 if test -n "$EXPECT"; then
7782 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7783else
7784as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7785for as_dir in $PATH
7786do
7787 IFS=$as_save_IFS
7788 test -z "$as_dir" && as_dir=.
7789 for ac_exec_ext in '' $ac_executable_extensions; do
7790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7791 ac_cv_prog_EXPECT="$ac_prog"
7792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7793 break 2
7794 fi
7795done
7796 done
7797IFS=$as_save_IFS
7798
7799fi
7800fi
7801EXPECT=$ac_cv_prog_EXPECT
7802if test -n "$EXPECT"; then
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
7804$as_echo "$EXPECT" >&6; }
7805else
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7807$as_echo "no" >&6; }
7808fi
7809
7810
7811 test -n "$EXPECT" && break
7812done
7813test -n "$EXPECT" || EXPECT="expect"
7814
7815case " $configdirs " in
7816 *" expect "*)
7817 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7818 ;;
7819esac
7820
7821for ac_prog in runtest
7822do
7823 # Extract the first word of "$ac_prog", so it can be a program name with args.
7824set dummy $ac_prog; ac_word=$2
7825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7826$as_echo_n "checking for $ac_word... " >&6; }
7827if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7828 $as_echo_n "(cached) " >&6
7829else
7830 if test -n "$RUNTEST"; then
7831 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7832else
7833as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7834for as_dir in $PATH
7835do
7836 IFS=$as_save_IFS
7837 test -z "$as_dir" && as_dir=.
7838 for ac_exec_ext in '' $ac_executable_extensions; do
7839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7840 ac_cv_prog_RUNTEST="$ac_prog"
7841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7842 break 2
7843 fi
7844done
7845 done
7846IFS=$as_save_IFS
7847
7848fi
7849fi
7850RUNTEST=$ac_cv_prog_RUNTEST
7851if test -n "$RUNTEST"; then
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTEST" >&5
7853$as_echo "$RUNTEST" >&6; }
7854else
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7856$as_echo "no" >&6; }
7857fi
7858
7859
7860 test -n "$RUNTEST" && break
7861done
7862test -n "$RUNTEST" || RUNTEST="runtest"
7863
7864case " $configdirs " in
7865 *" dejagnu "*)
7866 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7867 ;;
7868esac
7869
7870
7871# Host tools.
7872ncn_tool_prefix=
7873test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7874ncn_target_tool_prefix=
7875test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7876
7877
7878
7879if test -n "$AR"; then
7880 ac_cv_prog_AR=$AR
7881elif test -n "$ac_cv_prog_AR"; then
7882 AR=$ac_cv_prog_AR
7883fi
7884
7885if test -n "$ac_cv_prog_AR"; then
7886 for ncn_progname in ar; do
7887 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7888set dummy ${ncn_progname}; ac_word=$2
7889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7890$as_echo_n "checking for $ac_word... " >&6; }
7891if test "${ac_cv_prog_AR+set}" = set; then :
7892 $as_echo_n "(cached) " >&6
7893else
7894 if test -n "$AR"; then
7895 ac_cv_prog_AR="$AR" # Let the user override the test.
7896else
7897as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7898for as_dir in $PATH
7899do
7900 IFS=$as_save_IFS
7901 test -z "$as_dir" && as_dir=.
7902 for ac_exec_ext in '' $ac_executable_extensions; do
7903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7904 ac_cv_prog_AR="${ncn_progname}"
7905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7906 break 2
7907 fi
7908done
7909 done
7910IFS=$as_save_IFS
7911
7912fi
7913fi
7914AR=$ac_cv_prog_AR
7915if test -n "$AR"; then
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7917$as_echo "$AR" >&6; }
7918else
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7920$as_echo "no" >&6; }
7921fi
7922
7923
7924 done
7925fi
7926
7927for ncn_progname in ar; do
7928 if test -n "$ncn_tool_prefix"; then
7929 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7930set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7932$as_echo_n "checking for $ac_word... " >&6; }
7933if test "${ac_cv_prog_AR+set}" = set; then :
7934 $as_echo_n "(cached) " >&6
7935else
7936 if test -n "$AR"; then
7937 ac_cv_prog_AR="$AR" # Let the user override the test.
7938else
7939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7940for as_dir in $PATH
7941do
7942 IFS=$as_save_IFS
7943 test -z "$as_dir" && as_dir=.
7944 for ac_exec_ext in '' $ac_executable_extensions; do
7945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7946 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7948 break 2
7949 fi
7950done
7951 done
7952IFS=$as_save_IFS
7953
7954fi
7955fi
7956AR=$ac_cv_prog_AR
7957if test -n "$AR"; then
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7959$as_echo "$AR" >&6; }
7960else
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7962$as_echo "no" >&6; }
7963fi
7964
7965
7966 fi
7967 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7968 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7969set dummy ${ncn_progname}; ac_word=$2
7970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7971$as_echo_n "checking for $ac_word... " >&6; }
7972if test "${ac_cv_prog_AR+set}" = set; then :
7973 $as_echo_n "(cached) " >&6
7974else
7975 if test -n "$AR"; then
7976 ac_cv_prog_AR="$AR" # Let the user override the test.
7977else
7978as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7979for as_dir in $PATH
7980do
7981 IFS=$as_save_IFS
7982 test -z "$as_dir" && as_dir=.
7983 for ac_exec_ext in '' $ac_executable_extensions; do
7984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7985 ac_cv_prog_AR="${ncn_progname}"
7986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7987 break 2
7988 fi
7989done
7990 done
7991IFS=$as_save_IFS
7992
7993fi
7994fi
7995AR=$ac_cv_prog_AR
7996if test -n "$AR"; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7998$as_echo "$AR" >&6; }
7999else
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8001$as_echo "no" >&6; }
8002fi
8003
8004
8005 fi
8006 test -n "$ac_cv_prog_AR" && break
8007done
8008
8009if test -z "$ac_cv_prog_AR" ; then
8010 set dummy ar
8011 if test $build = $host ; then
8012 AR="$2"
8013 else
8014 AR="${ncn_tool_prefix}$2"
8015 fi
8016fi
8017
8018
8019
8020if test -n "$AS"; then
8021 ac_cv_prog_AS=$AS
8022elif test -n "$ac_cv_prog_AS"; then
8023 AS=$ac_cv_prog_AS
8024fi
8025
8026if test -n "$ac_cv_prog_AS"; then
8027 for ncn_progname in as; do
8028 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8029set dummy ${ncn_progname}; ac_word=$2
8030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8031$as_echo_n "checking for $ac_word... " >&6; }
8032if test "${ac_cv_prog_AS+set}" = set; then :
8033 $as_echo_n "(cached) " >&6
8034else
8035 if test -n "$AS"; then
8036 ac_cv_prog_AS="$AS" # Let the user override the test.
8037else
8038as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8039for as_dir in $PATH
8040do
8041 IFS=$as_save_IFS
8042 test -z "$as_dir" && as_dir=.
8043 for ac_exec_ext in '' $ac_executable_extensions; do
8044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8045 ac_cv_prog_AS="${ncn_progname}"
8046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8047 break 2
8048 fi
8049done
8050 done
8051IFS=$as_save_IFS
8052
8053fi
8054fi
8055AS=$ac_cv_prog_AS
8056if test -n "$AS"; then
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8058$as_echo "$AS" >&6; }
8059else
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8061$as_echo "no" >&6; }
8062fi
8063
8064
8065 done
8066fi
8067
8068for ncn_progname in as; do
8069 if test -n "$ncn_tool_prefix"; then
8070 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8071set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8073$as_echo_n "checking for $ac_word... " >&6; }
8074if test "${ac_cv_prog_AS+set}" = set; then :
8075 $as_echo_n "(cached) " >&6
8076else
8077 if test -n "$AS"; then
8078 ac_cv_prog_AS="$AS" # Let the user override the test.
8079else
8080as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8081for as_dir in $PATH
8082do
8083 IFS=$as_save_IFS
8084 test -z "$as_dir" && as_dir=.
8085 for ac_exec_ext in '' $ac_executable_extensions; do
8086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8087 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8089 break 2
8090 fi
8091done
8092 done
8093IFS=$as_save_IFS
8094
8095fi
8096fi
8097AS=$ac_cv_prog_AS
8098if test -n "$AS"; then
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8100$as_echo "$AS" >&6; }
8101else
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8103$as_echo "no" >&6; }
8104fi
8105
8106
8107 fi
8108 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8109 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8110set dummy ${ncn_progname}; ac_word=$2
8111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8112$as_echo_n "checking for $ac_word... " >&6; }
8113if test "${ac_cv_prog_AS+set}" = set; then :
8114 $as_echo_n "(cached) " >&6
8115else
8116 if test -n "$AS"; then
8117 ac_cv_prog_AS="$AS" # Let the user override the test.
8118else
8119as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8120for as_dir in $PATH
8121do
8122 IFS=$as_save_IFS
8123 test -z "$as_dir" && as_dir=.
8124 for ac_exec_ext in '' $ac_executable_extensions; do
8125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8126 ac_cv_prog_AS="${ncn_progname}"
8127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8128 break 2
8129 fi
8130done
8131 done
8132IFS=$as_save_IFS
8133
8134fi
8135fi
8136AS=$ac_cv_prog_AS
8137if test -n "$AS"; then
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8139$as_echo "$AS" >&6; }
8140else
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8142$as_echo "no" >&6; }
8143fi
8144
8145
8146 fi
8147 test -n "$ac_cv_prog_AS" && break
8148done
8149
8150if test -z "$ac_cv_prog_AS" ; then
8151 set dummy as
8152 if test $build = $host ; then
8153 AS="$2"
8154 else
8155 AS="${ncn_tool_prefix}$2"
8156 fi
8157fi
8158
8159
8160
8161if test -n "$DLLTOOL"; then
8162 ac_cv_prog_DLLTOOL=$DLLTOOL
8163elif test -n "$ac_cv_prog_DLLTOOL"; then
8164 DLLTOOL=$ac_cv_prog_DLLTOOL
8165fi
8166
8167if test -n "$ac_cv_prog_DLLTOOL"; then
8168 for ncn_progname in dlltool; do
8169 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8170set dummy ${ncn_progname}; ac_word=$2
8171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8172$as_echo_n "checking for $ac_word... " >&6; }
8173if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8174 $as_echo_n "(cached) " >&6
8175else
8176 if test -n "$DLLTOOL"; then
8177 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8178else
8179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8180for as_dir in $PATH
8181do
8182 IFS=$as_save_IFS
8183 test -z "$as_dir" && as_dir=.
8184 for ac_exec_ext in '' $ac_executable_extensions; do
8185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8186 ac_cv_prog_DLLTOOL="${ncn_progname}"
8187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8188 break 2
8189 fi
8190done
8191 done
8192IFS=$as_save_IFS
8193
8194fi
8195fi
8196DLLTOOL=$ac_cv_prog_DLLTOOL
8197if test -n "$DLLTOOL"; then
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8199$as_echo "$DLLTOOL" >&6; }
8200else
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8202$as_echo "no" >&6; }
8203fi
8204
8205
8206 done
8207fi
8208
8209for ncn_progname in dlltool; do
8210 if test -n "$ncn_tool_prefix"; then
8211 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8212set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8214$as_echo_n "checking for $ac_word... " >&6; }
8215if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8216 $as_echo_n "(cached) " >&6
8217else
8218 if test -n "$DLLTOOL"; then
8219 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8220else
8221as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8222for as_dir in $PATH
8223do
8224 IFS=$as_save_IFS
8225 test -z "$as_dir" && as_dir=.
8226 for ac_exec_ext in '' $ac_executable_extensions; do
8227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8228 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8230 break 2
8231 fi
8232done
8233 done
8234IFS=$as_save_IFS
8235
8236fi
8237fi
8238DLLTOOL=$ac_cv_prog_DLLTOOL
8239if test -n "$DLLTOOL"; then
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8241$as_echo "$DLLTOOL" >&6; }
8242else
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8244$as_echo "no" >&6; }
8245fi
8246
8247
8248 fi
8249 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8250 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8251set dummy ${ncn_progname}; ac_word=$2
8252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8253$as_echo_n "checking for $ac_word... " >&6; }
8254if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8255 $as_echo_n "(cached) " >&6
8256else
8257 if test -n "$DLLTOOL"; then
8258 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8259else
8260as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8261for as_dir in $PATH
8262do
8263 IFS=$as_save_IFS
8264 test -z "$as_dir" && as_dir=.
8265 for ac_exec_ext in '' $ac_executable_extensions; do
8266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8267 ac_cv_prog_DLLTOOL="${ncn_progname}"
8268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8269 break 2
8270 fi
8271done
8272 done
8273IFS=$as_save_IFS
8274
8275fi
8276fi
8277DLLTOOL=$ac_cv_prog_DLLTOOL
8278if test -n "$DLLTOOL"; then
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8280$as_echo "$DLLTOOL" >&6; }
8281else
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8283$as_echo "no" >&6; }
8284fi
8285
8286
8287 fi
8288 test -n "$ac_cv_prog_DLLTOOL" && break
8289done
8290
8291if test -z "$ac_cv_prog_DLLTOOL" ; then
8292 set dummy dlltool
8293 if test $build = $host ; then
8294 DLLTOOL="$2"
8295 else
8296 DLLTOOL="${ncn_tool_prefix}$2"
8297 fi
8298fi
8299
8300
8301
8302if test -n "$LD"; then
8303 ac_cv_prog_LD=$LD
8304elif test -n "$ac_cv_prog_LD"; then
8305 LD=$ac_cv_prog_LD
8306fi
8307
8308if test -n "$ac_cv_prog_LD"; then
8309 for ncn_progname in ld; do
8310 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8311set dummy ${ncn_progname}; ac_word=$2
8312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8313$as_echo_n "checking for $ac_word... " >&6; }
8314if test "${ac_cv_prog_LD+set}" = set; then :
8315 $as_echo_n "(cached) " >&6
8316else
8317 if test -n "$LD"; then
8318 ac_cv_prog_LD="$LD" # Let the user override the test.
8319else
8320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8321for as_dir in $PATH
8322do
8323 IFS=$as_save_IFS
8324 test -z "$as_dir" && as_dir=.
8325 for ac_exec_ext in '' $ac_executable_extensions; do
8326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8327 ac_cv_prog_LD="${ncn_progname}"
8328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8329 break 2
8330 fi
8331done
8332 done
8333IFS=$as_save_IFS
8334
8335fi
8336fi
8337LD=$ac_cv_prog_LD
8338if test -n "$LD"; then
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8340$as_echo "$LD" >&6; }
8341else
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8343$as_echo "no" >&6; }
8344fi
8345
8346
8347 done
8348fi
8349
8350for ncn_progname in ld; do
8351 if test -n "$ncn_tool_prefix"; then
8352 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8353set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8355$as_echo_n "checking for $ac_word... " >&6; }
8356if test "${ac_cv_prog_LD+set}" = set; then :
8357 $as_echo_n "(cached) " >&6
8358else
8359 if test -n "$LD"; then
8360 ac_cv_prog_LD="$LD" # Let the user override the test.
8361else
8362as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8363for as_dir in $PATH
8364do
8365 IFS=$as_save_IFS
8366 test -z "$as_dir" && as_dir=.
8367 for ac_exec_ext in '' $ac_executable_extensions; do
8368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8369 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8371 break 2
8372 fi
8373done
8374 done
8375IFS=$as_save_IFS
8376
8377fi
8378fi
8379LD=$ac_cv_prog_LD
8380if test -n "$LD"; then
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8382$as_echo "$LD" >&6; }
8383else
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8385$as_echo "no" >&6; }
8386fi
8387
8388
8389 fi
8390 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8391 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8392set dummy ${ncn_progname}; ac_word=$2
8393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8394$as_echo_n "checking for $ac_word... " >&6; }
8395if test "${ac_cv_prog_LD+set}" = set; then :
8396 $as_echo_n "(cached) " >&6
8397else
8398 if test -n "$LD"; then
8399 ac_cv_prog_LD="$LD" # Let the user override the test.
8400else
8401as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8402for as_dir in $PATH
8403do
8404 IFS=$as_save_IFS
8405 test -z "$as_dir" && as_dir=.
8406 for ac_exec_ext in '' $ac_executable_extensions; do
8407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8408 ac_cv_prog_LD="${ncn_progname}"
8409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8410 break 2
8411 fi
8412done
8413 done
8414IFS=$as_save_IFS
8415
8416fi
8417fi
8418LD=$ac_cv_prog_LD
8419if test -n "$LD"; then
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8421$as_echo "$LD" >&6; }
8422else
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8424$as_echo "no" >&6; }
8425fi
8426
8427
8428 fi
8429 test -n "$ac_cv_prog_LD" && break
8430done
8431
8432if test -z "$ac_cv_prog_LD" ; then
8433 set dummy ld
8434 if test $build = $host ; then
8435 LD="$2"
8436 else
8437 LD="${ncn_tool_prefix}$2"
8438 fi
8439fi
8440
8441
8442
8443if test -n "$LIPO"; then
8444 ac_cv_prog_LIPO=$LIPO
8445elif test -n "$ac_cv_prog_LIPO"; then
8446 LIPO=$ac_cv_prog_LIPO
8447fi
8448
8449if test -n "$ac_cv_prog_LIPO"; then
8450 for ncn_progname in lipo; do
8451 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8452set dummy ${ncn_progname}; ac_word=$2
8453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8454$as_echo_n "checking for $ac_word... " >&6; }
8455if test "${ac_cv_prog_LIPO+set}" = set; then :
8456 $as_echo_n "(cached) " >&6
8457else
8458 if test -n "$LIPO"; then
8459 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8460else
8461as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8462for as_dir in $PATH
8463do
8464 IFS=$as_save_IFS
8465 test -z "$as_dir" && as_dir=.
8466 for ac_exec_ext in '' $ac_executable_extensions; do
8467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8468 ac_cv_prog_LIPO="${ncn_progname}"
8469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8470 break 2
8471 fi
8472done
8473 done
8474IFS=$as_save_IFS
8475
8476fi
8477fi
8478LIPO=$ac_cv_prog_LIPO
8479if test -n "$LIPO"; then
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8481$as_echo "$LIPO" >&6; }
8482else
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8484$as_echo "no" >&6; }
8485fi
8486
8487
8488 done
8489fi
8490
8491for ncn_progname in lipo; do
8492 if test -n "$ncn_tool_prefix"; then
8493 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8494set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8496$as_echo_n "checking for $ac_word... " >&6; }
8497if test "${ac_cv_prog_LIPO+set}" = set; then :
8498 $as_echo_n "(cached) " >&6
8499else
8500 if test -n "$LIPO"; then
8501 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8502else
8503as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8504for as_dir in $PATH
8505do
8506 IFS=$as_save_IFS
8507 test -z "$as_dir" && as_dir=.
8508 for ac_exec_ext in '' $ac_executable_extensions; do
8509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8510 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8512 break 2
8513 fi
8514done
8515 done
8516IFS=$as_save_IFS
8517
8518fi
8519fi
8520LIPO=$ac_cv_prog_LIPO
8521if test -n "$LIPO"; then
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8523$as_echo "$LIPO" >&6; }
8524else
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8526$as_echo "no" >&6; }
8527fi
8528
8529
8530 fi
8531 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8532 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8533set dummy ${ncn_progname}; ac_word=$2
8534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8535$as_echo_n "checking for $ac_word... " >&6; }
8536if test "${ac_cv_prog_LIPO+set}" = set; then :
8537 $as_echo_n "(cached) " >&6
8538else
8539 if test -n "$LIPO"; then
8540 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8541else
8542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8543for as_dir in $PATH
8544do
8545 IFS=$as_save_IFS
8546 test -z "$as_dir" && as_dir=.
8547 for ac_exec_ext in '' $ac_executable_extensions; do
8548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8549 ac_cv_prog_LIPO="${ncn_progname}"
8550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8551 break 2
8552 fi
8553done
8554 done
8555IFS=$as_save_IFS
8556
8557fi
8558fi
8559LIPO=$ac_cv_prog_LIPO
8560if test -n "$LIPO"; then
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8562$as_echo "$LIPO" >&6; }
8563else
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8565$as_echo "no" >&6; }
8566fi
8567
8568
8569 fi
8570 test -n "$ac_cv_prog_LIPO" && break
8571done
8572
8573if test -z "$ac_cv_prog_LIPO" ; then
8574 set dummy lipo
8575 if test $build = $host ; then
8576 LIPO="$2"
8577 else
8578 LIPO="${ncn_tool_prefix}$2"
8579 fi
8580fi
8581
8582
8583
8584if test -n "$NM"; then
8585 ac_cv_prog_NM=$NM
8586elif test -n "$ac_cv_prog_NM"; then
8587 NM=$ac_cv_prog_NM
8588fi
8589
8590if test -n "$ac_cv_prog_NM"; then
8591 for ncn_progname in nm; do
8592 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8593set dummy ${ncn_progname}; ac_word=$2
8594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8595$as_echo_n "checking for $ac_word... " >&6; }
8596if test "${ac_cv_prog_NM+set}" = set; then :
8597 $as_echo_n "(cached) " >&6
8598else
8599 if test -n "$NM"; then
8600 ac_cv_prog_NM="$NM" # Let the user override the test.
8601else
8602as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8603for as_dir in $PATH
8604do
8605 IFS=$as_save_IFS
8606 test -z "$as_dir" && as_dir=.
8607 for ac_exec_ext in '' $ac_executable_extensions; do
8608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8609 ac_cv_prog_NM="${ncn_progname}"
8610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8611 break 2
8612 fi
8613done
8614 done
8615IFS=$as_save_IFS
8616
8617fi
8618fi
8619NM=$ac_cv_prog_NM
8620if test -n "$NM"; then
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8622$as_echo "$NM" >&6; }
8623else
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8625$as_echo "no" >&6; }
8626fi
8627
8628
8629 done
8630fi
8631
8632for ncn_progname in nm; do
8633 if test -n "$ncn_tool_prefix"; then
8634 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8635set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8637$as_echo_n "checking for $ac_word... " >&6; }
8638if test "${ac_cv_prog_NM+set}" = set; then :
8639 $as_echo_n "(cached) " >&6
8640else
8641 if test -n "$NM"; then
8642 ac_cv_prog_NM="$NM" # Let the user override the test.
8643else
8644as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8645for as_dir in $PATH
8646do
8647 IFS=$as_save_IFS
8648 test -z "$as_dir" && as_dir=.
8649 for ac_exec_ext in '' $ac_executable_extensions; do
8650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8651 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8653 break 2
8654 fi
8655done
8656 done
8657IFS=$as_save_IFS
8658
8659fi
8660fi
8661NM=$ac_cv_prog_NM
8662if test -n "$NM"; then
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8664$as_echo "$NM" >&6; }
8665else
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8667$as_echo "no" >&6; }
8668fi
8669
8670
8671 fi
8672 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8673 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8674set dummy ${ncn_progname}; ac_word=$2
8675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8676$as_echo_n "checking for $ac_word... " >&6; }
8677if test "${ac_cv_prog_NM+set}" = set; then :
8678 $as_echo_n "(cached) " >&6
8679else
8680 if test -n "$NM"; then
8681 ac_cv_prog_NM="$NM" # Let the user override the test.
8682else
8683as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8684for as_dir in $PATH
8685do
8686 IFS=$as_save_IFS
8687 test -z "$as_dir" && as_dir=.
8688 for ac_exec_ext in '' $ac_executable_extensions; do
8689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8690 ac_cv_prog_NM="${ncn_progname}"
8691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8692 break 2
8693 fi
8694done
8695 done
8696IFS=$as_save_IFS
8697
8698fi
8699fi
8700NM=$ac_cv_prog_NM
8701if test -n "$NM"; then
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
8703$as_echo "$NM" >&6; }
8704else
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8706$as_echo "no" >&6; }
8707fi
8708
8709
8710 fi
8711 test -n "$ac_cv_prog_NM" && break
8712done
8713
8714if test -z "$ac_cv_prog_NM" ; then
8715 set dummy nm
8716 if test $build = $host ; then
8717 NM="$2"
8718 else
8719 NM="${ncn_tool_prefix}$2"
8720 fi
8721fi
8722
8723
8724
8725if test -n "$RANLIB"; then
8726 ac_cv_prog_RANLIB=$RANLIB
8727elif test -n "$ac_cv_prog_RANLIB"; then
8728 RANLIB=$ac_cv_prog_RANLIB
8729fi
8730
8731if test -n "$ac_cv_prog_RANLIB"; then
8732 for ncn_progname in ranlib; do
8733 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8734set dummy ${ncn_progname}; ac_word=$2
8735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8736$as_echo_n "checking for $ac_word... " >&6; }
8737if test "${ac_cv_prog_RANLIB+set}" = set; then :
8738 $as_echo_n "(cached) " >&6
8739else
8740 if test -n "$RANLIB"; then
8741 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8742else
8743as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8744for as_dir in $PATH
8745do
8746 IFS=$as_save_IFS
8747 test -z "$as_dir" && as_dir=.
8748 for ac_exec_ext in '' $ac_executable_extensions; do
8749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8750 ac_cv_prog_RANLIB="${ncn_progname}"
8751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8752 break 2
8753 fi
8754done
8755 done
8756IFS=$as_save_IFS
8757
8758fi
8759fi
8760RANLIB=$ac_cv_prog_RANLIB
8761if test -n "$RANLIB"; then
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8763$as_echo "$RANLIB" >&6; }
8764else
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8766$as_echo "no" >&6; }
8767fi
8768
8769
8770 done
8771fi
8772
8773for ncn_progname in ranlib; do
8774 if test -n "$ncn_tool_prefix"; then
8775 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8776set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8778$as_echo_n "checking for $ac_word... " >&6; }
8779if test "${ac_cv_prog_RANLIB+set}" = set; then :
8780 $as_echo_n "(cached) " >&6
8781else
8782 if test -n "$RANLIB"; then
8783 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8784else
8785as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8786for as_dir in $PATH
8787do
8788 IFS=$as_save_IFS
8789 test -z "$as_dir" && as_dir=.
8790 for ac_exec_ext in '' $ac_executable_extensions; do
8791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8792 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8794 break 2
8795 fi
8796done
8797 done
8798IFS=$as_save_IFS
8799
8800fi
8801fi
8802RANLIB=$ac_cv_prog_RANLIB
8803if test -n "$RANLIB"; then
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8805$as_echo "$RANLIB" >&6; }
8806else
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8808$as_echo "no" >&6; }
8809fi
8810
8811
8812 fi
8813 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8814 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8815set dummy ${ncn_progname}; ac_word=$2
8816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8817$as_echo_n "checking for $ac_word... " >&6; }
8818if test "${ac_cv_prog_RANLIB+set}" = set; then :
8819 $as_echo_n "(cached) " >&6
8820else
8821 if test -n "$RANLIB"; then
8822 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8823else
8824as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8825for as_dir in $PATH
8826do
8827 IFS=$as_save_IFS
8828 test -z "$as_dir" && as_dir=.
8829 for ac_exec_ext in '' $ac_executable_extensions; do
8830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8831 ac_cv_prog_RANLIB="${ncn_progname}"
8832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8833 break 2
8834 fi
8835done
8836 done
8837IFS=$as_save_IFS
8838
8839fi
8840fi
8841RANLIB=$ac_cv_prog_RANLIB
8842if test -n "$RANLIB"; then
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8844$as_echo "$RANLIB" >&6; }
8845else
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8847$as_echo "no" >&6; }
8848fi
8849
8850
8851 fi
8852 test -n "$ac_cv_prog_RANLIB" && break
8853done
8854
8855if test -z "$ac_cv_prog_RANLIB" ; then
8856 RANLIB="true"
8857fi
8858
8859
8860
8861if test -n "$STRIP"; then
8862 ac_cv_prog_STRIP=$STRIP
8863elif test -n "$ac_cv_prog_STRIP"; then
8864 STRIP=$ac_cv_prog_STRIP
8865fi
8866
8867if test -n "$ac_cv_prog_STRIP"; then
8868 for ncn_progname in strip; do
8869 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8870set dummy ${ncn_progname}; ac_word=$2
8871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8872$as_echo_n "checking for $ac_word... " >&6; }
8873if test "${ac_cv_prog_STRIP+set}" = set; then :
8874 $as_echo_n "(cached) " >&6
8875else
8876 if test -n "$STRIP"; then
8877 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8878else
8879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8880for as_dir in $PATH
8881do
8882 IFS=$as_save_IFS
8883 test -z "$as_dir" && as_dir=.
8884 for ac_exec_ext in '' $ac_executable_extensions; do
8885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8886 ac_cv_prog_STRIP="${ncn_progname}"
8887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8888 break 2
8889 fi
8890done
8891 done
8892IFS=$as_save_IFS
8893
8894fi
8895fi
8896STRIP=$ac_cv_prog_STRIP
8897if test -n "$STRIP"; then
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8899$as_echo "$STRIP" >&6; }
8900else
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8902$as_echo "no" >&6; }
8903fi
8904
8905
8906 done
8907fi
8908
8909for ncn_progname in strip; do
8910 if test -n "$ncn_tool_prefix"; then
8911 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8912set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8914$as_echo_n "checking for $ac_word... " >&6; }
8915if test "${ac_cv_prog_STRIP+set}" = set; then :
8916 $as_echo_n "(cached) " >&6
8917else
8918 if test -n "$STRIP"; then
8919 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8920else
8921as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8922for as_dir in $PATH
8923do
8924 IFS=$as_save_IFS
8925 test -z "$as_dir" && as_dir=.
8926 for ac_exec_ext in '' $ac_executable_extensions; do
8927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8928 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8930 break 2
8931 fi
8932done
8933 done
8934IFS=$as_save_IFS
8935
8936fi
8937fi
8938STRIP=$ac_cv_prog_STRIP
8939if test -n "$STRIP"; then
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8941$as_echo "$STRIP" >&6; }
8942else
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8944$as_echo "no" >&6; }
8945fi
8946
8947
8948 fi
8949 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8950 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8951set dummy ${ncn_progname}; ac_word=$2
8952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8953$as_echo_n "checking for $ac_word... " >&6; }
8954if test "${ac_cv_prog_STRIP+set}" = set; then :
8955 $as_echo_n "(cached) " >&6
8956else
8957 if test -n "$STRIP"; then
8958 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8959else
8960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8961for as_dir in $PATH
8962do
8963 IFS=$as_save_IFS
8964 test -z "$as_dir" && as_dir=.
8965 for ac_exec_ext in '' $ac_executable_extensions; do
8966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8967 ac_cv_prog_STRIP="${ncn_progname}"
8968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8969 break 2
8970 fi
8971done
8972 done
8973IFS=$as_save_IFS
8974
8975fi
8976fi
8977STRIP=$ac_cv_prog_STRIP
8978if test -n "$STRIP"; then
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8980$as_echo "$STRIP" >&6; }
8981else
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8983$as_echo "no" >&6; }
8984fi
8985
8986
8987 fi
8988 test -n "$ac_cv_prog_STRIP" && break
8989done
8990
8991if test -z "$ac_cv_prog_STRIP" ; then
8992 STRIP="true"
8993fi
8994
8995
8996
8997if test -n "$WINDRES"; then
8998 ac_cv_prog_WINDRES=$WINDRES
8999elif test -n "$ac_cv_prog_WINDRES"; then
9000 WINDRES=$ac_cv_prog_WINDRES
9001fi
9002
9003if test -n "$ac_cv_prog_WINDRES"; then
9004 for ncn_progname in windres; do
9005 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9006set dummy ${ncn_progname}; ac_word=$2
9007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9008$as_echo_n "checking for $ac_word... " >&6; }
9009if test "${ac_cv_prog_WINDRES+set}" = set; then :
9010 $as_echo_n "(cached) " >&6
9011else
9012 if test -n "$WINDRES"; then
9013 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9014else
9015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9016for as_dir in $PATH
9017do
9018 IFS=$as_save_IFS
9019 test -z "$as_dir" && as_dir=.
9020 for ac_exec_ext in '' $ac_executable_extensions; do
9021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9022 ac_cv_prog_WINDRES="${ncn_progname}"
9023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9024 break 2
9025 fi
9026done
9027 done
9028IFS=$as_save_IFS
9029
9030fi
9031fi
9032WINDRES=$ac_cv_prog_WINDRES
9033if test -n "$WINDRES"; then
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9035$as_echo "$WINDRES" >&6; }
9036else
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9038$as_echo "no" >&6; }
9039fi
9040
9041
9042 done
9043fi
9044
9045for ncn_progname in windres; do
9046 if test -n "$ncn_tool_prefix"; then
9047 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9048set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9050$as_echo_n "checking for $ac_word... " >&6; }
9051if test "${ac_cv_prog_WINDRES+set}" = set; then :
9052 $as_echo_n "(cached) " >&6
9053else
9054 if test -n "$WINDRES"; then
9055 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9056else
9057as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9058for as_dir in $PATH
9059do
9060 IFS=$as_save_IFS
9061 test -z "$as_dir" && as_dir=.
9062 for ac_exec_ext in '' $ac_executable_extensions; do
9063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9064 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9066 break 2
9067 fi
9068done
9069 done
9070IFS=$as_save_IFS
9071
9072fi
9073fi
9074WINDRES=$ac_cv_prog_WINDRES
9075if test -n "$WINDRES"; then
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9077$as_echo "$WINDRES" >&6; }
9078else
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9080$as_echo "no" >&6; }
9081fi
9082
9083
9084 fi
9085 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9086 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9087set dummy ${ncn_progname}; ac_word=$2
9088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9089$as_echo_n "checking for $ac_word... " >&6; }
9090if test "${ac_cv_prog_WINDRES+set}" = set; then :
9091 $as_echo_n "(cached) " >&6
9092else
9093 if test -n "$WINDRES"; then
9094 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9095else
9096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9097for as_dir in $PATH
9098do
9099 IFS=$as_save_IFS
9100 test -z "$as_dir" && as_dir=.
9101 for ac_exec_ext in '' $ac_executable_extensions; do
9102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9103 ac_cv_prog_WINDRES="${ncn_progname}"
9104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9105 break 2
9106 fi
9107done
9108 done
9109IFS=$as_save_IFS
9110
9111fi
9112fi
9113WINDRES=$ac_cv_prog_WINDRES
9114if test -n "$WINDRES"; then
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9116$as_echo "$WINDRES" >&6; }
9117else
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9119$as_echo "no" >&6; }
9120fi
9121
9122
9123 fi
9124 test -n "$ac_cv_prog_WINDRES" && break
9125done
9126
9127if test -z "$ac_cv_prog_WINDRES" ; then
9128 set dummy windres
9129 if test $build = $host ; then
9130 WINDRES="$2"
9131 else
9132 WINDRES="${ncn_tool_prefix}$2"
9133 fi
9134fi
9135
9136
9137
9138if test -n "$WINDMC"; then
9139 ac_cv_prog_WINDMC=$WINDMC
9140elif test -n "$ac_cv_prog_WINDMC"; then
9141 WINDMC=$ac_cv_prog_WINDMC
9142fi
9143
9144if test -n "$ac_cv_prog_WINDMC"; then
9145 for ncn_progname in windmc; do
9146 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9147set dummy ${ncn_progname}; ac_word=$2
9148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9149$as_echo_n "checking for $ac_word... " >&6; }
9150if test "${ac_cv_prog_WINDMC+set}" = set; then :
9151 $as_echo_n "(cached) " >&6
9152else
9153 if test -n "$WINDMC"; then
9154 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9155else
9156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9157for as_dir in $PATH
9158do
9159 IFS=$as_save_IFS
9160 test -z "$as_dir" && as_dir=.
9161 for ac_exec_ext in '' $ac_executable_extensions; do
9162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9163 ac_cv_prog_WINDMC="${ncn_progname}"
9164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9165 break 2
9166 fi
9167done
9168 done
9169IFS=$as_save_IFS
9170
9171fi
9172fi
9173WINDMC=$ac_cv_prog_WINDMC
9174if test -n "$WINDMC"; then
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9176$as_echo "$WINDMC" >&6; }
9177else
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9179$as_echo "no" >&6; }
9180fi
9181
9182
9183 done
9184fi
9185
9186for ncn_progname in windmc; do
9187 if test -n "$ncn_tool_prefix"; then
9188 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9189set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9191$as_echo_n "checking for $ac_word... " >&6; }
9192if test "${ac_cv_prog_WINDMC+set}" = set; then :
9193 $as_echo_n "(cached) " >&6
9194else
9195 if test -n "$WINDMC"; then
9196 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9197else
9198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9199for as_dir in $PATH
9200do
9201 IFS=$as_save_IFS
9202 test -z "$as_dir" && as_dir=.
9203 for ac_exec_ext in '' $ac_executable_extensions; do
9204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9205 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9207 break 2
9208 fi
9209done
9210 done
9211IFS=$as_save_IFS
9212
9213fi
9214fi
9215WINDMC=$ac_cv_prog_WINDMC
9216if test -n "$WINDMC"; then
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9218$as_echo "$WINDMC" >&6; }
9219else
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9221$as_echo "no" >&6; }
9222fi
9223
9224
9225 fi
9226 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9227 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9228set dummy ${ncn_progname}; ac_word=$2
9229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9230$as_echo_n "checking for $ac_word... " >&6; }
9231if test "${ac_cv_prog_WINDMC+set}" = set; then :
9232 $as_echo_n "(cached) " >&6
9233else
9234 if test -n "$WINDMC"; then
9235 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9236else
9237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9238for as_dir in $PATH
9239do
9240 IFS=$as_save_IFS
9241 test -z "$as_dir" && as_dir=.
9242 for ac_exec_ext in '' $ac_executable_extensions; do
9243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9244 ac_cv_prog_WINDMC="${ncn_progname}"
9245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9246 break 2
9247 fi
9248done
9249 done
9250IFS=$as_save_IFS
9251
9252fi
9253fi
9254WINDMC=$ac_cv_prog_WINDMC
9255if test -n "$WINDMC"; then
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
9257$as_echo "$WINDMC" >&6; }
9258else
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9260$as_echo "no" >&6; }
9261fi
9262
9263
9264 fi
9265 test -n "$ac_cv_prog_WINDMC" && break
9266done
9267
9268if test -z "$ac_cv_prog_WINDMC" ; then
9269 set dummy windmc
9270 if test $build = $host ; then
9271 WINDMC="$2"
9272 else
9273 WINDMC="${ncn_tool_prefix}$2"
9274 fi
9275fi
9276
9277
9278
9279if test -n "$OBJCOPY"; then
9280 ac_cv_prog_OBJCOPY=$OBJCOPY
9281elif test -n "$ac_cv_prog_OBJCOPY"; then
9282 OBJCOPY=$ac_cv_prog_OBJCOPY
9283fi
9284
9285if test -n "$ac_cv_prog_OBJCOPY"; then
9286 for ncn_progname in objcopy; do
9287 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9288set dummy ${ncn_progname}; ac_word=$2
9289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9290$as_echo_n "checking for $ac_word... " >&6; }
9291if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9292 $as_echo_n "(cached) " >&6
9293else
9294 if test -n "$OBJCOPY"; then
9295 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9296else
9297as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9298for as_dir in $PATH
9299do
9300 IFS=$as_save_IFS
9301 test -z "$as_dir" && as_dir=.
9302 for ac_exec_ext in '' $ac_executable_extensions; do
9303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9304 ac_cv_prog_OBJCOPY="${ncn_progname}"
9305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9306 break 2
9307 fi
9308done
9309 done
9310IFS=$as_save_IFS
9311
9312fi
9313fi
9314OBJCOPY=$ac_cv_prog_OBJCOPY
9315if test -n "$OBJCOPY"; then
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9317$as_echo "$OBJCOPY" >&6; }
9318else
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9320$as_echo "no" >&6; }
9321fi
9322
9323
9324 done
9325fi
9326
9327for ncn_progname in objcopy; do
9328 if test -n "$ncn_tool_prefix"; then
9329 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9330set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9332$as_echo_n "checking for $ac_word... " >&6; }
9333if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9334 $as_echo_n "(cached) " >&6
9335else
9336 if test -n "$OBJCOPY"; then
9337 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9338else
9339as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9340for as_dir in $PATH
9341do
9342 IFS=$as_save_IFS
9343 test -z "$as_dir" && as_dir=.
9344 for ac_exec_ext in '' $ac_executable_extensions; do
9345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9346 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9348 break 2
9349 fi
9350done
9351 done
9352IFS=$as_save_IFS
9353
9354fi
9355fi
9356OBJCOPY=$ac_cv_prog_OBJCOPY
9357if test -n "$OBJCOPY"; then
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9359$as_echo "$OBJCOPY" >&6; }
9360else
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9362$as_echo "no" >&6; }
9363fi
9364
9365
9366 fi
9367 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9368 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9369set dummy ${ncn_progname}; ac_word=$2
9370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9371$as_echo_n "checking for $ac_word... " >&6; }
9372if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9373 $as_echo_n "(cached) " >&6
9374else
9375 if test -n "$OBJCOPY"; then
9376 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9377else
9378as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9379for as_dir in $PATH
9380do
9381 IFS=$as_save_IFS
9382 test -z "$as_dir" && as_dir=.
9383 for ac_exec_ext in '' $ac_executable_extensions; do
9384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9385 ac_cv_prog_OBJCOPY="${ncn_progname}"
9386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9387 break 2
9388 fi
9389done
9390 done
9391IFS=$as_save_IFS
9392
9393fi
9394fi
9395OBJCOPY=$ac_cv_prog_OBJCOPY
9396if test -n "$OBJCOPY"; then
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
9398$as_echo "$OBJCOPY" >&6; }
9399else
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9401$as_echo "no" >&6; }
9402fi
9403
9404
9405 fi
9406 test -n "$ac_cv_prog_OBJCOPY" && break
9407done
9408
9409if test -z "$ac_cv_prog_OBJCOPY" ; then
9410 set dummy objcopy
9411 if test $build = $host ; then
9412 OBJCOPY="$2"
9413 else
9414 OBJCOPY="${ncn_tool_prefix}$2"
9415 fi
9416fi
9417
9418
9419
9420if test -n "$OBJDUMP"; then
9421 ac_cv_prog_OBJDUMP=$OBJDUMP
9422elif test -n "$ac_cv_prog_OBJDUMP"; then
9423 OBJDUMP=$ac_cv_prog_OBJDUMP
9424fi
9425
9426if test -n "$ac_cv_prog_OBJDUMP"; then
9427 for ncn_progname in objdump; do
9428 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9429set dummy ${ncn_progname}; ac_word=$2
9430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9431$as_echo_n "checking for $ac_word... " >&6; }
9432if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9433 $as_echo_n "(cached) " >&6
9434else
9435 if test -n "$OBJDUMP"; then
9436 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9437else
9438as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9439for as_dir in $PATH
9440do
9441 IFS=$as_save_IFS
9442 test -z "$as_dir" && as_dir=.
9443 for ac_exec_ext in '' $ac_executable_extensions; do
9444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9445 ac_cv_prog_OBJDUMP="${ncn_progname}"
9446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9447 break 2
9448 fi
9449done
9450 done
9451IFS=$as_save_IFS
9452
9453fi
9454fi
9455OBJDUMP=$ac_cv_prog_OBJDUMP
9456if test -n "$OBJDUMP"; then
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9458$as_echo "$OBJDUMP" >&6; }
9459else
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9461$as_echo "no" >&6; }
9462fi
9463
9464
9465 done
9466fi
9467
9468for ncn_progname in objdump; do
9469 if test -n "$ncn_tool_prefix"; then
9470 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9471set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9473$as_echo_n "checking for $ac_word... " >&6; }
9474if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9475 $as_echo_n "(cached) " >&6
9476else
9477 if test -n "$OBJDUMP"; then
9478 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9479else
9480as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9481for as_dir in $PATH
9482do
9483 IFS=$as_save_IFS
9484 test -z "$as_dir" && as_dir=.
9485 for ac_exec_ext in '' $ac_executable_extensions; do
9486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9487 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9489 break 2
9490 fi
9491done
9492 done
9493IFS=$as_save_IFS
9494
9495fi
9496fi
9497OBJDUMP=$ac_cv_prog_OBJDUMP
9498if test -n "$OBJDUMP"; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9500$as_echo "$OBJDUMP" >&6; }
9501else
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9503$as_echo "no" >&6; }
9504fi
9505
9506
9507 fi
9508 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9509 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9510set dummy ${ncn_progname}; ac_word=$2
9511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9512$as_echo_n "checking for $ac_word... " >&6; }
9513if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9514 $as_echo_n "(cached) " >&6
9515else
9516 if test -n "$OBJDUMP"; then
9517 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9518else
9519as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9520for as_dir in $PATH
9521do
9522 IFS=$as_save_IFS
9523 test -z "$as_dir" && as_dir=.
9524 for ac_exec_ext in '' $ac_executable_extensions; do
9525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9526 ac_cv_prog_OBJDUMP="${ncn_progname}"
9527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9528 break 2
9529 fi
9530done
9531 done
9532IFS=$as_save_IFS
9533
9534fi
9535fi
9536OBJDUMP=$ac_cv_prog_OBJDUMP
9537if test -n "$OBJDUMP"; then
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9539$as_echo "$OBJDUMP" >&6; }
9540else
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9542$as_echo "no" >&6; }
9543fi
9544
9545
9546 fi
9547 test -n "$ac_cv_prog_OBJDUMP" && break
9548done
9549
9550if test -z "$ac_cv_prog_OBJDUMP" ; then
9551 set dummy objdump
9552 if test $build = $host ; then
9553 OBJDUMP="$2"
9554 else
9555 OBJDUMP="${ncn_tool_prefix}$2"
9556 fi
9557fi
9558
9559
9560
9561
9562
9563
9564# Target tools.
9565
9566# Check whether --with-build-time-tools was given.
9567if test "${with_build_time_tools+set}" = set; then :
9568 withval=$with_build_time_tools; case x"$withval" in
9569 x/*) ;;
9570 *)
9571 with_build_time_tools=
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: argument to --with-build-time-tools must be an absolute path" >&5
9573$as_echo "$as_me: WARNING: argument to --with-build-time-tools must be an absolute path" >&2;}
9574 ;;
9575 esac
9576else
9577 with_build_time_tools=
9578fi
9579
9580
9581
9582
9583if test -n "$CC_FOR_TARGET"; then
9584 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9585elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9586 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9587fi
9588
9589if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9590 for ncn_progname in cc gcc; do
9591 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9592set dummy ${ncn_progname}; ac_word=$2
9593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9594$as_echo_n "checking for $ac_word... " >&6; }
9595if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9596 $as_echo_n "(cached) " >&6
9597else
9598 if test -n "$CC_FOR_TARGET"; then
9599 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9600else
9601as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9602for as_dir in $PATH
9603do
9604 IFS=$as_save_IFS
9605 test -z "$as_dir" && as_dir=.
9606 for ac_exec_ext in '' $ac_executable_extensions; do
9607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9608 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9610 break 2
9611 fi
9612done
9613 done
9614IFS=$as_save_IFS
9615
9616fi
9617fi
9618CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9619if test -n "$CC_FOR_TARGET"; then
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9621$as_echo "$CC_FOR_TARGET" >&6; }
9622else
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9624$as_echo "no" >&6; }
9625fi
9626
9627
9628 done
9629fi
9630
9631if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9632 for ncn_progname in cc gcc; do
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9634$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9635 if test -x $with_build_time_tools/${ncn_progname}; then
9636 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9638$as_echo "yes" >&6; }
9639 break
9640 else
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9642$as_echo "no" >&6; }
9643 fi
9644 done
9645fi
9646
9647if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9648 for ncn_progname in cc gcc; do
9649 if test -n "$ncn_target_tool_prefix"; then
9650 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9651set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9653$as_echo_n "checking for $ac_word... " >&6; }
9654if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9655 $as_echo_n "(cached) " >&6
9656else
9657 if test -n "$CC_FOR_TARGET"; then
9658 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9659else
9660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9661for as_dir in $PATH
9662do
9663 IFS=$as_save_IFS
9664 test -z "$as_dir" && as_dir=.
9665 for ac_exec_ext in '' $ac_executable_extensions; do
9666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9667 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9669 break 2
9670 fi
9671done
9672 done
9673IFS=$as_save_IFS
9674
9675fi
9676fi
9677CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9678if test -n "$CC_FOR_TARGET"; then
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9680$as_echo "$CC_FOR_TARGET" >&6; }
9681else
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9683$as_echo "no" >&6; }
9684fi
9685
9686
9687 fi
9688 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9689 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9690set dummy ${ncn_progname}; ac_word=$2
9691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9692$as_echo_n "checking for $ac_word... " >&6; }
9693if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9694 $as_echo_n "(cached) " >&6
9695else
9696 if test -n "$CC_FOR_TARGET"; then
9697 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9698else
9699as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9700for as_dir in $PATH
9701do
9702 IFS=$as_save_IFS
9703 test -z "$as_dir" && as_dir=.
9704 for ac_exec_ext in '' $ac_executable_extensions; do
9705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9706 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9708 break 2
9709 fi
9710done
9711 done
9712IFS=$as_save_IFS
9713
9714fi
9715fi
9716CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9717if test -n "$CC_FOR_TARGET"; then
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_TARGET" >&5
9719$as_echo "$CC_FOR_TARGET" >&6; }
9720else
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9722$as_echo "no" >&6; }
9723fi
9724
9725
9726 fi
9727 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9728 done
9729fi
9730
9731if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9732 set dummy cc gcc
9733 if test $build = $target ; then
9734 CC_FOR_TARGET="$2"
9735 else
9736 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9737 fi
9738else
9739 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9740fi
9741
9742
9743
9744if test -n "$CXX_FOR_TARGET"; then
9745 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9746elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9747 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9748fi
9749
9750if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9751 for ncn_progname in c++ g++ cxx gxx; do
9752 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9753set dummy ${ncn_progname}; ac_word=$2
9754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9755$as_echo_n "checking for $ac_word... " >&6; }
9756if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9757 $as_echo_n "(cached) " >&6
9758else
9759 if test -n "$CXX_FOR_TARGET"; then
9760 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9761else
9762as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9763for as_dir in $PATH
9764do
9765 IFS=$as_save_IFS
9766 test -z "$as_dir" && as_dir=.
9767 for ac_exec_ext in '' $ac_executable_extensions; do
9768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9769 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9771 break 2
9772 fi
9773done
9774 done
9775IFS=$as_save_IFS
9776
9777fi
9778fi
9779CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9780if test -n "$CXX_FOR_TARGET"; then
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9782$as_echo "$CXX_FOR_TARGET" >&6; }
9783else
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9785$as_echo "no" >&6; }
9786fi
9787
9788
9789 done
9790fi
9791
9792if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9793 for ncn_progname in c++ g++ cxx gxx; do
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9795$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9796 if test -x $with_build_time_tools/${ncn_progname}; then
9797 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9799$as_echo "yes" >&6; }
9800 break
9801 else
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9803$as_echo "no" >&6; }
9804 fi
9805 done
9806fi
9807
9808if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9809 for ncn_progname in c++ g++ cxx gxx; do
9810 if test -n "$ncn_target_tool_prefix"; then
9811 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9812set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9814$as_echo_n "checking for $ac_word... " >&6; }
9815if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9816 $as_echo_n "(cached) " >&6
9817else
9818 if test -n "$CXX_FOR_TARGET"; then
9819 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9820else
9821as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9822for as_dir in $PATH
9823do
9824 IFS=$as_save_IFS
9825 test -z "$as_dir" && as_dir=.
9826 for ac_exec_ext in '' $ac_executable_extensions; do
9827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9828 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9830 break 2
9831 fi
9832done
9833 done
9834IFS=$as_save_IFS
9835
9836fi
9837fi
9838CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9839if test -n "$CXX_FOR_TARGET"; then
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9841$as_echo "$CXX_FOR_TARGET" >&6; }
9842else
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9844$as_echo "no" >&6; }
9845fi
9846
9847
9848 fi
9849 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9850 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9851set dummy ${ncn_progname}; ac_word=$2
9852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9853$as_echo_n "checking for $ac_word... " >&6; }
9854if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9855 $as_echo_n "(cached) " >&6
9856else
9857 if test -n "$CXX_FOR_TARGET"; then
9858 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9859else
9860as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9861for as_dir in $PATH
9862do
9863 IFS=$as_save_IFS
9864 test -z "$as_dir" && as_dir=.
9865 for ac_exec_ext in '' $ac_executable_extensions; do
9866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9867 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9869 break 2
9870 fi
9871done
9872 done
9873IFS=$as_save_IFS
9874
9875fi
9876fi
9877CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9878if test -n "$CXX_FOR_TARGET"; then
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX_FOR_TARGET" >&5
9880$as_echo "$CXX_FOR_TARGET" >&6; }
9881else
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9883$as_echo "no" >&6; }
9884fi
9885
9886
9887 fi
9888 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9889 done
9890fi
9891
9892if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9893 set dummy c++ g++ cxx gxx
9894 if test $build = $target ; then
9895 CXX_FOR_TARGET="$2"
9896 else
9897 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9898 fi
9899else
9900 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9901fi
9902
9903
9904
9905if test -n "$GCC_FOR_TARGET"; then
9906 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9907elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9908 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9909fi
9910
9911if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9912 for ncn_progname in gcc; do
9913 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9914set dummy ${ncn_progname}; ac_word=$2
9915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9916$as_echo_n "checking for $ac_word... " >&6; }
9917if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9918 $as_echo_n "(cached) " >&6
9919else
9920 if test -n "$GCC_FOR_TARGET"; then
9921 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9922else
9923as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9924for as_dir in $PATH
9925do
9926 IFS=$as_save_IFS
9927 test -z "$as_dir" && as_dir=.
9928 for ac_exec_ext in '' $ac_executable_extensions; do
9929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9930 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9932 break 2
9933 fi
9934done
9935 done
9936IFS=$as_save_IFS
9937
9938fi
9939fi
9940GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9941if test -n "$GCC_FOR_TARGET"; then
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
9943$as_echo "$GCC_FOR_TARGET" >&6; }
9944else
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9946$as_echo "no" >&6; }
9947fi
9948
9949
9950 done
9951fi
9952
9953if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9954 for ncn_progname in gcc; do
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
9956$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
9957 if test -x $with_build_time_tools/${ncn_progname}; then
9958 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9960$as_echo "yes" >&6; }
9961 break
9962 else
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9964$as_echo "no" >&6; }
9965 fi
9966 done
9967fi
9968
9969if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
9970 for ncn_progname in gcc; do
9971 if test -n "$ncn_target_tool_prefix"; then
9972 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9973set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9975$as_echo_n "checking for $ac_word... " >&6; }
9976if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9977 $as_echo_n "(cached) " >&6
9978else
9979 if test -n "$GCC_FOR_TARGET"; then
9980 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9981else
9982as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9983for as_dir in $PATH
9984do
9985 IFS=$as_save_IFS
9986 test -z "$as_dir" && as_dir=.
9987 for ac_exec_ext in '' $ac_executable_extensions; do
9988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9989 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9991 break 2
9992 fi
9993done
9994 done
9995IFS=$as_save_IFS
9996
9997fi
9998fi
9999GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10000if test -n "$GCC_FOR_TARGET"; then
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10002$as_echo "$GCC_FOR_TARGET" >&6; }
10003else
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10005$as_echo "no" >&6; }
10006fi
10007
10008
10009 fi
10010 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10011 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10012set dummy ${ncn_progname}; ac_word=$2
10013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10014$as_echo_n "checking for $ac_word... " >&6; }
10015if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10016 $as_echo_n "(cached) " >&6
10017else
10018 if test -n "$GCC_FOR_TARGET"; then
10019 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10020else
10021as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10022for as_dir in $PATH
10023do
10024 IFS=$as_save_IFS
10025 test -z "$as_dir" && as_dir=.
10026 for ac_exec_ext in '' $ac_executable_extensions; do
10027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10028 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10030 break 2
10031 fi
10032done
10033 done
10034IFS=$as_save_IFS
10035
10036fi
10037fi
10038GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10039if test -n "$GCC_FOR_TARGET"; then
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_FOR_TARGET" >&5
10041$as_echo "$GCC_FOR_TARGET" >&6; }
10042else
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10044$as_echo "no" >&6; }
10045fi
10046
10047
10048 fi
10049 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10050 done
10051fi
10052
10053if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10054 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10055else
10056 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10057fi
10058
10059
10060
10061if test -n "$GCJ_FOR_TARGET"; then
10062 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10063elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10064 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10065fi
10066
10067if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10068 for ncn_progname in gcj; do
10069 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10070set dummy ${ncn_progname}; ac_word=$2
10071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10072$as_echo_n "checking for $ac_word... " >&6; }
10073if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10074 $as_echo_n "(cached) " >&6
10075else
10076 if test -n "$GCJ_FOR_TARGET"; then
10077 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10078else
10079as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10080for as_dir in $PATH
10081do
10082 IFS=$as_save_IFS
10083 test -z "$as_dir" && as_dir=.
10084 for ac_exec_ext in '' $ac_executable_extensions; do
10085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10086 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10088 break 2
10089 fi
10090done
10091 done
10092IFS=$as_save_IFS
10093
10094fi
10095fi
10096GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10097if test -n "$GCJ_FOR_TARGET"; then
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10099$as_echo "$GCJ_FOR_TARGET" >&6; }
10100else
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10102$as_echo "no" >&6; }
10103fi
10104
10105
10106 done
10107fi
10108
10109if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10110 for ncn_progname in gcj; do
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10112$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10113 if test -x $with_build_time_tools/${ncn_progname}; then
10114 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10116$as_echo "yes" >&6; }
10117 break
10118 else
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10120$as_echo "no" >&6; }
10121 fi
10122 done
10123fi
10124
10125if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10126 for ncn_progname in gcj; do
10127 if test -n "$ncn_target_tool_prefix"; then
10128 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10129set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10131$as_echo_n "checking for $ac_word... " >&6; }
10132if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10133 $as_echo_n "(cached) " >&6
10134else
10135 if test -n "$GCJ_FOR_TARGET"; then
10136 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10137else
10138as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10139for as_dir in $PATH
10140do
10141 IFS=$as_save_IFS
10142 test -z "$as_dir" && as_dir=.
10143 for ac_exec_ext in '' $ac_executable_extensions; do
10144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10145 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10147 break 2
10148 fi
10149done
10150 done
10151IFS=$as_save_IFS
10152
10153fi
10154fi
10155GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10156if test -n "$GCJ_FOR_TARGET"; then
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10158$as_echo "$GCJ_FOR_TARGET" >&6; }
10159else
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10161$as_echo "no" >&6; }
10162fi
10163
10164
10165 fi
10166 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10167 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10168set dummy ${ncn_progname}; ac_word=$2
10169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10170$as_echo_n "checking for $ac_word... " >&6; }
10171if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10172 $as_echo_n "(cached) " >&6
10173else
10174 if test -n "$GCJ_FOR_TARGET"; then
10175 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10176else
10177as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10178for as_dir in $PATH
10179do
10180 IFS=$as_save_IFS
10181 test -z "$as_dir" && as_dir=.
10182 for ac_exec_ext in '' $ac_executable_extensions; do
10183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10184 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10186 break 2
10187 fi
10188done
10189 done
10190IFS=$as_save_IFS
10191
10192fi
10193fi
10194GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10195if test -n "$GCJ_FOR_TARGET"; then
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ_FOR_TARGET" >&5
10197$as_echo "$GCJ_FOR_TARGET" >&6; }
10198else
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10200$as_echo "no" >&6; }
10201fi
10202
10203
10204 fi
10205 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10206 done
10207fi
10208
10209if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10210 set dummy gcj
10211 if test $build = $target ; then
10212 GCJ_FOR_TARGET="$2"
10213 else
10214 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10215 fi
10216else
10217 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10218fi
10219
10220
10221
10222if test -n "$GFORTRAN_FOR_TARGET"; then
10223 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10224elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10225 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10226fi
10227
10228if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10229 for ncn_progname in gfortran; do
10230 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10231set dummy ${ncn_progname}; ac_word=$2
10232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10233$as_echo_n "checking for $ac_word... " >&6; }
10234if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10235 $as_echo_n "(cached) " >&6
10236else
10237 if test -n "$GFORTRAN_FOR_TARGET"; then
10238 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10239else
10240as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10241for as_dir in $PATH
10242do
10243 IFS=$as_save_IFS
10244 test -z "$as_dir" && as_dir=.
10245 for ac_exec_ext in '' $ac_executable_extensions; do
10246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10247 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10249 break 2
10250 fi
10251done
10252 done
10253IFS=$as_save_IFS
10254
10255fi
10256fi
10257GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10258if test -n "$GFORTRAN_FOR_TARGET"; then
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10260$as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10261else
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10263$as_echo "no" >&6; }
10264fi
10265
10266
10267 done
10268fi
10269
10270if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10271 for ncn_progname in gfortran; do
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10273$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10274 if test -x $with_build_time_tools/${ncn_progname}; then
10275 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10277$as_echo "yes" >&6; }
10278 break
10279 else
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10281$as_echo "no" >&6; }
10282 fi
10283 done
10284fi
10285
10286if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10287 for ncn_progname in gfortran; do
10288 if test -n "$ncn_target_tool_prefix"; then
10289 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10290set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10292$as_echo_n "checking for $ac_word... " >&6; }
10293if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10294 $as_echo_n "(cached) " >&6
10295else
10296 if test -n "$GFORTRAN_FOR_TARGET"; then
10297 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10298else
10299as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10300for as_dir in $PATH
10301do
10302 IFS=$as_save_IFS
10303 test -z "$as_dir" && as_dir=.
10304 for ac_exec_ext in '' $ac_executable_extensions; do
10305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10306 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10308 break 2
10309 fi
10310done
10311 done
10312IFS=$as_save_IFS
10313
10314fi
10315fi
10316GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10317if test -n "$GFORTRAN_FOR_TARGET"; then
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10319$as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10320else
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10322$as_echo "no" >&6; }
10323fi
10324
10325
10326 fi
10327 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10328 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10329set dummy ${ncn_progname}; ac_word=$2
10330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10331$as_echo_n "checking for $ac_word... " >&6; }
10332if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10333 $as_echo_n "(cached) " >&6
10334else
10335 if test -n "$GFORTRAN_FOR_TARGET"; then
10336 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10337else
10338as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10339for as_dir in $PATH
10340do
10341 IFS=$as_save_IFS
10342 test -z "$as_dir" && as_dir=.
10343 for ac_exec_ext in '' $ac_executable_extensions; do
10344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10345 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10347 break 2
10348 fi
10349done
10350 done
10351IFS=$as_save_IFS
10352
10353fi
10354fi
10355GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10356if test -n "$GFORTRAN_FOR_TARGET"; then
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GFORTRAN_FOR_TARGET" >&5
10358$as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10359else
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10361$as_echo "no" >&6; }
10362fi
10363
10364
10365 fi
10366 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10367 done
10368fi
10369
10370if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10371 set dummy gfortran
10372 if test $build = $target ; then
10373 GFORTRAN_FOR_TARGET="$2"
10374 else
10375 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10376 fi
10377else
10378 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10379fi
10380
10381
10382
10383if test -n "$GOC_FOR_TARGET"; then
10384 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10385elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10386 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10387fi
10388
10389if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10390 for ncn_progname in gccgo; do
10391 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10392set dummy ${ncn_progname}; ac_word=$2
10393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10394$as_echo_n "checking for $ac_word... " >&6; }
10395if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10396 $as_echo_n "(cached) " >&6
10397else
10398 if test -n "$GOC_FOR_TARGET"; then
10399 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10400else
10401as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10402for as_dir in $PATH
10403do
10404 IFS=$as_save_IFS
10405 test -z "$as_dir" && as_dir=.
10406 for ac_exec_ext in '' $ac_executable_extensions; do
10407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10408 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10410 break 2
10411 fi
10412done
10413 done
10414IFS=$as_save_IFS
10415
10416fi
10417fi
10418GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10419if test -n "$GOC_FOR_TARGET"; then
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10421$as_echo "$GOC_FOR_TARGET" >&6; }
10422else
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10424$as_echo "no" >&6; }
10425fi
10426
10427
10428 done
10429fi
10430
10431if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10432 for ncn_progname in gccgo; do
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10434$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10435 if test -x $with_build_time_tools/${ncn_progname}; then
10436 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10438$as_echo "yes" >&6; }
10439 break
10440 else
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10442$as_echo "no" >&6; }
10443 fi
10444 done
10445fi
10446
10447if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10448 for ncn_progname in gccgo; do
10449 if test -n "$ncn_target_tool_prefix"; then
10450 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10451set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10453$as_echo_n "checking for $ac_word... " >&6; }
10454if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10455 $as_echo_n "(cached) " >&6
10456else
10457 if test -n "$GOC_FOR_TARGET"; then
10458 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10459else
10460as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10461for as_dir in $PATH
10462do
10463 IFS=$as_save_IFS
10464 test -z "$as_dir" && as_dir=.
10465 for ac_exec_ext in '' $ac_executable_extensions; do
10466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10467 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10469 break 2
10470 fi
10471done
10472 done
10473IFS=$as_save_IFS
10474
10475fi
10476fi
10477GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10478if test -n "$GOC_FOR_TARGET"; then
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10480$as_echo "$GOC_FOR_TARGET" >&6; }
10481else
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10483$as_echo "no" >&6; }
10484fi
10485
10486
10487 fi
10488 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10489 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10490set dummy ${ncn_progname}; ac_word=$2
10491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10492$as_echo_n "checking for $ac_word... " >&6; }
10493if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10494 $as_echo_n "(cached) " >&6
10495else
10496 if test -n "$GOC_FOR_TARGET"; then
10497 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10498else
10499as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10500for as_dir in $PATH
10501do
10502 IFS=$as_save_IFS
10503 test -z "$as_dir" && as_dir=.
10504 for ac_exec_ext in '' $ac_executable_extensions; do
10505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10506 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10508 break 2
10509 fi
10510done
10511 done
10512IFS=$as_save_IFS
10513
10514fi
10515fi
10516GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10517if test -n "$GOC_FOR_TARGET"; then
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC_FOR_TARGET" >&5
10519$as_echo "$GOC_FOR_TARGET" >&6; }
10520else
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10522$as_echo "no" >&6; }
10523fi
10524
10525
10526 fi
10527 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10528 done
10529fi
10530
10531if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10532 set dummy gccgo
10533 if test $build = $target ; then
10534 GOC_FOR_TARGET="$2"
10535 else
10536 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10537 fi
10538else
10539 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10540fi
10541
10542
10543
10544cat > conftest.c << \EOF
10545#ifdef __GNUC__
10546 gcc_yay;
10547#endif
10548EOF
10549if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10550 have_gcc_for_target=yes
10551else
10552 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10553 have_gcc_for_target=no
10554fi
10555rm conftest.c
10556
10557
10558
10559
10560if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10561 if test -n "$with_build_time_tools"; then
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ar in $with_build_time_tools" >&5
10563$as_echo_n "checking for ar in $with_build_time_tools... " >&6; }
10564 if test -x $with_build_time_tools/ar; then
10565 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10566 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AR_FOR_TARGET" >&5
10568$as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10569 else
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10571$as_echo "no" >&6; }
10572 fi
10573 elif test $build != $host && test $have_gcc_for_target = yes; then
10574 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10575 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10576 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10577 fi
10578fi
10579if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10580 # Extract the first word of "ar", so it can be a program name with args.
10581set dummy ar; ac_word=$2
10582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10583$as_echo_n "checking for $ac_word... " >&6; }
10584if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10585 $as_echo_n "(cached) " >&6
10586else
10587 case $AR_FOR_TARGET in
10588 [\\/]* | ?:[\\/]*)
10589 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10590 ;;
10591 *)
10592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10593for as_dir in $gcc_cv_tool_dirs
10594do
10595 IFS=$as_save_IFS
10596 test -z "$as_dir" && as_dir=.
10597 for ac_exec_ext in '' $ac_executable_extensions; do
10598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10599 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10601 break 2
10602 fi
10603done
10604 done
10605IFS=$as_save_IFS
10606
10607 ;;
10608esac
10609fi
10610AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10611if test -n "$AR_FOR_TARGET"; then
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10613$as_echo "$AR_FOR_TARGET" >&6; }
10614else
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10616$as_echo "no" >&6; }
10617fi
10618
10619
10620fi
10621if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10622
10623
10624if test -n "$AR_FOR_TARGET"; then
10625 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10626elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10627 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10628fi
10629
10630if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10631 for ncn_progname in ar; do
10632 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10633set dummy ${ncn_progname}; ac_word=$2
10634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10635$as_echo_n "checking for $ac_word... " >&6; }
10636if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10637 $as_echo_n "(cached) " >&6
10638else
10639 if test -n "$AR_FOR_TARGET"; then
10640 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10641else
10642as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10643for as_dir in $PATH
10644do
10645 IFS=$as_save_IFS
10646 test -z "$as_dir" && as_dir=.
10647 for ac_exec_ext in '' $ac_executable_extensions; do
10648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10649 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10651 break 2
10652 fi
10653done
10654 done
10655IFS=$as_save_IFS
10656
10657fi
10658fi
10659AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10660if test -n "$AR_FOR_TARGET"; then
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10662$as_echo "$AR_FOR_TARGET" >&6; }
10663else
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10665$as_echo "no" >&6; }
10666fi
10667
10668
10669 done
10670fi
10671
10672if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10673 for ncn_progname in ar; do
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10675$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10676 if test -x $with_build_time_tools/${ncn_progname}; then
10677 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10679$as_echo "yes" >&6; }
10680 break
10681 else
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10683$as_echo "no" >&6; }
10684 fi
10685 done
10686fi
10687
10688if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10689 for ncn_progname in ar; do
10690 if test -n "$ncn_target_tool_prefix"; then
10691 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10692set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10694$as_echo_n "checking for $ac_word... " >&6; }
10695if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10696 $as_echo_n "(cached) " >&6
10697else
10698 if test -n "$AR_FOR_TARGET"; then
10699 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10700else
10701as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10702for as_dir in $PATH
10703do
10704 IFS=$as_save_IFS
10705 test -z "$as_dir" && as_dir=.
10706 for ac_exec_ext in '' $ac_executable_extensions; do
10707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10708 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10710 break 2
10711 fi
10712done
10713 done
10714IFS=$as_save_IFS
10715
10716fi
10717fi
10718AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10719if test -n "$AR_FOR_TARGET"; then
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10721$as_echo "$AR_FOR_TARGET" >&6; }
10722else
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10724$as_echo "no" >&6; }
10725fi
10726
10727
10728 fi
10729 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10730 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10731set dummy ${ncn_progname}; ac_word=$2
10732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10733$as_echo_n "checking for $ac_word... " >&6; }
10734if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10735 $as_echo_n "(cached) " >&6
10736else
10737 if test -n "$AR_FOR_TARGET"; then
10738 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10739else
10740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10741for as_dir in $PATH
10742do
10743 IFS=$as_save_IFS
10744 test -z "$as_dir" && as_dir=.
10745 for ac_exec_ext in '' $ac_executable_extensions; do
10746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10747 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10749 break 2
10750 fi
10751done
10752 done
10753IFS=$as_save_IFS
10754
10755fi
10756fi
10757AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10758if test -n "$AR_FOR_TARGET"; then
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR_FOR_TARGET" >&5
10760$as_echo "$AR_FOR_TARGET" >&6; }
10761else
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10763$as_echo "no" >&6; }
10764fi
10765
10766
10767 fi
10768 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10769 done
10770fi
10771
10772if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10773 set dummy ar
10774 if test $build = $target ; then
10775 AR_FOR_TARGET="$2"
10776 else
10777 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10778 fi
10779else
10780 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10781fi
10782
10783else
10784 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10785fi
10786
10787
10788
10789
10790if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10791 if test -n "$with_build_time_tools"; then
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as in $with_build_time_tools" >&5
10793$as_echo_n "checking for as in $with_build_time_tools... " >&6; }
10794 if test -x $with_build_time_tools/as; then
10795 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10796 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_AS_FOR_TARGET" >&5
10798$as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10799 else
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10801$as_echo "no" >&6; }
10802 fi
10803 elif test $build != $host && test $have_gcc_for_target = yes; then
10804 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10805 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10806 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10807 fi
10808fi
10809if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10810 # Extract the first word of "as", so it can be a program name with args.
10811set dummy as; ac_word=$2
10812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10813$as_echo_n "checking for $ac_word... " >&6; }
10814if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10815 $as_echo_n "(cached) " >&6
10816else
10817 case $AS_FOR_TARGET in
10818 [\\/]* | ?:[\\/]*)
10819 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10820 ;;
10821 *)
10822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10823for as_dir in $gcc_cv_tool_dirs
10824do
10825 IFS=$as_save_IFS
10826 test -z "$as_dir" && as_dir=.
10827 for ac_exec_ext in '' $ac_executable_extensions; do
10828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10829 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10831 break 2
10832 fi
10833done
10834 done
10835IFS=$as_save_IFS
10836
10837 ;;
10838esac
10839fi
10840AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10841if test -n "$AS_FOR_TARGET"; then
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10843$as_echo "$AS_FOR_TARGET" >&6; }
10844else
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10846$as_echo "no" >&6; }
10847fi
10848
10849
10850fi
10851if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10852
10853
10854if test -n "$AS_FOR_TARGET"; then
10855 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10856elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10857 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10858fi
10859
10860if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10861 for ncn_progname in as; do
10862 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10863set dummy ${ncn_progname}; ac_word=$2
10864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10865$as_echo_n "checking for $ac_word... " >&6; }
10866if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10867 $as_echo_n "(cached) " >&6
10868else
10869 if test -n "$AS_FOR_TARGET"; then
10870 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10871else
10872as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10873for as_dir in $PATH
10874do
10875 IFS=$as_save_IFS
10876 test -z "$as_dir" && as_dir=.
10877 for ac_exec_ext in '' $ac_executable_extensions; do
10878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10879 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10881 break 2
10882 fi
10883done
10884 done
10885IFS=$as_save_IFS
10886
10887fi
10888fi
10889AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10890if test -n "$AS_FOR_TARGET"; then
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10892$as_echo "$AS_FOR_TARGET" >&6; }
10893else
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10895$as_echo "no" >&6; }
10896fi
10897
10898
10899 done
10900fi
10901
10902if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10903 for ncn_progname in as; do
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
10905$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
10906 if test -x $with_build_time_tools/${ncn_progname}; then
10907 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10909$as_echo "yes" >&6; }
10910 break
10911 else
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10913$as_echo "no" >&6; }
10914 fi
10915 done
10916fi
10917
10918if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10919 for ncn_progname in as; do
10920 if test -n "$ncn_target_tool_prefix"; then
10921 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10922set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10924$as_echo_n "checking for $ac_word... " >&6; }
10925if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10926 $as_echo_n "(cached) " >&6
10927else
10928 if test -n "$AS_FOR_TARGET"; then
10929 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10930else
10931as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10932for as_dir in $PATH
10933do
10934 IFS=$as_save_IFS
10935 test -z "$as_dir" && as_dir=.
10936 for ac_exec_ext in '' $ac_executable_extensions; do
10937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10938 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10940 break 2
10941 fi
10942done
10943 done
10944IFS=$as_save_IFS
10945
10946fi
10947fi
10948AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10949if test -n "$AS_FOR_TARGET"; then
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10951$as_echo "$AS_FOR_TARGET" >&6; }
10952else
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10954$as_echo "no" >&6; }
10955fi
10956
10957
10958 fi
10959 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
10960 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10961set dummy ${ncn_progname}; ac_word=$2
10962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10963$as_echo_n "checking for $ac_word... " >&6; }
10964if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10965 $as_echo_n "(cached) " >&6
10966else
10967 if test -n "$AS_FOR_TARGET"; then
10968 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10969else
10970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10971for as_dir in $PATH
10972do
10973 IFS=$as_save_IFS
10974 test -z "$as_dir" && as_dir=.
10975 for ac_exec_ext in '' $ac_executable_extensions; do
10976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10977 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10979 break 2
10980 fi
10981done
10982 done
10983IFS=$as_save_IFS
10984
10985fi
10986fi
10987AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10988if test -n "$AS_FOR_TARGET"; then
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS_FOR_TARGET" >&5
10990$as_echo "$AS_FOR_TARGET" >&6; }
10991else
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10993$as_echo "no" >&6; }
10994fi
10995
10996
10997 fi
10998 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
10999 done
11000fi
11001
11002if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11003 set dummy as
11004 if test $build = $target ; then
11005 AS_FOR_TARGET="$2"
11006 else
11007 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11008 fi
11009else
11010 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11011fi
11012
11013else
11014 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11015fi
11016
11017
11018
11019
11020if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11021 if test -n "$with_build_time_tools"; then
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlltool in $with_build_time_tools" >&5
11023$as_echo_n "checking for dlltool in $with_build_time_tools... " >&6; }
11024 if test -x $with_build_time_tools/dlltool; then
11025 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11026 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11028$as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11029 else
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11031$as_echo "no" >&6; }
11032 fi
11033 elif test $build != $host && test $have_gcc_for_target = yes; then
11034 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11035 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11036 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11037 fi
11038fi
11039if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11040 # Extract the first word of "dlltool", so it can be a program name with args.
11041set dummy dlltool; ac_word=$2
11042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11043$as_echo_n "checking for $ac_word... " >&6; }
11044if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11045 $as_echo_n "(cached) " >&6
11046else
11047 case $DLLTOOL_FOR_TARGET in
11048 [\\/]* | ?:[\\/]*)
11049 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11050 ;;
11051 *)
11052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11053for as_dir in $gcc_cv_tool_dirs
11054do
11055 IFS=$as_save_IFS
11056 test -z "$as_dir" && as_dir=.
11057 for ac_exec_ext in '' $ac_executable_extensions; do
11058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11059 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11061 break 2
11062 fi
11063done
11064 done
11065IFS=$as_save_IFS
11066
11067 ;;
11068esac
11069fi
11070DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11071if test -n "$DLLTOOL_FOR_TARGET"; then
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11073$as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11074else
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11076$as_echo "no" >&6; }
11077fi
11078
11079
11080fi
11081if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11082
11083
11084if test -n "$DLLTOOL_FOR_TARGET"; then
11085 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11086elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11087 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11088fi
11089
11090if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11091 for ncn_progname in dlltool; do
11092 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11093set dummy ${ncn_progname}; ac_word=$2
11094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11095$as_echo_n "checking for $ac_word... " >&6; }
11096if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11097 $as_echo_n "(cached) " >&6
11098else
11099 if test -n "$DLLTOOL_FOR_TARGET"; then
11100 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11101else
11102as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11103for as_dir in $PATH
11104do
11105 IFS=$as_save_IFS
11106 test -z "$as_dir" && as_dir=.
11107 for ac_exec_ext in '' $ac_executable_extensions; do
11108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11109 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11111 break 2
11112 fi
11113done
11114 done
11115IFS=$as_save_IFS
11116
11117fi
11118fi
11119DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11120if test -n "$DLLTOOL_FOR_TARGET"; then
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11122$as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11123else
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11125$as_echo "no" >&6; }
11126fi
11127
11128
11129 done
11130fi
11131
11132if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11133 for ncn_progname in dlltool; do
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11135$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11136 if test -x $with_build_time_tools/${ncn_progname}; then
11137 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11139$as_echo "yes" >&6; }
11140 break
11141 else
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11143$as_echo "no" >&6; }
11144 fi
11145 done
11146fi
11147
11148if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11149 for ncn_progname in dlltool; do
11150 if test -n "$ncn_target_tool_prefix"; then
11151 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11152set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11154$as_echo_n "checking for $ac_word... " >&6; }
11155if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11156 $as_echo_n "(cached) " >&6
11157else
11158 if test -n "$DLLTOOL_FOR_TARGET"; then
11159 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11160else
11161as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11162for as_dir in $PATH
11163do
11164 IFS=$as_save_IFS
11165 test -z "$as_dir" && as_dir=.
11166 for ac_exec_ext in '' $ac_executable_extensions; do
11167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11168 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11170 break 2
11171 fi
11172done
11173 done
11174IFS=$as_save_IFS
11175
11176fi
11177fi
11178DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11179if test -n "$DLLTOOL_FOR_TARGET"; then
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11181$as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11182else
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11184$as_echo "no" >&6; }
11185fi
11186
11187
11188 fi
11189 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11190 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11191set dummy ${ncn_progname}; ac_word=$2
11192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11193$as_echo_n "checking for $ac_word... " >&6; }
11194if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11195 $as_echo_n "(cached) " >&6
11196else
11197 if test -n "$DLLTOOL_FOR_TARGET"; then
11198 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11199else
11200as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11201for as_dir in $PATH
11202do
11203 IFS=$as_save_IFS
11204 test -z "$as_dir" && as_dir=.
11205 for ac_exec_ext in '' $ac_executable_extensions; do
11206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11207 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11209 break 2
11210 fi
11211done
11212 done
11213IFS=$as_save_IFS
11214
11215fi
11216fi
11217DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11218if test -n "$DLLTOOL_FOR_TARGET"; then
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL_FOR_TARGET" >&5
11220$as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11221else
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11223$as_echo "no" >&6; }
11224fi
11225
11226
11227 fi
11228 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11229 done
11230fi
11231
11232if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11233 set dummy dlltool
11234 if test $build = $target ; then
11235 DLLTOOL_FOR_TARGET="$2"
11236 else
11237 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11238 fi
11239else
11240 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11241fi
11242
11243else
11244 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11245fi
11246
11247
11248
11249
11250if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11251 if test -n "$with_build_time_tools"; then
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld in $with_build_time_tools" >&5
11253$as_echo_n "checking for ld in $with_build_time_tools... " >&6; }
11254 if test -x $with_build_time_tools/ld; then
11255 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11256 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LD_FOR_TARGET" >&5
11258$as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11259 else
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11261$as_echo "no" >&6; }
11262 fi
11263 elif test $build != $host && test $have_gcc_for_target = yes; then
11264 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11265 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11266 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11267 fi
11268fi
11269if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11270 # Extract the first word of "ld", so it can be a program name with args.
11271set dummy ld; ac_word=$2
11272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11273$as_echo_n "checking for $ac_word... " >&6; }
11274if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11275 $as_echo_n "(cached) " >&6
11276else
11277 case $LD_FOR_TARGET in
11278 [\\/]* | ?:[\\/]*)
11279 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11280 ;;
11281 *)
11282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11283for as_dir in $gcc_cv_tool_dirs
11284do
11285 IFS=$as_save_IFS
11286 test -z "$as_dir" && as_dir=.
11287 for ac_exec_ext in '' $ac_executable_extensions; do
11288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11289 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11291 break 2
11292 fi
11293done
11294 done
11295IFS=$as_save_IFS
11296
11297 ;;
11298esac
11299fi
11300LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11301if test -n "$LD_FOR_TARGET"; then
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11303$as_echo "$LD_FOR_TARGET" >&6; }
11304else
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11306$as_echo "no" >&6; }
11307fi
11308
11309
11310fi
11311if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11312
11313
11314if test -n "$LD_FOR_TARGET"; then
11315 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11316elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11317 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11318fi
11319
11320if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11321 for ncn_progname in ld; do
11322 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11323set dummy ${ncn_progname}; ac_word=$2
11324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11325$as_echo_n "checking for $ac_word... " >&6; }
11326if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11327 $as_echo_n "(cached) " >&6
11328else
11329 if test -n "$LD_FOR_TARGET"; then
11330 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11331else
11332as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11333for as_dir in $PATH
11334do
11335 IFS=$as_save_IFS
11336 test -z "$as_dir" && as_dir=.
11337 for ac_exec_ext in '' $ac_executable_extensions; do
11338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11339 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11341 break 2
11342 fi
11343done
11344 done
11345IFS=$as_save_IFS
11346
11347fi
11348fi
11349LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11350if test -n "$LD_FOR_TARGET"; then
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11352$as_echo "$LD_FOR_TARGET" >&6; }
11353else
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11355$as_echo "no" >&6; }
11356fi
11357
11358
11359 done
11360fi
11361
11362if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11363 for ncn_progname in ld; do
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11365$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11366 if test -x $with_build_time_tools/${ncn_progname}; then
11367 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11369$as_echo "yes" >&6; }
11370 break
11371 else
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11373$as_echo "no" >&6; }
11374 fi
11375 done
11376fi
11377
11378if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11379 for ncn_progname in ld; do
11380 if test -n "$ncn_target_tool_prefix"; then
11381 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11382set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11384$as_echo_n "checking for $ac_word... " >&6; }
11385if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11386 $as_echo_n "(cached) " >&6
11387else
11388 if test -n "$LD_FOR_TARGET"; then
11389 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11390else
11391as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11392for as_dir in $PATH
11393do
11394 IFS=$as_save_IFS
11395 test -z "$as_dir" && as_dir=.
11396 for ac_exec_ext in '' $ac_executable_extensions; do
11397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11398 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11400 break 2
11401 fi
11402done
11403 done
11404IFS=$as_save_IFS
11405
11406fi
11407fi
11408LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11409if test -n "$LD_FOR_TARGET"; then
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11411$as_echo "$LD_FOR_TARGET" >&6; }
11412else
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11414$as_echo "no" >&6; }
11415fi
11416
11417
11418 fi
11419 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11420 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11421set dummy ${ncn_progname}; ac_word=$2
11422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11423$as_echo_n "checking for $ac_word... " >&6; }
11424if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11425 $as_echo_n "(cached) " >&6
11426else
11427 if test -n "$LD_FOR_TARGET"; then
11428 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11429else
11430as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11431for as_dir in $PATH
11432do
11433 IFS=$as_save_IFS
11434 test -z "$as_dir" && as_dir=.
11435 for ac_exec_ext in '' $ac_executable_extensions; do
11436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11437 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11439 break 2
11440 fi
11441done
11442 done
11443IFS=$as_save_IFS
11444
11445fi
11446fi
11447LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11448if test -n "$LD_FOR_TARGET"; then
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD_FOR_TARGET" >&5
11450$as_echo "$LD_FOR_TARGET" >&6; }
11451else
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11453$as_echo "no" >&6; }
11454fi
11455
11456
11457 fi
11458 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11459 done
11460fi
11461
11462if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11463 set dummy ld
11464 if test $build = $target ; then
11465 LD_FOR_TARGET="$2"
11466 else
11467 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11468 fi
11469else
11470 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11471fi
11472
11473else
11474 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11475fi
11476
11477
11478
11479
11480if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11481 if test -n "$with_build_time_tools"; then
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lipo in $with_build_time_tools" >&5
11483$as_echo_n "checking for lipo in $with_build_time_tools... " >&6; }
11484 if test -x $with_build_time_tools/lipo; then
11485 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11486 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
11488$as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11489 else
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11491$as_echo "no" >&6; }
11492 fi
11493 elif test $build != $host && test $have_gcc_for_target = yes; then
11494 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11495 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11496 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11497 fi
11498fi
11499if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11500 # Extract the first word of "lipo", so it can be a program name with args.
11501set dummy lipo; ac_word=$2
11502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11503$as_echo_n "checking for $ac_word... " >&6; }
11504if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11505 $as_echo_n "(cached) " >&6
11506else
11507 case $LIPO_FOR_TARGET in
11508 [\\/]* | ?:[\\/]*)
11509 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11510 ;;
11511 *)
11512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11513for as_dir in $gcc_cv_tool_dirs
11514do
11515 IFS=$as_save_IFS
11516 test -z "$as_dir" && as_dir=.
11517 for ac_exec_ext in '' $ac_executable_extensions; do
11518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11519 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11521 break 2
11522 fi
11523done
11524 done
11525IFS=$as_save_IFS
11526
11527 ;;
11528esac
11529fi
11530LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11531if test -n "$LIPO_FOR_TARGET"; then
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11533$as_echo "$LIPO_FOR_TARGET" >&6; }
11534else
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11536$as_echo "no" >&6; }
11537fi
11538
11539
11540fi
11541if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11542
11543
11544if test -n "$LIPO_FOR_TARGET"; then
11545 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11546elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11547 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11548fi
11549
11550if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11551 for ncn_progname in lipo; do
11552 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11553set dummy ${ncn_progname}; ac_word=$2
11554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11555$as_echo_n "checking for $ac_word... " >&6; }
11556if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11557 $as_echo_n "(cached) " >&6
11558else
11559 if test -n "$LIPO_FOR_TARGET"; then
11560 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11561else
11562as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11563for as_dir in $PATH
11564do
11565 IFS=$as_save_IFS
11566 test -z "$as_dir" && as_dir=.
11567 for ac_exec_ext in '' $ac_executable_extensions; do
11568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11569 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11571 break 2
11572 fi
11573done
11574 done
11575IFS=$as_save_IFS
11576
11577fi
11578fi
11579LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11580if test -n "$LIPO_FOR_TARGET"; then
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11582$as_echo "$LIPO_FOR_TARGET" >&6; }
11583else
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11585$as_echo "no" >&6; }
11586fi
11587
11588
11589 done
11590fi
11591
11592if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11593 for ncn_progname in lipo; do
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11595$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11596 if test -x $with_build_time_tools/${ncn_progname}; then
11597 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11599$as_echo "yes" >&6; }
11600 break
11601 else
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11603$as_echo "no" >&6; }
11604 fi
11605 done
11606fi
11607
11608if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11609 for ncn_progname in lipo; do
11610 if test -n "$ncn_target_tool_prefix"; then
11611 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11612set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11614$as_echo_n "checking for $ac_word... " >&6; }
11615if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11616 $as_echo_n "(cached) " >&6
11617else
11618 if test -n "$LIPO_FOR_TARGET"; then
11619 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11620else
11621as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11622for as_dir in $PATH
11623do
11624 IFS=$as_save_IFS
11625 test -z "$as_dir" && as_dir=.
11626 for ac_exec_ext in '' $ac_executable_extensions; do
11627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11628 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11630 break 2
11631 fi
11632done
11633 done
11634IFS=$as_save_IFS
11635
11636fi
11637fi
11638LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11639if test -n "$LIPO_FOR_TARGET"; then
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11641$as_echo "$LIPO_FOR_TARGET" >&6; }
11642else
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11644$as_echo "no" >&6; }
11645fi
11646
11647
11648 fi
11649 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11650 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11651set dummy ${ncn_progname}; ac_word=$2
11652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11653$as_echo_n "checking for $ac_word... " >&6; }
11654if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11655 $as_echo_n "(cached) " >&6
11656else
11657 if test -n "$LIPO_FOR_TARGET"; then
11658 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11659else
11660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11661for as_dir in $PATH
11662do
11663 IFS=$as_save_IFS
11664 test -z "$as_dir" && as_dir=.
11665 for ac_exec_ext in '' $ac_executable_extensions; do
11666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11667 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11669 break 2
11670 fi
11671done
11672 done
11673IFS=$as_save_IFS
11674
11675fi
11676fi
11677LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11678if test -n "$LIPO_FOR_TARGET"; then
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO_FOR_TARGET" >&5
11680$as_echo "$LIPO_FOR_TARGET" >&6; }
11681else
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11683$as_echo "no" >&6; }
11684fi
11685
11686
11687 fi
11688 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11689 done
11690fi
11691
11692if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11693 set dummy lipo
11694 if test $build = $target ; then
11695 LIPO_FOR_TARGET="$2"
11696 else
11697 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11698 fi
11699else
11700 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11701fi
11702
11703else
11704 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11705fi
11706
11707
11708
11709
11710if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11711 if test -n "$with_build_time_tools"; then
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm in $with_build_time_tools" >&5
11713$as_echo_n "checking for nm in $with_build_time_tools... " >&6; }
11714 if test -x $with_build_time_tools/nm; then
11715 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11716 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_NM_FOR_TARGET" >&5
11718$as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11719 else
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11721$as_echo "no" >&6; }
11722 fi
11723 elif test $build != $host && test $have_gcc_for_target = yes; then
11724 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11725 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11726 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11727 fi
11728fi
11729if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11730 # Extract the first word of "nm", so it can be a program name with args.
11731set dummy nm; ac_word=$2
11732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11733$as_echo_n "checking for $ac_word... " >&6; }
11734if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11735 $as_echo_n "(cached) " >&6
11736else
11737 case $NM_FOR_TARGET in
11738 [\\/]* | ?:[\\/]*)
11739 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11740 ;;
11741 *)
11742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11743for as_dir in $gcc_cv_tool_dirs
11744do
11745 IFS=$as_save_IFS
11746 test -z "$as_dir" && as_dir=.
11747 for ac_exec_ext in '' $ac_executable_extensions; do
11748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11749 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11751 break 2
11752 fi
11753done
11754 done
11755IFS=$as_save_IFS
11756
11757 ;;
11758esac
11759fi
11760NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11761if test -n "$NM_FOR_TARGET"; then
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11763$as_echo "$NM_FOR_TARGET" >&6; }
11764else
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11766$as_echo "no" >&6; }
11767fi
11768
11769
11770fi
11771if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11772
11773
11774if test -n "$NM_FOR_TARGET"; then
11775 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11776elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11777 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11778fi
11779
11780if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11781 for ncn_progname in nm; do
11782 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11783set dummy ${ncn_progname}; ac_word=$2
11784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11785$as_echo_n "checking for $ac_word... " >&6; }
11786if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11787 $as_echo_n "(cached) " >&6
11788else
11789 if test -n "$NM_FOR_TARGET"; then
11790 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11791else
11792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11793for as_dir in $PATH
11794do
11795 IFS=$as_save_IFS
11796 test -z "$as_dir" && as_dir=.
11797 for ac_exec_ext in '' $ac_executable_extensions; do
11798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11799 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11801 break 2
11802 fi
11803done
11804 done
11805IFS=$as_save_IFS
11806
11807fi
11808fi
11809NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11810if test -n "$NM_FOR_TARGET"; then
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11812$as_echo "$NM_FOR_TARGET" >&6; }
11813else
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11815$as_echo "no" >&6; }
11816fi
11817
11818
11819 done
11820fi
11821
11822if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11823 for ncn_progname in nm; do
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
11825$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
11826 if test -x $with_build_time_tools/${ncn_progname}; then
11827 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11829$as_echo "yes" >&6; }
11830 break
11831 else
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11833$as_echo "no" >&6; }
11834 fi
11835 done
11836fi
11837
11838if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11839 for ncn_progname in nm; do
11840 if test -n "$ncn_target_tool_prefix"; then
11841 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11842set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11844$as_echo_n "checking for $ac_word... " >&6; }
11845if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11846 $as_echo_n "(cached) " >&6
11847else
11848 if test -n "$NM_FOR_TARGET"; then
11849 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11850else
11851as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11852for as_dir in $PATH
11853do
11854 IFS=$as_save_IFS
11855 test -z "$as_dir" && as_dir=.
11856 for ac_exec_ext in '' $ac_executable_extensions; do
11857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11858 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11860 break 2
11861 fi
11862done
11863 done
11864IFS=$as_save_IFS
11865
11866fi
11867fi
11868NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11869if test -n "$NM_FOR_TARGET"; then
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11871$as_echo "$NM_FOR_TARGET" >&6; }
11872else
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11874$as_echo "no" >&6; }
11875fi
11876
11877
11878 fi
11879 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11880 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11881set dummy ${ncn_progname}; ac_word=$2
11882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11883$as_echo_n "checking for $ac_word... " >&6; }
11884if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11885 $as_echo_n "(cached) " >&6
11886else
11887 if test -n "$NM_FOR_TARGET"; then
11888 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11889else
11890as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11891for as_dir in $PATH
11892do
11893 IFS=$as_save_IFS
11894 test -z "$as_dir" && as_dir=.
11895 for ac_exec_ext in '' $ac_executable_extensions; do
11896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11897 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11899 break 2
11900 fi
11901done
11902 done
11903IFS=$as_save_IFS
11904
11905fi
11906fi
11907NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11908if test -n "$NM_FOR_TARGET"; then
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM_FOR_TARGET" >&5
11910$as_echo "$NM_FOR_TARGET" >&6; }
11911else
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11913$as_echo "no" >&6; }
11914fi
11915
11916
11917 fi
11918 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11919 done
11920fi
11921
11922if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11923 set dummy nm
11924 if test $build = $target ; then
11925 NM_FOR_TARGET="$2"
11926 else
11927 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
11928 fi
11929else
11930 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
11931fi
11932
11933else
11934 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11935fi
11936
11937
11938
11939
11940if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11941 if test -n "$with_build_time_tools"; then
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdump in $with_build_time_tools" >&5
11943$as_echo_n "checking for objdump in $with_build_time_tools... " >&6; }
11944 if test -x $with_build_time_tools/objdump; then
11945 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
11946 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
11948$as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
11949 else
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11951$as_echo "no" >&6; }
11952 fi
11953 elif test $build != $host && test $have_gcc_for_target = yes; then
11954 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
11955 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
11956 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11957 fi
11958fi
11959if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11960 # Extract the first word of "objdump", so it can be a program name with args.
11961set dummy objdump; ac_word=$2
11962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11963$as_echo_n "checking for $ac_word... " >&6; }
11964if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
11965 $as_echo_n "(cached) " >&6
11966else
11967 case $OBJDUMP_FOR_TARGET in
11968 [\\/]* | ?:[\\/]*)
11969 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
11970 ;;
11971 *)
11972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11973for as_dir in $gcc_cv_tool_dirs
11974do
11975 IFS=$as_save_IFS
11976 test -z "$as_dir" && as_dir=.
11977 for ac_exec_ext in '' $ac_executable_extensions; do
11978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11979 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11981 break 2
11982 fi
11983done
11984 done
11985IFS=$as_save_IFS
11986
11987 ;;
11988esac
11989fi
11990OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11991if test -n "$OBJDUMP_FOR_TARGET"; then
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
11993$as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11994else
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11996$as_echo "no" >&6; }
11997fi
11998
11999
12000fi
12001if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12002
12003
12004if test -n "$OBJDUMP_FOR_TARGET"; then
12005 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12006elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12007 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12008fi
12009
12010if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12011 for ncn_progname in objdump; do
12012 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12013set dummy ${ncn_progname}; ac_word=$2
12014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12015$as_echo_n "checking for $ac_word... " >&6; }
12016if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12017 $as_echo_n "(cached) " >&6
12018else
12019 if test -n "$OBJDUMP_FOR_TARGET"; then
12020 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12021else
12022as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12023for as_dir in $PATH
12024do
12025 IFS=$as_save_IFS
12026 test -z "$as_dir" && as_dir=.
12027 for ac_exec_ext in '' $ac_executable_extensions; do
12028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12029 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12031 break 2
12032 fi
12033done
12034 done
12035IFS=$as_save_IFS
12036
12037fi
12038fi
12039OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12040if test -n "$OBJDUMP_FOR_TARGET"; then
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12042$as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12043else
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12045$as_echo "no" >&6; }
12046fi
12047
12048
12049 done
12050fi
12051
12052if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12053 for ncn_progname in objdump; do
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12055$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12056 if test -x $with_build_time_tools/${ncn_progname}; then
12057 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12059$as_echo "yes" >&6; }
12060 break
12061 else
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12063$as_echo "no" >&6; }
12064 fi
12065 done
12066fi
12067
12068if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12069 for ncn_progname in objdump; do
12070 if test -n "$ncn_target_tool_prefix"; then
12071 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12072set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12074$as_echo_n "checking for $ac_word... " >&6; }
12075if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12076 $as_echo_n "(cached) " >&6
12077else
12078 if test -n "$OBJDUMP_FOR_TARGET"; then
12079 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12080else
12081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12082for as_dir in $PATH
12083do
12084 IFS=$as_save_IFS
12085 test -z "$as_dir" && as_dir=.
12086 for ac_exec_ext in '' $ac_executable_extensions; do
12087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12088 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12090 break 2
12091 fi
12092done
12093 done
12094IFS=$as_save_IFS
12095
12096fi
12097fi
12098OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12099if test -n "$OBJDUMP_FOR_TARGET"; then
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12101$as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12102else
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12104$as_echo "no" >&6; }
12105fi
12106
12107
12108 fi
12109 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12110 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12111set dummy ${ncn_progname}; ac_word=$2
12112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12113$as_echo_n "checking for $ac_word... " >&6; }
12114if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12115 $as_echo_n "(cached) " >&6
12116else
12117 if test -n "$OBJDUMP_FOR_TARGET"; then
12118 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12119else
12120as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12121for as_dir in $PATH
12122do
12123 IFS=$as_save_IFS
12124 test -z "$as_dir" && as_dir=.
12125 for ac_exec_ext in '' $ac_executable_extensions; do
12126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12127 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12129 break 2
12130 fi
12131done
12132 done
12133IFS=$as_save_IFS
12134
12135fi
12136fi
12137OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12138if test -n "$OBJDUMP_FOR_TARGET"; then
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP_FOR_TARGET" >&5
12140$as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12141else
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12143$as_echo "no" >&6; }
12144fi
12145
12146
12147 fi
12148 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12149 done
12150fi
12151
12152if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12153 set dummy objdump
12154 if test $build = $target ; then
12155 OBJDUMP_FOR_TARGET="$2"
12156 else
12157 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12158 fi
12159else
12160 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12161fi
12162
12163else
12164 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12165fi
12166
12167
12168
12169
12170if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12171 if test -n "$with_build_time_tools"; then
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ranlib in $with_build_time_tools" >&5
12173$as_echo_n "checking for ranlib in $with_build_time_tools... " >&6; }
12174 if test -x $with_build_time_tools/ranlib; then
12175 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12176 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12178$as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12179 else
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12181$as_echo "no" >&6; }
12182 fi
12183 elif test $build != $host && test $have_gcc_for_target = yes; then
12184 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12185 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12186 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12187 fi
12188fi
12189if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12190 # Extract the first word of "ranlib", so it can be a program name with args.
12191set dummy ranlib; ac_word=$2
12192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12193$as_echo_n "checking for $ac_word... " >&6; }
12194if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12195 $as_echo_n "(cached) " >&6
12196else
12197 case $RANLIB_FOR_TARGET in
12198 [\\/]* | ?:[\\/]*)
12199 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12200 ;;
12201 *)
12202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12203for as_dir in $gcc_cv_tool_dirs
12204do
12205 IFS=$as_save_IFS
12206 test -z "$as_dir" && as_dir=.
12207 for ac_exec_ext in '' $ac_executable_extensions; do
12208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12209 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12211 break 2
12212 fi
12213done
12214 done
12215IFS=$as_save_IFS
12216
12217 ;;
12218esac
12219fi
12220RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12221if test -n "$RANLIB_FOR_TARGET"; then
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12223$as_echo "$RANLIB_FOR_TARGET" >&6; }
12224else
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12226$as_echo "no" >&6; }
12227fi
12228
12229
12230fi
12231if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12232
12233
12234if test -n "$RANLIB_FOR_TARGET"; then
12235 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12236elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12237 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12238fi
12239
12240if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12241 for ncn_progname in ranlib; do
12242 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12243set dummy ${ncn_progname}; ac_word=$2
12244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12245$as_echo_n "checking for $ac_word... " >&6; }
12246if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12247 $as_echo_n "(cached) " >&6
12248else
12249 if test -n "$RANLIB_FOR_TARGET"; then
12250 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12251else
12252as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12253for as_dir in $PATH
12254do
12255 IFS=$as_save_IFS
12256 test -z "$as_dir" && as_dir=.
12257 for ac_exec_ext in '' $ac_executable_extensions; do
12258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12259 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12261 break 2
12262 fi
12263done
12264 done
12265IFS=$as_save_IFS
12266
12267fi
12268fi
12269RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12270if test -n "$RANLIB_FOR_TARGET"; then
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12272$as_echo "$RANLIB_FOR_TARGET" >&6; }
12273else
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12275$as_echo "no" >&6; }
12276fi
12277
12278
12279 done
12280fi
12281
12282if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12283 for ncn_progname in ranlib; do
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12285$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12286 if test -x $with_build_time_tools/${ncn_progname}; then
12287 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12289$as_echo "yes" >&6; }
12290 break
12291 else
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12293$as_echo "no" >&6; }
12294 fi
12295 done
12296fi
12297
12298if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12299 for ncn_progname in ranlib; do
12300 if test -n "$ncn_target_tool_prefix"; then
12301 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12302set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12304$as_echo_n "checking for $ac_word... " >&6; }
12305if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12306 $as_echo_n "(cached) " >&6
12307else
12308 if test -n "$RANLIB_FOR_TARGET"; then
12309 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12310else
12311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12312for as_dir in $PATH
12313do
12314 IFS=$as_save_IFS
12315 test -z "$as_dir" && as_dir=.
12316 for ac_exec_ext in '' $ac_executable_extensions; do
12317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12318 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12320 break 2
12321 fi
12322done
12323 done
12324IFS=$as_save_IFS
12325
12326fi
12327fi
12328RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12329if test -n "$RANLIB_FOR_TARGET"; then
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12331$as_echo "$RANLIB_FOR_TARGET" >&6; }
12332else
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12334$as_echo "no" >&6; }
12335fi
12336
12337
12338 fi
12339 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12340 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12341set dummy ${ncn_progname}; ac_word=$2
12342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12343$as_echo_n "checking for $ac_word... " >&6; }
12344if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12345 $as_echo_n "(cached) " >&6
12346else
12347 if test -n "$RANLIB_FOR_TARGET"; then
12348 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12349else
12350as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12351for as_dir in $PATH
12352do
12353 IFS=$as_save_IFS
12354 test -z "$as_dir" && as_dir=.
12355 for ac_exec_ext in '' $ac_executable_extensions; do
12356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12357 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12359 break 2
12360 fi
12361done
12362 done
12363IFS=$as_save_IFS
12364
12365fi
12366fi
12367RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12368if test -n "$RANLIB_FOR_TARGET"; then
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB_FOR_TARGET" >&5
12370$as_echo "$RANLIB_FOR_TARGET" >&6; }
12371else
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12373$as_echo "no" >&6; }
12374fi
12375
12376
12377 fi
12378 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12379 done
12380fi
12381
12382if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12383 set dummy ranlib
12384 if test $build = $target ; then
12385 RANLIB_FOR_TARGET="$2"
12386 else
12387 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12388 fi
12389else
12390 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12391fi
12392
12393else
12394 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12395fi
12396
12397
12398
12399
12400if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12401 if test -n "$with_build_time_tools"; then
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strip in $with_build_time_tools" >&5
12403$as_echo_n "checking for strip in $with_build_time_tools... " >&6; }
12404 if test -x $with_build_time_tools/strip; then
12405 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12406 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
12408$as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12409 else
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12411$as_echo "no" >&6; }
12412 fi
12413 elif test $build != $host && test $have_gcc_for_target = yes; then
12414 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12415 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12416 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12417 fi
12418fi
12419if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12420 # Extract the first word of "strip", so it can be a program name with args.
12421set dummy strip; ac_word=$2
12422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12423$as_echo_n "checking for $ac_word... " >&6; }
12424if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12425 $as_echo_n "(cached) " >&6
12426else
12427 case $STRIP_FOR_TARGET in
12428 [\\/]* | ?:[\\/]*)
12429 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12430 ;;
12431 *)
12432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12433for as_dir in $gcc_cv_tool_dirs
12434do
12435 IFS=$as_save_IFS
12436 test -z "$as_dir" && as_dir=.
12437 for ac_exec_ext in '' $ac_executable_extensions; do
12438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12439 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12441 break 2
12442 fi
12443done
12444 done
12445IFS=$as_save_IFS
12446
12447 ;;
12448esac
12449fi
12450STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12451if test -n "$STRIP_FOR_TARGET"; then
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12453$as_echo "$STRIP_FOR_TARGET" >&6; }
12454else
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12456$as_echo "no" >&6; }
12457fi
12458
12459
12460fi
12461if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12462
12463
12464if test -n "$STRIP_FOR_TARGET"; then
12465 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12466elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12467 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12468fi
12469
12470if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12471 for ncn_progname in strip; do
12472 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12473set dummy ${ncn_progname}; ac_word=$2
12474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12475$as_echo_n "checking for $ac_word... " >&6; }
12476if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12477 $as_echo_n "(cached) " >&6
12478else
12479 if test -n "$STRIP_FOR_TARGET"; then
12480 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12481else
12482as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12483for as_dir in $PATH
12484do
12485 IFS=$as_save_IFS
12486 test -z "$as_dir" && as_dir=.
12487 for ac_exec_ext in '' $ac_executable_extensions; do
12488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12489 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12491 break 2
12492 fi
12493done
12494 done
12495IFS=$as_save_IFS
12496
12497fi
12498fi
12499STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12500if test -n "$STRIP_FOR_TARGET"; then
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12502$as_echo "$STRIP_FOR_TARGET" >&6; }
12503else
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12505$as_echo "no" >&6; }
12506fi
12507
12508
12509 done
12510fi
12511
12512if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12513 for ncn_progname in strip; do
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12515$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12516 if test -x $with_build_time_tools/${ncn_progname}; then
12517 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12519$as_echo "yes" >&6; }
12520 break
12521 else
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12523$as_echo "no" >&6; }
12524 fi
12525 done
12526fi
12527
12528if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12529 for ncn_progname in strip; do
12530 if test -n "$ncn_target_tool_prefix"; then
12531 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12532set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12534$as_echo_n "checking for $ac_word... " >&6; }
12535if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12536 $as_echo_n "(cached) " >&6
12537else
12538 if test -n "$STRIP_FOR_TARGET"; then
12539 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12540else
12541as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12542for as_dir in $PATH
12543do
12544 IFS=$as_save_IFS
12545 test -z "$as_dir" && as_dir=.
12546 for ac_exec_ext in '' $ac_executable_extensions; do
12547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12548 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12550 break 2
12551 fi
12552done
12553 done
12554IFS=$as_save_IFS
12555
12556fi
12557fi
12558STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12559if test -n "$STRIP_FOR_TARGET"; then
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12561$as_echo "$STRIP_FOR_TARGET" >&6; }
12562else
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12564$as_echo "no" >&6; }
12565fi
12566
12567
12568 fi
12569 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12570 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12571set dummy ${ncn_progname}; ac_word=$2
12572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12573$as_echo_n "checking for $ac_word... " >&6; }
12574if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12575 $as_echo_n "(cached) " >&6
12576else
12577 if test -n "$STRIP_FOR_TARGET"; then
12578 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12579else
12580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12581for as_dir in $PATH
12582do
12583 IFS=$as_save_IFS
12584 test -z "$as_dir" && as_dir=.
12585 for ac_exec_ext in '' $ac_executable_extensions; do
12586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12587 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12589 break 2
12590 fi
12591done
12592 done
12593IFS=$as_save_IFS
12594
12595fi
12596fi
12597STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12598if test -n "$STRIP_FOR_TARGET"; then
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP_FOR_TARGET" >&5
12600$as_echo "$STRIP_FOR_TARGET" >&6; }
12601else
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12603$as_echo "no" >&6; }
12604fi
12605
12606
12607 fi
12608 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12609 done
12610fi
12611
12612if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12613 set dummy strip
12614 if test $build = $target ; then
12615 STRIP_FOR_TARGET="$2"
12616 else
12617 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12618 fi
12619else
12620 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12621fi
12622
12623else
12624 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12625fi
12626
12627
12628
12629
12630if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12631 if test -n "$with_build_time_tools"; then
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windres in $with_build_time_tools" >&5
12633$as_echo_n "checking for windres in $with_build_time_tools... " >&6; }
12634 if test -x $with_build_time_tools/windres; then
12635 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12636 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12638$as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12639 else
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12641$as_echo "no" >&6; }
12642 fi
12643 elif test $build != $host && test $have_gcc_for_target = yes; then
12644 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12645 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12646 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12647 fi
12648fi
12649if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12650 # Extract the first word of "windres", so it can be a program name with args.
12651set dummy windres; ac_word=$2
12652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12653$as_echo_n "checking for $ac_word... " >&6; }
12654if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12655 $as_echo_n "(cached) " >&6
12656else
12657 case $WINDRES_FOR_TARGET in
12658 [\\/]* | ?:[\\/]*)
12659 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12660 ;;
12661 *)
12662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12663for as_dir in $gcc_cv_tool_dirs
12664do
12665 IFS=$as_save_IFS
12666 test -z "$as_dir" && as_dir=.
12667 for ac_exec_ext in '' $ac_executable_extensions; do
12668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12669 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12671 break 2
12672 fi
12673done
12674 done
12675IFS=$as_save_IFS
12676
12677 ;;
12678esac
12679fi
12680WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12681if test -n "$WINDRES_FOR_TARGET"; then
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12683$as_echo "$WINDRES_FOR_TARGET" >&6; }
12684else
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12686$as_echo "no" >&6; }
12687fi
12688
12689
12690fi
12691if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12692
12693
12694if test -n "$WINDRES_FOR_TARGET"; then
12695 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12696elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12697 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12698fi
12699
12700if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12701 for ncn_progname in windres; do
12702 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12703set dummy ${ncn_progname}; ac_word=$2
12704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12705$as_echo_n "checking for $ac_word... " >&6; }
12706if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12707 $as_echo_n "(cached) " >&6
12708else
12709 if test -n "$WINDRES_FOR_TARGET"; then
12710 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12711else
12712as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12713for as_dir in $PATH
12714do
12715 IFS=$as_save_IFS
12716 test -z "$as_dir" && as_dir=.
12717 for ac_exec_ext in '' $ac_executable_extensions; do
12718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12719 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12721 break 2
12722 fi
12723done
12724 done
12725IFS=$as_save_IFS
12726
12727fi
12728fi
12729WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12730if test -n "$WINDRES_FOR_TARGET"; then
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12732$as_echo "$WINDRES_FOR_TARGET" >&6; }
12733else
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12735$as_echo "no" >&6; }
12736fi
12737
12738
12739 done
12740fi
12741
12742if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12743 for ncn_progname in windres; do
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12745$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12746 if test -x $with_build_time_tools/${ncn_progname}; then
12747 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12749$as_echo "yes" >&6; }
12750 break
12751 else
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12753$as_echo "no" >&6; }
12754 fi
12755 done
12756fi
12757
12758if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12759 for ncn_progname in windres; do
12760 if test -n "$ncn_target_tool_prefix"; then
12761 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12762set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12764$as_echo_n "checking for $ac_word... " >&6; }
12765if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12766 $as_echo_n "(cached) " >&6
12767else
12768 if test -n "$WINDRES_FOR_TARGET"; then
12769 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12770else
12771as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12772for as_dir in $PATH
12773do
12774 IFS=$as_save_IFS
12775 test -z "$as_dir" && as_dir=.
12776 for ac_exec_ext in '' $ac_executable_extensions; do
12777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12778 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12780 break 2
12781 fi
12782done
12783 done
12784IFS=$as_save_IFS
12785
12786fi
12787fi
12788WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12789if test -n "$WINDRES_FOR_TARGET"; then
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12791$as_echo "$WINDRES_FOR_TARGET" >&6; }
12792else
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12794$as_echo "no" >&6; }
12795fi
12796
12797
12798 fi
12799 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12800 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12801set dummy ${ncn_progname}; ac_word=$2
12802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12803$as_echo_n "checking for $ac_word... " >&6; }
12804if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12805 $as_echo_n "(cached) " >&6
12806else
12807 if test -n "$WINDRES_FOR_TARGET"; then
12808 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12809else
12810as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12811for as_dir in $PATH
12812do
12813 IFS=$as_save_IFS
12814 test -z "$as_dir" && as_dir=.
12815 for ac_exec_ext in '' $ac_executable_extensions; do
12816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12817 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12819 break 2
12820 fi
12821done
12822 done
12823IFS=$as_save_IFS
12824
12825fi
12826fi
12827WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12828if test -n "$WINDRES_FOR_TARGET"; then
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES_FOR_TARGET" >&5
12830$as_echo "$WINDRES_FOR_TARGET" >&6; }
12831else
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12833$as_echo "no" >&6; }
12834fi
12835
12836
12837 fi
12838 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12839 done
12840fi
12841
12842if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12843 set dummy windres
12844 if test $build = $target ; then
12845 WINDRES_FOR_TARGET="$2"
12846 else
12847 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12848 fi
12849else
12850 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12851fi
12852
12853else
12854 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12855fi
12856
12857
12858
12859
12860if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12861 if test -n "$with_build_time_tools"; then
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windmc in $with_build_time_tools" >&5
12863$as_echo_n "checking for windmc in $with_build_time_tools... " >&6; }
12864 if test -x $with_build_time_tools/windmc; then
12865 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
12866 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
12868$as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
12869 else
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12871$as_echo "no" >&6; }
12872 fi
12873 elif test $build != $host && test $have_gcc_for_target = yes; then
12874 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
12875 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
12876 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12877 fi
12878fi
12879if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12880 # Extract the first word of "windmc", so it can be a program name with args.
12881set dummy windmc; ac_word=$2
12882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12883$as_echo_n "checking for $ac_word... " >&6; }
12884if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
12885 $as_echo_n "(cached) " >&6
12886else
12887 case $WINDMC_FOR_TARGET in
12888 [\\/]* | ?:[\\/]*)
12889 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
12890 ;;
12891 *)
12892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12893for as_dir in $gcc_cv_tool_dirs
12894do
12895 IFS=$as_save_IFS
12896 test -z "$as_dir" && as_dir=.
12897 for ac_exec_ext in '' $ac_executable_extensions; do
12898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12899 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12901 break 2
12902 fi
12903done
12904 done
12905IFS=$as_save_IFS
12906
12907 ;;
12908esac
12909fi
12910WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12911if test -n "$WINDMC_FOR_TARGET"; then
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
12913$as_echo "$WINDMC_FOR_TARGET" >&6; }
12914else
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12916$as_echo "no" >&6; }
12917fi
12918
12919
12920fi
12921if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12922
12923
12924if test -n "$WINDMC_FOR_TARGET"; then
12925 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12926elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12927 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12928fi
12929
12930if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12931 for ncn_progname in windmc; do
12932 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12933set dummy ${ncn_progname}; ac_word=$2
12934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12935$as_echo_n "checking for $ac_word... " >&6; }
12936if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12937 $as_echo_n "(cached) " >&6
12938else
12939 if test -n "$WINDMC_FOR_TARGET"; then
12940 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12941else
12942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12943for as_dir in $PATH
12944do
12945 IFS=$as_save_IFS
12946 test -z "$as_dir" && as_dir=.
12947 for ac_exec_ext in '' $ac_executable_extensions; do
12948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12949 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12951 break 2
12952 fi
12953done
12954 done
12955IFS=$as_save_IFS
12956
12957fi
12958fi
12959WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12960if test -n "$WINDMC_FOR_TARGET"; then
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
12962$as_echo "$WINDMC_FOR_TARGET" >&6; }
12963else
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12965$as_echo "no" >&6; }
12966fi
12967
12968
12969 done
12970fi
12971
12972if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12973 for ncn_progname in windmc; do
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ncn_progname} in $with_build_time_tools" >&5
12975$as_echo_n "checking for ${ncn_progname} in $with_build_time_tools... " >&6; }
12976 if test -x $with_build_time_tools/${ncn_progname}; then
12977 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12979$as_echo "yes" >&6; }
12980 break
12981 else
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12983$as_echo "no" >&6; }
12984 fi
12985 done
12986fi
12987
12988if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12989 for ncn_progname in windmc; do
12990 if test -n "$ncn_target_tool_prefix"; then
12991 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12992set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12994$as_echo_n "checking for $ac_word... " >&6; }
12995if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12996 $as_echo_n "(cached) " >&6
12997else
12998 if test -n "$WINDMC_FOR_TARGET"; then
12999 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13000else
13001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13002for as_dir in $PATH
13003do
13004 IFS=$as_save_IFS
13005 test -z "$as_dir" && as_dir=.
13006 for ac_exec_ext in '' $ac_executable_extensions; do
13007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13008 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13010 break 2
13011 fi
13012done
13013 done
13014IFS=$as_save_IFS
13015
13016fi
13017fi
13018WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13019if test -n "$WINDMC_FOR_TARGET"; then
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13021$as_echo "$WINDMC_FOR_TARGET" >&6; }
13022else
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13024$as_echo "no" >&6; }
13025fi
13026
13027
13028 fi
13029 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13030 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13031set dummy ${ncn_progname}; ac_word=$2
13032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13033$as_echo_n "checking for $ac_word... " >&6; }
13034if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13035 $as_echo_n "(cached) " >&6
13036else
13037 if test -n "$WINDMC_FOR_TARGET"; then
13038 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13039else
13040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13041for as_dir in $PATH
13042do
13043 IFS=$as_save_IFS
13044 test -z "$as_dir" && as_dir=.
13045 for ac_exec_ext in '' $ac_executable_extensions; do
13046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13047 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13049 break 2
13050 fi
13051done
13052 done
13053IFS=$as_save_IFS
13054
13055fi
13056fi
13057WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13058if test -n "$WINDMC_FOR_TARGET"; then
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC_FOR_TARGET" >&5
13060$as_echo "$WINDMC_FOR_TARGET" >&6; }
13061else
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13063$as_echo "no" >&6; }
13064fi
13065
13066
13067 fi
13068 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13069 done
13070fi
13071
13072if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13073 set dummy windmc
13074 if test $build = $target ; then
13075 WINDMC_FOR_TARGET="$2"
13076 else
13077 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13078 fi
13079else
13080 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13081fi
13082
13083else
13084 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13085fi
13086
13087
13088RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13089
13090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ar" >&5
13091$as_echo_n "checking where to find the target ar... " >&6; }
13092if test "x${build}" != "x${host}" ; then
13093 if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
13094 # We already found the complete path
13095 ac_dir=`dirname $AR_FOR_TARGET`
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13097$as_echo "pre-installed in $ac_dir" >&6; }
13098 else
13099 # Canadian cross, just use what we found
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13101$as_echo "pre-installed" >&6; }
13102 fi
13103else
13104 ok=yes
13105 case " ${configdirs} " in
13106 *" binutils "*) ;;
13107 *) ok=no ;;
13108 esac
13109
13110 if test $ok = yes; then
13111 # An in-tree tool is available and we can use it
13112 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13114$as_echo "just compiled" >&6; }
13115 elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
13116 # We already found the complete path
13117 ac_dir=`dirname $AR_FOR_TARGET`
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13119$as_echo "pre-installed in $ac_dir" >&6; }
13120 elif test "x$target" = "x$host"; then
13121 # We can use an host tool
13122 AR_FOR_TARGET='$(AR)'
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13124$as_echo "host tool" >&6; }
13125 else
13126 # We need a cross tool
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13128$as_echo "pre-installed" >&6; }
13129 fi
13130fi
13131
13132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target as" >&5
13133$as_echo_n "checking where to find the target as... " >&6; }
13134if test "x${build}" != "x${host}" ; then
13135 if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
13136 # We already found the complete path
13137 ac_dir=`dirname $AS_FOR_TARGET`
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13139$as_echo "pre-installed in $ac_dir" >&6; }
13140 else
13141 # Canadian cross, just use what we found
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13143$as_echo "pre-installed" >&6; }
13144 fi
13145else
13146 ok=yes
13147 case " ${configdirs} " in
13148 *" gas "*) ;;
13149 *) ok=no ;;
13150 esac
13151
13152 if test $ok = yes; then
13153 # An in-tree tool is available and we can use it
13154 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13156$as_echo "just compiled" >&6; }
13157 elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
13158 # We already found the complete path
13159 ac_dir=`dirname $AS_FOR_TARGET`
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13161$as_echo "pre-installed in $ac_dir" >&6; }
13162 elif test "x$target" = "x$host"; then
13163 # We can use an host tool
13164 AS_FOR_TARGET='$(AS)'
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13166$as_echo "host tool" >&6; }
13167 else
13168 # We need a cross tool
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13170$as_echo "pre-installed" >&6; }
13171 fi
13172fi
13173
13174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target cc" >&5
13175$as_echo_n "checking where to find the target cc... " >&6; }
13176if test "x${build}" != "x${host}" ; then
13177 if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
13178 # We already found the complete path
13179 ac_dir=`dirname $CC_FOR_TARGET`
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13181$as_echo "pre-installed in $ac_dir" >&6; }
13182 else
13183 # Canadian cross, just use what we found
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13185$as_echo "pre-installed" >&6; }
13186 fi
13187else
13188 ok=yes
13189 case " ${configdirs} " in
13190 *" gcc "*) ;;
13191 *) ok=no ;;
13192 esac
13193
13194 if test $ok = yes; then
13195 # An in-tree tool is available and we can use it
13196 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13198$as_echo "just compiled" >&6; }
13199 elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
13200 # We already found the complete path
13201 ac_dir=`dirname $CC_FOR_TARGET`
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13203$as_echo "pre-installed in $ac_dir" >&6; }
13204 elif test "x$target" = "x$host"; then
13205 # We can use an host tool
13206 CC_FOR_TARGET='$(CC)'
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13208$as_echo "host tool" >&6; }
13209 else
13210 # We need a cross tool
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13212$as_echo "pre-installed" >&6; }
13213 fi
13214fi
13215
13216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++" >&5
13217$as_echo_n "checking where to find the target c++... " >&6; }
13218if test "x${build}" != "x${host}" ; then
13219 if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
13220 # We already found the complete path
13221 ac_dir=`dirname $CXX_FOR_TARGET`
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13223$as_echo "pre-installed in $ac_dir" >&6; }
13224 else
13225 # Canadian cross, just use what we found
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13227$as_echo "pre-installed" >&6; }
13228 fi
13229else
13230 ok=yes
13231 case " ${configdirs} " in
13232 *" gcc "*) ;;
13233 *) ok=no ;;
13234 esac
13235 case ,${enable_languages}, in
13236 *,c++,*) ;;
13237 *) ok=no ;;
13238 esac
13239 if test $ok = yes; then
13240 # An in-tree tool is available and we can use it
13241 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `if test -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags; then $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo -funconfigured-libstdc++-v3 ; fi` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13243$as_echo "just compiled" >&6; }
13244 elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
13245 # We already found the complete path
13246 ac_dir=`dirname $CXX_FOR_TARGET`
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13248$as_echo "pre-installed in $ac_dir" >&6; }
13249 elif test "x$target" = "x$host"; then
13250 # We can use an host tool
13251 CXX_FOR_TARGET='$(CXX)'
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13253$as_echo "host tool" >&6; }
13254 else
13255 # We need a cross tool
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13257$as_echo "pre-installed" >&6; }
13258 fi
13259fi
13260
13261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target c++ for libstdc++" >&5
13262$as_echo_n "checking where to find the target c++ for libstdc++... " >&6; }
13263if test "x${build}" != "x${host}" ; then
13264 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
13265 # We already found the complete path
13266 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13268$as_echo "pre-installed in $ac_dir" >&6; }
13269 else
13270 # Canadian cross, just use what we found
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13272$as_echo "pre-installed" >&6; }
13273 fi
13274else
13275 ok=yes
13276 case " ${configdirs} " in
13277 *" gcc "*) ;;
13278 *) ok=no ;;
13279 esac
13280 case ,${enable_languages}, in
13281 *,c++,*) ;;
13282 *) ok=no ;;
13283 esac
13284 if test $ok = yes; then
13285 # An in-tree tool is available and we can use it
13286 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'
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13288$as_echo "just compiled" >&6; }
13289 elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
13290 # We already found the complete path
13291 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13293$as_echo "pre-installed in $ac_dir" >&6; }
13294 elif test "x$target" = "x$host"; then
13295 # We can use an host tool
13296 RAW_CXX_FOR_TARGET='$(CXX)'
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13298$as_echo "host tool" >&6; }
13299 else
13300 # We need a cross tool
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13302$as_echo "pre-installed" >&6; }
13303 fi
13304fi
13305
13306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target dlltool" >&5
13307$as_echo_n "checking where to find the target dlltool... " >&6; }
13308if test "x${build}" != "x${host}" ; then
13309 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
13310 # We already found the complete path
13311 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13313$as_echo "pre-installed in $ac_dir" >&6; }
13314 else
13315 # Canadian cross, just use what we found
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13317$as_echo "pre-installed" >&6; }
13318 fi
13319else
13320 ok=yes
13321 case " ${configdirs} " in
13322 *" binutils "*) ;;
13323 *) ok=no ;;
13324 esac
13325
13326 if test $ok = yes; then
13327 # An in-tree tool is available and we can use it
13328 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13330$as_echo "just compiled" >&6; }
13331 elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
13332 # We already found the complete path
13333 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13335$as_echo "pre-installed in $ac_dir" >&6; }
13336 elif test "x$target" = "x$host"; then
13337 # We can use an host tool
13338 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13340$as_echo "host tool" >&6; }
13341 else
13342 # We need a cross tool
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13344$as_echo "pre-installed" >&6; }
13345 fi
13346fi
13347
13348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcc" >&5
13349$as_echo_n "checking where to find the target gcc... " >&6; }
13350if test "x${build}" != "x${host}" ; then
13351 if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
13352 # We already found the complete path
13353 ac_dir=`dirname $GCC_FOR_TARGET`
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13355$as_echo "pre-installed in $ac_dir" >&6; }
13356 else
13357 # Canadian cross, just use what we found
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13359$as_echo "pre-installed" >&6; }
13360 fi
13361else
13362 ok=yes
13363 case " ${configdirs} " in
13364 *" gcc "*) ;;
13365 *) ok=no ;;
13366 esac
13367
13368 if test $ok = yes; then
13369 # An in-tree tool is available and we can use it
13370 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13372$as_echo "just compiled" >&6; }
13373 elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
13374 # We already found the complete path
13375 ac_dir=`dirname $GCC_FOR_TARGET`
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13377$as_echo "pre-installed in $ac_dir" >&6; }
13378 elif test "x$target" = "x$host"; then
13379 # We can use an host tool
13380 GCC_FOR_TARGET='$()'
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13382$as_echo "host tool" >&6; }
13383 else
13384 # We need a cross tool
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13386$as_echo "pre-installed" >&6; }
13387 fi
13388fi
13389
13390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gcj" >&5
13391$as_echo_n "checking where to find the target gcj... " >&6; }
13392if test "x${build}" != "x${host}" ; then
13393 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
13394 # We already found the complete path
13395 ac_dir=`dirname $GCJ_FOR_TARGET`
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13397$as_echo "pre-installed in $ac_dir" >&6; }
13398 else
13399 # Canadian cross, just use what we found
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13401$as_echo "pre-installed" >&6; }
13402 fi
13403else
13404 ok=yes
13405 case " ${configdirs} " in
13406 *" gcc "*) ;;
13407 *) ok=no ;;
13408 esac
13409 case ,${enable_languages}, in
13410 *,java,*) ;;
13411 *) ok=no ;;
13412 esac
13413 if test $ok = yes; then
13414 # An in-tree tool is available and we can use it
13415 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13417$as_echo "just compiled" >&6; }
13418 elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
13419 # We already found the complete path
13420 ac_dir=`dirname $GCJ_FOR_TARGET`
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13422$as_echo "pre-installed in $ac_dir" >&6; }
13423 elif test "x$target" = "x$host"; then
13424 # We can use an host tool
13425 GCJ_FOR_TARGET='$(GCJ)'
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13427$as_echo "host tool" >&6; }
13428 else
13429 # We need a cross tool
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13431$as_echo "pre-installed" >&6; }
13432 fi
13433fi
13434
13435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gfortran" >&5
13436$as_echo_n "checking where to find the target gfortran... " >&6; }
13437if test "x${build}" != "x${host}" ; then
13438 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
13439 # We already found the complete path
13440 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13442$as_echo "pre-installed in $ac_dir" >&6; }
13443 else
13444 # Canadian cross, just use what we found
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13446$as_echo "pre-installed" >&6; }
13447 fi
13448else
13449 ok=yes
13450 case " ${configdirs} " in
13451 *" gcc "*) ;;
13452 *) ok=no ;;
13453 esac
13454 case ,${enable_languages}, in
13455 *,fortran,*) ;;
13456 *) ok=no ;;
13457 esac
13458 if test $ok = yes; then
13459 # An in-tree tool is available and we can use it
13460 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13462$as_echo "just compiled" >&6; }
13463 elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
13464 # We already found the complete path
13465 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13467$as_echo "pre-installed in $ac_dir" >&6; }
13468 elif test "x$target" = "x$host"; then
13469 # We can use an host tool
13470 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13472$as_echo "host tool" >&6; }
13473 else
13474 # We need a cross tool
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13476$as_echo "pre-installed" >&6; }
13477 fi
13478fi
13479
13480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target gccgo" >&5
13481$as_echo_n "checking where to find the target gccgo... " >&6; }
13482if test "x${build}" != "x${host}" ; then
13483 if expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
13484 # We already found the complete path
13485 ac_dir=`dirname $GOC_FOR_TARGET`
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13487$as_echo "pre-installed in $ac_dir" >&6; }
13488 else
13489 # Canadian cross, just use what we found
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13491$as_echo "pre-installed" >&6; }
13492 fi
13493else
13494 ok=yes
13495 case " ${configdirs} " in
13496 *" gcc "*) ;;
13497 *) ok=no ;;
13498 esac
13499 case ,${enable_languages}, in
13500 *,go,*) ;;
13501 *) ok=no ;;
13502 esac
13503 if test $ok = yes; then
13504 # An in-tree tool is available and we can use it
13505 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13507$as_echo "just compiled" >&6; }
13508 elif expr "x$GOC_FOR_TARGET" : "x/" > /dev/null; then
13509 # We already found the complete path
13510 ac_dir=`dirname $GOC_FOR_TARGET`
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13512$as_echo "pre-installed in $ac_dir" >&6; }
13513 elif test "x$target" = "x$host"; then
13514 # We can use an host tool
13515 GOC_FOR_TARGET='$(GOC)'
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13517$as_echo "host tool" >&6; }
13518 else
13519 # We need a cross tool
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13521$as_echo "pre-installed" >&6; }
13522 fi
13523fi
13524
13525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ld" >&5
13526$as_echo_n "checking where to find the target ld... " >&6; }
13527if test "x${build}" != "x${host}" ; then
13528 if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
13529 # We already found the complete path
13530 ac_dir=`dirname $LD_FOR_TARGET`
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13532$as_echo "pre-installed in $ac_dir" >&6; }
13533 else
13534 # Canadian cross, just use what we found
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13536$as_echo "pre-installed" >&6; }
13537 fi
13538else
13539 ok=yes
13540 case " ${configdirs} " in
13541 *" ld "*) ;;
13542 *) ok=no ;;
13543 esac
13544
13545 if test $ok = yes; then
13546 # An in-tree tool is available and we can use it
13547 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13549$as_echo "just compiled" >&6; }
13550 elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
13551 # We already found the complete path
13552 ac_dir=`dirname $LD_FOR_TARGET`
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13554$as_echo "pre-installed in $ac_dir" >&6; }
13555 elif test "x$target" = "x$host"; then
13556 # We can use an host tool
13557 LD_FOR_TARGET='$(LD)'
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13559$as_echo "host tool" >&6; }
13560 else
13561 # We need a cross tool
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13563$as_echo "pre-installed" >&6; }
13564 fi
13565fi
13566
13567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target lipo" >&5
13568$as_echo_n "checking where to find the target lipo... " >&6; }
13569if test "x${build}" != "x${host}" ; then
13570 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
13571 # We already found the complete path
13572 ac_dir=`dirname $LIPO_FOR_TARGET`
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13574$as_echo "pre-installed in $ac_dir" >&6; }
13575 else
13576 # Canadian cross, just use what we found
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13578$as_echo "pre-installed" >&6; }
13579 fi
13580else
13581 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
13582 # We already found the complete path
13583 ac_dir=`dirname $LIPO_FOR_TARGET`
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13585$as_echo "pre-installed in $ac_dir" >&6; }
13586 elif test "x$target" = "x$host"; then
13587 # We can use an host tool
13588 LIPO_FOR_TARGET='$(LIPO)'
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13590$as_echo "host tool" >&6; }
13591 else
13592 # We need a cross tool
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13594$as_echo "pre-installed" >&6; }
13595 fi
13596fi
13597
13598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target nm" >&5
13599$as_echo_n "checking where to find the target nm... " >&6; }
13600if test "x${build}" != "x${host}" ; then
13601 if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
13602 # We already found the complete path
13603 ac_dir=`dirname $NM_FOR_TARGET`
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13605$as_echo "pre-installed in $ac_dir" >&6; }
13606 else
13607 # Canadian cross, just use what we found
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13609$as_echo "pre-installed" >&6; }
13610 fi
13611else
13612 ok=yes
13613 case " ${configdirs} " in
13614 *" binutils "*) ;;
13615 *) ok=no ;;
13616 esac
13617
13618 if test $ok = yes; then
13619 # An in-tree tool is available and we can use it
13620 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13622$as_echo "just compiled" >&6; }
13623 elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
13624 # We already found the complete path
13625 ac_dir=`dirname $NM_FOR_TARGET`
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13627$as_echo "pre-installed in $ac_dir" >&6; }
13628 elif test "x$target" = "x$host"; then
13629 # We can use an host tool
13630 NM_FOR_TARGET='$(NM)'
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13632$as_echo "host tool" >&6; }
13633 else
13634 # We need a cross tool
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13636$as_echo "pre-installed" >&6; }
13637 fi
13638fi
13639
13640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target objdump" >&5
13641$as_echo_n "checking where to find the target objdump... " >&6; }
13642if test "x${build}" != "x${host}" ; then
13643 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
13644 # We already found the complete path
13645 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13647$as_echo "pre-installed in $ac_dir" >&6; }
13648 else
13649 # Canadian cross, just use what we found
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13651$as_echo "pre-installed" >&6; }
13652 fi
13653else
13654 ok=yes
13655 case " ${configdirs} " in
13656 *" binutils "*) ;;
13657 *) ok=no ;;
13658 esac
13659
13660 if test $ok = yes; then
13661 # An in-tree tool is available and we can use it
13662 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13664$as_echo "just compiled" >&6; }
13665 elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
13666 # We already found the complete path
13667 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13669$as_echo "pre-installed in $ac_dir" >&6; }
13670 elif test "x$target" = "x$host"; then
13671 # We can use an host tool
13672 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13674$as_echo "host tool" >&6; }
13675 else
13676 # We need a cross tool
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13678$as_echo "pre-installed" >&6; }
13679 fi
13680fi
13681
13682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target ranlib" >&5
13683$as_echo_n "checking where to find the target ranlib... " >&6; }
13684if test "x${build}" != "x${host}" ; then
13685 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
13686 # We already found the complete path
13687 ac_dir=`dirname $RANLIB_FOR_TARGET`
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13689$as_echo "pre-installed in $ac_dir" >&6; }
13690 else
13691 # Canadian cross, just use what we found
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13693$as_echo "pre-installed" >&6; }
13694 fi
13695else
13696 ok=yes
13697 case " ${configdirs} " in
13698 *" binutils "*) ;;
13699 *) ok=no ;;
13700 esac
13701
13702 if test $ok = yes; then
13703 # An in-tree tool is available and we can use it
13704 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13706$as_echo "just compiled" >&6; }
13707 elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
13708 # We already found the complete path
13709 ac_dir=`dirname $RANLIB_FOR_TARGET`
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13711$as_echo "pre-installed in $ac_dir" >&6; }
13712 elif test "x$target" = "x$host"; then
13713 # We can use an host tool
13714 RANLIB_FOR_TARGET='$(RANLIB)'
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13716$as_echo "host tool" >&6; }
13717 else
13718 # We need a cross tool
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13720$as_echo "pre-installed" >&6; }
13721 fi
13722fi
13723
13724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target strip" >&5
13725$as_echo_n "checking where to find the target strip... " >&6; }
13726if test "x${build}" != "x${host}" ; then
13727 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
13728 # We already found the complete path
13729 ac_dir=`dirname $STRIP_FOR_TARGET`
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13731$as_echo "pre-installed in $ac_dir" >&6; }
13732 else
13733 # Canadian cross, just use what we found
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13735$as_echo "pre-installed" >&6; }
13736 fi
13737else
13738 ok=yes
13739 case " ${configdirs} " in
13740 *" binutils "*) ;;
13741 *) ok=no ;;
13742 esac
13743
13744 if test $ok = yes; then
13745 # An in-tree tool is available and we can use it
13746 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13748$as_echo "just compiled" >&6; }
13749 elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
13750 # We already found the complete path
13751 ac_dir=`dirname $STRIP_FOR_TARGET`
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13753$as_echo "pre-installed in $ac_dir" >&6; }
13754 elif test "x$target" = "x$host"; then
13755 # We can use an host tool
13756 STRIP_FOR_TARGET='$(STRIP)'
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13758$as_echo "host tool" >&6; }
13759 else
13760 # We need a cross tool
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13762$as_echo "pre-installed" >&6; }
13763 fi
13764fi
13765
13766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windres" >&5
13767$as_echo_n "checking where to find the target windres... " >&6; }
13768if test "x${build}" != "x${host}" ; then
13769 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
13770 # We already found the complete path
13771 ac_dir=`dirname $WINDRES_FOR_TARGET`
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13773$as_echo "pre-installed in $ac_dir" >&6; }
13774 else
13775 # Canadian cross, just use what we found
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13777$as_echo "pre-installed" >&6; }
13778 fi
13779else
13780 ok=yes
13781 case " ${configdirs} " in
13782 *" binutils "*) ;;
13783 *) ok=no ;;
13784 esac
13785
13786 if test $ok = yes; then
13787 # An in-tree tool is available and we can use it
13788 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13790$as_echo "just compiled" >&6; }
13791 elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
13792 # We already found the complete path
13793 ac_dir=`dirname $WINDRES_FOR_TARGET`
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13795$as_echo "pre-installed in $ac_dir" >&6; }
13796 elif test "x$target" = "x$host"; then
13797 # We can use an host tool
13798 WINDRES_FOR_TARGET='$(WINDRES)'
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13800$as_echo "host tool" >&6; }
13801 else
13802 # We need a cross tool
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13804$as_echo "pre-installed" >&6; }
13805 fi
13806fi
13807
13808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find the target windmc" >&5
13809$as_echo_n "checking where to find the target windmc... " >&6; }
13810if test "x${build}" != "x${host}" ; then
13811 if expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
13812 # We already found the complete path
13813 ac_dir=`dirname $WINDMC_FOR_TARGET`
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13815$as_echo "pre-installed in $ac_dir" >&6; }
13816 else
13817 # Canadian cross, just use what we found
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13819$as_echo "pre-installed" >&6; }
13820 fi
13821else
13822 ok=yes
13823 case " ${configdirs} " in
13824 *" binutils "*) ;;
13825 *) ok=no ;;
13826 esac
13827
13828 if test $ok = yes; then
13829 # An in-tree tool is available and we can use it
13830 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: just compiled" >&5
13832$as_echo "just compiled" >&6; }
13833 elif expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
13834 # We already found the complete path
13835 ac_dir=`dirname $WINDMC_FOR_TARGET`
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed in $ac_dir" >&5
13837$as_echo "pre-installed in $ac_dir" >&6; }
13838 elif test "x$target" = "x$host"; then
13839 # We can use an host tool
13840 WINDMC_FOR_TARGET='$(WINDMC)'
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host tool" >&5
13842$as_echo "host tool" >&6; }
13843 else
13844 # We need a cross tool
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: pre-installed" >&5
13846$as_echo "pre-installed" >&6; }
13847 fi
13848fi
13849
13850
13851
13852
13853
13854# Certain tools may need extra flags.
13855AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13856RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13857NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13858
13859# When building target libraries, except in a Canadian cross, we use
13860# the same toolchain as the compiler we just built.
13861COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
13862COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
13863COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
13864if test $host = $build; then
13865 case " $configdirs " in
13866 *" gcc "*)
13867 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
13868 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
13869 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
13870 ;;
13871 esac
13872fi
13873
13874
13875
13876
13877
13878{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
13879$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
13880# Check whether --enable-maintainer-mode was given.
13881if test "${enable_maintainer_mode+set}" = set; then :
13882 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13883else
13884 USE_MAINTAINER_MODE=no
13885fi
13886
13887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
13888$as_echo "$USE_MAINTAINER_MODE" >&6; }
13889
13890
13891if test "$USE_MAINTAINER_MODE" = yes; then
13892 MAINTAINER_MODE_TRUE=
13893 MAINTAINER_MODE_FALSE='#'
13894else
13895 MAINTAINER_MODE_TRUE='#'
13896 MAINTAINER_MODE_FALSE=
13897fi
13898MAINT=$MAINTAINER_MODE_TRUE
13899
13900# ---------------------
13901# GCC bootstrap support
13902# ---------------------
13903
13904# Stage specific cflags for build.
13905stage1_cflags="-g"
13906case $build in
13907 vax-*-*)
13908 case ${GCC} in
13909 yes) stage1_cflags="-g -Wa,-J" ;;
13910 *) stage1_cflags="-g -J" ;;
13911 esac ;;
13912esac
13913
13914# This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
13915if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
13916 saved_CFLAGS="$CFLAGS"
13917
13918 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
13919 CFLAGS="$CFLAGS -fkeep-inline-functions"
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fkeep-inline-functions is supported" >&5
13921$as_echo_n "checking whether -fkeep-inline-functions is supported... " >&6; }
13922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13923/* end confdefs.h. */
13924
13925#if (__GNUC__ < 3) \
13926 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
13927 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
13928#error http://gcc.gnu.org/PR29382
13929#endif
13930
13931int
13932main ()
13933{
13934
13935 ;
13936 return 0;
13937}
13938_ACEOF
13939if ac_fn_c_try_compile "$LINENO"; then :
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13941$as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
13942else
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13944$as_echo "no" >&6; }
13945fi
13946rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13947
13948 CFLAGS="$saved_CFLAGS"
13949fi
13950
13951
13952
13953# Enable --enable-checking in stage1 of the compiler.
13954# Check whether --enable-stage1-checking was given.
13955if test "${enable_stage1_checking+set}" = set; then :
13956 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
13957else
13958 if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
13959 stage1_checking=--enable-checking=yes,types
13960else
13961 stage1_checking=--enable-checking=$enable_checking,types
13962fi
13963fi
13964
13965
13966
13967# Enable -Werror in bootstrap stage2 and later.
13968# Check whether --enable-werror was given.
13969if test "${enable_werror+set}" = set; then :
13970 enableval=$enable_werror;
13971else
13972 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
13973 enable_werror=yes
13974else
13975 enable_werror=no
13976fi
13977fi
13978
13979case ${enable_werror} in
13980 yes) stage2_werror_flag="--enable-werror-always" ;;
13981 *) stage2_werror_flag="" ;;
13982esac
13983
13984
13985# Specify what files to not compare during bootstrap.
13986
13987compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
13988case "$target" in
13989 hppa*64*-*-hpux*) ;;
13990 hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/*" ;;
13991esac
13992case " $configdirs " in
13993*" ppl "*) compare_exclusions="$compare_exclusions | ppl/src/ppl-config.o" ;;
13994esac
13995
13996
13997ac_config_files="$ac_config_files Makefile"
13998
13999cat >confcache <<\_ACEOF
14000# This file is a shell script that caches the results of configure
14001# tests run on this system so they can be shared between configure
14002# scripts and configure runs, see configure's option --config-cache.
14003# It is not useful on other systems. If it contains results you don't
14004# want to keep, you may remove or edit it.
14005#
14006# config.status only pays attention to the cache file if you give it
14007# the --recheck option to rerun configure.
14008#
14009# `ac_cv_env_foo' variables (set or unset) will be overridden when
14010# loading this file, other *unset* `ac_cv_foo' will be assigned the
14011# following values.
14012
14013_ACEOF
14014
14015# The following way of writing the cache mishandles newlines in values,
14016# but we know of no workaround that is simple, portable, and efficient.
14017# So, we kill variables containing newlines.
14018# Ultrix sh set writes to stderr and can't be redirected directly,
14019# and sets the high bit in the cache file unless we assign to the vars.
14020(
14021 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14022 eval ac_val=\$$ac_var
14023 case $ac_val in #(
14024 *${as_nl}*)
14025 case $ac_var in #(
14026 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14027$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14028 esac
14029 case $ac_var in #(
14030 _ | IFS | as_nl) ;; #(
14031 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14032 *) { eval $ac_var=; unset $ac_var;} ;;
14033 esac ;;
14034 esac
14035 done
14036
14037 (set) 2>&1 |
14038 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14039 *${as_nl}ac_space=\ *)
14040 # `set' does not quote correctly, so add quotes: double-quote
14041 # substitution turns \\\\ into \\, and sed turns \\ into \.
14042 sed -n \
14043 "s/'/'\\\\''/g;
14044 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14045 ;; #(
14046 *)
14047 # `set' quotes correctly as required by POSIX, so do not add quotes.
14048 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14049 ;;
14050 esac |
14051 sort
14052) |
14053 sed '
14054 /^ac_cv_env_/b end
14055 t clear
14056 :clear
14057 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14058 t end
14059 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14060 :end' >>confcache
14061if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14062 if test -w "$cache_file"; then
14063 test "x$cache_file" != "x/dev/null" &&
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14065$as_echo "$as_me: updating cache $cache_file" >&6;}
14066 cat confcache >$cache_file
14067 else
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14069$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14070 fi
14071fi
14072rm -f confcache
14073
14074test "x$prefix" = xNONE && prefix=$ac_default_prefix
14075# Let make expand exec_prefix.
14076test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14077
14078# Transform confdefs.h into DEFS.
14079# Protect against shell expansion while executing Makefile rules.
14080# Protect against Makefile macro expansion.
14081#
14082# If the first sed substitution is executed (which looks for macros that
14083# take arguments), then branch to the quote section. Otherwise,
14084# look for a macro that doesn't take arguments.
14085ac_script='
14086:mline
14087/\\$/{
14088 N
14089 s,\\\n,,
14090 b mline
14091}
14092t clear
14093:clear
14094s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14095t quote
14096s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14097t quote
14098b any
14099:quote
14100s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14101s/\[/\\&/g
14102s/\]/\\&/g
14103s/\$/$$/g
14104H
14105:any
14106${
14107 g
14108 s/^\n//
14109 s/\n/ /g
14110 p
14111}
14112'
14113DEFS=`sed -n "$ac_script" confdefs.h`
14114
14115
14116ac_libobjs=
14117ac_ltlibobjs=
14118for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14119 # 1. Remove the extension, and $U if already installed.
14120 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14121 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14122 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14123 # will be set to the directory where LIBOBJS objects are built.
14124 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14125 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14126done
14127LIBOBJS=$ac_libobjs
14128
14129LTLIBOBJS=$ac_ltlibobjs
14130
14131
14132
14133: ${CONFIG_STATUS=./config.status}
14134ac_write_fail=0
14135ac_clean_files_save=$ac_clean_files
14136ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14137{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14138$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14139as_write_fail=0
14140cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14141#! $SHELL
14142# Generated by $as_me.
14143# Run this file to recreate the current configuration.
14144# Compiler output produced by configure, useful for debugging
14145# configure, is in config.log if it exists.
14146
14147debug=false
14148ac_cs_recheck=false
14149ac_cs_silent=false
14150
14151SHELL=\${CONFIG_SHELL-$SHELL}
14152export SHELL
14153_ASEOF
14154cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14155## -------------------- ##
14156## M4sh Initialization. ##
14157## -------------------- ##
14158
14159# Be more Bourne compatible
14160DUALCASE=1; export DUALCASE # for MKS sh
14161if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14162 emulate sh
14163 NULLCMD=:
14164 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14165 # is contrary to our usage. Disable this feature.
14166 alias -g '${1+"$@"}'='"$@"'
14167 setopt NO_GLOB_SUBST
14168else
14169 case `(set -o) 2>/dev/null` in #(
14170 *posix*) :
14171 set -o posix ;; #(
14172 *) :
14173 ;;
14174esac
14175fi
14176
14177
14178as_nl='
14179'
14180export as_nl
14181# Printing a long string crashes Solaris 7 /usr/bin/printf.
14182as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14183as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14184as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14185# Prefer a ksh shell builtin over an external printf program on Solaris,
14186# but without wasting forks for bash or zsh.
14187if test -z "$BASH_VERSION$ZSH_VERSION" \
14188 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14189 as_echo='print -r --'
14190 as_echo_n='print -rn --'
14191elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14192 as_echo='printf %s\n'
14193 as_echo_n='printf %s'
14194else
14195 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14196 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14197 as_echo_n='/usr/ucb/echo -n'
14198 else
14199 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14200 as_echo_n_body='eval
14201 arg=$1;
14202 case $arg in #(
14203 *"$as_nl"*)
14204 expr "X$arg" : "X\\(.*\\)$as_nl";
14205 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14206 esac;
14207 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14208 '
14209 export as_echo_n_body
14210 as_echo_n='sh -c $as_echo_n_body as_echo'
14211 fi
14212 export as_echo_body
14213 as_echo='sh -c $as_echo_body as_echo'
14214fi
14215
14216# The user is always right.
14217if test "${PATH_SEPARATOR+set}" != set; then
14218 PATH_SEPARATOR=:
14219 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14220 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14221 PATH_SEPARATOR=';'
14222 }
14223fi
14224
14225
14226# IFS
14227# We need space, tab and new line, in precisely that order. Quoting is
14228# there to prevent editors from complaining about space-tab.
14229# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14230# splitting by setting IFS to empty value.)
14231IFS=" "" $as_nl"
14232
14233# Find who we are. Look in the path if we contain no directory separator.
14234case $0 in #((
14235 *[\\/]* ) as_myself=$0 ;;
14236 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14237for as_dir in $PATH
14238do
14239 IFS=$as_save_IFS
14240 test -z "$as_dir" && as_dir=.
14241 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14242 done
14243IFS=$as_save_IFS
14244
14245 ;;
14246esac
14247# We did not find ourselves, most probably we were run as `sh COMMAND'
14248# in which case we are not to be found in the path.
14249if test "x$as_myself" = x; then
14250 as_myself=$0
14251fi
14252if test ! -f "$as_myself"; then
14253 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14254 exit 1
14255fi
14256
14257# Unset variables that we do not need and which cause bugs (e.g. in
14258# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14259# suppresses any "Segmentation fault" message there. '((' could
14260# trigger a bug in pdksh 5.2.14.
14261for as_var in BASH_ENV ENV MAIL MAILPATH
14262do eval test x\${$as_var+set} = xset \
14263 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14264done
14265PS1='$ '
14266PS2='> '
14267PS4='+ '
14268
14269# NLS nuisances.
14270LC_ALL=C
14271export LC_ALL
14272LANGUAGE=C
14273export LANGUAGE
14274
14275# CDPATH.
14276(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14277
14278
14279# as_fn_error ERROR [LINENO LOG_FD]
14280# ---------------------------------
14281# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14282# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14283# script with status $?, using 1 if that was 0.
14284as_fn_error ()
14285{
14286 as_status=$?; test $as_status -eq 0 && as_status=1
14287 if test "$3"; then
14288 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14289 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14290 fi
14291 $as_echo "$as_me: error: $1" >&2
14292 as_fn_exit $as_status
14293} # as_fn_error
14294
14295
14296# as_fn_set_status STATUS
14297# -----------------------
14298# Set $? to STATUS, without forking.
14299as_fn_set_status ()
14300{
14301 return $1
14302} # as_fn_set_status
14303
14304# as_fn_exit STATUS
14305# -----------------
14306# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14307as_fn_exit ()
14308{
14309 set +e
14310 as_fn_set_status $1
14311 exit $1
14312} # as_fn_exit
14313
14314# as_fn_unset VAR
14315# ---------------
14316# Portably unset VAR.
14317as_fn_unset ()
14318{
14319 { eval $1=; unset $1;}
14320}
14321as_unset=as_fn_unset
14322# as_fn_append VAR VALUE
14323# ----------------------
14324# Append the text in VALUE to the end of the definition contained in VAR. Take
14325# advantage of any shell optimizations that allow amortized linear growth over
14326# repeated appends, instead of the typical quadratic growth present in naive
14327# implementations.
14328if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14329 eval 'as_fn_append ()
14330 {
14331 eval $1+=\$2
14332 }'
14333else
14334 as_fn_append ()
14335 {
14336 eval $1=\$$1\$2
14337 }
14338fi # as_fn_append
14339
14340# as_fn_arith ARG...
14341# ------------------
14342# Perform arithmetic evaluation on the ARGs, and store the result in the
14343# global $as_val. Take advantage of shells that can avoid forks. The arguments
14344# must be portable across $(()) and expr.
14345if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14346 eval 'as_fn_arith ()
14347 {
14348 as_val=$(( $* ))
14349 }'
14350else
14351 as_fn_arith ()
14352 {
14353 as_val=`expr "$@" || test $? -eq 1`
14354 }
14355fi # as_fn_arith
14356
14357
14358if expr a : '\(a\)' >/dev/null 2>&1 &&
14359 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14360 as_expr=expr
14361else
14362 as_expr=false
14363fi
14364
14365if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14366 as_basename=basename
14367else
14368 as_basename=false
14369fi
14370
14371if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14372 as_dirname=dirname
14373else
14374 as_dirname=false
14375fi
14376
14377as_me=`$as_basename -- "$0" ||
14378$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14379 X"$0" : 'X\(//\)$' \| \
14380 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14381$as_echo X/"$0" |
14382 sed '/^.*\/\([^/][^/]*\)\/*$/{
14383 s//\1/
14384 q
14385 }
14386 /^X\/\(\/\/\)$/{
14387 s//\1/
14388 q
14389 }
14390 /^X\/\(\/\).*/{
14391 s//\1/
14392 q
14393 }
14394 s/.*/./; q'`
14395
14396# Avoid depending upon Character Ranges.
14397as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14398as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14399as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14400as_cr_digits='0123456789'
14401as_cr_alnum=$as_cr_Letters$as_cr_digits
14402
14403ECHO_C= ECHO_N= ECHO_T=
14404case `echo -n x` in #(((((
14405-n*)
14406 case `echo 'xy\c'` in
14407 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14408 xy) ECHO_C='\c';;
14409 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14410 ECHO_T=' ';;
14411 esac;;
14412*)
14413 ECHO_N='-n';;
14414esac
14415
14416rm -f conf$$ conf$$.exe conf$$.file
14417if test -d conf$$.dir; then
14418 rm -f conf$$.dir/conf$$.file
14419else
14420 rm -f conf$$.dir
14421 mkdir conf$$.dir 2>/dev/null
14422fi
14423if (echo >conf$$.file) 2>/dev/null; then
14424 if ln -s conf$$.file conf$$ 2>/dev/null; then
14425 as_ln_s='ln -s'
14426 # ... but there are two gotchas:
14427 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14428 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14429 # In both cases, we have to default to `cp -p'.
14430 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14431 as_ln_s='cp -p'
14432 elif ln conf$$.file conf$$ 2>/dev/null; then
14433 as_ln_s=ln
14434 else
14435 as_ln_s='cp -p'
14436 fi
14437else
14438 as_ln_s='cp -p'
14439fi
14440rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14441rmdir conf$$.dir 2>/dev/null
14442
14443
14444# as_fn_mkdir_p
14445# -------------
14446# Create "$as_dir" as a directory, including parents if necessary.
14447as_fn_mkdir_p ()
14448{
14449
14450 case $as_dir in #(
14451 -*) as_dir=./$as_dir;;
14452 esac
14453 test -d "$as_dir" || eval $as_mkdir_p || {
14454 as_dirs=
14455 while :; do
14456 case $as_dir in #(
14457 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14458 *) as_qdir=$as_dir;;
14459 esac
14460 as_dirs="'$as_qdir' $as_dirs"
14461 as_dir=`$as_dirname -- "$as_dir" ||
14462$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14463 X"$as_dir" : 'X\(//\)[^/]' \| \
14464 X"$as_dir" : 'X\(//\)$' \| \
14465 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14466$as_echo X"$as_dir" |
14467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14468 s//\1/
14469 q
14470 }
14471 /^X\(\/\/\)[^/].*/{
14472 s//\1/
14473 q
14474 }
14475 /^X\(\/\/\)$/{
14476 s//\1/
14477 q
14478 }
14479 /^X\(\/\).*/{
14480 s//\1/
14481 q
14482 }
14483 s/.*/./; q'`
14484 test -d "$as_dir" && break
14485 done
14486 test -z "$as_dirs" || eval "mkdir $as_dirs"
14487 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14488
14489
14490} # as_fn_mkdir_p
14491if mkdir -p . 2>/dev/null; then
14492 as_mkdir_p='mkdir -p "$as_dir"'
14493else
14494 test -d ./-p && rmdir ./-p
14495 as_mkdir_p=false
14496fi
14497
14498if test -x / >/dev/null 2>&1; then
14499 as_test_x='test -x'
14500else
14501 if ls -dL / >/dev/null 2>&1; then
14502 as_ls_L_option=L
14503 else
14504 as_ls_L_option=
14505 fi
14506 as_test_x='
14507 eval sh -c '\''
14508 if test -d "$1"; then
14509 test -d "$1/.";
14510 else
14511 case $1 in #(
14512 -*)set "./$1";;
14513 esac;
14514 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14515 ???[sx]*):;;*)false;;esac;fi
14516 '\'' sh
14517 '
14518fi
14519as_executable_p=$as_test_x
14520
14521# Sed expression to map a string onto a valid CPP name.
14522as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14523
14524# Sed expression to map a string onto a valid variable name.
14525as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14526
14527
14528exec 6>&1
14529## ----------------------------------- ##
14530## Main body of $CONFIG_STATUS script. ##
14531## ----------------------------------- ##
14532_ASEOF
14533test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14534
14535cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14536# Save the log message, to keep $0 and so on meaningful, and to
14537# report actual input values of CONFIG_FILES etc. instead of their
14538# values after options handling.
14539ac_log="
14540This file was extended by $as_me, which was
14541generated by GNU Autoconf 2.64. Invocation command line was
14542
14543 CONFIG_FILES = $CONFIG_FILES
14544 CONFIG_HEADERS = $CONFIG_HEADERS
14545 CONFIG_LINKS = $CONFIG_LINKS
14546 CONFIG_COMMANDS = $CONFIG_COMMANDS
14547 $ $0 $@
14548
14549on `(hostname || uname -n) 2>/dev/null | sed 1q`
14550"
14551
14552_ACEOF
14553
14554case $ac_config_files in *"
14555"*) set x $ac_config_files; shift; ac_config_files=$*;;
14556esac
14557
14558
14559
14560cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14561# Files that config.status was made for.
14562config_files="$ac_config_files"
14563
14564_ACEOF
14565
14566cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14567ac_cs_usage="\
14568\`$as_me' instantiates files and other configuration actions
14569from templates according to the current configuration. Unless the files
14570and actions are specified as TAGs, all are instantiated by default.
14571
14572Usage: $0 [OPTION]... [TAG]...
14573
14574 -h, --help print this help, then exit
14575 -V, --version print version number and configuration settings, then exit
14576 -q, --quiet, --silent
14577 do not print progress messages
14578 -d, --debug don't remove temporary files
14579 --recheck update $as_me by reconfiguring in the same conditions
14580 --file=FILE[:TEMPLATE]
14581 instantiate the configuration file FILE
14582
14583Configuration files:
14584$config_files
14585
14586Report bugs to the package provider."
14587
14588_ACEOF
14589cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14590ac_cs_version="\\
14591config.status
14592configured by $0, generated by GNU Autoconf 2.64,
14593 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14594
14595Copyright (C) 2009 Free Software Foundation, Inc.
14596This config.status script is free software; the Free Software Foundation
14597gives unlimited permission to copy, distribute and modify it."
14598
14599ac_pwd='$ac_pwd'
14600srcdir='$srcdir'
14601INSTALL='$INSTALL'
14602AWK='$AWK'
14603test -n "\$AWK" || AWK=awk
14604_ACEOF
14605
14606cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14607# The default lists apply if the user does not specify any file.
14608ac_need_defaults=:
14609while test $# != 0
14610do
14611 case $1 in
14612 --*=*)
14613 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14614 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14615 ac_shift=:
14616 ;;
14617 *)
14618 ac_option=$1
14619 ac_optarg=$2
14620 ac_shift=shift
14621 ;;
14622 esac
14623
14624 case $ac_option in
14625 # Handling of the options.
14626 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14627 ac_cs_recheck=: ;;
14628 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14629 $as_echo "$ac_cs_version"; exit ;;
14630 --debug | --debu | --deb | --de | --d | -d )
14631 debug=: ;;
14632 --file | --fil | --fi | --f )
14633 $ac_shift
14634 case $ac_optarg in
14635 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14636 esac
14637 as_fn_append CONFIG_FILES " '$ac_optarg'"
14638 ac_need_defaults=false;;
14639 --he | --h | --help | --hel | -h )
14640 $as_echo "$ac_cs_usage"; exit ;;
14641 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14642 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14643 ac_cs_silent=: ;;
14644
14645 # This is an error.
14646 -*) as_fn_error "unrecognized option: \`$1'
14647Try \`$0 --help' for more information." ;;
14648
14649 *) as_fn_append ac_config_targets " $1"
14650 ac_need_defaults=false ;;
14651
14652 esac
14653 shift
14654done
14655
14656ac_configure_extra_args=
14657
14658if $ac_cs_silent; then
14659 exec 6>/dev/null
14660 ac_configure_extra_args="$ac_configure_extra_args --silent"
14661fi
14662
14663_ACEOF
14664cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14665if \$ac_cs_recheck; then
14666 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14667 shift
14668 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14669 CONFIG_SHELL='$SHELL'
14670 export CONFIG_SHELL
14671 exec "\$@"
14672fi
14673
14674_ACEOF
14675cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14676exec 5>>config.log
14677{
14678 echo
14679 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14680## Running $as_me. ##
14681_ASBOX
14682 $as_echo "$ac_log"
14683} >&5
14684
14685_ACEOF
14686cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14687#
14688# INIT-COMMANDS
14689#
14690extrasub_build="$extrasub_build"
14691 extrasub_host="$extrasub_host"
14692 extrasub_target="$extrasub_target"
14693
14694_ACEOF
14695
14696cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14697
14698# Handling of arguments.
14699for ac_config_target in $ac_config_targets
14700do
14701 case $ac_config_target in
14702 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14703
14704 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14705 esac
14706done
14707
14708
14709# If the user did not use the arguments to specify the items to instantiate,
14710# then the envvar interface is used. Set only those that are not.
14711# We use the long form for the default assignment because of an extremely
14712# bizarre bug on SunOS 4.1.3.
14713if $ac_need_defaults; then
14714 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14715fi
14716
14717# Have a temporary directory for convenience. Make it in the build tree
14718# simply because there is no reason against having it here, and in addition,
14719# creating and moving files from /tmp can sometimes cause problems.
14720# Hook for its removal unless debugging.
14721# Note that there is a small window in which the directory will not be cleaned:
14722# after its creation but before its name has been assigned to `$tmp'.
14723$debug ||
14724{
14725 tmp=
14726 trap 'exit_status=$?
14727 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14728' 0
14729 trap 'as_fn_exit 1' 1 2 13 15
14730}
14731# Create a (secure) tmp directory for tmp files.
14732
14733{
14734 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14735 test -n "$tmp" && test -d "$tmp"
14736} ||
14737{
14738 tmp=./conf$$-$RANDOM
14739 (umask 077 && mkdir "$tmp")
14740} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14741
14742# Set up the scripts for CONFIG_FILES section.
14743# No need to generate them if there are no CONFIG_FILES.
14744# This happens for instance with `./config.status config.h'.
14745if test -n "$CONFIG_FILES"; then
14746
14747if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
14748 ac_cs_awk_getline=:
14749 ac_cs_awk_pipe_init=
14750 ac_cs_awk_read_file='
14751 while ((getline aline < (F[key])) > 0)
14752 print(aline)
14753 close(F[key])'
14754 ac_cs_awk_pipe_fini=
14755else
14756 ac_cs_awk_getline=false
14757 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
14758 ac_cs_awk_read_file='
14759 print "|#_!!_#|"
14760 print "cat " F[key] " &&"
14761 '$ac_cs_awk_pipe_init
14762 # The final `:' finishes the AND list.
14763 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
14764fi
14765ac_cr=`echo X | tr X '\015'`
14766# On cygwin, bash can eat \r inside `` if the user requested igncr.
14767# But we know of no other shell where ac_cr would be empty at this
14768# point, so we can use a bashism as a fallback.
14769if test "x$ac_cr" = x; then
14770 eval ac_cr=\$\'\\r\'
14771fi
14772ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14773if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14774 ac_cs_awk_cr='\r'
14775else
14776 ac_cs_awk_cr=$ac_cr
14777fi
14778
14779echo 'BEGIN {' >"$tmp/subs1.awk" &&
14780_ACEOF
14781
14782# Create commands to substitute file output variables.
14783{
14784 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14785 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14786 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
14787 echo "_ACAWK" &&
14788 echo "_ACEOF"
14789} >conf$$files.sh &&
14790. ./conf$$files.sh ||
14791 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14792rm -f conf$$files.sh
14793
14794{
14795 echo "cat >conf$$subs.awk <<_ACEOF" &&
14796 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14797 echo "_ACEOF"
14798} >conf$$subs.sh ||
14799 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14800ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14801ac_delim='%!_!# '
14802for ac_last_try in false false false false false :; do
14803 . ./conf$$subs.sh ||
14804 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14805
14806 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14807 if test $ac_delim_n = $ac_delim_num; then
14808 break
14809 elif $ac_last_try; then
14810 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14811 else
14812 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14813 fi
14814done
14815rm -f conf$$subs.sh
14816
14817cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14818cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14819_ACEOF
14820sed -n '
14821h
14822s/^/S["/; s/!.*/"]=/
14823p
14824g
14825s/^[^!]*!//
14826:repl
14827t repl
14828s/'"$ac_delim"'$//
14829t delim
14830:nl
14831h
14832s/\(.\{148\}\).*/\1/
14833t more1
14834s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14835p
14836n
14837b repl
14838:more1
14839s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14840p
14841g
14842s/.\{148\}//
14843t nl
14844:delim
14845h
14846s/\(.\{148\}\).*/\1/
14847t more2
14848s/["\\]/\\&/g; s/^/"/; s/$/"/
14849p
14850b
14851:more2
14852s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14853p
14854g
14855s/.\{148\}//
14856t delim
14857' <conf$$subs.awk | sed '
14858/^[^""]/{
14859 N
14860 s/\n//
14861}
14862' >>$CONFIG_STATUS || ac_write_fail=1
14863rm -f conf$$subs.awk
14864cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14865_ACAWK
14866cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14867 for (key in S) S_is_set[key] = 1
14868 FS = "\a"
14869 \$ac_cs_awk_pipe_init
14870}
14871{
14872 line = $ 0
14873 nfields = split(line, field, "@")
14874 substed = 0
14875 len = length(field[1])
14876 for (i = 2; i < nfields; i++) {
14877 key = field[i]
14878 keylen = length(key)
14879 if (S_is_set[key]) {
14880 value = S[key]
14881 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14882 len += length(value) + length(field[++i])
14883 substed = 1
14884 } else
14885 len += 1 + keylen
14886 }
14887 if (nfields == 3 && !substed) {
14888 key = field[2]
14889 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14890 \$ac_cs_awk_read_file
14891 next
14892 }
14893 }
14894 print line
14895}
14896\$ac_cs_awk_pipe_fini
14897_ACAWK
14898_ACEOF
14899cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14900if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14901 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14902else
14903 cat
14904fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14905 || as_fn_error "could not setup config files machinery" "$LINENO" 5
14906_ACEOF
14907
14908# VPATH may cause trouble with some makes, so we remove $(srcdir),
14909# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14910# trailing colons and then remove the whole line if VPATH becomes empty
14911# (actually we leave an empty line to preserve line numbers).
14912if test "x$srcdir" = x.; then
14913 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14914s/:*\$(srcdir):*/:/
14915s/:*\${srcdir}:*/:/
14916s/:*@srcdir@:*/:/
14917s/^\([^=]*=[ ]*\):*/\1/
14918s/:*$//
14919s/^[^=]*=[ ]*$//
14920}'
14921fi
14922
14923cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14924fi # test -n "$CONFIG_FILES"
14925
14926
14927eval set X " :F $CONFIG_FILES "
14928shift
14929for ac_tag
14930do
14931 case $ac_tag in
14932 :[FHLC]) ac_mode=$ac_tag; continue;;
14933 esac
14934 case $ac_mode$ac_tag in
14935 :[FHL]*:*);;
14936 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
14937 :[FH]-) ac_tag=-:-;;
14938 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14939 esac
14940 ac_save_IFS=$IFS
14941 IFS=:
14942 set x $ac_tag
14943 IFS=$ac_save_IFS
14944 shift
14945 ac_file=$1
14946 shift
14947
14948 case $ac_mode in
14949 :L) ac_source=$1;;
14950 :[FH])
14951 ac_file_inputs=
14952 for ac_f
14953 do
14954 case $ac_f in
14955 -) ac_f="$tmp/stdin";;
14956 *) # Look for the file first in the build tree, then in the source tree
14957 # (if the path is not absolute). The absolute path cannot be DOS-style,
14958 # because $ac_f cannot contain `:'.
14959 test -f "$ac_f" ||
14960 case $ac_f in
14961 [\\/$]*) false;;
14962 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14963 esac ||
14964 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14965 esac
14966 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14967 as_fn_append ac_file_inputs " '$ac_f'"
14968 done
14969
14970 # Let's still pretend it is `configure' which instantiates (i.e., don't
14971 # use $as_me), people would be surprised to read:
14972 # /* config.h. Generated by config.status. */
14973 configure_input='Generated from '`
14974 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14975 `' by configure.'
14976 if test x"$ac_file" != x-; then
14977 configure_input="$ac_file. $configure_input"
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14979$as_echo "$as_me: creating $ac_file" >&6;}
14980 fi
14981 # Neutralize special characters interpreted by sed in replacement strings.
14982 case $configure_input in #(
14983 *\&* | *\|* | *\\* )
14984 ac_sed_conf_input=`$as_echo "$configure_input" |
14985 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14986 *) ac_sed_conf_input=$configure_input;;
14987 esac
14988
14989 case $ac_tag in
14990 *:-:* | *:-) cat >"$tmp/stdin" \
14991 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
14992 esac
14993 ;;
14994 esac
14995
14996 ac_dir=`$as_dirname -- "$ac_file" ||
14997$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14998 X"$ac_file" : 'X\(//\)[^/]' \| \
14999 X"$ac_file" : 'X\(//\)$' \| \
15000 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15001$as_echo X"$ac_file" |
15002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15003 s//\1/
15004 q
15005 }
15006 /^X\(\/\/\)[^/].*/{
15007 s//\1/
15008 q
15009 }
15010 /^X\(\/\/\)$/{
15011 s//\1/
15012 q
15013 }
15014 /^X\(\/\).*/{
15015 s//\1/
15016 q
15017 }
15018 s/.*/./; q'`
15019 as_dir="$ac_dir"; as_fn_mkdir_p
15020 ac_builddir=.
15021
15022case "$ac_dir" in
15023.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15024*)
15025 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15026 # A ".." for each directory in $ac_dir_suffix.
15027 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15028 case $ac_top_builddir_sub in
15029 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15030 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15031 esac ;;
15032esac
15033ac_abs_top_builddir=$ac_pwd
15034ac_abs_builddir=$ac_pwd$ac_dir_suffix
15035# for backward compatibility:
15036ac_top_builddir=$ac_top_build_prefix
15037
15038case $srcdir in
15039 .) # We are building in place.
15040 ac_srcdir=.
15041 ac_top_srcdir=$ac_top_builddir_sub
15042 ac_abs_top_srcdir=$ac_pwd ;;
15043 [\\/]* | ?:[\\/]* ) # Absolute name.
15044 ac_srcdir=$srcdir$ac_dir_suffix;
15045 ac_top_srcdir=$srcdir
15046 ac_abs_top_srcdir=$srcdir ;;
15047 *) # Relative name.
15048 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15049 ac_top_srcdir=$ac_top_build_prefix$srcdir
15050 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15051esac
15052ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15053
15054
15055 case $ac_mode in
15056 :F)
15057 #
15058 # CONFIG_FILE
15059 #
15060
15061 case $INSTALL in
15062 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15063 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15064 esac
15065_ACEOF
15066
15067cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15068# If the template does not know about datarootdir, expand it.
15069# FIXME: This hack should be removed a few years after 2.60.
15070ac_datarootdir_hack=; ac_datarootdir_seen=
15071ac_sed_dataroot='
15072/datarootdir/ {
15073 p
15074 q
15075}
15076/@datadir@/p
15077/@docdir@/p
15078/@infodir@/p
15079/@localedir@/p
15080/@mandir@/p'
15081case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15082*datarootdir*) ac_datarootdir_seen=yes;;
15083*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15085$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15086_ACEOF
15087cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15088 ac_datarootdir_hack='
15089 s&@datadir@&$datadir&g
15090 s&@docdir@&$docdir&g
15091 s&@infodir@&$infodir&g
15092 s&@localedir@&$localedir&g
15093 s&@mandir@&$mandir&g
15094 s&\\\${datarootdir}&$datarootdir&g' ;;
15095esac
15096_ACEOF
15097
15098# Neutralize VPATH when `$srcdir' = `.'.
15099# Shell code in configure.ac might set extrasub.
15100# FIXME: do we really want to maintain this feature?
15101cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15102ac_sed_extra="$ac_vpsub
15103$extrasub
15104_ACEOF
15105cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15106:t
15107/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15108s|@configure_input@|$ac_sed_conf_input|;t t
15109s&@top_builddir@&$ac_top_builddir_sub&;t t
15110s&@top_build_prefix@&$ac_top_build_prefix&;t t
15111s&@srcdir@&$ac_srcdir&;t t
15112s&@abs_srcdir@&$ac_abs_srcdir&;t t
15113s&@top_srcdir@&$ac_top_srcdir&;t t
15114s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15115s&@builddir@&$ac_builddir&;t t
15116s&@abs_builddir@&$ac_abs_builddir&;t t
15117s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15118s&@INSTALL@&$ac_INSTALL&;t t
15119$ac_datarootdir_hack
15120"
15121eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15122if $ac_cs_awk_getline; then
15123 $AWK -f "$tmp/subs.awk"
15124else
15125 $AWK -f "$tmp/subs.awk" | $SHELL
15126fi >$tmp/out \
15127 || as_fn_error "could not create $ac_file" "$LINENO" 5
15128
15129test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15130 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15131 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15133which seems to be undefined. Please make sure it is defined." >&5
15134$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15135which seems to be undefined. Please make sure it is defined." >&2;}
15136
15137 rm -f "$tmp/stdin"
15138 case $ac_file in
15139 -) cat "$tmp/out" && rm -f "$tmp/out";;
15140 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15141 esac \
15142 || as_fn_error "could not create $ac_file" "$LINENO" 5
15143 ;;
15144
15145
15146
15147 esac
15148
15149
15150 case $ac_file$ac_mode in
15151 "Makefile":F) sed "$extrasub_build" Makefile |
15152 sed "$extrasub_host" |
15153 sed "$extrasub_target" > mf$$
15154 mv -f mf$$ Makefile ;;
15155
15156 esac
15157done # for ac_tag
15158
15159
15160as_fn_exit 0
15161_ACEOF
15162ac_clean_files=$ac_clean_files_save
15163
15164test $ac_write_fail = 0 ||
15165 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15166
15167
15168# configure is writing to config.log, and then calls config.status.
15169# config.status does its own redirection, appending to config.log.
15170# Unfortunately, on DOS this fails, as config.log is still kept open
15171# by configure, so config.status won't be able to write to it; its
15172# output is simply discarded. So we exec the FD to /dev/null,
15173# effectively closing config.log, so it can be properly (re)opened and
15174# appended to by config.status. When coming back to configure, we
15175# need to make the FD available again.
15176if test "$no_create" != yes; then
15177 ac_cs_success=:
15178 ac_config_status_args=
15179 test "$silent" = yes &&
15180 ac_config_status_args="$ac_config_status_args --quiet"
15181 exec 5>/dev/null
15182 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15183 exec 5>>config.log
15184 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15185 # would make configure fail if this is the last instruction.
15186 $ac_cs_success || as_fn_exit $?
15187fi
15188if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15190$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15191fi
15192
This page took 0.077137 seconds and 4 git commands to generate.