- Don't set DHCP in interface file if interface is PPP. Otherwise dhclient
[AROS.git] / tools / crosstools / gcc-4.4.2-aros.diff
blobfd7032b5e35c64680fcca6e2c5a2a8c50d7e4245
1 Binary files gcc-4.4.2.orig/.DS_Store and gcc-4.4.2/.DS_Store differ
2 diff -ruN gcc-4.4.2.orig/config/override.m4 gcc-4.4.2/config/override.m4
3 --- gcc-4.4.2.orig/config/override.m4 2008-06-18 03:13:35.000000000 +0400
4 +++ gcc-4.4.2/config/override.m4 2010-10-07 11:11:10.000000000 +0400
5 @@ -27,27 +27,6 @@
6 AC_DEFUN([AC_PREREQ], [frob])
7 m4_copy([_AC_PREREQ], [AC_PREREQ])
10 -dnl Ensure exactly this Autoconf version is used
11 -m4_ifndef([_GCC_AUTOCONF_VERSION],
12 - [m4_define([_GCC_AUTOCONF_VERSION], [2.59])])
14 -dnl Test for the exact version when AC_INIT is expanded.
15 -dnl This allows to update the tree in steps (for testing)
16 -dnl by putting
17 -dnl m4_define([_GCC_AUTOCONF_VERSION], [X.Y])
18 -dnl in configure.ac before AC_INIT,
19 -dnl without rewriting this file.
20 -dnl Or for updating the whole tree at once with the definition above.
21 -AC_DEFUN([_GCC_AUTOCONF_VERSION_CHECK],
22 -[m4_if(m4_defn([_GCC_AUTOCONF_VERSION]),
23 - m4_defn([m4_PACKAGE_VERSION]), [],
24 - [m4_fatal([Please use exactly Autoconf ]_GCC_AUTOCONF_VERSION[ instead of ]m4_defn([m4_PACKAGE_VERSION])[.])])
25 -])
26 -m4_define([AC_INIT], m4_defn([AC_INIT])[
27 -_GCC_AUTOCONF_VERSION_CHECK
28 -])
30 m4_version_prereq([2.60],, [
31 dnl We use $ac_pwd in some of the overrides below; ensure its definition
32 m4_divert_push([PARSE_ARGS])dnl
33 diff -ruN gcc-4.4.2.orig/configure gcc-4.4.2/configure
34 --- gcc-4.4.2.orig/configure 2009-04-25 08:10:29.000000000 +0400
35 +++ gcc-4.4.2/configure 2010-10-07 11:11:19.000000000 +0400
36 @@ -1,25 +1,54 @@
37 #! /bin/sh
38 # Guess values for system-dependent variables and create Makefiles.
39 -# Generated by GNU Autoconf 2.59.
40 +# Generated by GNU Autoconf 2.61.
42 -# Copyright (C) 2003 Free Software Foundation, Inc.
43 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
44 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
45 # This configure script is free software; the Free Software Foundation
46 # gives unlimited permission to copy, distribute and modify it.
47 ## --------------------- ##
48 ## M4sh Initialization. ##
49 ## --------------------- ##
51 -# Be Bourne compatible
52 +# Be more Bourne compatible
53 +DUALCASE=1; export DUALCASE # for MKS sh
54 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
55 emulate sh
56 NULLCMD=:
57 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
58 # is contrary to our usage. Disable this feature.
59 alias -g '${1+"$@"}'='"$@"'
60 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
61 - set -o posix
62 + setopt NO_GLOB_SUBST
63 +else
64 + case `(set -o) 2>/dev/null` in
65 + *posix*) set -o posix ;;
66 +esac
68 +fi
73 +# PATH needs CR
74 +# Avoid depending upon Character Ranges.
75 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
76 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
77 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
78 +as_cr_digits='0123456789'
79 +as_cr_alnum=$as_cr_Letters$as_cr_digits
81 +# The user is always right.
82 +if test "${PATH_SEPARATOR+set}" != set; then
83 + echo "#! /bin/sh" >conf$$.sh
84 + echo "exit 0" >>conf$$.sh
85 + chmod +x conf$$.sh
86 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
87 + PATH_SEPARATOR=';'
88 + else
89 + PATH_SEPARATOR=:
90 + fi
91 + rm -f conf$$.sh
93 -DUALCASE=1; export DUALCASE # for MKS sh
95 # Support unset when possible.
96 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
97 @@ -29,8 +58,43 @@
101 +# IFS
102 +# We need space, tab and new line, in precisely that order. Quoting is
103 +# there to prevent editors from complaining about space-tab.
104 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
105 +# splitting by setting IFS to empty value.)
106 +as_nl='
108 +IFS=" "" $as_nl"
110 +# Find who we are. Look in the path if we contain no directory separator.
111 +case $0 in
112 + *[\\/]* ) as_myself=$0 ;;
113 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
114 +for as_dir in $PATH
116 + IFS=$as_save_IFS
117 + test -z "$as_dir" && as_dir=.
118 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 +done
120 +IFS=$as_save_IFS
122 + ;;
123 +esac
124 +# We did not find ourselves, most probably we were run as `sh COMMAND'
125 +# in which case we are not to be found in the path.
126 +if test "x$as_myself" = x; then
127 + as_myself=$0
129 +if test ! -f "$as_myself"; then
130 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
131 + { (exit 1); exit 1; }
134 # Work around bugs in pre-3.0 UWIN ksh.
135 -$as_unset ENV MAIL MAILPATH
136 +for as_var in ENV MAIL MAILPATH
137 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
138 +done
139 PS1='$ '
140 PS2='> '
141 PS4='+ '
142 @@ -44,18 +108,19 @@
143 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
144 eval $as_var=C; export $as_var
145 else
146 - $as_unset $as_var
147 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
149 done
151 # Required to use basename.
152 -if expr a : '\(a\)' >/dev/null 2>&1; then
153 +if expr a : '\(a\)' >/dev/null 2>&1 &&
154 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
155 as_expr=expr
156 else
157 as_expr=false
160 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
161 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
162 as_basename=basename
163 else
164 as_basename=false
165 @@ -63,157 +128,388 @@
168 # Name of the executable.
169 -as_me=`$as_basename "$0" ||
170 +as_me=`$as_basename -- "$0" ||
171 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
172 X"$0" : 'X\(//\)$' \| \
173 - X"$0" : 'X\(/\)$' \| \
174 - . : '\(.\)' 2>/dev/null ||
175 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
176 echo X/"$0" |
177 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
178 - /^X\/\(\/\/\)$/{ s//\1/; q; }
179 - /^X\/\(\/\).*/{ s//\1/; q; }
180 - s/.*/./; q'`
181 + sed '/^.*\/\([^/][^/]*\)\/*$/{
182 + s//\1/
185 + /^X\/\(\/\/\)$/{
186 + s//\1/
189 + /^X\/\(\/\).*/{
190 + s//\1/
193 + s/.*/./; q'`
195 +# CDPATH.
196 +$as_unset CDPATH
198 -# PATH needs CR, and LINENO needs CR and PATH.
199 -# Avoid depending upon Character Ranges.
200 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
201 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
202 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
203 -as_cr_digits='0123456789'
204 -as_cr_alnum=$as_cr_Letters$as_cr_digits
206 -# The user is always right.
207 -if test "${PATH_SEPARATOR+set}" != set; then
208 - echo "#! /bin/sh" >conf$$.sh
209 - echo "exit 0" >>conf$$.sh
210 - chmod +x conf$$.sh
211 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
212 - PATH_SEPARATOR=';'
213 - else
214 - PATH_SEPARATOR=:
215 - fi
216 - rm -f conf$$.sh
217 +if test "x$CONFIG_SHELL" = x; then
218 + if (eval ":") 2>/dev/null; then
219 + as_have_required=yes
220 +else
221 + as_have_required=no
224 + if test $as_have_required = yes && (eval ":
225 +(as_func_return () {
226 + (exit \$1)
228 +as_func_success () {
229 + as_func_return 0
231 +as_func_failure () {
232 + as_func_return 1
234 +as_func_ret_success () {
235 + return 0
237 +as_func_ret_failure () {
238 + return 1
241 +exitcode=0
242 +if as_func_success; then
244 +else
245 + exitcode=1
246 + echo as_func_success failed.
249 +if as_func_failure; then
250 + exitcode=1
251 + echo as_func_failure succeeded.
254 - as_lineno_1=$LINENO
255 - as_lineno_2=$LINENO
256 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
257 - test "x$as_lineno_1" != "x$as_lineno_2" &&
258 - test "x$as_lineno_3" = "x$as_lineno_2" || {
259 - # Find who we are. Look in the path if we contain no path at all
260 - # relative or not.
261 - case $0 in
262 - *[\\/]* ) as_myself=$0 ;;
263 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
264 -for as_dir in $PATH
266 - IFS=$as_save_IFS
267 - test -z "$as_dir" && as_dir=.
268 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
269 -done
270 +if as_func_ret_success; then
272 +else
273 + exitcode=1
274 + echo as_func_ret_success failed.
277 - ;;
278 - esac
279 - # We did not find ourselves, most probably we were run as `sh COMMAND'
280 - # in which case we are not to be found in the path.
281 - if test "x$as_myself" = x; then
282 - as_myself=$0
283 - fi
284 - if test ! -f "$as_myself"; then
285 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
286 - { (exit 1); exit 1; }; }
287 - fi
288 - case $CONFIG_SHELL in
289 - '')
290 +if as_func_ret_failure; then
291 + exitcode=1
292 + echo as_func_ret_failure succeeded.
295 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
297 +else
298 + exitcode=1
299 + echo positional parameters were not saved.
302 +test \$exitcode = 0) || { (exit 1); exit 1; }
305 + as_lineno_1=\$LINENO
306 + as_lineno_2=\$LINENO
307 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
308 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
309 +") 2> /dev/null; then
311 +else
312 + as_candidate_shells=
313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
314 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
316 IFS=$as_save_IFS
317 test -z "$as_dir" && as_dir=.
318 - for as_base in sh bash ksh sh5; do
319 - case $as_dir in
320 + case $as_dir in
322 - if ("$as_dir/$as_base" -c '
323 + for as_base in sh bash ksh sh5; do
324 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
325 + done;;
326 + esac
327 +done
328 +IFS=$as_save_IFS
331 + for as_shell in $as_candidate_shells $SHELL; do
332 + # Try only shells that exist, to save several forks.
333 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
334 + { ("$as_shell") 2> /dev/null <<\_ASEOF
335 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
336 + emulate sh
337 + NULLCMD=:
338 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
339 + # is contrary to our usage. Disable this feature.
340 + alias -g '${1+"$@"}'='"$@"'
341 + setopt NO_GLOB_SUBST
342 +else
343 + case `(set -o) 2>/dev/null` in
344 + *posix*) set -o posix ;;
345 +esac
351 +_ASEOF
352 +}; then
353 + CONFIG_SHELL=$as_shell
354 + as_have_required=yes
355 + if { "$as_shell" 2> /dev/null <<\_ASEOF
356 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
357 + emulate sh
358 + NULLCMD=:
359 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
360 + # is contrary to our usage. Disable this feature.
361 + alias -g '${1+"$@"}'='"$@"'
362 + setopt NO_GLOB_SUBST
363 +else
364 + case `(set -o) 2>/dev/null` in
365 + *posix*) set -o posix ;;
366 +esac
372 +(as_func_return () {
373 + (exit $1)
375 +as_func_success () {
376 + as_func_return 0
378 +as_func_failure () {
379 + as_func_return 1
381 +as_func_ret_success () {
382 + return 0
384 +as_func_ret_failure () {
385 + return 1
388 +exitcode=0
389 +if as_func_success; then
391 +else
392 + exitcode=1
393 + echo as_func_success failed.
396 +if as_func_failure; then
397 + exitcode=1
398 + echo as_func_failure succeeded.
401 +if as_func_ret_success; then
403 +else
404 + exitcode=1
405 + echo as_func_ret_success failed.
408 +if as_func_ret_failure; then
409 + exitcode=1
410 + echo as_func_ret_failure succeeded.
413 +if ( set x; as_func_ret_success y && test x = "$1" ); then
415 +else
416 + exitcode=1
417 + echo positional parameters were not saved.
420 +test $exitcode = 0) || { (exit 1); exit 1; }
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
425 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
426 test "x$as_lineno_1" != "x$as_lineno_2" &&
427 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
428 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
429 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
430 - CONFIG_SHELL=$as_dir/$as_base
431 - export CONFIG_SHELL
432 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
433 - fi;;
434 - esac
435 - done
436 -done
438 - esac
439 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
441 +_ASEOF
442 +}; then
443 + break
448 + done
450 + if test "x$CONFIG_SHELL" != x; then
451 + for as_var in BASH_ENV ENV
452 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
453 + done
454 + export CONFIG_SHELL
455 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
459 + if test $as_have_required = no; then
460 + echo This script requires a shell more modern than all the
461 + echo shells that I found on your system. Please install a
462 + echo modern shell, or manually run the script under such a
463 + echo shell if you do have one.
464 + { (exit 1); exit 1; }
474 +(eval "as_func_return () {
475 + (exit \$1)
477 +as_func_success () {
478 + as_func_return 0
480 +as_func_failure () {
481 + as_func_return 1
483 +as_func_ret_success () {
484 + return 0
486 +as_func_ret_failure () {
487 + return 1
490 +exitcode=0
491 +if as_func_success; then
493 +else
494 + exitcode=1
495 + echo as_func_success failed.
498 +if as_func_failure; then
499 + exitcode=1
500 + echo as_func_failure succeeded.
503 +if as_func_ret_success; then
505 +else
506 + exitcode=1
507 + echo as_func_ret_success failed.
510 +if as_func_ret_failure; then
511 + exitcode=1
512 + echo as_func_ret_failure succeeded.
515 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
517 +else
518 + exitcode=1
519 + echo positional parameters were not saved.
522 +test \$exitcode = 0") || {
523 + echo No shell found that supports shell functions.
524 + echo Please tell autoconf@gnu.org about your system,
525 + echo including any error possibly output before this
526 + echo message
531 + as_lineno_1=$LINENO
532 + as_lineno_2=$LINENO
533 + test "x$as_lineno_1" != "x$as_lineno_2" &&
534 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
536 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
537 # uniformly replaced by the line number. The first 'sed' inserts a
538 - # line-number line before each line; the second 'sed' does the real
539 - # work. The second script uses 'N' to pair each line-number line
540 - # with the numbered line, and appends trailing '-' during
541 - # substitution so that $LINENO is not a special case at line end.
542 + # line-number line after each line using $LINENO; the second 'sed'
543 + # does the real work. The second script uses 'N' to pair each
544 + # line-number line with the line containing $LINENO, and appends
545 + # trailing '-' during substitution so that $LINENO is not a special
546 + # case at line end.
547 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
548 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
549 - sed '=' <$as_myself |
550 + # scripts with optimization help from Paolo Bonzini. Blame Lee
551 + # E. McMahon (1931-1989) for sed's syntax. :-)
552 + sed -n '
554 + /[$]LINENO/=
555 + ' <$as_myself |
556 sed '
557 + s/[$]LINENO.*/&-/
558 + t lineno
560 + :lineno
562 - s,$,-,
563 - : loop
564 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
565 + :loop
566 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
567 t loop
568 - s,-$,,
569 - s,^['$as_cr_digits']*\n,,
570 + s/-\n.*//
571 ' >$as_me.lineno &&
572 - chmod +x $as_me.lineno ||
573 + chmod +x "$as_me.lineno" ||
574 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
575 { (exit 1); exit 1; }; }
577 # Don't try to exec as it changes $[0], causing all sort of problems
578 # (the dirname of $[0] is not the place where we might find the
579 - # original and so on. Autoconf is especially sensible to this).
580 - . ./$as_me.lineno
581 + # original and so on. Autoconf is especially sensitive to this).
582 + . "./$as_me.lineno"
583 # Exit status is that of the last command.
584 exit
588 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
589 - *c*,-n*) ECHO_N= ECHO_C='
590 -' ECHO_T=' ' ;;
591 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
592 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
593 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
594 + as_dirname=dirname
595 +else
596 + as_dirname=false
599 +ECHO_C= ECHO_N= ECHO_T=
600 +case `echo -n x` in
601 +-n*)
602 + case `echo 'x\c'` in
603 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
604 + *) ECHO_C='\c';;
605 + esac;;
607 + ECHO_N='-n';;
608 esac
610 -if expr a : '\(a\)' >/dev/null 2>&1; then
611 +if expr a : '\(a\)' >/dev/null 2>&1 &&
612 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
613 as_expr=expr
614 else
615 as_expr=false
618 rm -f conf$$ conf$$.exe conf$$.file
619 +if test -d conf$$.dir; then
620 + rm -f conf$$.dir/conf$$.file
621 +else
622 + rm -f conf$$.dir
623 + mkdir conf$$.dir
625 echo >conf$$.file
626 if ln -s conf$$.file conf$$ 2>/dev/null; then
627 - # We could just check for DJGPP; but this test a) works b) is more generic
628 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
629 - if test -f conf$$.exe; then
630 - # Don't use ln at all; we don't have any links
631 + as_ln_s='ln -s'
632 + # ... but there are two gotchas:
633 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
634 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
635 + # In both cases, we have to default to `cp -p'.
636 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
637 as_ln_s='cp -p'
638 - else
639 - as_ln_s='ln -s'
640 - fi
641 elif ln conf$$.file conf$$ 2>/dev/null; then
642 as_ln_s=ln
643 else
644 as_ln_s='cp -p'
646 -rm -f conf$$ conf$$.exe conf$$.file
647 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
648 +rmdir conf$$.dir 2>/dev/null
650 if mkdir -p . 2>/dev/null; then
651 as_mkdir_p=:
652 @@ -222,7 +518,28 @@
653 as_mkdir_p=false
656 -as_executable_p="test -f"
657 +if test -x / >/dev/null 2>&1; then
658 + as_test_x='test -x'
659 +else
660 + if ls -dL / >/dev/null 2>&1; then
661 + as_ls_L_option=L
662 + else
663 + as_ls_L_option=
664 + fi
665 + as_test_x='
666 + eval sh -c '\''
667 + if test -d "$1"; then
668 + test -d "$1/.";
669 + else
670 + case $1 in
671 + -*)set "./$1";;
672 + esac;
673 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
674 + ???[sx]*):;;*)false;;esac;fi
675 + '\'' sh
678 +as_executable_p=$as_test_x
680 # Sed expression to map a string onto a valid CPP name.
681 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
682 @@ -231,39 +548,27 @@
683 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
686 -# IFS
687 -# We need space, tab and new line, in precisely that order.
688 -as_nl='
690 -IFS=" $as_nl"
692 -# CDPATH.
693 -$as_unset CDPATH
695 +exec 7<&0 </dev/null 6>&1
697 # Name of the host.
698 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
699 # so uname gets run too.
700 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
702 -exec 6>&1
705 # Initializations.
707 ac_default_prefix=/usr/local
708 +ac_clean_files=
709 ac_config_libobj_dir=.
710 +LIBOBJS=
711 cross_compiling=no
712 subdirs=
713 MFLAGS=
714 MAKEFLAGS=
715 SHELL=${CONFIG_SHELL-/bin/sh}
717 -# Maximum number of lines to put in a shell here document.
718 -# This variable seems obsolete. It should probably be removed, and
719 -# only ac_max_sed_lines should be used.
720 -: ${ac_max_here_lines=38}
722 # Identity of this package.
723 PACKAGE_NAME=
724 PACKAGE_TARNAME=
725 @@ -272,9 +577,215 @@
726 PACKAGE_BUGREPORT=
728 ac_unique_file="move-if-change"
729 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TOPLEVEL_CONFIGURE_ARGUMENTS build build_cpu build_vendor build_os build_noncanonical host_noncanonical target_noncanonical host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN LN_S build_libsubdir build_subdir host_subdir target_subdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE do_compare gmplibs gmpinc extra_mpfr_configure_flags ppllibs pplinc clooglibs clooginc stage1_languages SYSROOT_CFLAGS_FOR_TARGET DEBUG_PREFIX_CFLAGS_FOR_TARGET CFLAGS_FOR_TARGET CXXFLAGS_FOR_TARGET RPATH_ENVVAR GCC_SHLIB_SUBDIR tooldir build_tooldir CONFIGURE_GDB_TK GDB_TK INSTALL_GDB_TK build_configargs build_configdirs host_configargs configdirs target_configargs AR_FOR_BUILD AS_FOR_BUILD CC_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD CXX_FOR_BUILD DLLTOOL_FOR_BUILD GCJ_FOR_BUILD GFORTRAN_FOR_BUILD LDFLAGS_FOR_BUILD LD_FOR_BUILD NM_FOR_BUILD RANLIB_FOR_BUILD WINDMC_FOR_BUILD WINDRES_FOR_BUILD config_shell YACC BISON M4 LEX FLEX MAKEINFO EXPECT RUNTEST AR AS DLLTOOL LD LIPO NM RANLIB STRIP WINDRES WINDMC OBJCOPY OBJDUMP CC_FOR_TARGET CXX_FOR_TARGET GCC_FOR_TARGET GCJ_FOR_TARGET GFORTRAN_FOR_TARGET AR_FOR_TARGET AS_FOR_TARGET DLLTOOL_FOR_TARGET LD_FOR_TARGET LIPO_FOR_TARGET NM_FOR_TARGET OBJDUMP_FOR_TARGET RANLIB_FOR_TARGET STRIP_FOR_TARGET WINDRES_FOR_TARGET WINDMC_FOR_TARGET RAW_CXX_FOR_TARGET FLAGS_FOR_TARGET COMPILER_AS_FOR_TARGET COMPILER_LD_FOR_TARGET COMPILER_NM_FOR_TARGET MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT stage1_cflags stage1_checking stage2_werror_flag datarootdir docdir pdfdir htmldir LIBOBJS LTLIBOBJS'
730 -ac_subst_files='serialization_dependencies host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag'
731 -ac_pwd=`pwd`
732 +ac_subst_vars='SHELL
733 +PATH_SEPARATOR
734 +PACKAGE_NAME
735 +PACKAGE_TARNAME
736 +PACKAGE_VERSION
737 +PACKAGE_STRING
738 +PACKAGE_BUGREPORT
739 +exec_prefix
740 +prefix
741 +program_transform_name
742 +bindir
743 +sbindir
744 +libexecdir
745 +datarootdir
746 +datadir
747 +sysconfdir
748 +sharedstatedir
749 +localstatedir
750 +includedir
751 +oldincludedir
752 +docdir
753 +infodir
754 +htmldir
755 +dvidir
756 +pdfdir
757 +psdir
758 +libdir
759 +localedir
760 +mandir
761 +DEFS
762 +ECHO_C
763 +ECHO_N
764 +ECHO_T
765 +LIBS
766 +build_alias
767 +host_alias
768 +target_alias
769 +TOPLEVEL_CONFIGURE_ARGUMENTS
770 +build
771 +build_cpu
772 +build_vendor
773 +build_os
774 +build_noncanonical
775 +host_noncanonical
776 +target_noncanonical
777 +host
778 +host_cpu
779 +host_vendor
780 +host_os
781 +target
782 +target_cpu
783 +target_vendor
784 +target_os
785 +INSTALL_PROGRAM
786 +INSTALL_SCRIPT
787 +INSTALL_DATA
789 +LN_S
790 +build_libsubdir
791 +build_subdir
792 +host_subdir
793 +target_subdir
795 +CFLAGS
796 +LDFLAGS
797 +CPPFLAGS
798 +ac_ct_CC
799 +EXEEXT
800 +OBJEXT
801 +CXX
802 +CXXFLAGS
803 +ac_ct_CXX
804 +GNATBIND
805 +GNATMAKE
806 +do_compare
807 +gmplibs
808 +gmpinc
809 +extra_mpfr_configure_flags
810 +ppllibs
811 +pplinc
812 +clooglibs
813 +clooginc
814 +stage1_languages
815 +SYSROOT_CFLAGS_FOR_TARGET
816 +DEBUG_PREFIX_CFLAGS_FOR_TARGET
817 +CFLAGS_FOR_TARGET
818 +CXXFLAGS_FOR_TARGET
819 +RPATH_ENVVAR
820 +GCC_SHLIB_SUBDIR
821 +tooldir
822 +build_tooldir
823 +CONFIGURE_GDB_TK
824 +GDB_TK
825 +INSTALL_GDB_TK
826 +build_configargs
827 +build_configdirs
828 +host_configargs
829 +configdirs
830 +target_configargs
831 +AR_FOR_BUILD
832 +AS_FOR_BUILD
833 +CC_FOR_BUILD
834 +CFLAGS_FOR_BUILD
835 +CXXFLAGS_FOR_BUILD
836 +CXX_FOR_BUILD
837 +DLLTOOL_FOR_BUILD
838 +GCJ_FOR_BUILD
839 +GFORTRAN_FOR_BUILD
840 +LDFLAGS_FOR_BUILD
841 +LD_FOR_BUILD
842 +NM_FOR_BUILD
843 +RANLIB_FOR_BUILD
844 +WINDMC_FOR_BUILD
845 +WINDRES_FOR_BUILD
846 +config_shell
847 +YACC
848 +BISON
850 +LEX
851 +FLEX
852 +MAKEINFO
853 +EXPECT
854 +RUNTEST
857 +DLLTOOL
859 +LIPO
861 +RANLIB
862 +STRIP
863 +WINDRES
864 +WINDMC
865 +OBJCOPY
866 +OBJDUMP
867 +CC_FOR_TARGET
868 +CXX_FOR_TARGET
869 +GCC_FOR_TARGET
870 +GCJ_FOR_TARGET
871 +GFORTRAN_FOR_TARGET
872 +AR_FOR_TARGET
873 +AS_FOR_TARGET
874 +DLLTOOL_FOR_TARGET
875 +LD_FOR_TARGET
876 +LIPO_FOR_TARGET
877 +NM_FOR_TARGET
878 +OBJDUMP_FOR_TARGET
879 +RANLIB_FOR_TARGET
880 +STRIP_FOR_TARGET
881 +WINDRES_FOR_TARGET
882 +WINDMC_FOR_TARGET
883 +RAW_CXX_FOR_TARGET
884 +FLAGS_FOR_TARGET
885 +COMPILER_AS_FOR_TARGET
886 +COMPILER_LD_FOR_TARGET
887 +COMPILER_NM_FOR_TARGET
888 +MAINTAINER_MODE_TRUE
889 +MAINTAINER_MODE_FALSE
890 +MAINT
891 +stage1_cflags
892 +stage1_checking
893 +stage2_werror_flag
894 +LIBOBJS
895 +LTLIBOBJS'
896 +ac_subst_files='serialization_dependencies
897 +host_makefile_frag
898 +target_makefile_frag
899 +alphaieee_frag
900 +ospace_frag'
901 + ac_precious_vars='build_alias
902 +host_alias
903 +target_alias
905 +CFLAGS
906 +LDFLAGS
907 +LIBS
908 +CPPFLAGS
909 +CXX
910 +CXXFLAGS
911 +CCC
914 +DLLTOOL
916 +LIPO
918 +RANLIB
919 +STRIP
920 +WINDRES
921 +WINDMC
922 +OBJCOPY
923 +OBJDUMP
924 +CC_FOR_TARGET
925 +CXX_FOR_TARGET
926 +GCC_FOR_TARGET
927 +GCJ_FOR_TARGET
928 +GFORTRAN_FOR_TARGET
929 +AR_FOR_TARGET
930 +AS_FOR_TARGET
931 +DLLTOOL_FOR_TARGET
932 +LD_FOR_TARGET
933 +LIPO_FOR_TARGET
934 +NM_FOR_TARGET
935 +OBJDUMP_FOR_TARGET
936 +RANLIB_FOR_TARGET
937 +STRIP_FOR_TARGET
938 +WINDRES_FOR_TARGET
939 +WINDMC_FOR_TARGET'
942 # Initialize some variables set by options.
943 ac_init_help=
944 @@ -301,34 +812,48 @@
945 # and all the variables that are supposed to be based on exec_prefix
946 # by default will actually change.
947 # Use braces instead of parens because sh, perl, etc. also accept them.
948 +# (The list follows the same order as the GNU Coding Standards.)
949 bindir='${exec_prefix}/bin'
950 sbindir='${exec_prefix}/sbin'
951 libexecdir='${exec_prefix}/libexec'
952 -datadir='${prefix}/share'
953 +datarootdir='${prefix}/share'
954 +datadir='${datarootdir}'
955 sysconfdir='${prefix}/etc'
956 sharedstatedir='${prefix}/com'
957 localstatedir='${prefix}/var'
958 -libdir='${exec_prefix}/lib'
959 includedir='${prefix}/include'
960 oldincludedir='/usr/include'
961 -infodir='${prefix}/info'
962 -mandir='${prefix}/man'
963 +docdir='${datarootdir}/doc/${PACKAGE}'
964 +infodir='${datarootdir}/info'
965 +htmldir='${docdir}'
966 +dvidir='${docdir}'
967 +pdfdir='${docdir}'
968 +psdir='${docdir}'
969 +libdir='${exec_prefix}/lib'
970 +localedir='${datarootdir}/locale'
971 +mandir='${datarootdir}/man'
973 ac_prev=
974 +ac_dashdash=
975 for ac_option
977 # If the previous option needs an argument, assign it.
978 if test -n "$ac_prev"; then
979 - eval "$ac_prev=\$ac_option"
980 + eval $ac_prev=\$ac_option
981 ac_prev=
982 continue
985 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
986 + case $ac_option in
987 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
988 + *) ac_optarg=yes ;;
989 + esac
991 # Accept the important Cygnus configure options, so we can diagnose typos.
993 - case $ac_option in
994 + case $ac_dashdash$ac_option in
995 + --)
996 + ac_dashdash=yes ;;
998 -bindir | --bindir | --bindi | --bind | --bin | --bi)
999 ac_prev=bindir ;;
1000 @@ -350,33 +875,45 @@
1001 --config-cache | -C)
1002 cache_file=config.cache ;;
1004 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1005 + -datadir | --datadir | --datadi | --datad)
1006 ac_prev=datadir ;;
1007 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
1008 - | --da=*)
1009 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
1010 datadir=$ac_optarg ;;
1012 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1013 + | --dataroo | --dataro | --datar)
1014 + ac_prev=datarootdir ;;
1015 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1016 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1017 + datarootdir=$ac_optarg ;;
1019 -disable-* | --disable-*)
1020 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1021 # Reject names that are not valid shell variable names.
1022 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1023 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1024 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1025 { (exit 1); exit 1; }; }
1026 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1027 - eval "enable_$ac_feature=no" ;;
1028 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1029 + eval enable_$ac_feature=no ;;
1031 + -docdir | --docdir | --docdi | --doc | --do)
1032 + ac_prev=docdir ;;
1033 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1034 + docdir=$ac_optarg ;;
1036 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1037 + ac_prev=dvidir ;;
1038 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1039 + dvidir=$ac_optarg ;;
1041 -enable-* | --enable-*)
1042 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1043 # Reject names that are not valid shell variable names.
1044 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1045 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1046 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1047 { (exit 1); exit 1; }; }
1048 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1049 - case $ac_option in
1050 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1051 - *) ac_optarg=yes ;;
1052 - esac
1053 - eval "enable_$ac_feature='$ac_optarg'" ;;
1054 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1055 + eval enable_$ac_feature=\$ac_optarg ;;
1057 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1058 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1059 @@ -403,6 +940,12 @@
1060 -host=* | --host=* | --hos=* | --ho=*)
1061 host_alias=$ac_optarg ;;
1063 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1064 + ac_prev=htmldir ;;
1065 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1066 + | --ht=*)
1067 + htmldir=$ac_optarg ;;
1069 -includedir | --includedir | --includedi | --included | --include \
1070 | --includ | --inclu | --incl | --inc)
1071 ac_prev=includedir ;;
1072 @@ -427,13 +970,16 @@
1073 | --libexe=* | --libex=* | --libe=*)
1074 libexecdir=$ac_optarg ;;
1076 + -localedir | --localedir | --localedi | --localed | --locale)
1077 + ac_prev=localedir ;;
1078 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1079 + localedir=$ac_optarg ;;
1081 -localstatedir | --localstatedir | --localstatedi | --localstated \
1082 - | --localstate | --localstat | --localsta | --localst \
1083 - | --locals | --local | --loca | --loc | --lo)
1084 + | --localstate | --localstat | --localsta | --localst | --locals)
1085 ac_prev=localstatedir ;;
1086 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1087 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1088 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1089 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1090 localstatedir=$ac_optarg ;;
1092 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1093 @@ -498,6 +1044,16 @@
1094 | --progr-tra=* | --program-tr=* | --program-t=*)
1095 program_transform_name=$ac_optarg ;;
1097 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1098 + ac_prev=pdfdir ;;
1099 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1100 + pdfdir=$ac_optarg ;;
1102 + -psdir | --psdir | --psdi | --psd | --ps)
1103 + ac_prev=psdir ;;
1104 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1105 + psdir=$ac_optarg ;;
1107 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1108 | -silent | --silent | --silen | --sile | --sil)
1109 silent=yes ;;
1110 @@ -550,24 +1106,20 @@
1111 -with-* | --with-*)
1112 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1113 # Reject names that are not valid shell variable names.
1114 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1115 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116 { echo "$as_me: error: invalid package name: $ac_package" >&2
1117 { (exit 1); exit 1; }; }
1118 - ac_package=`echo $ac_package| sed 's/-/_/g'`
1119 - case $ac_option in
1120 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1121 - *) ac_optarg=yes ;;
1122 - esac
1123 - eval "with_$ac_package='$ac_optarg'" ;;
1124 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1125 + eval with_$ac_package=\$ac_optarg ;;
1127 -without-* | --without-*)
1128 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1129 # Reject names that are not valid shell variable names.
1130 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1131 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1132 { echo "$as_me: error: invalid package name: $ac_package" >&2
1133 { (exit 1); exit 1; }; }
1134 - ac_package=`echo $ac_package | sed 's/-/_/g'`
1135 - eval "with_$ac_package=no" ;;
1136 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1137 + eval with_$ac_package=no ;;
1139 --x)
1140 # Obsolete; use --with-x.
1141 @@ -598,8 +1150,7 @@
1142 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1143 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1144 { (exit 1); exit 1; }; }
1145 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1146 - eval "$ac_envvar='$ac_optarg'"
1147 + eval $ac_envvar=\$ac_optarg
1148 export $ac_envvar ;;
1151 @@ -619,27 +1170,19 @@
1152 { (exit 1); exit 1; }; }
1155 -# Be sure to have absolute paths.
1156 -for ac_var in exec_prefix prefix
1158 - eval ac_val=$`echo $ac_var`
1159 - case $ac_val in
1160 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1161 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1162 - { (exit 1); exit 1; }; };;
1163 - esac
1164 -done
1166 -# Be sure to have absolute paths.
1167 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1168 - localstatedir libdir includedir oldincludedir infodir mandir
1169 +# Be sure to have absolute directory names.
1170 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1171 + datadir sysconfdir sharedstatedir localstatedir includedir \
1172 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1173 + libdir localedir mandir
1175 - eval ac_val=$`echo $ac_var`
1176 + eval ac_val=\$$ac_var
1177 case $ac_val in
1178 - [\\/$]* | ?:[\\/]* ) ;;
1179 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1180 - { (exit 1); exit 1; }; };;
1181 + [\\/$]* | ?:[\\/]* ) continue;;
1182 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1183 esac
1184 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1185 + { (exit 1); exit 1; }; }
1186 done
1188 # There might be people who depend on the old broken behavior: `$host'
1189 @@ -666,193 +1209,79 @@
1190 test "$silent" = yes && exec 6>/dev/null
1193 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
1194 +ac_ls_di=`ls -di .` &&
1195 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1196 + { echo "$as_me: error: Working directory cannot be determined" >&2
1197 + { (exit 1); exit 1; }; }
1198 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1199 + { echo "$as_me: error: pwd does not report name of working directory" >&2
1200 + { (exit 1); exit 1; }; }
1203 # Find the source files, if location was not specified.
1204 if test -z "$srcdir"; then
1205 ac_srcdir_defaulted=yes
1206 - # Try the directory containing this script, then its parent.
1207 - ac_confdir=`(dirname "$0") 2>/dev/null ||
1208 + # Try the directory containing this script, then the parent directory.
1209 + ac_confdir=`$as_dirname -- "$0" ||
1210 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1211 X"$0" : 'X\(//\)[^/]' \| \
1212 X"$0" : 'X\(//\)$' \| \
1213 - X"$0" : 'X\(/\)' \| \
1214 - . : '\(.\)' 2>/dev/null ||
1215 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1216 echo X"$0" |
1217 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1218 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1219 - /^X\(\/\/\)$/{ s//\1/; q; }
1220 - /^X\(\/\).*/{ s//\1/; q; }
1221 - s/.*/./; q'`
1222 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1223 + s//\1/
1226 + /^X\(\/\/\)[^/].*/{
1227 + s//\1/
1230 + /^X\(\/\/\)$/{
1231 + s//\1/
1234 + /^X\(\/\).*/{
1235 + s//\1/
1238 + s/.*/./; q'`
1239 srcdir=$ac_confdir
1240 - if test ! -r $srcdir/$ac_unique_file; then
1241 + if test ! -r "$srcdir/$ac_unique_file"; then
1242 srcdir=..
1244 else
1245 ac_srcdir_defaulted=no
1247 -if test ! -r $srcdir/$ac_unique_file; then
1248 - if test "$ac_srcdir_defaulted" = yes; then
1249 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1250 - { (exit 1); exit 1; }; }
1251 - else
1252 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1253 +if test ! -r "$srcdir/$ac_unique_file"; then
1254 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1255 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1256 { (exit 1); exit 1; }; }
1257 - fi
1259 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1260 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1261 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1262 +ac_abs_confdir=`(
1263 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1264 { (exit 1); exit 1; }; }
1265 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1266 -ac_env_build_alias_set=${build_alias+set}
1267 -ac_env_build_alias_value=$build_alias
1268 -ac_cv_env_build_alias_set=${build_alias+set}
1269 -ac_cv_env_build_alias_value=$build_alias
1270 -ac_env_host_alias_set=${host_alias+set}
1271 -ac_env_host_alias_value=$host_alias
1272 -ac_cv_env_host_alias_set=${host_alias+set}
1273 -ac_cv_env_host_alias_value=$host_alias
1274 -ac_env_target_alias_set=${target_alias+set}
1275 -ac_env_target_alias_value=$target_alias
1276 -ac_cv_env_target_alias_set=${target_alias+set}
1277 -ac_cv_env_target_alias_value=$target_alias
1278 -ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1280 -ac_env_CC_set=${CC+set}
1281 -ac_env_CC_value=$CC
1282 -ac_cv_env_CC_set=${CC+set}
1283 -ac_cv_env_CC_value=$CC
1284 -ac_env_CFLAGS_set=${CFLAGS+set}
1285 -ac_env_CFLAGS_value=$CFLAGS
1286 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
1287 -ac_cv_env_CFLAGS_value=$CFLAGS
1288 -ac_env_LDFLAGS_set=${LDFLAGS+set}
1289 -ac_env_LDFLAGS_value=$LDFLAGS
1290 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1291 -ac_cv_env_LDFLAGS_value=$LDFLAGS
1292 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1293 -ac_env_CPPFLAGS_value=$CPPFLAGS
1294 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1295 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1296 -ac_env_CXX_set=${CXX+set}
1297 -ac_env_CXX_value=$CXX
1298 -ac_cv_env_CXX_set=${CXX+set}
1299 -ac_cv_env_CXX_value=$CXX
1300 -ac_env_CXXFLAGS_set=${CXXFLAGS+set}
1301 -ac_env_CXXFLAGS_value=$CXXFLAGS
1302 -ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
1303 -ac_cv_env_CXXFLAGS_value=$CXXFLAGS
1304 -ac_env_AR_set=${AR+set}
1305 -ac_env_AR_value=$AR
1306 -ac_cv_env_AR_set=${AR+set}
1307 -ac_cv_env_AR_value=$AR
1308 -ac_env_AS_set=${AS+set}
1309 -ac_env_AS_value=$AS
1310 -ac_cv_env_AS_set=${AS+set}
1311 -ac_cv_env_AS_value=$AS
1312 -ac_env_DLLTOOL_set=${DLLTOOL+set}
1313 -ac_env_DLLTOOL_value=$DLLTOOL
1314 -ac_cv_env_DLLTOOL_set=${DLLTOOL+set}
1315 -ac_cv_env_DLLTOOL_value=$DLLTOOL
1316 -ac_env_LD_set=${LD+set}
1317 -ac_env_LD_value=$LD
1318 -ac_cv_env_LD_set=${LD+set}
1319 -ac_cv_env_LD_value=$LD
1320 -ac_env_LIPO_set=${LIPO+set}
1321 -ac_env_LIPO_value=$LIPO
1322 -ac_cv_env_LIPO_set=${LIPO+set}
1323 -ac_cv_env_LIPO_value=$LIPO
1324 -ac_env_NM_set=${NM+set}
1325 -ac_env_NM_value=$NM
1326 -ac_cv_env_NM_set=${NM+set}
1327 -ac_cv_env_NM_value=$NM
1328 -ac_env_RANLIB_set=${RANLIB+set}
1329 -ac_env_RANLIB_value=$RANLIB
1330 -ac_cv_env_RANLIB_set=${RANLIB+set}
1331 -ac_cv_env_RANLIB_value=$RANLIB
1332 -ac_env_STRIP_set=${STRIP+set}
1333 -ac_env_STRIP_value=$STRIP
1334 -ac_cv_env_STRIP_set=${STRIP+set}
1335 -ac_cv_env_STRIP_value=$STRIP
1336 -ac_env_WINDRES_set=${WINDRES+set}
1337 -ac_env_WINDRES_value=$WINDRES
1338 -ac_cv_env_WINDRES_set=${WINDRES+set}
1339 -ac_cv_env_WINDRES_value=$WINDRES
1340 -ac_env_WINDMC_set=${WINDMC+set}
1341 -ac_env_WINDMC_value=$WINDMC
1342 -ac_cv_env_WINDMC_set=${WINDMC+set}
1343 -ac_cv_env_WINDMC_value=$WINDMC
1344 -ac_env_OBJCOPY_set=${OBJCOPY+set}
1345 -ac_env_OBJCOPY_value=$OBJCOPY
1346 -ac_cv_env_OBJCOPY_set=${OBJCOPY+set}
1347 -ac_cv_env_OBJCOPY_value=$OBJCOPY
1348 -ac_env_OBJDUMP_set=${OBJDUMP+set}
1349 -ac_env_OBJDUMP_value=$OBJDUMP
1350 -ac_cv_env_OBJDUMP_set=${OBJDUMP+set}
1351 -ac_cv_env_OBJDUMP_value=$OBJDUMP
1352 -ac_env_CC_FOR_TARGET_set=${CC_FOR_TARGET+set}
1353 -ac_env_CC_FOR_TARGET_value=$CC_FOR_TARGET
1354 -ac_cv_env_CC_FOR_TARGET_set=${CC_FOR_TARGET+set}
1355 -ac_cv_env_CC_FOR_TARGET_value=$CC_FOR_TARGET
1356 -ac_env_CXX_FOR_TARGET_set=${CXX_FOR_TARGET+set}
1357 -ac_env_CXX_FOR_TARGET_value=$CXX_FOR_TARGET
1358 -ac_cv_env_CXX_FOR_TARGET_set=${CXX_FOR_TARGET+set}
1359 -ac_cv_env_CXX_FOR_TARGET_value=$CXX_FOR_TARGET
1360 -ac_env_GCC_FOR_TARGET_set=${GCC_FOR_TARGET+set}
1361 -ac_env_GCC_FOR_TARGET_value=$GCC_FOR_TARGET
1362 -ac_cv_env_GCC_FOR_TARGET_set=${GCC_FOR_TARGET+set}
1363 -ac_cv_env_GCC_FOR_TARGET_value=$GCC_FOR_TARGET
1364 -ac_env_GCJ_FOR_TARGET_set=${GCJ_FOR_TARGET+set}
1365 -ac_env_GCJ_FOR_TARGET_value=$GCJ_FOR_TARGET
1366 -ac_cv_env_GCJ_FOR_TARGET_set=${GCJ_FOR_TARGET+set}
1367 -ac_cv_env_GCJ_FOR_TARGET_value=$GCJ_FOR_TARGET
1368 -ac_env_GFORTRAN_FOR_TARGET_set=${GFORTRAN_FOR_TARGET+set}
1369 -ac_env_GFORTRAN_FOR_TARGET_value=$GFORTRAN_FOR_TARGET
1370 -ac_cv_env_GFORTRAN_FOR_TARGET_set=${GFORTRAN_FOR_TARGET+set}
1371 -ac_cv_env_GFORTRAN_FOR_TARGET_value=$GFORTRAN_FOR_TARGET
1372 -ac_env_AR_FOR_TARGET_set=${AR_FOR_TARGET+set}
1373 -ac_env_AR_FOR_TARGET_value=$AR_FOR_TARGET
1374 -ac_cv_env_AR_FOR_TARGET_set=${AR_FOR_TARGET+set}
1375 -ac_cv_env_AR_FOR_TARGET_value=$AR_FOR_TARGET
1376 -ac_env_AS_FOR_TARGET_set=${AS_FOR_TARGET+set}
1377 -ac_env_AS_FOR_TARGET_value=$AS_FOR_TARGET
1378 -ac_cv_env_AS_FOR_TARGET_set=${AS_FOR_TARGET+set}
1379 -ac_cv_env_AS_FOR_TARGET_value=$AS_FOR_TARGET
1380 -ac_env_DLLTOOL_FOR_TARGET_set=${DLLTOOL_FOR_TARGET+set}
1381 -ac_env_DLLTOOL_FOR_TARGET_value=$DLLTOOL_FOR_TARGET
1382 -ac_cv_env_DLLTOOL_FOR_TARGET_set=${DLLTOOL_FOR_TARGET+set}
1383 -ac_cv_env_DLLTOOL_FOR_TARGET_value=$DLLTOOL_FOR_TARGET
1384 -ac_env_LD_FOR_TARGET_set=${LD_FOR_TARGET+set}
1385 -ac_env_LD_FOR_TARGET_value=$LD_FOR_TARGET
1386 -ac_cv_env_LD_FOR_TARGET_set=${LD_FOR_TARGET+set}
1387 -ac_cv_env_LD_FOR_TARGET_value=$LD_FOR_TARGET
1388 -ac_env_LIPO_FOR_TARGET_set=${LIPO_FOR_TARGET+set}
1389 -ac_env_LIPO_FOR_TARGET_value=$LIPO_FOR_TARGET
1390 -ac_cv_env_LIPO_FOR_TARGET_set=${LIPO_FOR_TARGET+set}
1391 -ac_cv_env_LIPO_FOR_TARGET_value=$LIPO_FOR_TARGET
1392 -ac_env_NM_FOR_TARGET_set=${NM_FOR_TARGET+set}
1393 -ac_env_NM_FOR_TARGET_value=$NM_FOR_TARGET
1394 -ac_cv_env_NM_FOR_TARGET_set=${NM_FOR_TARGET+set}
1395 -ac_cv_env_NM_FOR_TARGET_value=$NM_FOR_TARGET
1396 -ac_env_OBJDUMP_FOR_TARGET_set=${OBJDUMP_FOR_TARGET+set}
1397 -ac_env_OBJDUMP_FOR_TARGET_value=$OBJDUMP_FOR_TARGET
1398 -ac_cv_env_OBJDUMP_FOR_TARGET_set=${OBJDUMP_FOR_TARGET+set}
1399 -ac_cv_env_OBJDUMP_FOR_TARGET_value=$OBJDUMP_FOR_TARGET
1400 -ac_env_RANLIB_FOR_TARGET_set=${RANLIB_FOR_TARGET+set}
1401 -ac_env_RANLIB_FOR_TARGET_value=$RANLIB_FOR_TARGET
1402 -ac_cv_env_RANLIB_FOR_TARGET_set=${RANLIB_FOR_TARGET+set}
1403 -ac_cv_env_RANLIB_FOR_TARGET_value=$RANLIB_FOR_TARGET
1404 -ac_env_STRIP_FOR_TARGET_set=${STRIP_FOR_TARGET+set}
1405 -ac_env_STRIP_FOR_TARGET_value=$STRIP_FOR_TARGET
1406 -ac_cv_env_STRIP_FOR_TARGET_set=${STRIP_FOR_TARGET+set}
1407 -ac_cv_env_STRIP_FOR_TARGET_value=$STRIP_FOR_TARGET
1408 -ac_env_WINDRES_FOR_TARGET_set=${WINDRES_FOR_TARGET+set}
1409 -ac_env_WINDRES_FOR_TARGET_value=$WINDRES_FOR_TARGET
1410 -ac_cv_env_WINDRES_FOR_TARGET_set=${WINDRES_FOR_TARGET+set}
1411 -ac_cv_env_WINDRES_FOR_TARGET_value=$WINDRES_FOR_TARGET
1412 -ac_env_WINDMC_FOR_TARGET_set=${WINDMC_FOR_TARGET+set}
1413 -ac_env_WINDMC_FOR_TARGET_value=$WINDMC_FOR_TARGET
1414 -ac_cv_env_WINDMC_FOR_TARGET_set=${WINDMC_FOR_TARGET+set}
1415 -ac_cv_env_WINDMC_FOR_TARGET_value=$WINDMC_FOR_TARGET
1417 + pwd)`
1418 +# When building in place, set srcdir=.
1419 +if test "$ac_abs_confdir" = "$ac_pwd"; then
1420 + srcdir=.
1422 +# Remove unnecessary trailing slashes from srcdir.
1423 +# Double slashes in file names in object file debugging info
1424 +# mess up M-x gdb in Emacs.
1425 +case $srcdir in
1426 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1427 +esac
1428 +ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1430 +for ac_var in $ac_precious_vars; do
1431 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
1432 + eval ac_env_${ac_var}_value=\$${ac_var}
1433 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1434 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
1435 +done
1438 # Report the --help message.
1440 @@ -880,9 +1309,6 @@
1441 -n, --no-create do not create output files
1442 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1444 -_ACEOF
1446 - cat <<_ACEOF
1447 Installation directories:
1448 --prefix=PREFIX install architecture-independent files in PREFIX
1449 [$ac_default_prefix]
1450 @@ -900,15 +1326,22 @@
1451 --bindir=DIR user executables [EPREFIX/bin]
1452 --sbindir=DIR system admin executables [EPREFIX/sbin]
1453 --libexecdir=DIR program executables [EPREFIX/libexec]
1454 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
1455 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1456 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1457 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1458 --libdir=DIR object code libraries [EPREFIX/lib]
1459 --includedir=DIR C header files [PREFIX/include]
1460 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1461 - --infodir=DIR info documentation [PREFIX/info]
1462 - --mandir=DIR man documentation [PREFIX/man]
1463 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1464 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1465 + --infodir=DIR info documentation [DATAROOTDIR/info]
1466 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1467 + --mandir=DIR man documentation [DATAROOTDIR/man]
1468 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1469 + --htmldir=DIR html documentation [DOCDIR]
1470 + --dvidir=DIR dvi documentation [DOCDIR]
1471 + --pdfdir=DIR pdf documentation [DOCDIR]
1472 + --psdir=DIR ps documentation [DOCDIR]
1473 _ACEOF
1475 cat <<\_ACEOF
1476 @@ -997,8 +1430,9 @@
1477 CFLAGS C compiler flags
1478 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1479 nonstandard directory <lib dir>
1480 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1481 - headers in a nonstandard directory <include dir>
1482 + LIBS libraries to pass to the linker, e.g. -l<library>
1483 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1484 + you have headers in a nonstandard directory <include dir>
1485 CXX C++ compiler command
1486 CXXFLAGS C++ compiler flags
1487 AR AR for the host
1488 @@ -1050,118 +1484,86 @@
1489 it to find libraries and programs with nonstandard names/locations.
1491 _ACEOF
1492 +ac_status=$?
1495 if test "$ac_init_help" = "recursive"; then
1496 # If there are subdirs, report their specific --help.
1497 - ac_popdir=`pwd`
1498 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1499 - test -d $ac_dir || continue
1500 + test -d "$ac_dir" || continue
1501 ac_builddir=.
1503 -if test "$ac_dir" != .; then
1504 +case "$ac_dir" in
1505 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1507 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1508 - # A "../" for each directory in $ac_dir_suffix.
1509 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1510 -else
1511 - ac_dir_suffix= ac_top_builddir=
1513 + # A ".." for each directory in $ac_dir_suffix.
1514 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1515 + case $ac_top_builddir_sub in
1516 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1517 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1518 + esac ;;
1519 +esac
1520 +ac_abs_top_builddir=$ac_pwd
1521 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
1522 +# for backward compatibility:
1523 +ac_top_builddir=$ac_top_build_prefix
1525 case $srcdir in
1526 - .) # No --srcdir option. We are building in place.
1527 + .) # We are building in place.
1528 ac_srcdir=.
1529 - if test -z "$ac_top_builddir"; then
1530 - ac_top_srcdir=.
1531 - else
1532 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1533 - fi ;;
1534 - [\\/]* | ?:[\\/]* ) # Absolute path.
1535 + ac_top_srcdir=$ac_top_builddir_sub
1536 + ac_abs_top_srcdir=$ac_pwd ;;
1537 + [\\/]* | ?:[\\/]* ) # Absolute name.
1538 ac_srcdir=$srcdir$ac_dir_suffix;
1539 - ac_top_srcdir=$srcdir ;;
1540 - *) # Relative path.
1541 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1542 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
1543 -esac
1545 -# Do not use `cd foo && pwd` to compute absolute paths, because
1546 -# the directories may not exist.
1547 -case `pwd` in
1548 -.) ac_abs_builddir="$ac_dir";;
1550 - case "$ac_dir" in
1551 - .) ac_abs_builddir=`pwd`;;
1552 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1553 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
1554 - esac;;
1555 -esac
1556 -case $ac_abs_builddir in
1557 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
1559 - case ${ac_top_builddir}. in
1560 - .) ac_abs_top_builddir=$ac_abs_builddir;;
1561 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1562 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1563 - esac;;
1564 -esac
1565 -case $ac_abs_builddir in
1566 -.) ac_abs_srcdir=$ac_srcdir;;
1568 - case $ac_srcdir in
1569 - .) ac_abs_srcdir=$ac_abs_builddir;;
1570 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1571 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1572 - esac;;
1573 -esac
1574 -case $ac_abs_builddir in
1575 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
1577 - case $ac_top_srcdir in
1578 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
1579 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1580 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1581 - esac;;
1582 -esac
1584 - cd $ac_dir
1585 - # Check for guested configure; otherwise get Cygnus style configure.
1586 - if test -f $ac_srcdir/configure.gnu; then
1587 - echo
1588 - $SHELL $ac_srcdir/configure.gnu --help=recursive
1589 - elif test -f $ac_srcdir/configure; then
1590 - echo
1591 - $SHELL $ac_srcdir/configure --help=recursive
1592 - elif test -f $ac_srcdir/configure.ac ||
1593 - test -f $ac_srcdir/configure.in; then
1594 - echo
1595 - $ac_configure --help
1596 + ac_top_srcdir=$srcdir
1597 + ac_abs_top_srcdir=$srcdir ;;
1598 + *) # Relative name.
1599 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1600 + ac_top_srcdir=$ac_top_build_prefix$srcdir
1601 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1602 +esac
1603 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1605 + cd "$ac_dir" || { ac_status=$?; continue; }
1606 + # Check for guested configure.
1607 + if test -f "$ac_srcdir/configure.gnu"; then
1608 + echo &&
1609 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1610 + elif test -f "$ac_srcdir/configure"; then
1611 + echo &&
1612 + $SHELL "$ac_srcdir/configure" --help=recursive
1613 else
1614 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1615 - fi
1616 - cd $ac_popdir
1617 + fi || ac_status=$?
1618 + cd "$ac_pwd" || { ac_status=$?; break; }
1619 done
1622 -test -n "$ac_init_help" && exit 0
1623 +test -n "$ac_init_help" && exit $ac_status
1624 if $ac_init_version; then
1625 cat <<\_ACEOF
1626 +configure
1627 +generated by GNU Autoconf 2.61
1629 -Copyright (C) 2003 Free Software Foundation, Inc.
1630 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1631 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1632 This configure script is free software; the Free Software Foundation
1633 gives unlimited permission to copy, distribute and modify it.
1634 _ACEOF
1635 - exit 0
1636 + exit
1638 -exec 5>config.log
1639 -cat >&5 <<_ACEOF
1640 +cat >config.log <<_ACEOF
1641 This file contains any messages produced by compilers while
1642 running configure, to aid debugging if configure makes a mistake.
1644 It was created by $as_me, which was
1645 -generated by GNU Autoconf 2.59. Invocation command line was
1646 +generated by GNU Autoconf 2.61. Invocation command line was
1648 $ $0 $@
1650 _ACEOF
1651 +exec 5>>config.log
1653 cat <<_ASUNAME
1654 ## --------- ##
1655 @@ -1180,7 +1582,7 @@
1656 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1657 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1658 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1659 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1660 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1661 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1662 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1663 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1664 @@ -1194,6 +1596,7 @@
1665 test -z "$as_dir" && as_dir=.
1666 echo "PATH: $as_dir"
1667 done
1668 +IFS=$as_save_IFS
1670 } >&5
1672 @@ -1215,7 +1618,6 @@
1673 ac_configure_args=
1674 ac_configure_args0=
1675 ac_configure_args1=
1676 -ac_sep=
1677 ac_must_keep_next=false
1678 for ac_pass in 1 2
1680 @@ -1226,7 +1628,7 @@
1681 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1682 | -silent | --silent | --silen | --sile | --sil)
1683 continue ;;
1684 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1685 + *\'*)
1686 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1687 esac
1688 case $ac_pass in
1689 @@ -1248,9 +1650,7 @@
1690 -* ) ac_must_keep_next=true ;;
1691 esac
1693 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1694 - # Get rid of the leading space.
1695 - ac_sep=" "
1696 + ac_configure_args="$ac_configure_args '$ac_arg'"
1698 esac
1699 done
1700 @@ -1261,8 +1661,8 @@
1701 # When interrupted or exit'd, cleanup temporary files, and complete
1702 # config.log. We remove comments because anyway the quotes in there
1703 # would cause problems or look ugly.
1704 -# WARNING: Be sure not to use single quotes in there, as some shells,
1705 -# such as our DU 5.0 friend, will then `close' the trap.
1706 +# WARNING: Use '\'' to represent an apostrophe within the trap.
1707 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1708 trap 'exit_status=$?
1709 # Save into config.log some information that might help in debugging.
1711 @@ -1275,20 +1675,34 @@
1712 _ASBOX
1713 echo
1714 # The following way of writing the cache mishandles newlines in values,
1717 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1718 + eval ac_val=\$$ac_var
1719 + case $ac_val in #(
1720 + *${as_nl}*)
1721 + case $ac_var in #(
1722 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1723 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1724 + esac
1725 + case $ac_var in #(
1726 + _ | IFS | as_nl) ;; #(
1727 + *) $as_unset $ac_var ;;
1728 + esac ;;
1729 + esac
1730 + done
1731 (set) 2>&1 |
1732 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1733 - *ac_space=\ *)
1734 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1735 + *${as_nl}ac_space=\ *)
1736 sed -n \
1737 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1738 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1739 - ;;
1740 + "s/'\''/'\''\\\\'\'''\''/g;
1741 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1742 + ;; #(
1744 - sed -n \
1745 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1746 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1748 - esac;
1750 + esac |
1751 + sort
1753 echo
1755 cat <<\_ASBOX
1756 @@ -1299,22 +1713,28 @@
1757 echo
1758 for ac_var in $ac_subst_vars
1760 - eval ac_val=$`echo $ac_var`
1761 - echo "$ac_var='"'"'$ac_val'"'"'"
1762 + eval ac_val=\$$ac_var
1763 + case $ac_val in
1764 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1765 + esac
1766 + echo "$ac_var='\''$ac_val'\''"
1767 done | sort
1768 echo
1770 if test -n "$ac_subst_files"; then
1771 cat <<\_ASBOX
1772 -## ------------- ##
1773 -## Output files. ##
1774 -## ------------- ##
1775 +## ------------------- ##
1776 +## File substitutions. ##
1777 +## ------------------- ##
1778 _ASBOX
1779 echo
1780 for ac_var in $ac_subst_files
1782 - eval ac_val=$`echo $ac_var`
1783 - echo "$ac_var='"'"'$ac_val'"'"'"
1784 + eval ac_val=\$$ac_var
1785 + case $ac_val in
1786 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1787 + esac
1788 + echo "$ac_var='\''$ac_val'\''"
1789 done | sort
1790 echo
1792 @@ -1326,26 +1746,24 @@
1793 ## ----------- ##
1794 _ASBOX
1795 echo
1796 - sed "/^$/d" confdefs.h | sort
1797 + cat confdefs.h
1798 echo
1800 test "$ac_signal" != 0 &&
1801 echo "$as_me: caught signal $ac_signal"
1802 echo "$as_me: exit $exit_status"
1803 } >&5
1804 - rm -f core *.core &&
1805 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1806 + rm -f core *.core core.conftest.* &&
1807 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1808 exit $exit_status
1809 - ' 0
1810 +' 0
1811 for ac_signal in 1 2 13 15; do
1812 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1813 done
1814 ac_signal=0
1816 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1817 -rm -rf conftest* confdefs.h
1818 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1819 -echo >confdefs.h
1820 +rm -f -r conftest* confdefs.h
1822 # Predefined preprocessor variables.
1824 @@ -1376,14 +1794,17 @@
1826 # Let the site file select an alternate cache file if it wants to.
1827 # Prefer explicitly selected file to automatically selected ones.
1828 -if test -z "$CONFIG_SITE"; then
1829 - if test "x$prefix" != xNONE; then
1830 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1831 - else
1832 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1833 - fi
1834 +if test -n "$CONFIG_SITE"; then
1835 + set x "$CONFIG_SITE"
1836 +elif test "x$prefix" != xNONE; then
1837 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
1838 +else
1839 + set x "$ac_default_prefix/share/config.site" \
1840 + "$ac_default_prefix/etc/config.site"
1842 -for ac_site_file in $CONFIG_SITE; do
1843 +shift
1844 +for ac_site_file
1846 if test -r "$ac_site_file"; then
1847 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1848 echo "$as_me: loading site script $ac_site_file" >&6;}
1849 @@ -1399,8 +1820,8 @@
1850 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1851 echo "$as_me: loading cache $cache_file" >&6;}
1852 case $cache_file in
1853 - [\\/]* | ?:[\\/]* ) . $cache_file;;
1854 - *) . ./$cache_file;;
1855 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
1856 + *) . "./$cache_file";;
1857 esac
1859 else
1860 @@ -1471,15 +1892,6 @@
1861 { (exit 1); exit 1; }; }
1864 -ac_ext=c
1865 -ac_cpp='$CPP $CPPFLAGS'
1866 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1867 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1868 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1876 @@ -1496,6 +1908,11 @@
1880 +ac_ext=c
1881 +ac_cpp='$CPP $CPPFLAGS'
1882 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1883 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1884 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1888 @@ -1530,60 +1947,80 @@
1890 # Find the build, host, and target systems.
1891 ac_aux_dir=
1892 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1893 - if test -f $ac_dir/install-sh; then
1894 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1895 + if test -f "$ac_dir/install-sh"; then
1896 ac_aux_dir=$ac_dir
1897 ac_install_sh="$ac_aux_dir/install-sh -c"
1898 break
1899 - elif test -f $ac_dir/install.sh; then
1900 + elif test -f "$ac_dir/install.sh"; then
1901 ac_aux_dir=$ac_dir
1902 ac_install_sh="$ac_aux_dir/install.sh -c"
1903 break
1904 - elif test -f $ac_dir/shtool; then
1905 + elif test -f "$ac_dir/shtool"; then
1906 ac_aux_dir=$ac_dir
1907 ac_install_sh="$ac_aux_dir/shtool install -c"
1908 break
1910 done
1911 if test -z "$ac_aux_dir"; then
1912 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1913 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1914 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1915 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1916 { (exit 1); exit 1; }; }
1918 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1919 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1920 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1922 +# These three variables are undocumented and unsupported,
1923 +# and are intended to be withdrawn in a future Autoconf release.
1924 +# They can cause serious problems if a builder's source tree is in a directory
1925 +# whose full name contains unusual characters.
1926 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1927 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1928 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1931 # Make sure we can run config.sub.
1932 -$ac_config_sub sun4 >/dev/null 2>&1 ||
1933 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1934 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1935 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1936 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1937 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1938 { (exit 1); exit 1; }; }
1940 -echo "$as_me:$LINENO: checking build system type" >&5
1941 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
1942 +{ echo "$as_me:$LINENO: checking build system type" >&5
1943 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1944 if test "${ac_cv_build+set}" = set; then
1945 echo $ECHO_N "(cached) $ECHO_C" >&6
1946 else
1947 - ac_cv_build_alias=$build_alias
1948 -test -z "$ac_cv_build_alias" &&
1949 - ac_cv_build_alias=`$ac_config_guess`
1950 -test -z "$ac_cv_build_alias" &&
1951 + ac_build_alias=$build_alias
1952 +test "x$ac_build_alias" = x &&
1953 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1954 +test "x$ac_build_alias" = x &&
1955 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1956 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1957 { (exit 1); exit 1; }; }
1958 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1959 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1960 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1961 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1962 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1963 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1964 { (exit 1); exit 1; }; }
1967 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1968 -echo "${ECHO_T}$ac_cv_build" >&6
1969 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1970 +echo "${ECHO_T}$ac_cv_build" >&6; }
1971 +case $ac_cv_build in
1972 +*-*-*) ;;
1973 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1974 +echo "$as_me: error: invalid value of canonical build" >&2;}
1975 + { (exit 1); exit 1; }; };;
1976 +esac
1977 build=$ac_cv_build
1978 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1979 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1980 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1981 +ac_save_IFS=$IFS; IFS='-'
1982 +set x $ac_cv_build
1983 +shift
1984 +build_cpu=$1
1985 +build_vendor=$2
1986 +shift; shift
1987 +# Remember, the first character of IFS is used to create $*,
1988 +# except with old shells:
1989 +build_os=$*
1990 +IFS=$ac_save_IFS
1991 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1994 case ${build_alias} in
1995 @@ -1613,48 +2050,78 @@
1996 NONENONEs,x,x, &&
1997 program_transform_name=s,y,y,
1999 -echo "$as_me:$LINENO: checking host system type" >&5
2000 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
2001 +{ echo "$as_me:$LINENO: checking host system type" >&5
2002 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2003 if test "${ac_cv_host+set}" = set; then
2004 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 else
2006 - ac_cv_host_alias=$host_alias
2007 -test -z "$ac_cv_host_alias" &&
2008 - ac_cv_host_alias=$ac_cv_build_alias
2009 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2010 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2011 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2012 + if test "x$host_alias" = x; then
2013 + ac_cv_host=$ac_cv_build
2014 +else
2015 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2016 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2017 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2018 { (exit 1); exit 1; }; }
2022 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2023 -echo "${ECHO_T}$ac_cv_host" >&6
2024 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2025 +echo "${ECHO_T}$ac_cv_host" >&6; }
2026 +case $ac_cv_host in
2027 +*-*-*) ;;
2028 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2029 +echo "$as_me: error: invalid value of canonical host" >&2;}
2030 + { (exit 1); exit 1; }; };;
2031 +esac
2032 host=$ac_cv_host
2033 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2034 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2035 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2036 +ac_save_IFS=$IFS; IFS='-'
2037 +set x $ac_cv_host
2038 +shift
2039 +host_cpu=$1
2040 +host_vendor=$2
2041 +shift; shift
2042 +# Remember, the first character of IFS is used to create $*,
2043 +# except with old shells:
2044 +host_os=$*
2045 +IFS=$ac_save_IFS
2046 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2049 -echo "$as_me:$LINENO: checking target system type" >&5
2050 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
2051 +{ echo "$as_me:$LINENO: checking target system type" >&5
2052 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2053 if test "${ac_cv_target+set}" = set; then
2054 echo $ECHO_N "(cached) $ECHO_C" >&6
2055 else
2056 - ac_cv_target_alias=$target_alias
2057 -test "x$ac_cv_target_alias" = "x" &&
2058 - ac_cv_target_alias=$ac_cv_host_alias
2059 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2060 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2061 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2062 + if test "x$target_alias" = x; then
2063 + ac_cv_target=$ac_cv_host
2064 +else
2065 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2066 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2067 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2068 { (exit 1); exit 1; }; }
2072 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2073 -echo "${ECHO_T}$ac_cv_target" >&6
2074 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2075 +echo "${ECHO_T}$ac_cv_target" >&6; }
2076 +case $ac_cv_target in
2077 +*-*-*) ;;
2078 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2079 +echo "$as_me: error: invalid value of canonical target" >&2;}
2080 + { (exit 1); exit 1; }; };;
2081 +esac
2082 target=$ac_cv_target
2083 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2084 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2085 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2086 +ac_save_IFS=$IFS; IFS='-'
2087 +set x $ac_cv_target
2088 +shift
2089 +target_cpu=$1
2090 +target_vendor=$2
2091 +shift; shift
2092 +# Remember, the first character of IFS is used to create $*,
2093 +# except with old shells:
2094 +target_os=$*
2095 +IFS=$ac_save_IFS
2096 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2099 # The aliases save the names the user supplied, while $host etc.
2100 @@ -1664,17 +2131,17 @@
2101 NONENONEs,x,x, &&
2102 program_prefix=${target_alias}-
2103 test "$program_prefix" != NONE &&
2104 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
2105 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
2106 # Use a double $ so make ignores it.
2107 test "$program_suffix" != NONE &&
2108 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2109 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2110 # Double any \ or $. echo might interpret backslashes.
2111 # By default was `s,x,x', remove it if useless.
2112 cat <<\_ACEOF >conftest.sed
2113 s/[\\$]/&&/g;s/;s,x,x,$//
2114 _ACEOF
2115 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2116 -rm conftest.sed
2117 +rm -f conftest.sed
2121 @@ -1693,8 +2160,8 @@
2122 # OS/2's system install, which has a completely different semantic
2123 # ./install, which can be erroneously created by make from ./install.sh.
2124 # Reject install programs that cannot install multiple files.
2125 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2126 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2127 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2128 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2129 if test -z "$INSTALL"; then
2130 if test "${ac_cv_path_install+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2132 @@ -1716,7 +2183,7 @@
2133 # by default.
2134 for ac_prog in ginstall scoinst install; do
2135 for ac_exec_ext in '' $ac_executable_extensions; do
2136 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2137 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2138 if test $ac_prog = install &&
2139 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2140 # AIX install. It has an incompatible calling convention.
2141 @@ -1745,6 +2212,7 @@
2143 esac
2144 done
2145 +IFS=$as_save_IFS
2147 rm -rf conftest.one conftest.two conftest.dir
2149 @@ -1759,8 +2227,8 @@
2150 INSTALL=$ac_install_sh
2153 -echo "$as_me:$LINENO: result: $INSTALL" >&5
2154 -echo "${ECHO_T}$INSTALL" >&6
2155 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2156 +echo "${ECHO_T}$INSTALL" >&6; }
2158 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2159 # It thinks the first close brace ends the variable substitution.
2160 @@ -1770,8 +2238,8 @@
2162 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2164 -echo "$as_me:$LINENO: checking whether ln works" >&5
2165 -echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
2166 +{ echo "$as_me:$LINENO: checking whether ln works" >&5
2167 +echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
2168 if test "${acx_cv_prog_LN+set}" = set; then
2169 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 else
2171 @@ -1788,23 +2256,23 @@
2173 if test $acx_cv_prog_LN = no; then
2174 LN="cp"
2175 - echo "$as_me:$LINENO: result: no, using $LN" >&5
2176 -echo "${ECHO_T}no, using $LN" >&6
2177 + { echo "$as_me:$LINENO: result: no, using $LN" >&5
2178 +echo "${ECHO_T}no, using $LN" >&6; }
2179 else
2180 LN="$acx_cv_prog_LN"
2181 - echo "$as_me:$LINENO: result: yes" >&5
2182 -echo "${ECHO_T}yes" >&6
2183 + { echo "$as_me:$LINENO: result: yes" >&5
2184 +echo "${ECHO_T}yes" >&6; }
2187 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
2188 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2189 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
2190 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2191 LN_S=$as_ln_s
2192 if test "$LN_S" = "ln -s"; then
2193 - echo "$as_me:$LINENO: result: yes" >&5
2194 -echo "${ECHO_T}yes" >&6
2195 + { echo "$as_me:$LINENO: result: yes" >&5
2196 +echo "${ECHO_T}yes" >&6; }
2197 else
2198 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2199 -echo "${ECHO_T}no, using $LN_S" >&6
2200 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2201 +echo "${ECHO_T}no, using $LN_S" >&6; }
2205 @@ -1971,13 +2439,13 @@
2206 # Prefix 'build-' so this never conflicts with target_subdir.
2207 build_subdir="build-${build_noncanonical}"
2209 -# Check whether --with-build-libsubdir or --without-build-libsubdir was given.
2210 +# Check whether --with-build-libsubdir was given.
2211 if test "${with_build_libsubdir+set}" = set; then
2212 - withval="$with_build_libsubdir"
2213 - build_libsubdir="$withval"
2214 + withval=$with_build_libsubdir; build_libsubdir="$withval"
2215 else
2216 build_libsubdir="$build_subdir"
2217 -fi;
2220 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2221 if ( test $srcdir = . && test -d gcc ) \
2222 || test -d $srcdir/../host-${host_noncanonical}; then
2223 @@ -2051,13 +2519,13 @@
2225 # Handle --enable-gold.
2227 -# Check whether --enable-gold or --disable-gold was given.
2228 +# Check whether --enable-gold was given.
2229 if test "${enable_gold+set}" = set; then
2230 - enableval="$enable_gold"
2231 - ENABLE_GOLD=$enableval
2232 + enableval=$enable_gold; ENABLE_GOLD=$enableval
2233 else
2234 ENABLE_GOLD=no
2235 -fi;
2238 if test "${ENABLE_GOLD}" = "yes"; then
2239 # Check for ELF target.
2240 is_elf=no
2241 @@ -2128,30 +2596,33 @@
2242 ppc*-*-pe)
2243 noconfigdirs="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2245 + *-*-aros*)
2246 + noconfigdirs="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl tix gnuserv gdb"
2247 + ;;
2248 powerpc-*-beos*)
2249 noconfigdirs="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2251 esac
2254 -# Check whether --enable-libada or --disable-libada was given.
2255 +# Check whether --enable-libada was given.
2256 if test "${enable_libada+set}" = set; then
2257 - enableval="$enable_libada"
2258 - ENABLE_LIBADA=$enableval
2259 + enableval=$enable_libada; ENABLE_LIBADA=$enableval
2260 else
2261 ENABLE_LIBADA=yes
2262 -fi;
2265 if test "${ENABLE_LIBADA}" != "yes" ; then
2266 noconfigdirs="$noconfigdirs gnattools"
2269 -# Check whether --enable-libssp or --disable-libssp was given.
2270 +# Check whether --enable-libssp was given.
2271 if test "${enable_libssp+set}" = set; then
2272 - enableval="$enable_libssp"
2273 - ENABLE_LIBSSP=$enableval
2274 + enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
2275 else
2276 ENABLE_LIBSSP=yes
2277 -fi;
2281 # Save it here so that, even in case of --enable-libgcj, if the Java
2282 # front-end isn't enabled, we still get libgcj disabled.
2283 @@ -2817,17 +3288,17 @@
2285 *-cygwin*)
2287 -echo "$as_me:$LINENO: checking to see if cat works as expected" >&5
2288 -echo $ECHO_N "checking to see if cat works as expected... $ECHO_C" >&6
2289 +{ echo "$as_me:$LINENO: checking to see if cat works as expected" >&5
2290 +echo $ECHO_N "checking to see if cat works as expected... $ECHO_C" >&6; }
2291 echo a >cygwin-cat-check
2292 if test `cat cygwin-cat-check` == a ; then
2293 rm cygwin-cat-check
2294 - echo "$as_me:$LINENO: result: yes" >&5
2295 -echo "${ECHO_T}yes" >&6
2296 + { echo "$as_me:$LINENO: result: yes" >&5
2297 +echo "${ECHO_T}yes" >&6; }
2298 else
2299 rm cygwin-cat-check
2300 - echo "$as_me:$LINENO: result: no" >&5
2301 -echo "${ECHO_T}no" >&6
2302 + { echo "$as_me:$LINENO: result: no" >&5
2303 +echo "${ECHO_T}no" >&6; }
2304 { { echo "$as_me:$LINENO: error: The cat command does not ignore carriage return characters.
2305 Please either mount the build directory in binary mode or run the following
2306 commands before running any configure script:
2307 @@ -2903,6 +3374,8 @@
2308 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
2309 host_makefile_frag="config/mh-x86omitfp"
2311 + *-*-aros*)
2312 + ;;
2313 esac
2316 @@ -2961,8 +3434,8 @@
2317 if test -n "$ac_tool_prefix"; then
2318 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2319 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2320 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2321 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2322 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2323 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2324 if test "${ac_cv_prog_CC+set}" = set; then
2325 echo $ECHO_N "(cached) $ECHO_C" >&6
2326 else
2327 @@ -2975,32 +3448,34 @@
2328 IFS=$as_save_IFS
2329 test -z "$as_dir" && as_dir=.
2330 for ac_exec_ext in '' $ac_executable_extensions; do
2331 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2332 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2333 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2335 break 2
2337 done
2338 done
2339 +IFS=$as_save_IFS
2343 CC=$ac_cv_prog_CC
2344 if test -n "$CC"; then
2345 - echo "$as_me:$LINENO: result: $CC" >&5
2346 -echo "${ECHO_T}$CC" >&6
2347 + { echo "$as_me:$LINENO: result: $CC" >&5
2348 +echo "${ECHO_T}$CC" >&6; }
2349 else
2350 - echo "$as_me:$LINENO: result: no" >&5
2351 -echo "${ECHO_T}no" >&6
2352 + { echo "$as_me:$LINENO: result: no" >&5
2353 +echo "${ECHO_T}no" >&6; }
2358 if test -z "$ac_cv_prog_CC"; then
2359 ac_ct_CC=$CC
2360 # Extract the first word of "gcc", so it can be a program name with args.
2361 set dummy gcc; ac_word=$2
2362 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2363 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2364 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2365 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2366 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2367 echo $ECHO_N "(cached) $ECHO_C" >&6
2368 else
2369 @@ -3013,36 +3488,51 @@
2370 IFS=$as_save_IFS
2371 test -z "$as_dir" && as_dir=.
2372 for ac_exec_ext in '' $ac_executable_extensions; do
2373 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2374 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2375 ac_cv_prog_ac_ct_CC="gcc"
2376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2377 break 2
2379 done
2380 done
2381 +IFS=$as_save_IFS
2385 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2386 if test -n "$ac_ct_CC"; then
2387 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2388 -echo "${ECHO_T}$ac_ct_CC" >&6
2389 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2390 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2391 else
2392 - echo "$as_me:$LINENO: result: no" >&5
2393 -echo "${ECHO_T}no" >&6
2394 + { echo "$as_me:$LINENO: result: no" >&5
2395 +echo "${ECHO_T}no" >&6; }
2398 - CC=$ac_ct_CC
2399 + if test "x$ac_ct_CC" = x; then
2400 + CC=""
2401 + else
2402 + case $cross_compiling:$ac_tool_warned in
2403 +yes:)
2404 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2405 +whose name does not start with the host triplet. If you think this
2406 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2407 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2408 +whose name does not start with the host triplet. If you think this
2409 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2410 +ac_tool_warned=yes ;;
2411 +esac
2412 + CC=$ac_ct_CC
2413 + fi
2414 else
2415 CC="$ac_cv_prog_CC"
2418 if test -z "$CC"; then
2419 - if test -n "$ac_tool_prefix"; then
2420 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2421 + if test -n "$ac_tool_prefix"; then
2422 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2423 set dummy ${ac_tool_prefix}cc; ac_word=$2
2424 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2425 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2426 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2427 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2428 if test "${ac_cv_prog_CC+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 else
2431 @@ -3055,74 +3545,34 @@
2432 IFS=$as_save_IFS
2433 test -z "$as_dir" && as_dir=.
2434 for ac_exec_ext in '' $ac_executable_extensions; do
2435 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2436 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2437 ac_cv_prog_CC="${ac_tool_prefix}cc"
2438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2439 break 2
2441 done
2442 done
2443 +IFS=$as_save_IFS
2447 CC=$ac_cv_prog_CC
2448 if test -n "$CC"; then
2449 - echo "$as_me:$LINENO: result: $CC" >&5
2450 -echo "${ECHO_T}$CC" >&6
2451 -else
2452 - echo "$as_me:$LINENO: result: no" >&5
2453 -echo "${ECHO_T}no" >&6
2457 -if test -z "$ac_cv_prog_CC"; then
2458 - ac_ct_CC=$CC
2459 - # Extract the first word of "cc", so it can be a program name with args.
2460 -set dummy cc; ac_word=$2
2461 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2462 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2463 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2464 - echo $ECHO_N "(cached) $ECHO_C" >&6
2465 -else
2466 - if test -n "$ac_ct_CC"; then
2467 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2468 -else
2469 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470 -for as_dir in $PATH
2472 - IFS=$as_save_IFS
2473 - test -z "$as_dir" && as_dir=.
2474 - for ac_exec_ext in '' $ac_executable_extensions; do
2475 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2476 - ac_cv_prog_ac_ct_CC="cc"
2477 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2478 - break 2
2479 - fi
2480 -done
2481 -done
2485 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
2486 -if test -n "$ac_ct_CC"; then
2487 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2488 -echo "${ECHO_T}$ac_ct_CC" >&6
2489 + { echo "$as_me:$LINENO: result: $CC" >&5
2490 +echo "${ECHO_T}$CC" >&6; }
2491 else
2492 - echo "$as_me:$LINENO: result: no" >&5
2493 -echo "${ECHO_T}no" >&6
2494 + { echo "$as_me:$LINENO: result: no" >&5
2495 +echo "${ECHO_T}no" >&6; }
2498 - CC=$ac_ct_CC
2499 -else
2500 - CC="$ac_cv_prog_CC"
2503 + fi
2505 if test -z "$CC"; then
2506 # Extract the first word of "cc", so it can be a program name with args.
2507 set dummy cc; ac_word=$2
2508 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2509 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2510 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2511 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2512 if test "${ac_cv_prog_CC+set}" = set; then
2513 echo $ECHO_N "(cached) $ECHO_C" >&6
2514 else
2515 @@ -3136,7 +3586,7 @@
2516 IFS=$as_save_IFS
2517 test -z "$as_dir" && as_dir=.
2518 for ac_exec_ext in '' $ac_executable_extensions; do
2519 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2520 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2521 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2522 ac_prog_rejected=yes
2523 continue
2524 @@ -3147,6 +3597,7 @@
2526 done
2527 done
2528 +IFS=$as_save_IFS
2530 if test $ac_prog_rejected = yes; then
2531 # We found a bogon in the path, so make sure we never use it.
2532 @@ -3164,22 +3615,23 @@
2534 CC=$ac_cv_prog_CC
2535 if test -n "$CC"; then
2536 - echo "$as_me:$LINENO: result: $CC" >&5
2537 -echo "${ECHO_T}$CC" >&6
2538 + { echo "$as_me:$LINENO: result: $CC" >&5
2539 +echo "${ECHO_T}$CC" >&6; }
2540 else
2541 - echo "$as_me:$LINENO: result: no" >&5
2542 -echo "${ECHO_T}no" >&6
2543 + { echo "$as_me:$LINENO: result: no" >&5
2544 +echo "${ECHO_T}no" >&6; }
2549 if test -z "$CC"; then
2550 if test -n "$ac_tool_prefix"; then
2551 - for ac_prog in cl
2552 + for ac_prog in cl.exe
2554 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2555 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2556 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2557 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2558 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2559 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2560 if test "${ac_cv_prog_CC+set}" = set; then
2561 echo $ECHO_N "(cached) $ECHO_C" >&6
2562 else
2563 @@ -3192,36 +3644,38 @@
2564 IFS=$as_save_IFS
2565 test -z "$as_dir" && as_dir=.
2566 for ac_exec_ext in '' $ac_executable_extensions; do
2567 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2568 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2569 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2571 break 2
2573 done
2574 done
2575 +IFS=$as_save_IFS
2579 CC=$ac_cv_prog_CC
2580 if test -n "$CC"; then
2581 - echo "$as_me:$LINENO: result: $CC" >&5
2582 -echo "${ECHO_T}$CC" >&6
2583 + { echo "$as_me:$LINENO: result: $CC" >&5
2584 +echo "${ECHO_T}$CC" >&6; }
2585 else
2586 - echo "$as_me:$LINENO: result: no" >&5
2587 -echo "${ECHO_T}no" >&6
2588 + { echo "$as_me:$LINENO: result: no" >&5
2589 +echo "${ECHO_T}no" >&6; }
2593 test -n "$CC" && break
2594 done
2596 if test -z "$CC"; then
2597 ac_ct_CC=$CC
2598 - for ac_prog in cl
2599 + for ac_prog in cl.exe
2601 # Extract the first word of "$ac_prog", so it can be a program name with args.
2602 set dummy $ac_prog; ac_word=$2
2603 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2604 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2605 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2606 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2607 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2608 echo $ECHO_N "(cached) $ECHO_C" >&6
2609 else
2610 @@ -3234,29 +3688,45 @@
2611 IFS=$as_save_IFS
2612 test -z "$as_dir" && as_dir=.
2613 for ac_exec_ext in '' $ac_executable_extensions; do
2614 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2615 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2616 ac_cv_prog_ac_ct_CC="$ac_prog"
2617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2618 break 2
2620 done
2621 done
2622 +IFS=$as_save_IFS
2626 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2627 if test -n "$ac_ct_CC"; then
2628 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2629 -echo "${ECHO_T}$ac_ct_CC" >&6
2630 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2631 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2632 else
2633 - echo "$as_me:$LINENO: result: no" >&5
2634 -echo "${ECHO_T}no" >&6
2635 + { echo "$as_me:$LINENO: result: no" >&5
2636 +echo "${ECHO_T}no" >&6; }
2640 test -n "$ac_ct_CC" && break
2641 done
2643 - CC=$ac_ct_CC
2644 + if test "x$ac_ct_CC" = x; then
2645 + CC=""
2646 + else
2647 + case $cross_compiling:$ac_tool_warned in
2648 +yes:)
2649 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2650 +whose name does not start with the host triplet. If you think this
2651 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2652 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2653 +whose name does not start with the host triplet. If you think this
2654 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2655 +ac_tool_warned=yes ;;
2656 +esac
2657 + CC=$ac_ct_CC
2658 + fi
2662 @@ -3271,21 +3741,35 @@
2663 { (exit 1); exit 1; }; }; }
2665 # Provide some information about the compiler.
2666 -echo "$as_me:$LINENO:" \
2667 - "checking for C compiler version" >&5
2668 +echo "$as_me:$LINENO: checking for C compiler version" >&5
2669 ac_compiler=`set X $ac_compile; echo $2`
2670 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2671 - (eval $ac_compiler --version </dev/null >&5) 2>&5
2672 +{ (ac_try="$ac_compiler --version >&5"
2673 +case "(($ac_try" in
2674 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675 + *) ac_try_echo=$ac_try;;
2676 +esac
2677 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2678 + (eval "$ac_compiler --version >&5") 2>&5
2679 ac_status=$?
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }
2682 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2683 - (eval $ac_compiler -v </dev/null >&5) 2>&5
2684 +{ (ac_try="$ac_compiler -v >&5"
2685 +case "(($ac_try" in
2686 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687 + *) ac_try_echo=$ac_try;;
2688 +esac
2689 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2690 + (eval "$ac_compiler -v >&5") 2>&5
2691 ac_status=$?
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }
2694 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2695 - (eval $ac_compiler -V </dev/null >&5) 2>&5
2696 +{ (ac_try="$ac_compiler -V >&5"
2697 +case "(($ac_try" in
2698 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2699 + *) ac_try_echo=$ac_try;;
2700 +esac
2701 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2702 + (eval "$ac_compiler -V >&5") 2>&5
2703 ac_status=$?
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }
2706 @@ -3310,47 +3794,77 @@
2707 # Try to create an executable without -o first, disregard a.out.
2708 # It will help us diagnose broken compilers, and finding out an intuition
2709 # of exeext.
2710 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2711 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2712 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2713 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2714 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2715 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2716 - (eval $ac_link_default) 2>&5
2718 +# List of possible output files, starting from the most likely.
2719 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2720 +# only as a last resort. b.out is created by i960 compilers.
2721 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2723 +# The IRIX 6 linker writes into existing files which may not be
2724 +# executable, retaining their permissions. Remove them first so a
2725 +# subsequent execution test works.
2726 +ac_rmfiles=
2727 +for ac_file in $ac_files
2729 + case $ac_file in
2730 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2731 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2732 + esac
2733 +done
2734 +rm -f $ac_rmfiles
2736 +if { (ac_try="$ac_link_default"
2737 +case "(($ac_try" in
2738 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2739 + *) ac_try_echo=$ac_try;;
2740 +esac
2741 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2742 + (eval "$ac_link_default") 2>&5
2743 ac_status=$?
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); }; then
2746 - # Find the output, starting from the most likely. This scheme is
2747 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2748 -# resort.
2750 -# Be careful to initialize this variable, since it used to be cached.
2751 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2752 -ac_cv_exeext=
2753 -# b.out is created by i960 compilers.
2754 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2755 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2756 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2757 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
2758 +# so that the user can short-circuit this test for compilers unknown to
2759 +# Autoconf.
2760 +for ac_file in $ac_files ''
2762 test -f "$ac_file" || continue
2763 case $ac_file in
2764 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2765 - ;;
2766 - conftest.$ac_ext )
2767 - # This is the source file.
2768 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2770 [ab].out )
2771 # We found the default executable, but exeext='' is most
2772 # certainly right.
2773 break;;
2774 *.* )
2775 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2776 - # FIXME: I believe we export ac_cv_exeext for Libtool,
2777 - # but it would be cool to find out if it's true. Does anybody
2778 - # maintain Libtool? --akim.
2779 - export ac_cv_exeext
2780 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2781 + then :; else
2782 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2783 + fi
2784 + # We set ac_cv_exeext here because the later test for it is not
2785 + # safe: cross compilers may not add the suffix if given an `-o'
2786 + # argument, so we may need to know it at that point already.
2787 + # Even if this section looks crufty: it has the advantage of
2788 + # actually working.
2789 break;;
2791 break;;
2792 esac
2793 done
2794 +test "$ac_cv_exeext" = no && ac_cv_exeext=
2796 else
2797 + ac_file=''
2800 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
2801 +echo "${ECHO_T}$ac_file" >&6; }
2802 +if test -z "$ac_file"; then
2803 echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.$ac_ext >&5
2806 @@ -3364,19 +3878,21 @@
2809 ac_exeext=$ac_cv_exeext
2810 -echo "$as_me:$LINENO: result: $ac_file" >&5
2811 -echo "${ECHO_T}$ac_file" >&6
2813 -# Check the compiler produces executables we can run. If not, either
2814 +# Check that the compiler produces executables we can run. If not, either
2815 # the compiler is broken, or we cross compile.
2816 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2817 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2818 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2819 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2820 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2821 # If not cross compiling, check that we can run a simple program.
2822 if test "$cross_compiling" != yes; then
2823 if { ac_try='./$ac_file'
2824 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2825 - (eval $ac_try) 2>&5
2826 + { (case "(($ac_try" in
2827 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2828 + *) ac_try_echo=$ac_try;;
2829 +esac
2830 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2831 + (eval "$ac_try") 2>&5
2832 ac_status=$?
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); }; }; then
2835 @@ -3397,22 +3913,27 @@
2839 -echo "$as_me:$LINENO: result: yes" >&5
2840 -echo "${ECHO_T}yes" >&6
2841 +{ echo "$as_me:$LINENO: result: yes" >&5
2842 +echo "${ECHO_T}yes" >&6; }
2844 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2845 ac_clean_files=$ac_clean_files_save
2846 -# Check the compiler produces executables we can run. If not, either
2847 +# Check that the compiler produces executables we can run. If not, either
2848 # the compiler is broken, or we cross compile.
2849 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2850 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2851 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
2852 -echo "${ECHO_T}$cross_compiling" >&6
2854 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
2855 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2856 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2857 - (eval $ac_link) 2>&5
2858 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2859 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2860 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2861 +echo "${ECHO_T}$cross_compiling" >&6; }
2863 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2864 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2865 +if { (ac_try="$ac_link"
2866 +case "(($ac_try" in
2867 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868 + *) ac_try_echo=$ac_try;;
2869 +esac
2870 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2871 + (eval "$ac_link") 2>&5
2872 ac_status=$?
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }; then
2875 @@ -3423,9 +3944,8 @@
2876 for ac_file in conftest.exe conftest conftest.*; do
2877 test -f "$ac_file" || continue
2878 case $ac_file in
2879 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2880 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2881 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2882 - export ac_cv_exeext
2883 break;;
2884 * ) break;;
2885 esac
2886 @@ -3441,14 +3961,14 @@
2889 rm -f conftest$ac_cv_exeext
2890 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2891 -echo "${ECHO_T}$ac_cv_exeext" >&6
2892 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2893 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
2895 rm -f conftest.$ac_ext
2896 EXEEXT=$ac_cv_exeext
2897 ac_exeext=$EXEEXT
2898 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
2899 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2900 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2901 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2902 if test "${ac_cv_objext+set}" = set; then
2903 echo $ECHO_N "(cached) $ECHO_C" >&6
2904 else
2905 @@ -3468,14 +3988,20 @@
2907 _ACEOF
2908 rm -f conftest.o conftest.obj
2909 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2910 - (eval $ac_compile) 2>&5
2911 +if { (ac_try="$ac_compile"
2912 +case "(($ac_try" in
2913 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2914 + *) ac_try_echo=$ac_try;;
2915 +esac
2916 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2917 + (eval "$ac_compile") 2>&5
2918 ac_status=$?
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); }; then
2921 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2922 + for ac_file in conftest.o conftest.obj conftest.*; do
2923 + test -f "$ac_file" || continue;
2924 case $ac_file in
2925 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2926 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2927 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2928 break;;
2929 esac
2930 @@ -3495,12 +4021,12 @@
2932 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2934 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2935 -echo "${ECHO_T}$ac_cv_objext" >&6
2936 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2937 +echo "${ECHO_T}$ac_cv_objext" >&6; }
2938 OBJEXT=$ac_cv_objext
2939 ac_objext=$OBJEXT
2940 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2941 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2942 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2943 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2944 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2945 echo $ECHO_N "(cached) $ECHO_C" >&6
2946 else
2947 @@ -3523,50 +4049,49 @@
2949 _ACEOF
2950 rm -f conftest.$ac_objext
2951 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2952 - (eval $ac_compile) 2>conftest.er1
2953 +if { (ac_try="$ac_compile"
2954 +case "(($ac_try" in
2955 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956 + *) ac_try_echo=$ac_try;;
2957 +esac
2958 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2959 + (eval "$ac_compile") 2>conftest.er1
2960 ac_status=$?
2961 grep -v '^ *+' conftest.er1 >conftest.err
2962 rm -f conftest.er1
2963 cat conftest.err >&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 - (exit $ac_status); } &&
2966 - { ac_try='test -z "$ac_c_werror_flag"
2967 - || test ! -s conftest.err'
2968 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 - (eval $ac_try) 2>&5
2970 - ac_status=$?
2971 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 - (exit $ac_status); }; } &&
2973 - { ac_try='test -s conftest.$ac_objext'
2974 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2975 - (eval $ac_try) 2>&5
2976 - ac_status=$?
2977 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 - (exit $ac_status); }; }; then
2979 + (exit $ac_status); } && {
2980 + test -z "$ac_c_werror_flag" ||
2981 + test ! -s conftest.err
2982 + } && test -s conftest.$ac_objext; then
2983 ac_compiler_gnu=yes
2984 else
2985 echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2988 -ac_compiler_gnu=no
2989 + ac_compiler_gnu=no
2991 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2993 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2994 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2997 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2998 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2999 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3000 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3001 GCC=`test $ac_compiler_gnu = yes && echo yes`
3002 ac_test_CFLAGS=${CFLAGS+set}
3003 ac_save_CFLAGS=$CFLAGS
3004 -CFLAGS="-g"
3005 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3006 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3007 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3008 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3009 if test "${ac_cv_prog_cc_g+set}" = set; then
3010 echo $ECHO_N "(cached) $ECHO_C" >&6
3011 else
3012 - cat >conftest.$ac_ext <<_ACEOF
3013 + ac_save_c_werror_flag=$ac_c_werror_flag
3014 + ac_c_werror_flag=yes
3015 + ac_cv_prog_cc_g=no
3016 + CFLAGS="-g"
3017 + cat >conftest.$ac_ext <<_ACEOF
3018 /* confdefs.h. */
3019 _ACEOF
3020 cat confdefs.h >>conftest.$ac_ext
3021 @@ -3582,38 +4107,118 @@
3023 _ACEOF
3024 rm -f conftest.$ac_objext
3025 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3026 - (eval $ac_compile) 2>conftest.er1
3027 +if { (ac_try="$ac_compile"
3028 +case "(($ac_try" in
3029 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3030 + *) ac_try_echo=$ac_try;;
3031 +esac
3032 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3033 + (eval "$ac_compile") 2>conftest.er1
3034 ac_status=$?
3035 grep -v '^ *+' conftest.er1 >conftest.err
3036 rm -f conftest.er1
3037 cat conftest.err >&5
3038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039 - (exit $ac_status); } &&
3040 - { ac_try='test -z "$ac_c_werror_flag"
3041 - || test ! -s conftest.err'
3042 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3043 - (eval $ac_try) 2>&5
3044 + (exit $ac_status); } && {
3045 + test -z "$ac_c_werror_flag" ||
3046 + test ! -s conftest.err
3047 + } && test -s conftest.$ac_objext; then
3048 + ac_cv_prog_cc_g=yes
3049 +else
3050 + echo "$as_me: failed program was:" >&5
3051 +sed 's/^/| /' conftest.$ac_ext >&5
3053 + CFLAGS=""
3054 + cat >conftest.$ac_ext <<_ACEOF
3055 +/* confdefs.h. */
3056 +_ACEOF
3057 +cat confdefs.h >>conftest.$ac_ext
3058 +cat >>conftest.$ac_ext <<_ACEOF
3059 +/* end confdefs.h. */
3061 +int
3062 +main ()
3066 + return 0;
3068 +_ACEOF
3069 +rm -f conftest.$ac_objext
3070 +if { (ac_try="$ac_compile"
3071 +case "(($ac_try" in
3072 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073 + *) ac_try_echo=$ac_try;;
3074 +esac
3075 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3076 + (eval "$ac_compile") 2>conftest.er1
3077 ac_status=$?
3078 + grep -v '^ *+' conftest.er1 >conftest.err
3079 + rm -f conftest.er1
3080 + cat conftest.err >&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 - (exit $ac_status); }; } &&
3083 - { ac_try='test -s conftest.$ac_objext'
3084 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3085 - (eval $ac_try) 2>&5
3086 + (exit $ac_status); } && {
3087 + test -z "$ac_c_werror_flag" ||
3088 + test ! -s conftest.err
3089 + } && test -s conftest.$ac_objext; then
3091 +else
3092 + echo "$as_me: failed program was:" >&5
3093 +sed 's/^/| /' conftest.$ac_ext >&5
3095 + ac_c_werror_flag=$ac_save_c_werror_flag
3096 + CFLAGS="-g"
3097 + cat >conftest.$ac_ext <<_ACEOF
3098 +/* confdefs.h. */
3099 +_ACEOF
3100 +cat confdefs.h >>conftest.$ac_ext
3101 +cat >>conftest.$ac_ext <<_ACEOF
3102 +/* end confdefs.h. */
3104 +int
3105 +main ()
3109 + return 0;
3111 +_ACEOF
3112 +rm -f conftest.$ac_objext
3113 +if { (ac_try="$ac_compile"
3114 +case "(($ac_try" in
3115 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3116 + *) ac_try_echo=$ac_try;;
3117 +esac
3118 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3119 + (eval "$ac_compile") 2>conftest.er1
3120 ac_status=$?
3121 + grep -v '^ *+' conftest.er1 >conftest.err
3122 + rm -f conftest.er1
3123 + cat conftest.err >&5
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 - (exit $ac_status); }; }; then
3126 + (exit $ac_status); } && {
3127 + test -z "$ac_c_werror_flag" ||
3128 + test ! -s conftest.err
3129 + } && test -s conftest.$ac_objext; then
3130 ac_cv_prog_cc_g=yes
3131 else
3132 echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.$ac_ext >&5
3135 -ac_cv_prog_cc_g=no
3139 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3142 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3144 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3146 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3147 + ac_c_werror_flag=$ac_save_c_werror_flag
3149 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3150 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3151 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3152 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3153 if test "$ac_test_CFLAGS" = set; then
3154 CFLAGS=$ac_save_CFLAGS
3155 elif test $ac_cv_prog_cc_g = yes; then
3156 @@ -3629,12 +4234,12 @@
3157 CFLAGS=
3160 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3161 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3162 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
3163 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3164 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3165 +if test "${ac_cv_prog_cc_c89+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3167 else
3168 - ac_cv_prog_cc_stdc=no
3169 + ac_cv_prog_cc_c89=no
3170 ac_save_CC=$CC
3171 cat >conftest.$ac_ext <<_ACEOF
3172 /* confdefs.h. */
3173 @@ -3668,12 +4273,17 @@
3174 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3175 function prototypes and stuff, but not '\xHH' hex character constants.
3176 These don't provoke an error unfortunately, instead are silently treated
3177 - as 'x'. The following induces an error, until -std1 is added to get
3178 + as 'x'. The following induces an error, until -std is added to get
3179 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3180 array size at least. It's necessary to write '\x00'==0 to get something
3181 - that's true only with -std1. */
3182 + that's true only with -std. */
3183 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3185 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3186 + inside strings and character constants. */
3187 +#define FOO(x) 'x'
3188 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3190 int test (int i, double x);
3191 struct s1 {int (*f) (int a);};
3192 struct s2 {int (*f) (double a);};
3193 @@ -3688,223 +4298,79 @@
3194 return 0;
3196 _ACEOF
3197 -# Don't try gcc -ansi; that turns off useful extensions and
3198 -# breaks some systems' header files.
3199 -# AIX -qlanglvl=ansi
3200 -# Ultrix and OSF/1 -std1
3201 -# HP-UX 10.20 and later -Ae
3202 -# HP-UX older versions -Aa -D_HPUX_SOURCE
3203 -# SVR4 -Xc -D__EXTENSIONS__
3204 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3205 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3206 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3208 CC="$ac_save_CC $ac_arg"
3209 rm -f conftest.$ac_objext
3210 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3211 - (eval $ac_compile) 2>conftest.er1
3212 +if { (ac_try="$ac_compile"
3213 +case "(($ac_try" in
3214 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 + *) ac_try_echo=$ac_try;;
3216 +esac
3217 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3218 + (eval "$ac_compile") 2>conftest.er1
3219 ac_status=$?
3220 grep -v '^ *+' conftest.er1 >conftest.err
3221 rm -f conftest.er1
3222 cat conftest.err >&5
3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 - (exit $ac_status); } &&
3225 - { ac_try='test -z "$ac_c_werror_flag"
3226 - || test ! -s conftest.err'
3227 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3228 - (eval $ac_try) 2>&5
3229 - ac_status=$?
3230 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 - (exit $ac_status); }; } &&
3232 - { ac_try='test -s conftest.$ac_objext'
3233 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3234 - (eval $ac_try) 2>&5
3235 - ac_status=$?
3236 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237 - (exit $ac_status); }; }; then
3238 - ac_cv_prog_cc_stdc=$ac_arg
3239 -break
3240 + (exit $ac_status); } && {
3241 + test -z "$ac_c_werror_flag" ||
3242 + test ! -s conftest.err
3243 + } && test -s conftest.$ac_objext; then
3244 + ac_cv_prog_cc_c89=$ac_arg
3245 else
3246 echo "$as_me: failed program was:" >&5
3247 sed 's/^/| /' conftest.$ac_ext >&5
3251 -rm -f conftest.err conftest.$ac_objext
3253 +rm -f core conftest.err conftest.$ac_objext
3254 + test "x$ac_cv_prog_cc_c89" != "xno" && break
3255 done
3256 -rm -f conftest.$ac_ext conftest.$ac_objext
3257 +rm -f conftest.$ac_ext
3258 CC=$ac_save_CC
3262 -case "x$ac_cv_prog_cc_stdc" in
3263 - x|xno)
3264 - echo "$as_me:$LINENO: result: none needed" >&5
3265 -echo "${ECHO_T}none needed" >&6 ;;
3266 +# AC_CACHE_VAL
3267 +case "x$ac_cv_prog_cc_c89" in
3268 + x)
3269 + { echo "$as_me:$LINENO: result: none needed" >&5
3270 +echo "${ECHO_T}none needed" >&6; } ;;
3271 + xno)
3272 + { echo "$as_me:$LINENO: result: unsupported" >&5
3273 +echo "${ECHO_T}unsupported" >&6; } ;;
3275 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3276 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3277 - CC="$CC $ac_cv_prog_cc_stdc" ;;
3278 + CC="$CC $ac_cv_prog_cc_c89"
3279 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3280 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3281 esac
3283 -# Some people use a C++ compiler to compile C. Since we use `exit',
3284 -# in C++ we need to declare it. In case someone uses the same compiler
3285 -# for both compiling C and C++ we need to have the C++ compiler decide
3286 -# the declaration of exit, since it's the most demanding environment.
3287 -cat >conftest.$ac_ext <<_ACEOF
3288 -#ifndef __cplusplus
3289 - choke me
3290 -#endif
3291 -_ACEOF
3292 -rm -f conftest.$ac_objext
3293 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3294 - (eval $ac_compile) 2>conftest.er1
3295 - ac_status=$?
3296 - grep -v '^ *+' conftest.er1 >conftest.err
3297 - rm -f conftest.er1
3298 - cat conftest.err >&5
3299 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 - (exit $ac_status); } &&
3301 - { ac_try='test -z "$ac_c_werror_flag"
3302 - || test ! -s conftest.err'
3303 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304 - (eval $ac_try) 2>&5
3305 - ac_status=$?
3306 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 - (exit $ac_status); }; } &&
3308 - { ac_try='test -s conftest.$ac_objext'
3309 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3310 - (eval $ac_try) 2>&5
3311 - ac_status=$?
3312 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313 - (exit $ac_status); }; }; then
3314 - for ac_declaration in \
3315 - '' \
3316 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
3317 - 'extern "C" void std::exit (int); using std::exit;' \
3318 - 'extern "C" void exit (int) throw ();' \
3319 - 'extern "C" void exit (int);' \
3320 - 'void exit (int);'
3322 - cat >conftest.$ac_ext <<_ACEOF
3323 -/* confdefs.h. */
3324 -_ACEOF
3325 -cat confdefs.h >>conftest.$ac_ext
3326 -cat >>conftest.$ac_ext <<_ACEOF
3327 -/* end confdefs.h. */
3328 -$ac_declaration
3329 -#include <stdlib.h>
3330 -int
3331 -main ()
3333 -exit (42);
3335 - return 0;
3337 -_ACEOF
3338 -rm -f conftest.$ac_objext
3339 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3340 - (eval $ac_compile) 2>conftest.er1
3341 - ac_status=$?
3342 - grep -v '^ *+' conftest.er1 >conftest.err
3343 - rm -f conftest.er1
3344 - cat conftest.err >&5
3345 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 - (exit $ac_status); } &&
3347 - { ac_try='test -z "$ac_c_werror_flag"
3348 - || test ! -s conftest.err'
3349 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3350 - (eval $ac_try) 2>&5
3351 - ac_status=$?
3352 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 - (exit $ac_status); }; } &&
3354 - { ac_try='test -s conftest.$ac_objext'
3355 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3356 - (eval $ac_try) 2>&5
3357 - ac_status=$?
3358 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 - (exit $ac_status); }; }; then
3361 -else
3362 - echo "$as_me: failed program was:" >&5
3363 -sed 's/^/| /' conftest.$ac_ext >&5
3365 -continue
3367 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3368 - cat >conftest.$ac_ext <<_ACEOF
3369 -/* confdefs.h. */
3370 -_ACEOF
3371 -cat confdefs.h >>conftest.$ac_ext
3372 -cat >>conftest.$ac_ext <<_ACEOF
3373 -/* end confdefs.h. */
3374 -$ac_declaration
3375 -int
3376 -main ()
3378 -exit (42);
3380 - return 0;
3382 -_ACEOF
3383 -rm -f conftest.$ac_objext
3384 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3385 - (eval $ac_compile) 2>conftest.er1
3386 - ac_status=$?
3387 - grep -v '^ *+' conftest.er1 >conftest.err
3388 - rm -f conftest.er1
3389 - cat conftest.err >&5
3390 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 - (exit $ac_status); } &&
3392 - { ac_try='test -z "$ac_c_werror_flag"
3393 - || test ! -s conftest.err'
3394 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3395 - (eval $ac_try) 2>&5
3396 - ac_status=$?
3397 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 - (exit $ac_status); }; } &&
3399 - { ac_try='test -s conftest.$ac_objext'
3400 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3401 - (eval $ac_try) 2>&5
3402 - ac_status=$?
3403 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 - (exit $ac_status); }; }; then
3405 - break
3406 -else
3407 - echo "$as_me: failed program was:" >&5
3408 -sed 's/^/| /' conftest.$ac_ext >&5
3411 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3412 -done
3413 -rm -f conftest*
3414 -if test -n "$ac_declaration"; then
3415 - echo '#ifdef __cplusplus' >>confdefs.h
3416 - echo $ac_declaration >>confdefs.h
3417 - echo '#endif' >>confdefs.h
3420 -else
3421 - echo "$as_me: failed program was:" >&5
3422 -sed 's/^/| /' conftest.$ac_ext >&5
3425 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3426 ac_ext=c
3427 ac_cpp='$CPP $CPPFLAGS'
3428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3432 -ac_ext=cc
3433 +ac_ext=cpp
3434 ac_cpp='$CXXCPP $CPPFLAGS'
3435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3438 -if test -n "$ac_tool_prefix"; then
3439 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3440 +if test -z "$CXX"; then
3441 + if test -n "$CCC"; then
3442 + CXX=$CCC
3443 + else
3444 + if test -n "$ac_tool_prefix"; then
3445 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3447 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3448 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3449 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3450 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3451 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3452 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3453 if test "${ac_cv_prog_CXX+set}" = set; then
3454 echo $ECHO_N "(cached) $ECHO_C" >&6
3455 else
3456 @@ -3917,36 +4383,38 @@
3457 IFS=$as_save_IFS
3458 test -z "$as_dir" && as_dir=.
3459 for ac_exec_ext in '' $ac_executable_extensions; do
3460 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3461 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3462 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3464 break 2
3466 done
3467 done
3468 +IFS=$as_save_IFS
3472 CXX=$ac_cv_prog_CXX
3473 if test -n "$CXX"; then
3474 - echo "$as_me:$LINENO: result: $CXX" >&5
3475 -echo "${ECHO_T}$CXX" >&6
3476 + { echo "$as_me:$LINENO: result: $CXX" >&5
3477 +echo "${ECHO_T}$CXX" >&6; }
3478 else
3479 - echo "$as_me:$LINENO: result: no" >&5
3480 -echo "${ECHO_T}no" >&6
3481 + { echo "$as_me:$LINENO: result: no" >&5
3482 +echo "${ECHO_T}no" >&6; }
3486 test -n "$CXX" && break
3487 done
3489 if test -z "$CXX"; then
3490 ac_ct_CXX=$CXX
3491 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3492 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3494 # Extract the first word of "$ac_prog", so it can be a program name with args.
3495 set dummy $ac_prog; ac_word=$2
3496 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3497 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3498 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3499 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3500 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3502 else
3503 @@ -3959,55 +4427,85 @@
3504 IFS=$as_save_IFS
3505 test -z "$as_dir" && as_dir=.
3506 for ac_exec_ext in '' $ac_executable_extensions; do
3507 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3508 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3509 ac_cv_prog_ac_ct_CXX="$ac_prog"
3510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3511 break 2
3513 done
3514 done
3515 +IFS=$as_save_IFS
3519 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3520 if test -n "$ac_ct_CXX"; then
3521 - echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3522 -echo "${ECHO_T}$ac_ct_CXX" >&6
3523 + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3524 +echo "${ECHO_T}$ac_ct_CXX" >&6; }
3525 else
3526 - echo "$as_me:$LINENO: result: no" >&5
3527 -echo "${ECHO_T}no" >&6
3528 + { echo "$as_me:$LINENO: result: no" >&5
3529 +echo "${ECHO_T}no" >&6; }
3533 test -n "$ac_ct_CXX" && break
3534 done
3535 -test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3537 - CXX=$ac_ct_CXX
3538 + if test "x$ac_ct_CXX" = x; then
3539 + CXX="g++"
3540 + else
3541 + case $cross_compiling:$ac_tool_warned in
3542 +yes:)
3543 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3544 +whose name does not start with the host triplet. If you think this
3545 +configuration is useful to you, please write to autoconf@gnu.org." >&5
3546 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3547 +whose name does not start with the host triplet. If you think this
3548 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3549 +ac_tool_warned=yes ;;
3550 +esac
3551 + CXX=$ac_ct_CXX
3552 + fi
3556 + fi
3558 # Provide some information about the compiler.
3559 -echo "$as_me:$LINENO:" \
3560 - "checking for C++ compiler version" >&5
3561 +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3562 ac_compiler=`set X $ac_compile; echo $2`
3563 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3564 - (eval $ac_compiler --version </dev/null >&5) 2>&5
3565 +{ (ac_try="$ac_compiler --version >&5"
3566 +case "(($ac_try" in
3567 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3568 + *) ac_try_echo=$ac_try;;
3569 +esac
3570 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3571 + (eval "$ac_compiler --version >&5") 2>&5
3572 ac_status=$?
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); }
3575 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3576 - (eval $ac_compiler -v </dev/null >&5) 2>&5
3577 +{ (ac_try="$ac_compiler -v >&5"
3578 +case "(($ac_try" in
3579 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3580 + *) ac_try_echo=$ac_try;;
3581 +esac
3582 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3583 + (eval "$ac_compiler -v >&5") 2>&5
3584 ac_status=$?
3585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); }
3587 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3588 - (eval $ac_compiler -V </dev/null >&5) 2>&5
3589 +{ (ac_try="$ac_compiler -V >&5"
3590 +case "(($ac_try" in
3591 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3592 + *) ac_try_echo=$ac_try;;
3593 +esac
3594 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3595 + (eval "$ac_compiler -V >&5") 2>&5
3596 ac_status=$?
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); }
3600 -echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3601 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3602 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3603 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3604 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3605 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 else
3607 @@ -4030,50 +4528,49 @@
3609 _ACEOF
3610 rm -f conftest.$ac_objext
3611 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3612 - (eval $ac_compile) 2>conftest.er1
3613 +if { (ac_try="$ac_compile"
3614 +case "(($ac_try" in
3615 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3616 + *) ac_try_echo=$ac_try;;
3617 +esac
3618 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3619 + (eval "$ac_compile") 2>conftest.er1
3620 ac_status=$?
3621 grep -v '^ *+' conftest.er1 >conftest.err
3622 rm -f conftest.er1
3623 cat conftest.err >&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 - (exit $ac_status); } &&
3626 - { ac_try='test -z "$ac_cxx_werror_flag"
3627 - || test ! -s conftest.err'
3628 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3629 - (eval $ac_try) 2>&5
3630 - ac_status=$?
3631 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 - (exit $ac_status); }; } &&
3633 - { ac_try='test -s conftest.$ac_objext'
3634 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3635 - (eval $ac_try) 2>&5
3636 - ac_status=$?
3637 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 - (exit $ac_status); }; }; then
3639 + (exit $ac_status); } && {
3640 + test -z "$ac_cxx_werror_flag" ||
3641 + test ! -s conftest.err
3642 + } && test -s conftest.$ac_objext; then
3643 ac_compiler_gnu=yes
3644 else
3645 echo "$as_me: failed program was:" >&5
3646 sed 's/^/| /' conftest.$ac_ext >&5
3648 -ac_compiler_gnu=no
3649 + ac_compiler_gnu=no
3651 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3653 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3654 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3657 -echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3658 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3659 +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3660 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3661 GXX=`test $ac_compiler_gnu = yes && echo yes`
3662 ac_test_CXXFLAGS=${CXXFLAGS+set}
3663 ac_save_CXXFLAGS=$CXXFLAGS
3664 -CXXFLAGS="-g"
3665 -echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3666 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3667 +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3668 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3669 if test "${ac_cv_prog_cxx_g+set}" = set; then
3670 echo $ECHO_N "(cached) $ECHO_C" >&6
3671 else
3672 - cat >conftest.$ac_ext <<_ACEOF
3673 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3674 + ac_cxx_werror_flag=yes
3675 + ac_cv_prog_cxx_g=no
3676 + CXXFLAGS="-g"
3677 + cat >conftest.$ac_ext <<_ACEOF
3678 /* confdefs.h. */
3679 _ACEOF
3680 cat confdefs.h >>conftest.$ac_ext
3681 @@ -4089,159 +4586,133 @@
3683 _ACEOF
3684 rm -f conftest.$ac_objext
3685 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3686 - (eval $ac_compile) 2>conftest.er1
3687 +if { (ac_try="$ac_compile"
3688 +case "(($ac_try" in
3689 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3690 + *) ac_try_echo=$ac_try;;
3691 +esac
3692 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3693 + (eval "$ac_compile") 2>conftest.er1
3694 ac_status=$?
3695 grep -v '^ *+' conftest.er1 >conftest.err
3696 rm -f conftest.er1
3697 cat conftest.err >&5
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 - (exit $ac_status); } &&
3700 - { ac_try='test -z "$ac_cxx_werror_flag"
3701 - || test ! -s conftest.err'
3702 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703 - (eval $ac_try) 2>&5
3704 - ac_status=$?
3705 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 - (exit $ac_status); }; } &&
3707 - { ac_try='test -s conftest.$ac_objext'
3708 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3709 - (eval $ac_try) 2>&5
3710 - ac_status=$?
3711 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712 - (exit $ac_status); }; }; then
3713 + (exit $ac_status); } && {
3714 + test -z "$ac_cxx_werror_flag" ||
3715 + test ! -s conftest.err
3716 + } && test -s conftest.$ac_objext; then
3717 ac_cv_prog_cxx_g=yes
3718 else
3719 echo "$as_me: failed program was:" >&5
3720 sed 's/^/| /' conftest.$ac_ext >&5
3722 -ac_cv_prog_cxx_g=no
3724 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3726 -echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3727 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3728 -if test "$ac_test_CXXFLAGS" = set; then
3729 - CXXFLAGS=$ac_save_CXXFLAGS
3730 -elif test $ac_cv_prog_cxx_g = yes; then
3731 - if test "$GXX" = yes; then
3732 - CXXFLAGS="-g -O2"
3733 - else
3734 - CXXFLAGS="-g"
3735 - fi
3736 -else
3737 - if test "$GXX" = yes; then
3738 - CXXFLAGS="-O2"
3739 - else
3740 - CXXFLAGS=
3741 - fi
3743 -for ac_declaration in \
3744 - '' \
3745 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
3746 - 'extern "C" void std::exit (int); using std::exit;' \
3747 - 'extern "C" void exit (int) throw ();' \
3748 - 'extern "C" void exit (int);' \
3749 - 'void exit (int);'
3751 - cat >conftest.$ac_ext <<_ACEOF
3752 + CXXFLAGS=""
3753 + cat >conftest.$ac_ext <<_ACEOF
3754 /* confdefs.h. */
3755 _ACEOF
3756 cat confdefs.h >>conftest.$ac_ext
3757 cat >>conftest.$ac_ext <<_ACEOF
3758 /* end confdefs.h. */
3759 -$ac_declaration
3760 -#include <stdlib.h>
3763 main ()
3765 -exit (42);
3768 return 0;
3770 _ACEOF
3771 rm -f conftest.$ac_objext
3772 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3773 - (eval $ac_compile) 2>conftest.er1
3774 +if { (ac_try="$ac_compile"
3775 +case "(($ac_try" in
3776 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3777 + *) ac_try_echo=$ac_try;;
3778 +esac
3779 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3780 + (eval "$ac_compile") 2>conftest.er1
3781 ac_status=$?
3782 grep -v '^ *+' conftest.er1 >conftest.err
3783 rm -f conftest.er1
3784 cat conftest.err >&5
3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3786 - (exit $ac_status); } &&
3787 - { ac_try='test -z "$ac_cxx_werror_flag"
3788 - || test ! -s conftest.err'
3789 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3790 - (eval $ac_try) 2>&5
3791 - ac_status=$?
3792 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 - (exit $ac_status); }; } &&
3794 - { ac_try='test -s conftest.$ac_objext'
3795 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3796 - (eval $ac_try) 2>&5
3797 - ac_status=$?
3798 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 - (exit $ac_status); }; }; then
3800 + (exit $ac_status); } && {
3801 + test -z "$ac_cxx_werror_flag" ||
3802 + test ! -s conftest.err
3803 + } && test -s conftest.$ac_objext; then
3805 else
3806 echo "$as_me: failed program was:" >&5
3807 sed 's/^/| /' conftest.$ac_ext >&5
3809 -continue
3811 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3812 - cat >conftest.$ac_ext <<_ACEOF
3813 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3814 + CXXFLAGS="-g"
3815 + cat >conftest.$ac_ext <<_ACEOF
3816 /* confdefs.h. */
3817 _ACEOF
3818 cat confdefs.h >>conftest.$ac_ext
3819 cat >>conftest.$ac_ext <<_ACEOF
3820 /* end confdefs.h. */
3821 -$ac_declaration
3824 main ()
3826 -exit (42);
3829 return 0;
3831 _ACEOF
3832 rm -f conftest.$ac_objext
3833 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3834 - (eval $ac_compile) 2>conftest.er1
3835 +if { (ac_try="$ac_compile"
3836 +case "(($ac_try" in
3837 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3838 + *) ac_try_echo=$ac_try;;
3839 +esac
3840 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3841 + (eval "$ac_compile") 2>conftest.er1
3842 ac_status=$?
3843 grep -v '^ *+' conftest.er1 >conftest.err
3844 rm -f conftest.er1
3845 cat conftest.err >&5
3846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3847 - (exit $ac_status); } &&
3848 - { ac_try='test -z "$ac_cxx_werror_flag"
3849 - || test ! -s conftest.err'
3850 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3851 - (eval $ac_try) 2>&5
3852 - ac_status=$?
3853 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 - (exit $ac_status); }; } &&
3855 - { ac_try='test -s conftest.$ac_objext'
3856 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3857 - (eval $ac_try) 2>&5
3858 - ac_status=$?
3859 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 - (exit $ac_status); }; }; then
3861 - break
3862 + (exit $ac_status); } && {
3863 + test -z "$ac_cxx_werror_flag" ||
3864 + test ! -s conftest.err
3865 + } && test -s conftest.$ac_objext; then
3866 + ac_cv_prog_cxx_g=yes
3867 else
3868 echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.$ac_ext >&5
3873 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3874 -done
3875 -rm -f conftest*
3876 -if test -n "$ac_declaration"; then
3877 - echo '#ifdef __cplusplus' >>confdefs.h
3878 - echo $ac_declaration >>confdefs.h
3879 - echo '#endif' >>confdefs.h
3881 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3884 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3887 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3888 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3890 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3891 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3892 +if test "$ac_test_CXXFLAGS" = set; then
3893 + CXXFLAGS=$ac_save_CXXFLAGS
3894 +elif test $ac_cv_prog_cxx_g = yes; then
3895 + if test "$GXX" = yes; then
3896 + CXXFLAGS="-g -O2"
3897 + else
3898 + CXXFLAGS="-g"
3899 + fi
3900 +else
3901 + if test "$GXX" = yes; then
3902 + CXXFLAGS="-O2"
3903 + else
3904 + CXXFLAGS=
3905 + fi
3907 ac_ext=c
3908 ac_cpp='$CPP $CPPFLAGS'
3909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3910 @@ -4274,8 +4745,8 @@
3911 if test -n "$ac_tool_prefix"; then
3912 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
3913 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
3914 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3915 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3916 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3917 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3918 if test "${ac_cv_prog_GNATBIND+set}" = set; then
3919 echo $ECHO_N "(cached) $ECHO_C" >&6
3920 else
3921 @@ -4288,32 +4759,34 @@
3922 IFS=$as_save_IFS
3923 test -z "$as_dir" && as_dir=.
3924 for ac_exec_ext in '' $ac_executable_extensions; do
3925 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3926 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3927 ac_cv_prog_GNATBIND="${ac_tool_prefix}gnatbind"
3928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3929 break 2
3931 done
3932 done
3933 +IFS=$as_save_IFS
3937 GNATBIND=$ac_cv_prog_GNATBIND
3938 if test -n "$GNATBIND"; then
3939 - echo "$as_me:$LINENO: result: $GNATBIND" >&5
3940 -echo "${ECHO_T}$GNATBIND" >&6
3941 + { echo "$as_me:$LINENO: result: $GNATBIND" >&5
3942 +echo "${ECHO_T}$GNATBIND" >&6; }
3943 else
3944 - echo "$as_me:$LINENO: result: no" >&5
3945 -echo "${ECHO_T}no" >&6
3946 + { echo "$as_me:$LINENO: result: no" >&5
3947 +echo "${ECHO_T}no" >&6; }
3952 if test -z "$ac_cv_prog_GNATBIND"; then
3953 ac_ct_GNATBIND=$GNATBIND
3954 # Extract the first word of "gnatbind", so it can be a program name with args.
3955 set dummy gnatbind; ac_word=$2
3956 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3957 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3958 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3959 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3960 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then
3961 echo $ECHO_N "(cached) $ECHO_C" >&6
3962 else
3963 @@ -4326,27 +4799,41 @@
3964 IFS=$as_save_IFS
3965 test -z "$as_dir" && as_dir=.
3966 for ac_exec_ext in '' $ac_executable_extensions; do
3967 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3968 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3969 ac_cv_prog_ac_ct_GNATBIND="gnatbind"
3970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 break 2
3973 done
3974 done
3975 +IFS=$as_save_IFS
3977 - test -z "$ac_cv_prog_ac_ct_GNATBIND" && ac_cv_prog_ac_ct_GNATBIND="no"
3980 ac_ct_GNATBIND=$ac_cv_prog_ac_ct_GNATBIND
3981 if test -n "$ac_ct_GNATBIND"; then
3982 - echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
3983 -echo "${ECHO_T}$ac_ct_GNATBIND" >&6
3984 + { echo "$as_me:$LINENO: result: $ac_ct_GNATBIND" >&5
3985 +echo "${ECHO_T}$ac_ct_GNATBIND" >&6; }
3986 else
3987 - echo "$as_me:$LINENO: result: no" >&5
3988 -echo "${ECHO_T}no" >&6
3989 + { echo "$as_me:$LINENO: result: no" >&5
3990 +echo "${ECHO_T}no" >&6; }
3993 - GNATBIND=$ac_ct_GNATBIND
3994 + if test "x$ac_ct_GNATBIND" = x; then
3995 + GNATBIND="no"
3996 + else
3997 + case $cross_compiling:$ac_tool_warned in
3998 +yes:)
3999 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4000 +whose name does not start with the host triplet. If you think this
4001 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4002 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4003 +whose name does not start with the host triplet. If you think this
4004 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4005 +ac_tool_warned=yes ;;
4006 +esac
4007 + GNATBIND=$ac_ct_GNATBIND
4008 + fi
4009 else
4010 GNATBIND="$ac_cv_prog_GNATBIND"
4012 @@ -4354,8 +4841,8 @@
4013 if test -n "$ac_tool_prefix"; then
4014 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4015 set dummy ${ac_tool_prefix}gnatmake; ac_word=$2
4016 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4017 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4018 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4019 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4020 if test "${ac_cv_prog_GNATMAKE+set}" = set; then
4021 echo $ECHO_N "(cached) $ECHO_C" >&6
4022 else
4023 @@ -4368,32 +4855,34 @@
4024 IFS=$as_save_IFS
4025 test -z "$as_dir" && as_dir=.
4026 for ac_exec_ext in '' $ac_executable_extensions; do
4027 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4028 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4029 ac_cv_prog_GNATMAKE="${ac_tool_prefix}gnatmake"
4030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4031 break 2
4033 done
4034 done
4035 +IFS=$as_save_IFS
4039 GNATMAKE=$ac_cv_prog_GNATMAKE
4040 if test -n "$GNATMAKE"; then
4041 - echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4042 -echo "${ECHO_T}$GNATMAKE" >&6
4043 + { echo "$as_me:$LINENO: result: $GNATMAKE" >&5
4044 +echo "${ECHO_T}$GNATMAKE" >&6; }
4045 else
4046 - echo "$as_me:$LINENO: result: no" >&5
4047 -echo "${ECHO_T}no" >&6
4048 + { echo "$as_me:$LINENO: result: no" >&5
4049 +echo "${ECHO_T}no" >&6; }
4054 if test -z "$ac_cv_prog_GNATMAKE"; then
4055 ac_ct_GNATMAKE=$GNATMAKE
4056 # Extract the first word of "gnatmake", so it can be a program name with args.
4057 set dummy gnatmake; ac_word=$2
4058 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4059 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4060 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4061 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4062 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then
4063 echo $ECHO_N "(cached) $ECHO_C" >&6
4064 else
4065 @@ -4406,33 +4895,47 @@
4066 IFS=$as_save_IFS
4067 test -z "$as_dir" && as_dir=.
4068 for ac_exec_ext in '' $ac_executable_extensions; do
4069 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4070 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4071 ac_cv_prog_ac_ct_GNATMAKE="gnatmake"
4072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4073 break 2
4075 done
4076 done
4077 +IFS=$as_save_IFS
4079 - test -z "$ac_cv_prog_ac_ct_GNATMAKE" && ac_cv_prog_ac_ct_GNATMAKE="no"
4082 ac_ct_GNATMAKE=$ac_cv_prog_ac_ct_GNATMAKE
4083 if test -n "$ac_ct_GNATMAKE"; then
4084 - echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4085 -echo "${ECHO_T}$ac_ct_GNATMAKE" >&6
4086 + { echo "$as_me:$LINENO: result: $ac_ct_GNATMAKE" >&5
4087 +echo "${ECHO_T}$ac_ct_GNATMAKE" >&6; }
4088 else
4089 - echo "$as_me:$LINENO: result: no" >&5
4090 -echo "${ECHO_T}no" >&6
4091 + { echo "$as_me:$LINENO: result: no" >&5
4092 +echo "${ECHO_T}no" >&6; }
4095 - GNATMAKE=$ac_ct_GNATMAKE
4096 + if test "x$ac_ct_GNATMAKE" = x; then
4097 + GNATMAKE="no"
4098 + else
4099 + case $cross_compiling:$ac_tool_warned in
4100 +yes:)
4101 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4102 +whose name does not start with the host triplet. If you think this
4103 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4104 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4105 +whose name does not start with the host triplet. If you think this
4106 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4107 +ac_tool_warned=yes ;;
4108 +esac
4109 + GNATMAKE=$ac_ct_GNATMAKE
4110 + fi
4111 else
4112 GNATMAKE="$ac_cv_prog_GNATMAKE"
4115 -echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4116 -echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6
4117 +{ echo "$as_me:$LINENO: checking whether compiler driver understands Ada" >&5
4118 +echo $ECHO_N "checking whether compiler driver understands Ada... $ECHO_C" >&6; }
4119 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then
4120 echo $ECHO_N "(cached) $ECHO_C" >&6
4121 else
4122 @@ -4454,8 +4957,8 @@
4124 rm -f conftest.*
4126 -echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4127 -echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6
4128 +{ echo "$as_me:$LINENO: result: $acx_cv_cc_gcc_supports_ada" >&5
4129 +echo "${ECHO_T}$acx_cv_cc_gcc_supports_ada" >&6; }
4131 if test x$GNATBIND != xno && test x$GNATMAKE != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
4132 have_gnat=yes
4133 @@ -4463,8 +4966,8 @@
4134 have_gnat=no
4137 -echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4138 -echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6
4139 +{ echo "$as_me:$LINENO: checking how to compare bootstrapped objects" >&5
4140 +echo $ECHO_N "checking how to compare bootstrapped objects... $ECHO_C" >&6; }
4141 if test "${gcc_cv_prog_cmp_skip+set}" = set; then
4142 echo $ECHO_N "(cached) $ECHO_C" >&6
4143 else
4144 @@ -4488,8 +4991,8 @@
4145 rm t1 t2
4148 -echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4149 -echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6
4150 +{ echo "$as_me:$LINENO: result: $gcc_cv_prog_cmp_skip" >&5
4151 +echo "${ECHO_T}$gcc_cv_prog_cmp_skip" >&6; }
4152 do_compare="$gcc_cv_prog_cmp_skip"
4155 @@ -4502,34 +5005,34 @@
4156 # Specify a location for mpfr
4157 # check for this first so it ends up on the link line before gmp.
4159 -# Check whether --with-mpfr-dir or --without-mpfr-dir was given.
4160 +# Check whether --with-mpfr-dir was given.
4161 if test "${with_mpfr_dir+set}" = set; then
4162 - withval="$with_mpfr_dir"
4163 - { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4164 + withval=$with_mpfr_dir; { { echo "$as_me:$LINENO: error: The --with-mpfr-dir=PATH option has been removed.
4165 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&5
4166 echo "$as_me: error: The --with-mpfr-dir=PATH option has been removed.
4167 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" >&2;}
4168 { (exit 1); exit 1; }; }
4169 -fi;
4174 -# Check whether --with-mpfr or --without-mpfr was given.
4175 +# Check whether --with-mpfr was given.
4176 if test "${with_mpfr+set}" = set; then
4177 - withval="$with_mpfr"
4178 + withval=$with_mpfr;
4181 -fi;
4183 -# Check whether --with-mpfr_include or --without-mpfr_include was given.
4184 +# Check whether --with-mpfr_include was given.
4185 if test "${with_mpfr_include+set}" = set; then
4186 - withval="$with_mpfr_include"
4187 + withval=$with_mpfr_include;
4190 -fi;
4192 -# Check whether --with-mpfr_lib or --without-mpfr_lib was given.
4193 +# Check whether --with-mpfr_lib was given.
4194 if test "${with_mpfr_lib+set}" = set; then
4195 - withval="$with_mpfr_lib"
4196 + withval=$with_mpfr_lib;
4199 -fi;
4201 if test "x$with_mpfr" != x; then
4202 gmplibs="-L$with_mpfr/lib $gmplibs"
4203 @@ -4553,34 +5056,34 @@
4205 # Specify a location for gmp
4207 -# Check whether --with-gmp-dir or --without-gmp-dir was given.
4208 +# Check whether --with-gmp-dir was given.
4209 if test "${with_gmp_dir+set}" = set; then
4210 - withval="$with_gmp_dir"
4211 - { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4212 + withval=$with_gmp_dir; { { echo "$as_me:$LINENO: error: The --with-gmp-dir=PATH option has been removed.
4213 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&5
4214 echo "$as_me: error: The --with-gmp-dir=PATH option has been removed.
4215 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" >&2;}
4216 { (exit 1); exit 1; }; }
4217 -fi;
4221 -# Check whether --with-gmp or --without-gmp was given.
4223 +# Check whether --with-gmp was given.
4224 if test "${with_gmp+set}" = set; then
4225 - withval="$with_gmp"
4226 + withval=$with_gmp;
4229 -fi;
4231 -# Check whether --with-gmp_include or --without-gmp_include was given.
4232 +# Check whether --with-gmp_include was given.
4233 if test "${with_gmp_include+set}" = set; then
4234 - withval="$with_gmp_include"
4235 + withval=$with_gmp_include;
4238 -fi;
4240 -# Check whether --with-gmp_lib or --without-gmp_lib was given.
4241 +# Check whether --with-gmp_lib was given.
4242 if test "${with_gmp_lib+set}" = set; then
4243 - withval="$with_gmp_lib"
4244 + withval=$with_gmp_lib;
4247 -fi;
4250 if test "x$with_gmp" != x; then
4251 @@ -4609,8 +5112,8 @@
4252 saved_CFLAGS="$CFLAGS"
4253 CFLAGS="$CFLAGS $gmpinc"
4254 # Check GMP actually works
4255 - echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4256 -echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6
4257 + { echo "$as_me:$LINENO: checking for correct version of gmp.h" >&5
4258 +echo $ECHO_N "checking for correct version of gmp.h... $ECHO_C" >&6; }
4260 cat >conftest.$ac_ext <<_ACEOF
4261 /* confdefs.h. */
4262 @@ -4632,43 +5135,39 @@
4264 _ACEOF
4265 rm -f conftest.$ac_objext
4266 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4267 - (eval $ac_compile) 2>conftest.er1
4268 +if { (ac_try="$ac_compile"
4269 +case "(($ac_try" in
4270 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4271 + *) ac_try_echo=$ac_try;;
4272 +esac
4273 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4274 + (eval "$ac_compile") 2>conftest.er1
4275 ac_status=$?
4276 grep -v '^ *+' conftest.er1 >conftest.err
4277 rm -f conftest.er1
4278 cat conftest.err >&5
4279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4280 - (exit $ac_status); } &&
4281 - { ac_try='test -z "$ac_c_werror_flag"
4282 - || test ! -s conftest.err'
4283 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4284 - (eval $ac_try) 2>&5
4285 - ac_status=$?
4286 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4287 - (exit $ac_status); }; } &&
4288 - { ac_try='test -s conftest.$ac_objext'
4289 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4290 - (eval $ac_try) 2>&5
4291 - ac_status=$?
4292 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4293 - (exit $ac_status); }; }; then
4294 - echo "$as_me:$LINENO: result: yes" >&5
4295 -echo "${ECHO_T}yes" >&6
4296 + (exit $ac_status); } && {
4297 + test -z "$ac_c_werror_flag" ||
4298 + test ! -s conftest.err
4299 + } && test -s conftest.$ac_objext; then
4300 + { echo "$as_me:$LINENO: result: yes" >&5
4301 +echo "${ECHO_T}yes" >&6; }
4302 else
4303 echo "$as_me: failed program was:" >&5
4304 sed 's/^/| /' conftest.$ac_ext >&5
4306 -echo "$as_me:$LINENO: result: no" >&5
4307 -echo "${ECHO_T}no" >&6; have_gmp=no
4308 + { echo "$as_me:$LINENO: result: no" >&5
4309 +echo "${ECHO_T}no" >&6; }; have_gmp=no
4311 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4313 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4315 if test x"$have_gmp" = xyes; then
4316 saved_LIBS="$LIBS"
4317 LIBS="$LIBS $gmplibs"
4318 - echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4319 -echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6
4320 + { echo "$as_me:$LINENO: checking for correct version of mpfr.h" >&5
4321 +echo $ECHO_N "checking for correct version of mpfr.h... $ECHO_C" >&6; }
4322 cat >conftest.$ac_ext <<_ACEOF
4323 /* confdefs.h. */
4324 _ACEOF
4325 @@ -4698,27 +5197,23 @@
4327 _ACEOF
4328 rm -f conftest.$ac_objext conftest$ac_exeext
4329 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4330 - (eval $ac_link) 2>conftest.er1
4331 +if { (ac_try="$ac_link"
4332 +case "(($ac_try" in
4333 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4334 + *) ac_try_echo=$ac_try;;
4335 +esac
4336 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4337 + (eval "$ac_link") 2>conftest.er1
4338 ac_status=$?
4339 grep -v '^ *+' conftest.er1 >conftest.err
4340 rm -f conftest.er1
4341 cat conftest.err >&5
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 - (exit $ac_status); } &&
4344 - { ac_try='test -z "$ac_c_werror_flag"
4345 - || test ! -s conftest.err'
4346 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4347 - (eval $ac_try) 2>&5
4348 - ac_status=$?
4349 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 - (exit $ac_status); }; } &&
4351 - { ac_try='test -s conftest$ac_exeext'
4352 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4353 - (eval $ac_try) 2>&5
4354 - ac_status=$?
4355 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 - (exit $ac_status); }; }; then
4357 + (exit $ac_status); } && {
4358 + test -z "$ac_c_werror_flag" ||
4359 + test ! -s conftest.err
4360 + } && test -s conftest$ac_exeext &&
4361 + $as_test_x conftest$ac_exeext; then
4362 cat >conftest.$ac_ext <<_ACEOF
4363 /* confdefs.h. */
4364 _ACEOF
4365 @@ -4741,46 +5236,44 @@
4367 _ACEOF
4368 rm -f conftest.$ac_objext conftest$ac_exeext
4369 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4370 - (eval $ac_link) 2>conftest.er1
4371 +if { (ac_try="$ac_link"
4372 +case "(($ac_try" in
4373 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4374 + *) ac_try_echo=$ac_try;;
4375 +esac
4376 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4377 + (eval "$ac_link") 2>conftest.er1
4378 ac_status=$?
4379 grep -v '^ *+' conftest.er1 >conftest.err
4380 rm -f conftest.er1
4381 cat conftest.err >&5
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 - (exit $ac_status); } &&
4384 - { ac_try='test -z "$ac_c_werror_flag"
4385 - || test ! -s conftest.err'
4386 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4387 - (eval $ac_try) 2>&5
4388 - ac_status=$?
4389 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 - (exit $ac_status); }; } &&
4391 - { ac_try='test -s conftest$ac_exeext'
4392 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4393 - (eval $ac_try) 2>&5
4394 - ac_status=$?
4395 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 - (exit $ac_status); }; }; then
4397 - echo "$as_me:$LINENO: result: yes" >&5
4398 -echo "${ECHO_T}yes" >&6
4399 + (exit $ac_status); } && {
4400 + test -z "$ac_c_werror_flag" ||
4401 + test ! -s conftest.err
4402 + } && test -s conftest$ac_exeext &&
4403 + $as_test_x conftest$ac_exeext; then
4404 + { echo "$as_me:$LINENO: result: yes" >&5
4405 +echo "${ECHO_T}yes" >&6; }
4406 else
4407 echo "$as_me: failed program was:" >&5
4408 sed 's/^/| /' conftest.$ac_ext >&5
4410 -echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4411 -echo "${ECHO_T}buggy but acceptable" >&6
4412 + { echo "$as_me:$LINENO: result: buggy but acceptable" >&5
4413 +echo "${ECHO_T}buggy but acceptable" >&6; }
4415 -rm -f conftest.err conftest.$ac_objext \
4417 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4418 conftest$ac_exeext conftest.$ac_ext
4419 else
4420 echo "$as_me: failed program was:" >&5
4421 sed 's/^/| /' conftest.$ac_ext >&5
4423 -echo "$as_me:$LINENO: result: no" >&5
4424 -echo "${ECHO_T}no" >&6; have_gmp=no
4425 + { echo "$as_me:$LINENO: result: no" >&5
4426 +echo "${ECHO_T}no" >&6; }; have_gmp=no
4428 -rm -f conftest.err conftest.$ac_objext \
4430 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4431 conftest$ac_exeext conftest.$ac_ext
4432 LIBS="$saved_LIBS"
4434 @@ -4814,11 +5307,11 @@
4436 # Allow host libstdc++ to be specified for static linking with PPL.
4438 -# Check whether --with-host-libstdcxx or --without-host-libstdcxx was given.
4439 +# Check whether --with-host-libstdcxx was given.
4440 if test "${with_host_libstdcxx+set}" = set; then
4441 - withval="$with_host_libstdcxx"
4442 + withval=$with_host_libstdcxx;
4445 -fi;
4447 case $with_host_libstdcxx in
4448 no|yes)
4449 @@ -4835,23 +5328,23 @@
4450 pplinc=
4453 -# Check whether --with-ppl or --without-ppl was given.
4454 +# Check whether --with-ppl was given.
4455 if test "${with_ppl+set}" = set; then
4456 - withval="$with_ppl"
4457 + withval=$with_ppl;
4460 -fi;
4462 -# Check whether --with-ppl_include or --without-ppl_include was given.
4463 +# Check whether --with-ppl_include was given.
4464 if test "${with_ppl_include+set}" = set; then
4465 - withval="$with_ppl_include"
4466 + withval=$with_ppl_include;
4469 -fi;
4471 -# Check whether --with-ppl_lib or --without-ppl_lib was given.
4472 +# Check whether --with-ppl_lib was given.
4473 if test "${with_ppl_lib+set}" = set; then
4474 - withval="$with_ppl_lib"
4475 + withval=$with_ppl_lib;
4478 -fi;
4480 case $with_ppl in
4482 @@ -4876,19 +5369,19 @@
4483 LIBS="$ppllibs $LIBS"
4486 -# Check whether --enable-ppl-version-check or --disable-ppl-version-check was given.
4487 +# Check whether --enable-ppl-version-check was given.
4488 if test "${enable_ppl_version_check+set}" = set; then
4489 - enableval="$enable_ppl_version_check"
4490 - ENABLE_PPL_CHECK=$enableval
4491 + enableval=$enable_ppl_version_check; ENABLE_PPL_CHECK=$enableval
4492 else
4493 ENABLE_PPL_CHECK=yes
4494 -fi;
4498 if test "${ENABLE_PPL_CHECK}" = "yes"; then
4499 saved_CFLAGS="$CFLAGS"
4500 CFLAGS="$CFLAGS $pplinc $gmpinc"
4501 - echo "$as_me:$LINENO: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
4502 -echo $ECHO_N "checking for version $ppl_major_version.$ppl_minor_version of PPL... $ECHO_C" >&6
4503 + { echo "$as_me:$LINENO: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
4504 +echo $ECHO_N "checking for version $ppl_major_version.$ppl_minor_version of PPL... $ECHO_C" >&6; }
4505 cat >conftest.$ac_ext <<_ACEOF
4506 /* confdefs.h. */
4507 _ACEOF
4508 @@ -4909,37 +5402,33 @@
4510 _ACEOF
4511 rm -f conftest.$ac_objext
4512 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4513 - (eval $ac_compile) 2>conftest.er1
4514 +if { (ac_try="$ac_compile"
4515 +case "(($ac_try" in
4516 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 + *) ac_try_echo=$ac_try;;
4518 +esac
4519 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4520 + (eval "$ac_compile") 2>conftest.er1
4521 ac_status=$?
4522 grep -v '^ *+' conftest.er1 >conftest.err
4523 rm -f conftest.er1
4524 cat conftest.err >&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 - (exit $ac_status); } &&
4527 - { ac_try='test -z "$ac_c_werror_flag"
4528 - || test ! -s conftest.err'
4529 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530 - (eval $ac_try) 2>&5
4531 - ac_status=$?
4532 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 - (exit $ac_status); }; } &&
4534 - { ac_try='test -s conftest.$ac_objext'
4535 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4536 - (eval $ac_try) 2>&5
4537 - ac_status=$?
4538 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 - (exit $ac_status); }; }; then
4540 - echo "$as_me:$LINENO: result: yes" >&5
4541 -echo "${ECHO_T}yes" >&6
4542 + (exit $ac_status); } && {
4543 + test -z "$ac_c_werror_flag" ||
4544 + test ! -s conftest.err
4545 + } && test -s conftest.$ac_objext; then
4546 + { echo "$as_me:$LINENO: result: yes" >&5
4547 +echo "${ECHO_T}yes" >&6; }
4548 else
4549 echo "$as_me: failed program was:" >&5
4550 sed 's/^/| /' conftest.$ac_ext >&5
4552 -echo "$as_me:$LINENO: result: no" >&5
4553 -echo "${ECHO_T}no" >&6; ppllibs= ; pplinc=
4554 + { echo "$as_me:$LINENO: result: no" >&5
4555 +echo "${ECHO_T}no" >&6; }; ppllibs= ; pplinc=
4557 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4559 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 CFLAGS="$saved_CFLAGS"
4563 @@ -4953,23 +5442,23 @@
4564 clooginc=" -DCLOOG_PPL_BACKEND "
4567 -# Check whether --with-cloog or --without-cloog was given.
4568 +# Check whether --with-cloog was given.
4569 if test "${with_cloog+set}" = set; then
4570 - withval="$with_cloog"
4571 + withval=$with_cloog;
4574 -fi;
4576 -# Check whether --with-cloog_include or --without-cloog_include was given.
4577 +# Check whether --with-cloog_include was given.
4578 if test "${with_cloog_include+set}" = set; then
4579 - withval="$with_cloog_include"
4580 + withval=$with_cloog_include;
4583 -fi;
4585 -# Check whether --with-cloog_lib or --without-cloog_lib was given.
4586 +# Check whether --with-cloog_lib was given.
4587 if test "${with_cloog_lib+set}" = set; then
4588 - withval="$with_cloog_lib"
4589 + withval=$with_cloog_lib;
4592 -fi;
4594 case $with_cloog in
4596 @@ -4995,19 +5484,19 @@
4597 LIBS="$clooglibs $LIBS"
4600 -# Check whether --enable-cloog-version-check or --disable-cloog-version-check was given.
4601 +# Check whether --enable-cloog-version-check was given.
4602 if test "${enable_cloog_version_check+set}" = set; then
4603 - enableval="$enable_cloog_version_check"
4604 - ENABLE_CLOOG_CHECK=$enableval
4605 + enableval=$enable_cloog_version_check; ENABLE_CLOOG_CHECK=$enableval
4606 else
4607 ENABLE_CLOOG_CHECK=yes
4608 -fi;
4612 if test "${ENABLE_CLOOG_CHECK}" = "yes"; then
4613 saved_CFLAGS="$CFLAGS"
4614 CFLAGS="$CFLAGS $clooginc $gmpinc $pplinc"
4615 - echo "$as_me:$LINENO: checking for correct version of CLooG" >&5
4616 -echo $ECHO_N "checking for correct version of CLooG... $ECHO_C" >&6
4617 + { echo "$as_me:$LINENO: checking for correct version of CLooG" >&5
4618 +echo $ECHO_N "checking for correct version of CLooG... $ECHO_C" >&6; }
4619 cat >conftest.$ac_ext <<_ACEOF
4620 /* confdefs.h. */
4621 _ACEOF
4622 @@ -5028,37 +5517,33 @@
4624 _ACEOF
4625 rm -f conftest.$ac_objext
4626 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4627 - (eval $ac_compile) 2>conftest.er1
4628 +if { (ac_try="$ac_compile"
4629 +case "(($ac_try" in
4630 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4631 + *) ac_try_echo=$ac_try;;
4632 +esac
4633 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4634 + (eval "$ac_compile") 2>conftest.er1
4635 ac_status=$?
4636 grep -v '^ *+' conftest.er1 >conftest.err
4637 rm -f conftest.er1
4638 cat conftest.err >&5
4639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640 - (exit $ac_status); } &&
4641 - { ac_try='test -z "$ac_c_werror_flag"
4642 - || test ! -s conftest.err'
4643 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4644 - (eval $ac_try) 2>&5
4645 - ac_status=$?
4646 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 - (exit $ac_status); }; } &&
4648 - { ac_try='test -s conftest.$ac_objext'
4649 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4650 - (eval $ac_try) 2>&5
4651 - ac_status=$?
4652 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 - (exit $ac_status); }; }; then
4654 - echo "$as_me:$LINENO: result: yes" >&5
4655 -echo "${ECHO_T}yes" >&6
4656 + (exit $ac_status); } && {
4657 + test -z "$ac_c_werror_flag" ||
4658 + test ! -s conftest.err
4659 + } && test -s conftest.$ac_objext; then
4660 + { echo "$as_me:$LINENO: result: yes" >&5
4661 +echo "${ECHO_T}yes" >&6; }
4662 else
4663 echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.$ac_ext >&5
4666 -echo "$as_me:$LINENO: result: no" >&5
4667 -echo "${ECHO_T}no" >&6; clooglibs= ; clooginc=
4668 + { echo "$as_me:$LINENO: result: no" >&5
4669 +echo "${ECHO_T}no" >&6; }; clooglibs= ; clooginc=
4671 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4673 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4674 CFLAGS="$saved_CFLAGS"
4677 @@ -5233,10 +5718,9 @@
4678 esac
4679 done
4681 - # Check whether --enable-stage1-languages or --disable-stage1-languages was given.
4682 + # Check whether --enable-stage1-languages was given.
4683 if test "${enable_stage1_languages+set}" = set; then
4684 - enableval="$enable_stage1_languages"
4685 - case ,${enable_stage1_languages}, in
4686 + enableval=$enable_stage1_languages; case ,${enable_stage1_languages}, in
4687 ,no,|,,)
4688 # Set it to something that will have no effect in the loop below
4689 enable_stage1_languages=c ;;
4690 @@ -5264,7 +5748,8 @@
4691 esac ;;
4692 esac
4693 done
4694 -fi;
4698 # Remove leading/trailing commas that were added for simplicity
4699 potential_languages=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
4700 @@ -5300,17 +5785,17 @@
4701 done
4703 # Check for Boehm's garbage collector
4704 -# Check whether --enable-objc-gc or --disable-objc-gc was given.
4705 +# Check whether --enable-objc-gc was given.
4706 if test "${enable_objc_gc+set}" = set; then
4707 - enableval="$enable_objc_gc"
4708 - case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
4709 + enableval=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
4710 *,objc,*:*:yes:*target-boehm-gc*)
4711 { { echo "$as_me:$LINENO: error: Boehm's garbage collector was requested yet not supported in this configuration" >&5
4712 echo "$as_me: error: Boehm's garbage collector was requested yet not supported in this configuration" >&2;}
4713 { (exit 1); exit 1; }; }
4715 esac
4716 -fi;
4720 # Make sure we only build Boehm's garbage collector if required.
4721 case ,${enable_languages},:${enable_objc_gc} in
4722 @@ -5505,22 +5990,21 @@
4723 copy_dirs=
4726 -# Check whether --with-build-sysroot or --without-build-sysroot was given.
4727 +# Check whether --with-build-sysroot was given.
4728 if test "${with_build_sysroot+set}" = set; then
4729 - withval="$with_build_sysroot"
4730 - if test x"$withval" != x ; then
4731 + withval=$with_build_sysroot; if test x"$withval" != x ; then
4732 SYSROOT_CFLAGS_FOR_TARGET="--sysroot=$withval"
4734 else
4735 SYSROOT_CFLAGS_FOR_TARGET=
4736 -fi;
4742 -# Check whether --with-debug-prefix-map or --without-debug-prefix-map was given.
4743 +# Check whether --with-debug-prefix-map was given.
4744 if test "${with_debug_prefix_map+set}" = set; then
4745 - withval="$with_debug_prefix_map"
4746 - if test x"$withval" != x; then
4747 + withval=$with_debug_prefix_map; if test x"$withval" != x; then
4748 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
4749 for debug_map in $withval; do
4750 DEBUG_PREFIX_CFLAGS_FOR_TARGET="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
4751 @@ -5528,7 +6012,8 @@
4753 else
4754 DEBUG_PREFIX_CFLAGS_FOR_TARGET=
4755 -fi;
4760 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
4761 @@ -5933,13 +6418,13 @@
4762 # to maintain later. In this particular case, you just have to be careful
4763 # not to nest @if/@endif pairs, because configure will not warn you at all.
4765 -# Check whether --enable-bootstrap or --disable-bootstrap was given.
4766 +# Check whether --enable-bootstrap was given.
4767 if test "${enable_bootstrap+set}" = set; then
4768 - enableval="$enable_bootstrap"
4770 + enableval=$enable_bootstrap;
4771 else
4772 enable_bootstrap=default
4773 -fi;
4777 # Issue errors and warnings for invalid/strange bootstrap combinations.
4778 case "$configdirs" in
4779 @@ -6036,11 +6521,11 @@
4781 # Create the serialization dependencies. This uses a temporary file.
4783 -# Check whether --enable-serial-configure or --disable-serial-configure was given.
4784 +# Check whether --enable-serial-configure was given.
4785 if test "${enable_serial_configure+set}" = set; then
4786 - enableval="$enable_serial_configure"
4787 + enableval=$enable_serial_configure;
4790 -fi;
4792 case ${enable_serial_configure} in
4793 yes)
4794 @@ -6399,8 +6884,8 @@
4796 # Extract the first word of "$ac_prog", so it can be a program name with args.
4797 set dummy $ac_prog; ac_word=$2
4798 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4799 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4800 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4801 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4802 if test "${ac_cv_prog_YACC+set}" = set; then
4803 echo $ECHO_N "(cached) $ECHO_C" >&6
4804 else
4805 @@ -6413,25 +6898,27 @@
4806 IFS=$as_save_IFS
4807 test -z "$as_dir" && as_dir=.
4808 for ac_exec_ext in '' $ac_executable_extensions; do
4809 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4810 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4811 ac_cv_prog_YACC="$ac_prog"
4812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4813 break 2
4815 done
4816 done
4817 +IFS=$as_save_IFS
4821 YACC=$ac_cv_prog_YACC
4822 if test -n "$YACC"; then
4823 - echo "$as_me:$LINENO: result: $YACC" >&5
4824 -echo "${ECHO_T}$YACC" >&6
4825 + { echo "$as_me:$LINENO: result: $YACC" >&5
4826 +echo "${ECHO_T}$YACC" >&6; }
4827 else
4828 - echo "$as_me:$LINENO: result: no" >&5
4829 -echo "${ECHO_T}no" >&6
4830 + { echo "$as_me:$LINENO: result: no" >&5
4831 +echo "${ECHO_T}no" >&6; }
4835 test -n "$YACC" && break
4836 done
4837 test -n "$YACC" || YACC="$MISSING bison -y"
4838 @@ -6445,8 +6932,8 @@
4840 # Extract the first word of "$ac_prog", so it can be a program name with args.
4841 set dummy $ac_prog; ac_word=$2
4842 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4843 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4844 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4845 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4846 if test "${ac_cv_prog_BISON+set}" = set; then
4847 echo $ECHO_N "(cached) $ECHO_C" >&6
4848 else
4849 @@ -6459,25 +6946,27 @@
4850 IFS=$as_save_IFS
4851 test -z "$as_dir" && as_dir=.
4852 for ac_exec_ext in '' $ac_executable_extensions; do
4853 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4854 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4855 ac_cv_prog_BISON="$ac_prog"
4856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4857 break 2
4859 done
4860 done
4861 +IFS=$as_save_IFS
4865 BISON=$ac_cv_prog_BISON
4866 if test -n "$BISON"; then
4867 - echo "$as_me:$LINENO: result: $BISON" >&5
4868 -echo "${ECHO_T}$BISON" >&6
4869 + { echo "$as_me:$LINENO: result: $BISON" >&5
4870 +echo "${ECHO_T}$BISON" >&6; }
4871 else
4872 - echo "$as_me:$LINENO: result: no" >&5
4873 -echo "${ECHO_T}no" >&6
4874 + { echo "$as_me:$LINENO: result: no" >&5
4875 +echo "${ECHO_T}no" >&6; }
4879 test -n "$BISON" && break
4880 done
4881 test -n "$BISON" || BISON="$MISSING bison"
4882 @@ -6490,8 +6979,8 @@
4884 # Extract the first word of "$ac_prog", so it can be a program name with args.
4885 set dummy $ac_prog; ac_word=$2
4886 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4887 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4888 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4889 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4890 if test "${ac_cv_prog_M4+set}" = set; then
4891 echo $ECHO_N "(cached) $ECHO_C" >&6
4892 else
4893 @@ -6504,25 +6993,27 @@
4894 IFS=$as_save_IFS
4895 test -z "$as_dir" && as_dir=.
4896 for ac_exec_ext in '' $ac_executable_extensions; do
4897 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4898 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4899 ac_cv_prog_M4="$ac_prog"
4900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 break 2
4903 done
4904 done
4905 +IFS=$as_save_IFS
4909 M4=$ac_cv_prog_M4
4910 if test -n "$M4"; then
4911 - echo "$as_me:$LINENO: result: $M4" >&5
4912 -echo "${ECHO_T}$M4" >&6
4913 + { echo "$as_me:$LINENO: result: $M4" >&5
4914 +echo "${ECHO_T}$M4" >&6; }
4915 else
4916 - echo "$as_me:$LINENO: result: no" >&5
4917 -echo "${ECHO_T}no" >&6
4918 + { echo "$as_me:$LINENO: result: no" >&5
4919 +echo "${ECHO_T}no" >&6; }
4923 test -n "$M4" && break
4924 done
4925 test -n "$M4" || M4="$MISSING m4"
4926 @@ -6535,8 +7026,8 @@
4928 # Extract the first word of "$ac_prog", so it can be a program name with args.
4929 set dummy $ac_prog; ac_word=$2
4930 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4931 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4932 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4933 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4934 if test "${ac_cv_prog_LEX+set}" = set; then
4935 echo $ECHO_N "(cached) $ECHO_C" >&6
4936 else
4937 @@ -6549,25 +7040,27 @@
4938 IFS=$as_save_IFS
4939 test -z "$as_dir" && as_dir=.
4940 for ac_exec_ext in '' $ac_executable_extensions; do
4941 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4942 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4943 ac_cv_prog_LEX="$ac_prog"
4944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4945 break 2
4947 done
4948 done
4949 +IFS=$as_save_IFS
4953 LEX=$ac_cv_prog_LEX
4954 if test -n "$LEX"; then
4955 - echo "$as_me:$LINENO: result: $LEX" >&5
4956 -echo "${ECHO_T}$LEX" >&6
4957 + { echo "$as_me:$LINENO: result: $LEX" >&5
4958 +echo "${ECHO_T}$LEX" >&6; }
4959 else
4960 - echo "$as_me:$LINENO: result: no" >&5
4961 -echo "${ECHO_T}no" >&6
4962 + { echo "$as_me:$LINENO: result: no" >&5
4963 +echo "${ECHO_T}no" >&6; }
4967 test -n "$LEX" && break
4968 done
4969 test -n "$LEX" || LEX="$MISSING flex"
4970 @@ -6581,8 +7074,8 @@
4972 # Extract the first word of "$ac_prog", so it can be a program name with args.
4973 set dummy $ac_prog; ac_word=$2
4974 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4975 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4976 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4977 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4978 if test "${ac_cv_prog_FLEX+set}" = set; then
4979 echo $ECHO_N "(cached) $ECHO_C" >&6
4980 else
4981 @@ -6595,25 +7088,27 @@
4982 IFS=$as_save_IFS
4983 test -z "$as_dir" && as_dir=.
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4986 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4987 ac_cv_prog_FLEX="$ac_prog"
4988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4989 break 2
4991 done
4992 done
4993 +IFS=$as_save_IFS
4997 FLEX=$ac_cv_prog_FLEX
4998 if test -n "$FLEX"; then
4999 - echo "$as_me:$LINENO: result: $FLEX" >&5
5000 -echo "${ECHO_T}$FLEX" >&6
5001 + { echo "$as_me:$LINENO: result: $FLEX" >&5
5002 +echo "${ECHO_T}$FLEX" >&6; }
5003 else
5004 - echo "$as_me:$LINENO: result: no" >&5
5005 -echo "${ECHO_T}no" >&6
5006 + { echo "$as_me:$LINENO: result: no" >&5
5007 +echo "${ECHO_T}no" >&6; }
5011 test -n "$FLEX" && break
5012 done
5013 test -n "$FLEX" || FLEX="$MISSING flex"
5014 @@ -6626,8 +7121,8 @@
5016 # Extract the first word of "$ac_prog", so it can be a program name with args.
5017 set dummy $ac_prog; ac_word=$2
5018 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5019 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5020 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5021 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5022 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
5023 echo $ECHO_N "(cached) $ECHO_C" >&6
5024 else
5025 @@ -6640,25 +7135,27 @@
5026 IFS=$as_save_IFS
5027 test -z "$as_dir" && as_dir=.
5028 for ac_exec_ext in '' $ac_executable_extensions; do
5029 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5030 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5031 ac_cv_prog_MAKEINFO="$ac_prog"
5032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5033 break 2
5035 done
5036 done
5037 +IFS=$as_save_IFS
5041 MAKEINFO=$ac_cv_prog_MAKEINFO
5042 if test -n "$MAKEINFO"; then
5043 - echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5044 -echo "${ECHO_T}$MAKEINFO" >&6
5045 + { echo "$as_me:$LINENO: result: $MAKEINFO" >&5
5046 +echo "${ECHO_T}$MAKEINFO" >&6; }
5047 else
5048 - echo "$as_me:$LINENO: result: no" >&5
5049 -echo "${ECHO_T}no" >&6
5050 + { echo "$as_me:$LINENO: result: no" >&5
5051 +echo "${ECHO_T}no" >&6; }
5055 test -n "$MAKEINFO" && break
5056 done
5057 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
5058 @@ -6685,8 +7182,8 @@
5060 # Extract the first word of "$ac_prog", so it can be a program name with args.
5061 set dummy $ac_prog; ac_word=$2
5062 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5063 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5064 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5065 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5066 if test "${ac_cv_prog_EXPECT+set}" = set; then
5067 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 else
5069 @@ -6699,25 +7196,27 @@
5070 IFS=$as_save_IFS
5071 test -z "$as_dir" && as_dir=.
5072 for ac_exec_ext in '' $ac_executable_extensions; do
5073 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5074 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5075 ac_cv_prog_EXPECT="$ac_prog"
5076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5077 break 2
5079 done
5080 done
5081 +IFS=$as_save_IFS
5085 EXPECT=$ac_cv_prog_EXPECT
5086 if test -n "$EXPECT"; then
5087 - echo "$as_me:$LINENO: result: $EXPECT" >&5
5088 -echo "${ECHO_T}$EXPECT" >&6
5089 + { echo "$as_me:$LINENO: result: $EXPECT" >&5
5090 +echo "${ECHO_T}$EXPECT" >&6; }
5091 else
5092 - echo "$as_me:$LINENO: result: no" >&5
5093 -echo "${ECHO_T}no" >&6
5094 + { echo "$as_me:$LINENO: result: no" >&5
5095 +echo "${ECHO_T}no" >&6; }
5099 test -n "$EXPECT" && break
5100 done
5101 test -n "$EXPECT" || EXPECT="expect"
5102 @@ -6732,8 +7231,8 @@
5104 # Extract the first word of "$ac_prog", so it can be a program name with args.
5105 set dummy $ac_prog; ac_word=$2
5106 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5107 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5108 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5109 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5110 if test "${ac_cv_prog_RUNTEST+set}" = set; then
5111 echo $ECHO_N "(cached) $ECHO_C" >&6
5112 else
5113 @@ -6746,25 +7245,27 @@
5114 IFS=$as_save_IFS
5115 test -z "$as_dir" && as_dir=.
5116 for ac_exec_ext in '' $ac_executable_extensions; do
5117 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5118 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5119 ac_cv_prog_RUNTEST="$ac_prog"
5120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5121 break 2
5123 done
5124 done
5125 +IFS=$as_save_IFS
5129 RUNTEST=$ac_cv_prog_RUNTEST
5130 if test -n "$RUNTEST"; then
5131 - echo "$as_me:$LINENO: result: $RUNTEST" >&5
5132 -echo "${ECHO_T}$RUNTEST" >&6
5133 + { echo "$as_me:$LINENO: result: $RUNTEST" >&5
5134 +echo "${ECHO_T}$RUNTEST" >&6; }
5135 else
5136 - echo "$as_me:$LINENO: result: no" >&5
5137 -echo "${ECHO_T}no" >&6
5138 + { echo "$as_me:$LINENO: result: no" >&5
5139 +echo "${ECHO_T}no" >&6; }
5143 test -n "$RUNTEST" && break
5144 done
5145 test -n "$RUNTEST" || RUNTEST="runtest"
5146 @@ -6794,8 +7295,8 @@
5147 for ncn_progname in ar; do
5148 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5149 set dummy ${ncn_progname}; ac_word=$2
5150 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5151 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5152 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5153 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5154 if test "${ac_cv_prog_AR+set}" = set; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 else
5157 @@ -6808,25 +7309,27 @@
5158 IFS=$as_save_IFS
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5162 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5163 ac_cv_prog_AR="${ncn_progname}"
5164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 break 2
5167 done
5168 done
5169 +IFS=$as_save_IFS
5173 AR=$ac_cv_prog_AR
5174 if test -n "$AR"; then
5175 - echo "$as_me:$LINENO: result: $AR" >&5
5176 -echo "${ECHO_T}$AR" >&6
5177 + { echo "$as_me:$LINENO: result: $AR" >&5
5178 +echo "${ECHO_T}$AR" >&6; }
5179 else
5180 - echo "$as_me:$LINENO: result: no" >&5
5181 -echo "${ECHO_T}no" >&6
5182 + { echo "$as_me:$LINENO: result: no" >&5
5183 +echo "${ECHO_T}no" >&6; }
5187 done
5190 @@ -6834,8 +7337,8 @@
5191 if test -n "$ncn_tool_prefix"; then
5192 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5193 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5194 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5195 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5196 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5197 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5198 if test "${ac_cv_prog_AR+set}" = set; then
5199 echo $ECHO_N "(cached) $ECHO_C" >&6
5200 else
5201 @@ -6848,31 +7351,33 @@
5202 IFS=$as_save_IFS
5203 test -z "$as_dir" && as_dir=.
5204 for ac_exec_ext in '' $ac_executable_extensions; do
5205 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5206 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5207 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
5208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5209 break 2
5211 done
5212 done
5213 +IFS=$as_save_IFS
5217 AR=$ac_cv_prog_AR
5218 if test -n "$AR"; then
5219 - echo "$as_me:$LINENO: result: $AR" >&5
5220 -echo "${ECHO_T}$AR" >&6
5221 + { echo "$as_me:$LINENO: result: $AR" >&5
5222 +echo "${ECHO_T}$AR" >&6; }
5223 else
5224 - echo "$as_me:$LINENO: result: no" >&5
5225 -echo "${ECHO_T}no" >&6
5226 + { echo "$as_me:$LINENO: result: no" >&5
5227 +echo "${ECHO_T}no" >&6; }
5232 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
5233 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5234 set dummy ${ncn_progname}; ac_word=$2
5235 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5236 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5237 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5238 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5239 if test "${ac_cv_prog_AR+set}" = set; then
5240 echo $ECHO_N "(cached) $ECHO_C" >&6
5241 else
5242 @@ -6885,25 +7390,27 @@
5243 IFS=$as_save_IFS
5244 test -z "$as_dir" && as_dir=.
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5247 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5248 ac_cv_prog_AR="${ncn_progname}"
5249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5250 break 2
5252 done
5253 done
5254 +IFS=$as_save_IFS
5258 AR=$ac_cv_prog_AR
5259 if test -n "$AR"; then
5260 - echo "$as_me:$LINENO: result: $AR" >&5
5261 -echo "${ECHO_T}$AR" >&6
5262 + { echo "$as_me:$LINENO: result: $AR" >&5
5263 +echo "${ECHO_T}$AR" >&6; }
5264 else
5265 - echo "$as_me:$LINENO: result: no" >&5
5266 -echo "${ECHO_T}no" >&6
5267 + { echo "$as_me:$LINENO: result: no" >&5
5268 +echo "${ECHO_T}no" >&6; }
5273 test -n "$ac_cv_prog_AR" && break
5274 done
5275 @@ -6929,8 +7436,8 @@
5276 for ncn_progname in as; do
5277 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5278 set dummy ${ncn_progname}; ac_word=$2
5279 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5280 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5281 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5282 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5283 if test "${ac_cv_prog_AS+set}" = set; then
5284 echo $ECHO_N "(cached) $ECHO_C" >&6
5285 else
5286 @@ -6943,25 +7450,27 @@
5287 IFS=$as_save_IFS
5288 test -z "$as_dir" && as_dir=.
5289 for ac_exec_ext in '' $ac_executable_extensions; do
5290 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5291 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5292 ac_cv_prog_AS="${ncn_progname}"
5293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 break 2
5296 done
5297 done
5298 +IFS=$as_save_IFS
5302 AS=$ac_cv_prog_AS
5303 if test -n "$AS"; then
5304 - echo "$as_me:$LINENO: result: $AS" >&5
5305 -echo "${ECHO_T}$AS" >&6
5306 + { echo "$as_me:$LINENO: result: $AS" >&5
5307 +echo "${ECHO_T}$AS" >&6; }
5308 else
5309 - echo "$as_me:$LINENO: result: no" >&5
5310 -echo "${ECHO_T}no" >&6
5311 + { echo "$as_me:$LINENO: result: no" >&5
5312 +echo "${ECHO_T}no" >&6; }
5316 done
5319 @@ -6969,8 +7478,8 @@
5320 if test -n "$ncn_tool_prefix"; then
5321 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5322 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5323 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5324 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5325 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5326 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5327 if test "${ac_cv_prog_AS+set}" = set; then
5328 echo $ECHO_N "(cached) $ECHO_C" >&6
5329 else
5330 @@ -6983,31 +7492,33 @@
5331 IFS=$as_save_IFS
5332 test -z "$as_dir" && as_dir=.
5333 for ac_exec_ext in '' $ac_executable_extensions; do
5334 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5335 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5336 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
5337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 break 2
5340 done
5341 done
5342 +IFS=$as_save_IFS
5346 AS=$ac_cv_prog_AS
5347 if test -n "$AS"; then
5348 - echo "$as_me:$LINENO: result: $AS" >&5
5349 -echo "${ECHO_T}$AS" >&6
5350 + { echo "$as_me:$LINENO: result: $AS" >&5
5351 +echo "${ECHO_T}$AS" >&6; }
5352 else
5353 - echo "$as_me:$LINENO: result: no" >&5
5354 -echo "${ECHO_T}no" >&6
5355 + { echo "$as_me:$LINENO: result: no" >&5
5356 +echo "${ECHO_T}no" >&6; }
5361 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
5362 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5363 set dummy ${ncn_progname}; ac_word=$2
5364 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5365 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5366 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5367 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5368 if test "${ac_cv_prog_AS+set}" = set; then
5369 echo $ECHO_N "(cached) $ECHO_C" >&6
5370 else
5371 @@ -7020,25 +7531,27 @@
5372 IFS=$as_save_IFS
5373 test -z "$as_dir" && as_dir=.
5374 for ac_exec_ext in '' $ac_executable_extensions; do
5375 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5376 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5377 ac_cv_prog_AS="${ncn_progname}"
5378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 break 2
5381 done
5382 done
5383 +IFS=$as_save_IFS
5387 AS=$ac_cv_prog_AS
5388 if test -n "$AS"; then
5389 - echo "$as_me:$LINENO: result: $AS" >&5
5390 -echo "${ECHO_T}$AS" >&6
5391 + { echo "$as_me:$LINENO: result: $AS" >&5
5392 +echo "${ECHO_T}$AS" >&6; }
5393 else
5394 - echo "$as_me:$LINENO: result: no" >&5
5395 -echo "${ECHO_T}no" >&6
5396 + { echo "$as_me:$LINENO: result: no" >&5
5397 +echo "${ECHO_T}no" >&6; }
5402 test -n "$ac_cv_prog_AS" && break
5403 done
5404 @@ -7064,8 +7577,8 @@
5405 for ncn_progname in dlltool; do
5406 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5407 set dummy ${ncn_progname}; ac_word=$2
5408 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5409 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5410 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5411 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5412 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5413 echo $ECHO_N "(cached) $ECHO_C" >&6
5414 else
5415 @@ -7078,25 +7591,27 @@
5416 IFS=$as_save_IFS
5417 test -z "$as_dir" && as_dir=.
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5420 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5421 ac_cv_prog_DLLTOOL="${ncn_progname}"
5422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5423 break 2
5425 done
5426 done
5427 +IFS=$as_save_IFS
5431 DLLTOOL=$ac_cv_prog_DLLTOOL
5432 if test -n "$DLLTOOL"; then
5433 - echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5434 -echo "${ECHO_T}$DLLTOOL" >&6
5435 + { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5436 +echo "${ECHO_T}$DLLTOOL" >&6; }
5437 else
5438 - echo "$as_me:$LINENO: result: no" >&5
5439 -echo "${ECHO_T}no" >&6
5440 + { echo "$as_me:$LINENO: result: no" >&5
5441 +echo "${ECHO_T}no" >&6; }
5445 done
5448 @@ -7104,8 +7619,8 @@
5449 if test -n "$ncn_tool_prefix"; then
5450 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5451 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5452 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5453 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5454 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5455 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5456 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 else
5459 @@ -7118,31 +7633,33 @@
5460 IFS=$as_save_IFS
5461 test -z "$as_dir" && as_dir=.
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5464 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5465 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
5466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5467 break 2
5469 done
5470 done
5471 +IFS=$as_save_IFS
5475 DLLTOOL=$ac_cv_prog_DLLTOOL
5476 if test -n "$DLLTOOL"; then
5477 - echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5478 -echo "${ECHO_T}$DLLTOOL" >&6
5479 + { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5480 +echo "${ECHO_T}$DLLTOOL" >&6; }
5481 else
5482 - echo "$as_me:$LINENO: result: no" >&5
5483 -echo "${ECHO_T}no" >&6
5484 + { echo "$as_me:$LINENO: result: no" >&5
5485 +echo "${ECHO_T}no" >&6; }
5490 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
5491 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5492 set dummy ${ncn_progname}; ac_word=$2
5493 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5494 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5495 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5496 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5497 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5499 else
5500 @@ -7155,25 +7672,27 @@
5501 IFS=$as_save_IFS
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5505 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5506 ac_cv_prog_DLLTOOL="${ncn_progname}"
5507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5508 break 2
5510 done
5511 done
5512 +IFS=$as_save_IFS
5516 DLLTOOL=$ac_cv_prog_DLLTOOL
5517 if test -n "$DLLTOOL"; then
5518 - echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5519 -echo "${ECHO_T}$DLLTOOL" >&6
5520 + { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5521 +echo "${ECHO_T}$DLLTOOL" >&6; }
5522 else
5523 - echo "$as_me:$LINENO: result: no" >&5
5524 -echo "${ECHO_T}no" >&6
5525 + { echo "$as_me:$LINENO: result: no" >&5
5526 +echo "${ECHO_T}no" >&6; }
5531 test -n "$ac_cv_prog_DLLTOOL" && break
5532 done
5533 @@ -7199,8 +7718,8 @@
5534 for ncn_progname in ld; do
5535 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5536 set dummy ${ncn_progname}; ac_word=$2
5537 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5538 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5539 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5540 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5541 if test "${ac_cv_prog_LD+set}" = set; then
5542 echo $ECHO_N "(cached) $ECHO_C" >&6
5543 else
5544 @@ -7213,25 +7732,27 @@
5545 IFS=$as_save_IFS
5546 test -z "$as_dir" && as_dir=.
5547 for ac_exec_ext in '' $ac_executable_extensions; do
5548 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5549 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5550 ac_cv_prog_LD="${ncn_progname}"
5551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5552 break 2
5554 done
5555 done
5556 +IFS=$as_save_IFS
5560 LD=$ac_cv_prog_LD
5561 if test -n "$LD"; then
5562 - echo "$as_me:$LINENO: result: $LD" >&5
5563 -echo "${ECHO_T}$LD" >&6
5564 + { echo "$as_me:$LINENO: result: $LD" >&5
5565 +echo "${ECHO_T}$LD" >&6; }
5566 else
5567 - echo "$as_me:$LINENO: result: no" >&5
5568 -echo "${ECHO_T}no" >&6
5569 + { echo "$as_me:$LINENO: result: no" >&5
5570 +echo "${ECHO_T}no" >&6; }
5574 done
5577 @@ -7239,8 +7760,8 @@
5578 if test -n "$ncn_tool_prefix"; then
5579 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5580 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5581 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5582 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5583 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5584 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5585 if test "${ac_cv_prog_LD+set}" = set; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6
5587 else
5588 @@ -7253,31 +7774,33 @@
5589 IFS=$as_save_IFS
5590 test -z "$as_dir" && as_dir=.
5591 for ac_exec_ext in '' $ac_executable_extensions; do
5592 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5593 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5594 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
5595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5596 break 2
5598 done
5599 done
5600 +IFS=$as_save_IFS
5604 LD=$ac_cv_prog_LD
5605 if test -n "$LD"; then
5606 - echo "$as_me:$LINENO: result: $LD" >&5
5607 -echo "${ECHO_T}$LD" >&6
5608 + { echo "$as_me:$LINENO: result: $LD" >&5
5609 +echo "${ECHO_T}$LD" >&6; }
5610 else
5611 - echo "$as_me:$LINENO: result: no" >&5
5612 -echo "${ECHO_T}no" >&6
5613 + { echo "$as_me:$LINENO: result: no" >&5
5614 +echo "${ECHO_T}no" >&6; }
5619 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
5620 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5621 set dummy ${ncn_progname}; ac_word=$2
5622 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5623 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5624 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5625 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5626 if test "${ac_cv_prog_LD+set}" = set; then
5627 echo $ECHO_N "(cached) $ECHO_C" >&6
5628 else
5629 @@ -7290,25 +7813,27 @@
5630 IFS=$as_save_IFS
5631 test -z "$as_dir" && as_dir=.
5632 for ac_exec_ext in '' $ac_executable_extensions; do
5633 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5634 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5635 ac_cv_prog_LD="${ncn_progname}"
5636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5637 break 2
5639 done
5640 done
5641 +IFS=$as_save_IFS
5645 LD=$ac_cv_prog_LD
5646 if test -n "$LD"; then
5647 - echo "$as_me:$LINENO: result: $LD" >&5
5648 -echo "${ECHO_T}$LD" >&6
5649 + { echo "$as_me:$LINENO: result: $LD" >&5
5650 +echo "${ECHO_T}$LD" >&6; }
5651 else
5652 - echo "$as_me:$LINENO: result: no" >&5
5653 -echo "${ECHO_T}no" >&6
5654 + { echo "$as_me:$LINENO: result: no" >&5
5655 +echo "${ECHO_T}no" >&6; }
5660 test -n "$ac_cv_prog_LD" && break
5661 done
5662 @@ -7334,8 +7859,8 @@
5663 for ncn_progname in lipo; do
5664 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5665 set dummy ${ncn_progname}; ac_word=$2
5666 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5667 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5668 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5669 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5670 if test "${ac_cv_prog_LIPO+set}" = set; then
5671 echo $ECHO_N "(cached) $ECHO_C" >&6
5672 else
5673 @@ -7348,25 +7873,27 @@
5674 IFS=$as_save_IFS
5675 test -z "$as_dir" && as_dir=.
5676 for ac_exec_ext in '' $ac_executable_extensions; do
5677 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5678 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5679 ac_cv_prog_LIPO="${ncn_progname}"
5680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5681 break 2
5683 done
5684 done
5685 +IFS=$as_save_IFS
5689 LIPO=$ac_cv_prog_LIPO
5690 if test -n "$LIPO"; then
5691 - echo "$as_me:$LINENO: result: $LIPO" >&5
5692 -echo "${ECHO_T}$LIPO" >&6
5693 + { echo "$as_me:$LINENO: result: $LIPO" >&5
5694 +echo "${ECHO_T}$LIPO" >&6; }
5695 else
5696 - echo "$as_me:$LINENO: result: no" >&5
5697 -echo "${ECHO_T}no" >&6
5698 + { echo "$as_me:$LINENO: result: no" >&5
5699 +echo "${ECHO_T}no" >&6; }
5703 done
5706 @@ -7374,8 +7901,8 @@
5707 if test -n "$ncn_tool_prefix"; then
5708 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5709 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5710 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5711 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5712 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5713 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5714 if test "${ac_cv_prog_LIPO+set}" = set; then
5715 echo $ECHO_N "(cached) $ECHO_C" >&6
5716 else
5717 @@ -7388,31 +7915,33 @@
5718 IFS=$as_save_IFS
5719 test -z "$as_dir" && as_dir=.
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5722 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5723 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
5724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5725 break 2
5727 done
5728 done
5729 +IFS=$as_save_IFS
5733 LIPO=$ac_cv_prog_LIPO
5734 if test -n "$LIPO"; then
5735 - echo "$as_me:$LINENO: result: $LIPO" >&5
5736 -echo "${ECHO_T}$LIPO" >&6
5737 + { echo "$as_me:$LINENO: result: $LIPO" >&5
5738 +echo "${ECHO_T}$LIPO" >&6; }
5739 else
5740 - echo "$as_me:$LINENO: result: no" >&5
5741 -echo "${ECHO_T}no" >&6
5742 + { echo "$as_me:$LINENO: result: no" >&5
5743 +echo "${ECHO_T}no" >&6; }
5748 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
5749 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5750 set dummy ${ncn_progname}; ac_word=$2
5751 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5752 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5753 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5754 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5755 if test "${ac_cv_prog_LIPO+set}" = set; then
5756 echo $ECHO_N "(cached) $ECHO_C" >&6
5757 else
5758 @@ -7425,25 +7954,27 @@
5759 IFS=$as_save_IFS
5760 test -z "$as_dir" && as_dir=.
5761 for ac_exec_ext in '' $ac_executable_extensions; do
5762 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5763 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5764 ac_cv_prog_LIPO="${ncn_progname}"
5765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5766 break 2
5768 done
5769 done
5770 +IFS=$as_save_IFS
5774 LIPO=$ac_cv_prog_LIPO
5775 if test -n "$LIPO"; then
5776 - echo "$as_me:$LINENO: result: $LIPO" >&5
5777 -echo "${ECHO_T}$LIPO" >&6
5778 + { echo "$as_me:$LINENO: result: $LIPO" >&5
5779 +echo "${ECHO_T}$LIPO" >&6; }
5780 else
5781 - echo "$as_me:$LINENO: result: no" >&5
5782 -echo "${ECHO_T}no" >&6
5783 + { echo "$as_me:$LINENO: result: no" >&5
5784 +echo "${ECHO_T}no" >&6; }
5789 test -n "$ac_cv_prog_LIPO" && break
5790 done
5791 @@ -7469,8 +8000,8 @@
5792 for ncn_progname in nm; do
5793 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5794 set dummy ${ncn_progname}; ac_word=$2
5795 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5796 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5797 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5798 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5799 if test "${ac_cv_prog_NM+set}" = set; then
5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 else
5802 @@ -7483,25 +8014,27 @@
5803 IFS=$as_save_IFS
5804 test -z "$as_dir" && as_dir=.
5805 for ac_exec_ext in '' $ac_executable_extensions; do
5806 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5807 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5808 ac_cv_prog_NM="${ncn_progname}"
5809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5810 break 2
5812 done
5813 done
5814 +IFS=$as_save_IFS
5818 NM=$ac_cv_prog_NM
5819 if test -n "$NM"; then
5820 - echo "$as_me:$LINENO: result: $NM" >&5
5821 -echo "${ECHO_T}$NM" >&6
5822 + { echo "$as_me:$LINENO: result: $NM" >&5
5823 +echo "${ECHO_T}$NM" >&6; }
5824 else
5825 - echo "$as_me:$LINENO: result: no" >&5
5826 -echo "${ECHO_T}no" >&6
5827 + { echo "$as_me:$LINENO: result: no" >&5
5828 +echo "${ECHO_T}no" >&6; }
5832 done
5835 @@ -7509,8 +8042,8 @@
5836 if test -n "$ncn_tool_prefix"; then
5837 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5838 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5839 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5840 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5841 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5842 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5843 if test "${ac_cv_prog_NM+set}" = set; then
5844 echo $ECHO_N "(cached) $ECHO_C" >&6
5845 else
5846 @@ -7523,31 +8056,33 @@
5847 IFS=$as_save_IFS
5848 test -z "$as_dir" && as_dir=.
5849 for ac_exec_ext in '' $ac_executable_extensions; do
5850 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5851 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5852 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
5853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5854 break 2
5856 done
5857 done
5858 +IFS=$as_save_IFS
5862 NM=$ac_cv_prog_NM
5863 if test -n "$NM"; then
5864 - echo "$as_me:$LINENO: result: $NM" >&5
5865 -echo "${ECHO_T}$NM" >&6
5866 + { echo "$as_me:$LINENO: result: $NM" >&5
5867 +echo "${ECHO_T}$NM" >&6; }
5868 else
5869 - echo "$as_me:$LINENO: result: no" >&5
5870 -echo "${ECHO_T}no" >&6
5871 + { echo "$as_me:$LINENO: result: no" >&5
5872 +echo "${ECHO_T}no" >&6; }
5877 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
5878 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5879 set dummy ${ncn_progname}; ac_word=$2
5880 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5881 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5882 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5883 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5884 if test "${ac_cv_prog_NM+set}" = set; then
5885 echo $ECHO_N "(cached) $ECHO_C" >&6
5886 else
5887 @@ -7560,25 +8095,27 @@
5888 IFS=$as_save_IFS
5889 test -z "$as_dir" && as_dir=.
5890 for ac_exec_ext in '' $ac_executable_extensions; do
5891 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5892 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5893 ac_cv_prog_NM="${ncn_progname}"
5894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5895 break 2
5897 done
5898 done
5899 +IFS=$as_save_IFS
5903 NM=$ac_cv_prog_NM
5904 if test -n "$NM"; then
5905 - echo "$as_me:$LINENO: result: $NM" >&5
5906 -echo "${ECHO_T}$NM" >&6
5907 + { echo "$as_me:$LINENO: result: $NM" >&5
5908 +echo "${ECHO_T}$NM" >&6; }
5909 else
5910 - echo "$as_me:$LINENO: result: no" >&5
5911 -echo "${ECHO_T}no" >&6
5912 + { echo "$as_me:$LINENO: result: no" >&5
5913 +echo "${ECHO_T}no" >&6; }
5918 test -n "$ac_cv_prog_NM" && break
5919 done
5920 @@ -7604,8 +8141,8 @@
5921 for ncn_progname in ranlib; do
5922 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
5923 set dummy ${ncn_progname}; ac_word=$2
5924 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5925 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5926 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5927 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5928 if test "${ac_cv_prog_RANLIB+set}" = set; then
5929 echo $ECHO_N "(cached) $ECHO_C" >&6
5930 else
5931 @@ -7618,25 +8155,27 @@
5932 IFS=$as_save_IFS
5933 test -z "$as_dir" && as_dir=.
5934 for ac_exec_ext in '' $ac_executable_extensions; do
5935 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5936 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5937 ac_cv_prog_RANLIB="${ncn_progname}"
5938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5939 break 2
5941 done
5942 done
5943 +IFS=$as_save_IFS
5947 RANLIB=$ac_cv_prog_RANLIB
5948 if test -n "$RANLIB"; then
5949 - echo "$as_me:$LINENO: result: $RANLIB" >&5
5950 -echo "${ECHO_T}$RANLIB" >&6
5951 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
5952 +echo "${ECHO_T}$RANLIB" >&6; }
5953 else
5954 - echo "$as_me:$LINENO: result: no" >&5
5955 -echo "${ECHO_T}no" >&6
5956 + { echo "$as_me:$LINENO: result: no" >&5
5957 +echo "${ECHO_T}no" >&6; }
5961 done
5964 @@ -7644,8 +8183,8 @@
5965 if test -n "$ncn_tool_prefix"; then
5966 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
5967 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
5968 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5969 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5970 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5971 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5972 if test "${ac_cv_prog_RANLIB+set}" = set; then
5973 echo $ECHO_N "(cached) $ECHO_C" >&6
5974 else
5975 @@ -7658,31 +8197,33 @@
5976 IFS=$as_save_IFS
5977 test -z "$as_dir" && as_dir=.
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5980 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5981 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
5982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5983 break 2
5985 done
5986 done
5987 +IFS=$as_save_IFS
5991 RANLIB=$ac_cv_prog_RANLIB
5992 if test -n "$RANLIB"; then
5993 - echo "$as_me:$LINENO: result: $RANLIB" >&5
5994 -echo "${ECHO_T}$RANLIB" >&6
5995 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
5996 +echo "${ECHO_T}$RANLIB" >&6; }
5997 else
5998 - echo "$as_me:$LINENO: result: no" >&5
5999 -echo "${ECHO_T}no" >&6
6000 + { echo "$as_me:$LINENO: result: no" >&5
6001 +echo "${ECHO_T}no" >&6; }
6006 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
6007 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6008 set dummy ${ncn_progname}; ac_word=$2
6009 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6010 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6011 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6012 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6013 if test "${ac_cv_prog_RANLIB+set}" = set; then
6014 echo $ECHO_N "(cached) $ECHO_C" >&6
6015 else
6016 @@ -7695,25 +8236,27 @@
6017 IFS=$as_save_IFS
6018 test -z "$as_dir" && as_dir=.
6019 for ac_exec_ext in '' $ac_executable_extensions; do
6020 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6021 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6022 ac_cv_prog_RANLIB="${ncn_progname}"
6023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6024 break 2
6026 done
6027 done
6028 +IFS=$as_save_IFS
6032 RANLIB=$ac_cv_prog_RANLIB
6033 if test -n "$RANLIB"; then
6034 - echo "$as_me:$LINENO: result: $RANLIB" >&5
6035 -echo "${ECHO_T}$RANLIB" >&6
6036 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
6037 +echo "${ECHO_T}$RANLIB" >&6; }
6038 else
6039 - echo "$as_me:$LINENO: result: no" >&5
6040 -echo "${ECHO_T}no" >&6
6041 + { echo "$as_me:$LINENO: result: no" >&5
6042 +echo "${ECHO_T}no" >&6; }
6047 test -n "$ac_cv_prog_RANLIB" && break
6048 done
6049 @@ -7734,8 +8277,8 @@
6050 for ncn_progname in strip; do
6051 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6052 set dummy ${ncn_progname}; ac_word=$2
6053 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6054 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6055 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6056 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6057 if test "${ac_cv_prog_STRIP+set}" = set; then
6058 echo $ECHO_N "(cached) $ECHO_C" >&6
6059 else
6060 @@ -7748,25 +8291,27 @@
6061 IFS=$as_save_IFS
6062 test -z "$as_dir" && as_dir=.
6063 for ac_exec_ext in '' $ac_executable_extensions; do
6064 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6065 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6066 ac_cv_prog_STRIP="${ncn_progname}"
6067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6068 break 2
6070 done
6071 done
6072 +IFS=$as_save_IFS
6076 STRIP=$ac_cv_prog_STRIP
6077 if test -n "$STRIP"; then
6078 - echo "$as_me:$LINENO: result: $STRIP" >&5
6079 -echo "${ECHO_T}$STRIP" >&6
6080 + { echo "$as_me:$LINENO: result: $STRIP" >&5
6081 +echo "${ECHO_T}$STRIP" >&6; }
6082 else
6083 - echo "$as_me:$LINENO: result: no" >&5
6084 -echo "${ECHO_T}no" >&6
6085 + { echo "$as_me:$LINENO: result: no" >&5
6086 +echo "${ECHO_T}no" >&6; }
6090 done
6093 @@ -7774,8 +8319,8 @@
6094 if test -n "$ncn_tool_prefix"; then
6095 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6096 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6097 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6098 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6099 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6100 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6101 if test "${ac_cv_prog_STRIP+set}" = set; then
6102 echo $ECHO_N "(cached) $ECHO_C" >&6
6103 else
6104 @@ -7788,31 +8333,33 @@
6105 IFS=$as_save_IFS
6106 test -z "$as_dir" && as_dir=.
6107 for ac_exec_ext in '' $ac_executable_extensions; do
6108 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6109 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6110 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
6111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6112 break 2
6114 done
6115 done
6116 +IFS=$as_save_IFS
6120 STRIP=$ac_cv_prog_STRIP
6121 if test -n "$STRIP"; then
6122 - echo "$as_me:$LINENO: result: $STRIP" >&5
6123 -echo "${ECHO_T}$STRIP" >&6
6124 + { echo "$as_me:$LINENO: result: $STRIP" >&5
6125 +echo "${ECHO_T}$STRIP" >&6; }
6126 else
6127 - echo "$as_me:$LINENO: result: no" >&5
6128 -echo "${ECHO_T}no" >&6
6129 + { echo "$as_me:$LINENO: result: no" >&5
6130 +echo "${ECHO_T}no" >&6; }
6135 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
6136 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6137 set dummy ${ncn_progname}; ac_word=$2
6138 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6139 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6140 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6141 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6142 if test "${ac_cv_prog_STRIP+set}" = set; then
6143 echo $ECHO_N "(cached) $ECHO_C" >&6
6144 else
6145 @@ -7825,25 +8372,27 @@
6146 IFS=$as_save_IFS
6147 test -z "$as_dir" && as_dir=.
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6150 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6151 ac_cv_prog_STRIP="${ncn_progname}"
6152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6153 break 2
6155 done
6156 done
6157 +IFS=$as_save_IFS
6161 STRIP=$ac_cv_prog_STRIP
6162 if test -n "$STRIP"; then
6163 - echo "$as_me:$LINENO: result: $STRIP" >&5
6164 -echo "${ECHO_T}$STRIP" >&6
6165 + { echo "$as_me:$LINENO: result: $STRIP" >&5
6166 +echo "${ECHO_T}$STRIP" >&6; }
6167 else
6168 - echo "$as_me:$LINENO: result: no" >&5
6169 -echo "${ECHO_T}no" >&6
6170 + { echo "$as_me:$LINENO: result: no" >&5
6171 +echo "${ECHO_T}no" >&6; }
6176 test -n "$ac_cv_prog_STRIP" && break
6177 done
6178 @@ -7864,8 +8413,8 @@
6179 for ncn_progname in windres; do
6180 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6181 set dummy ${ncn_progname}; ac_word=$2
6182 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6183 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6184 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6185 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6186 if test "${ac_cv_prog_WINDRES+set}" = set; then
6187 echo $ECHO_N "(cached) $ECHO_C" >&6
6188 else
6189 @@ -7878,25 +8427,27 @@
6190 IFS=$as_save_IFS
6191 test -z "$as_dir" && as_dir=.
6192 for ac_exec_ext in '' $ac_executable_extensions; do
6193 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6194 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6195 ac_cv_prog_WINDRES="${ncn_progname}"
6196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6197 break 2
6199 done
6200 done
6201 +IFS=$as_save_IFS
6205 WINDRES=$ac_cv_prog_WINDRES
6206 if test -n "$WINDRES"; then
6207 - echo "$as_me:$LINENO: result: $WINDRES" >&5
6208 -echo "${ECHO_T}$WINDRES" >&6
6209 + { echo "$as_me:$LINENO: result: $WINDRES" >&5
6210 +echo "${ECHO_T}$WINDRES" >&6; }
6211 else
6212 - echo "$as_me:$LINENO: result: no" >&5
6213 -echo "${ECHO_T}no" >&6
6214 + { echo "$as_me:$LINENO: result: no" >&5
6215 +echo "${ECHO_T}no" >&6; }
6219 done
6222 @@ -7904,8 +8455,8 @@
6223 if test -n "$ncn_tool_prefix"; then
6224 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6225 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6226 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6227 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6228 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6229 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6230 if test "${ac_cv_prog_WINDRES+set}" = set; then
6231 echo $ECHO_N "(cached) $ECHO_C" >&6
6232 else
6233 @@ -7918,31 +8469,33 @@
6234 IFS=$as_save_IFS
6235 test -z "$as_dir" && as_dir=.
6236 for ac_exec_ext in '' $ac_executable_extensions; do
6237 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6238 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6239 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
6240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6241 break 2
6243 done
6244 done
6245 +IFS=$as_save_IFS
6249 WINDRES=$ac_cv_prog_WINDRES
6250 if test -n "$WINDRES"; then
6251 - echo "$as_me:$LINENO: result: $WINDRES" >&5
6252 -echo "${ECHO_T}$WINDRES" >&6
6253 + { echo "$as_me:$LINENO: result: $WINDRES" >&5
6254 +echo "${ECHO_T}$WINDRES" >&6; }
6255 else
6256 - echo "$as_me:$LINENO: result: no" >&5
6257 -echo "${ECHO_T}no" >&6
6258 + { echo "$as_me:$LINENO: result: no" >&5
6259 +echo "${ECHO_T}no" >&6; }
6264 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
6265 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6266 set dummy ${ncn_progname}; ac_word=$2
6267 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6268 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6269 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6270 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6271 if test "${ac_cv_prog_WINDRES+set}" = set; then
6272 echo $ECHO_N "(cached) $ECHO_C" >&6
6273 else
6274 @@ -7955,25 +8508,27 @@
6275 IFS=$as_save_IFS
6276 test -z "$as_dir" && as_dir=.
6277 for ac_exec_ext in '' $ac_executable_extensions; do
6278 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6279 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6280 ac_cv_prog_WINDRES="${ncn_progname}"
6281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6282 break 2
6284 done
6285 done
6286 +IFS=$as_save_IFS
6290 WINDRES=$ac_cv_prog_WINDRES
6291 if test -n "$WINDRES"; then
6292 - echo "$as_me:$LINENO: result: $WINDRES" >&5
6293 -echo "${ECHO_T}$WINDRES" >&6
6294 + { echo "$as_me:$LINENO: result: $WINDRES" >&5
6295 +echo "${ECHO_T}$WINDRES" >&6; }
6296 else
6297 - echo "$as_me:$LINENO: result: no" >&5
6298 -echo "${ECHO_T}no" >&6
6299 + { echo "$as_me:$LINENO: result: no" >&5
6300 +echo "${ECHO_T}no" >&6; }
6305 test -n "$ac_cv_prog_WINDRES" && break
6306 done
6307 @@ -7999,8 +8554,8 @@
6308 for ncn_progname in windmc; do
6309 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6310 set dummy ${ncn_progname}; ac_word=$2
6311 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6312 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6313 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6314 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6315 if test "${ac_cv_prog_WINDMC+set}" = set; then
6316 echo $ECHO_N "(cached) $ECHO_C" >&6
6317 else
6318 @@ -8013,25 +8568,27 @@
6319 IFS=$as_save_IFS
6320 test -z "$as_dir" && as_dir=.
6321 for ac_exec_ext in '' $ac_executable_extensions; do
6322 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6323 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6324 ac_cv_prog_WINDMC="${ncn_progname}"
6325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6326 break 2
6328 done
6329 done
6330 +IFS=$as_save_IFS
6334 WINDMC=$ac_cv_prog_WINDMC
6335 if test -n "$WINDMC"; then
6336 - echo "$as_me:$LINENO: result: $WINDMC" >&5
6337 -echo "${ECHO_T}$WINDMC" >&6
6338 + { echo "$as_me:$LINENO: result: $WINDMC" >&5
6339 +echo "${ECHO_T}$WINDMC" >&6; }
6340 else
6341 - echo "$as_me:$LINENO: result: no" >&5
6342 -echo "${ECHO_T}no" >&6
6343 + { echo "$as_me:$LINENO: result: no" >&5
6344 +echo "${ECHO_T}no" >&6; }
6348 done
6351 @@ -8039,8 +8596,8 @@
6352 if test -n "$ncn_tool_prefix"; then
6353 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6354 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6355 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6356 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6357 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6358 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6359 if test "${ac_cv_prog_WINDMC+set}" = set; then
6360 echo $ECHO_N "(cached) $ECHO_C" >&6
6361 else
6362 @@ -8053,31 +8610,33 @@
6363 IFS=$as_save_IFS
6364 test -z "$as_dir" && as_dir=.
6365 for ac_exec_ext in '' $ac_executable_extensions; do
6366 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6367 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6368 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
6369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6370 break 2
6372 done
6373 done
6374 +IFS=$as_save_IFS
6378 WINDMC=$ac_cv_prog_WINDMC
6379 if test -n "$WINDMC"; then
6380 - echo "$as_me:$LINENO: result: $WINDMC" >&5
6381 -echo "${ECHO_T}$WINDMC" >&6
6382 + { echo "$as_me:$LINENO: result: $WINDMC" >&5
6383 +echo "${ECHO_T}$WINDMC" >&6; }
6384 else
6385 - echo "$as_me:$LINENO: result: no" >&5
6386 -echo "${ECHO_T}no" >&6
6387 + { echo "$as_me:$LINENO: result: no" >&5
6388 +echo "${ECHO_T}no" >&6; }
6393 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
6394 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6395 set dummy ${ncn_progname}; ac_word=$2
6396 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6397 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6398 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6399 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6400 if test "${ac_cv_prog_WINDMC+set}" = set; then
6401 echo $ECHO_N "(cached) $ECHO_C" >&6
6402 else
6403 @@ -8090,25 +8649,27 @@
6404 IFS=$as_save_IFS
6405 test -z "$as_dir" && as_dir=.
6406 for ac_exec_ext in '' $ac_executable_extensions; do
6407 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6408 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6409 ac_cv_prog_WINDMC="${ncn_progname}"
6410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6411 break 2
6413 done
6414 done
6415 +IFS=$as_save_IFS
6419 WINDMC=$ac_cv_prog_WINDMC
6420 if test -n "$WINDMC"; then
6421 - echo "$as_me:$LINENO: result: $WINDMC" >&5
6422 -echo "${ECHO_T}$WINDMC" >&6
6423 + { echo "$as_me:$LINENO: result: $WINDMC" >&5
6424 +echo "${ECHO_T}$WINDMC" >&6; }
6425 else
6426 - echo "$as_me:$LINENO: result: no" >&5
6427 -echo "${ECHO_T}no" >&6
6428 + { echo "$as_me:$LINENO: result: no" >&5
6429 +echo "${ECHO_T}no" >&6; }
6434 test -n "$ac_cv_prog_WINDMC" && break
6435 done
6436 @@ -8134,8 +8695,8 @@
6437 for ncn_progname in objcopy; do
6438 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6439 set dummy ${ncn_progname}; ac_word=$2
6440 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6441 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6442 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6443 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6444 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
6445 echo $ECHO_N "(cached) $ECHO_C" >&6
6446 else
6447 @@ -8148,25 +8709,27 @@
6448 IFS=$as_save_IFS
6449 test -z "$as_dir" && as_dir=.
6450 for ac_exec_ext in '' $ac_executable_extensions; do
6451 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6452 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6453 ac_cv_prog_OBJCOPY="${ncn_progname}"
6454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6455 break 2
6457 done
6458 done
6459 +IFS=$as_save_IFS
6463 OBJCOPY=$ac_cv_prog_OBJCOPY
6464 if test -n "$OBJCOPY"; then
6465 - echo "$as_me:$LINENO: result: $OBJCOPY" >&5
6466 -echo "${ECHO_T}$OBJCOPY" >&6
6467 + { echo "$as_me:$LINENO: result: $OBJCOPY" >&5
6468 +echo "${ECHO_T}$OBJCOPY" >&6; }
6469 else
6470 - echo "$as_me:$LINENO: result: no" >&5
6471 -echo "${ECHO_T}no" >&6
6472 + { echo "$as_me:$LINENO: result: no" >&5
6473 +echo "${ECHO_T}no" >&6; }
6477 done
6480 @@ -8174,8 +8737,8 @@
6481 if test -n "$ncn_tool_prefix"; then
6482 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6483 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6484 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6485 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6486 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6487 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6488 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
6489 echo $ECHO_N "(cached) $ECHO_C" >&6
6490 else
6491 @@ -8188,31 +8751,33 @@
6492 IFS=$as_save_IFS
6493 test -z "$as_dir" && as_dir=.
6494 for ac_exec_ext in '' $ac_executable_extensions; do
6495 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6496 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6497 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
6498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6499 break 2
6501 done
6502 done
6503 +IFS=$as_save_IFS
6507 OBJCOPY=$ac_cv_prog_OBJCOPY
6508 if test -n "$OBJCOPY"; then
6509 - echo "$as_me:$LINENO: result: $OBJCOPY" >&5
6510 -echo "${ECHO_T}$OBJCOPY" >&6
6511 + { echo "$as_me:$LINENO: result: $OBJCOPY" >&5
6512 +echo "${ECHO_T}$OBJCOPY" >&6; }
6513 else
6514 - echo "$as_me:$LINENO: result: no" >&5
6515 -echo "${ECHO_T}no" >&6
6516 + { echo "$as_me:$LINENO: result: no" >&5
6517 +echo "${ECHO_T}no" >&6; }
6522 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
6523 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6524 set dummy ${ncn_progname}; ac_word=$2
6525 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6526 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6527 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6528 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6529 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
6530 echo $ECHO_N "(cached) $ECHO_C" >&6
6531 else
6532 @@ -8225,25 +8790,27 @@
6533 IFS=$as_save_IFS
6534 test -z "$as_dir" && as_dir=.
6535 for ac_exec_ext in '' $ac_executable_extensions; do
6536 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6537 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6538 ac_cv_prog_OBJCOPY="${ncn_progname}"
6539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6540 break 2
6542 done
6543 done
6544 +IFS=$as_save_IFS
6548 OBJCOPY=$ac_cv_prog_OBJCOPY
6549 if test -n "$OBJCOPY"; then
6550 - echo "$as_me:$LINENO: result: $OBJCOPY" >&5
6551 -echo "${ECHO_T}$OBJCOPY" >&6
6552 + { echo "$as_me:$LINENO: result: $OBJCOPY" >&5
6553 +echo "${ECHO_T}$OBJCOPY" >&6; }
6554 else
6555 - echo "$as_me:$LINENO: result: no" >&5
6556 -echo "${ECHO_T}no" >&6
6557 + { echo "$as_me:$LINENO: result: no" >&5
6558 +echo "${ECHO_T}no" >&6; }
6563 test -n "$ac_cv_prog_OBJCOPY" && break
6564 done
6565 @@ -8269,8 +8836,8 @@
6566 for ncn_progname in objdump; do
6567 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6568 set dummy ${ncn_progname}; ac_word=$2
6569 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6570 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6571 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6572 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6573 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6574 echo $ECHO_N "(cached) $ECHO_C" >&6
6575 else
6576 @@ -8283,25 +8850,27 @@
6577 IFS=$as_save_IFS
6578 test -z "$as_dir" && as_dir=.
6579 for ac_exec_ext in '' $ac_executable_extensions; do
6580 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6581 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6582 ac_cv_prog_OBJDUMP="${ncn_progname}"
6583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6584 break 2
6586 done
6587 done
6588 +IFS=$as_save_IFS
6592 OBJDUMP=$ac_cv_prog_OBJDUMP
6593 if test -n "$OBJDUMP"; then
6594 - echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6595 -echo "${ECHO_T}$OBJDUMP" >&6
6596 + { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6597 +echo "${ECHO_T}$OBJDUMP" >&6; }
6598 else
6599 - echo "$as_me:$LINENO: result: no" >&5
6600 -echo "${ECHO_T}no" >&6
6601 + { echo "$as_me:$LINENO: result: no" >&5
6602 +echo "${ECHO_T}no" >&6; }
6606 done
6609 @@ -8309,8 +8878,8 @@
6610 if test -n "$ncn_tool_prefix"; then
6611 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
6612 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
6613 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6614 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6615 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6616 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6617 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6618 echo $ECHO_N "(cached) $ECHO_C" >&6
6619 else
6620 @@ -8323,31 +8892,33 @@
6621 IFS=$as_save_IFS
6622 test -z "$as_dir" && as_dir=.
6623 for ac_exec_ext in '' $ac_executable_extensions; do
6624 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6625 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6626 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
6627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6628 break 2
6630 done
6631 done
6632 +IFS=$as_save_IFS
6636 OBJDUMP=$ac_cv_prog_OBJDUMP
6637 if test -n "$OBJDUMP"; then
6638 - echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6639 -echo "${ECHO_T}$OBJDUMP" >&6
6640 + { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6641 +echo "${ECHO_T}$OBJDUMP" >&6; }
6642 else
6643 - echo "$as_me:$LINENO: result: no" >&5
6644 -echo "${ECHO_T}no" >&6
6645 + { echo "$as_me:$LINENO: result: no" >&5
6646 +echo "${ECHO_T}no" >&6; }
6651 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
6652 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6653 set dummy ${ncn_progname}; ac_word=$2
6654 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6655 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6656 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6657 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6658 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6659 echo $ECHO_N "(cached) $ECHO_C" >&6
6660 else
6661 @@ -8360,25 +8931,27 @@
6662 IFS=$as_save_IFS
6663 test -z "$as_dir" && as_dir=.
6664 for ac_exec_ext in '' $ac_executable_extensions; do
6665 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6666 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6667 ac_cv_prog_OBJDUMP="${ncn_progname}"
6668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6669 break 2
6671 done
6672 done
6673 +IFS=$as_save_IFS
6677 OBJDUMP=$ac_cv_prog_OBJDUMP
6678 if test -n "$OBJDUMP"; then
6679 - echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6680 -echo "${ECHO_T}$OBJDUMP" >&6
6681 + { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6682 +echo "${ECHO_T}$OBJDUMP" >&6; }
6683 else
6684 - echo "$as_me:$LINENO: result: no" >&5
6685 -echo "${ECHO_T}no" >&6
6686 + { echo "$as_me:$LINENO: result: no" >&5
6687 +echo "${ECHO_T}no" >&6; }
6692 test -n "$ac_cv_prog_OBJDUMP" && break
6693 done
6694 @@ -8399,10 +8972,9 @@
6696 # Target tools.
6698 -# Check whether --with-build-time-tools or --without-build-time-tools was given.
6699 +# Check whether --with-build-time-tools was given.
6700 if test "${with_build_time_tools+set}" = set; then
6701 - withval="$with_build_time_tools"
6702 - case x"$withval" in
6703 + withval=$with_build_time_tools; case x"$withval" in
6704 x/*) ;;
6706 with_build_time_tools=
6707 @@ -8412,7 +8984,8 @@
6708 esac
6709 else
6710 with_build_time_tools=
6711 -fi;
6717 @@ -8426,8 +8999,8 @@
6718 for ncn_progname in cc gcc; do
6719 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6720 set dummy ${ncn_progname}; ac_word=$2
6721 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6722 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6723 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6724 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6725 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
6726 echo $ECHO_N "(cached) $ECHO_C" >&6
6727 else
6728 @@ -8440,40 +9013,42 @@
6729 IFS=$as_save_IFS
6730 test -z "$as_dir" && as_dir=.
6731 for ac_exec_ext in '' $ac_executable_extensions; do
6732 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6733 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6734 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
6735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6736 break 2
6738 done
6739 done
6740 +IFS=$as_save_IFS
6744 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
6745 if test -n "$CC_FOR_TARGET"; then
6746 - echo "$as_me:$LINENO: result: $CC_FOR_TARGET" >&5
6747 -echo "${ECHO_T}$CC_FOR_TARGET" >&6
6748 + { echo "$as_me:$LINENO: result: $CC_FOR_TARGET" >&5
6749 +echo "${ECHO_T}$CC_FOR_TARGET" >&6; }
6750 else
6751 - echo "$as_me:$LINENO: result: no" >&5
6752 -echo "${ECHO_T}no" >&6
6753 + { echo "$as_me:$LINENO: result: no" >&5
6754 +echo "${ECHO_T}no" >&6; }
6758 done
6761 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
6762 for ncn_progname in cc gcc; do
6763 - echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
6764 -echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
6765 + { echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
6766 +echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6; }
6767 if test -x $with_build_time_tools/${ncn_progname}; then
6768 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
6769 - echo "$as_me:$LINENO: result: yes" >&5
6770 -echo "${ECHO_T}yes" >&6
6771 + { echo "$as_me:$LINENO: result: yes" >&5
6772 +echo "${ECHO_T}yes" >&6; }
6773 break
6774 else
6775 - echo "$as_me:$LINENO: result: no" >&5
6776 -echo "${ECHO_T}no" >&6
6777 + { echo "$as_me:$LINENO: result: no" >&5
6778 +echo "${ECHO_T}no" >&6; }
6780 done
6782 @@ -8483,8 +9058,8 @@
6783 if test -n "$ncn_target_tool_prefix"; then
6784 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
6785 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
6786 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6787 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6788 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6789 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6790 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
6791 echo $ECHO_N "(cached) $ECHO_C" >&6
6792 else
6793 @@ -8497,31 +9072,33 @@
6794 IFS=$as_save_IFS
6795 test -z "$as_dir" && as_dir=.
6796 for ac_exec_ext in '' $ac_executable_extensions; do
6797 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6798 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6799 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
6800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6801 break 2
6803 done
6804 done
6805 +IFS=$as_save_IFS
6809 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
6810 if test -n "$CC_FOR_TARGET"; then
6811 - echo "$as_me:$LINENO: result: $CC_FOR_TARGET" >&5
6812 -echo "${ECHO_T}$CC_FOR_TARGET" >&6
6813 + { echo "$as_me:$LINENO: result: $CC_FOR_TARGET" >&5
6814 +echo "${ECHO_T}$CC_FOR_TARGET" >&6; }
6815 else
6816 - echo "$as_me:$LINENO: result: no" >&5
6817 -echo "${ECHO_T}no" >&6
6818 + { echo "$as_me:$LINENO: result: no" >&5
6819 +echo "${ECHO_T}no" >&6; }
6824 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
6825 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6826 set dummy ${ncn_progname}; ac_word=$2
6827 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6828 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6829 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6830 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6831 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then
6832 echo $ECHO_N "(cached) $ECHO_C" >&6
6833 else
6834 @@ -8534,25 +9111,27 @@
6835 IFS=$as_save_IFS
6836 test -z "$as_dir" && as_dir=.
6837 for ac_exec_ext in '' $ac_executable_extensions; do
6838 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6839 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6840 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
6841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6842 break 2
6844 done
6845 done
6846 +IFS=$as_save_IFS
6850 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
6851 if test -n "$CC_FOR_TARGET"; then
6852 - echo "$as_me:$LINENO: result: $CC_FOR_TARGET" >&5
6853 -echo "${ECHO_T}$CC_FOR_TARGET" >&6
6854 + { echo "$as_me:$LINENO: result: $CC_FOR_TARGET" >&5
6855 +echo "${ECHO_T}$CC_FOR_TARGET" >&6; }
6856 else
6857 - echo "$as_me:$LINENO: result: no" >&5
6858 -echo "${ECHO_T}no" >&6
6859 + { echo "$as_me:$LINENO: result: no" >&5
6860 +echo "${ECHO_T}no" >&6; }
6865 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
6866 done
6867 @@ -8581,8 +9160,8 @@
6868 for ncn_progname in c++ g++ cxx gxx; do
6869 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6870 set dummy ${ncn_progname}; ac_word=$2
6871 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6872 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6873 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6874 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6875 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
6876 echo $ECHO_N "(cached) $ECHO_C" >&6
6877 else
6878 @@ -8595,40 +9174,42 @@
6879 IFS=$as_save_IFS
6880 test -z "$as_dir" && as_dir=.
6881 for ac_exec_ext in '' $ac_executable_extensions; do
6882 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6883 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6884 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
6885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6886 break 2
6888 done
6889 done
6890 +IFS=$as_save_IFS
6894 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
6895 if test -n "$CXX_FOR_TARGET"; then
6896 - echo "$as_me:$LINENO: result: $CXX_FOR_TARGET" >&5
6897 -echo "${ECHO_T}$CXX_FOR_TARGET" >&6
6898 + { echo "$as_me:$LINENO: result: $CXX_FOR_TARGET" >&5
6899 +echo "${ECHO_T}$CXX_FOR_TARGET" >&6; }
6900 else
6901 - echo "$as_me:$LINENO: result: no" >&5
6902 -echo "${ECHO_T}no" >&6
6903 + { echo "$as_me:$LINENO: result: no" >&5
6904 +echo "${ECHO_T}no" >&6; }
6908 done
6911 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
6912 for ncn_progname in c++ g++ cxx gxx; do
6913 - echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
6914 -echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
6915 + { echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
6916 +echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6; }
6917 if test -x $with_build_time_tools/${ncn_progname}; then
6918 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
6919 - echo "$as_me:$LINENO: result: yes" >&5
6920 -echo "${ECHO_T}yes" >&6
6921 + { echo "$as_me:$LINENO: result: yes" >&5
6922 +echo "${ECHO_T}yes" >&6; }
6923 break
6924 else
6925 - echo "$as_me:$LINENO: result: no" >&5
6926 -echo "${ECHO_T}no" >&6
6927 + { echo "$as_me:$LINENO: result: no" >&5
6928 +echo "${ECHO_T}no" >&6; }
6930 done
6932 @@ -8638,8 +9219,8 @@
6933 if test -n "$ncn_target_tool_prefix"; then
6934 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
6935 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
6936 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6937 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6938 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6939 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6940 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
6941 echo $ECHO_N "(cached) $ECHO_C" >&6
6942 else
6943 @@ -8652,31 +9233,33 @@
6944 IFS=$as_save_IFS
6945 test -z "$as_dir" && as_dir=.
6946 for ac_exec_ext in '' $ac_executable_extensions; do
6947 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6948 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6949 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
6950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6951 break 2
6953 done
6954 done
6955 +IFS=$as_save_IFS
6959 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
6960 if test -n "$CXX_FOR_TARGET"; then
6961 - echo "$as_me:$LINENO: result: $CXX_FOR_TARGET" >&5
6962 -echo "${ECHO_T}$CXX_FOR_TARGET" >&6
6963 + { echo "$as_me:$LINENO: result: $CXX_FOR_TARGET" >&5
6964 +echo "${ECHO_T}$CXX_FOR_TARGET" >&6; }
6965 else
6966 - echo "$as_me:$LINENO: result: no" >&5
6967 -echo "${ECHO_T}no" >&6
6968 + { echo "$as_me:$LINENO: result: no" >&5
6969 +echo "${ECHO_T}no" >&6; }
6974 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
6975 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
6976 set dummy ${ncn_progname}; ac_word=$2
6977 -echo "$as_me:$LINENO: checking for $ac_word" >&5
6978 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6979 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6980 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6981 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then
6982 echo $ECHO_N "(cached) $ECHO_C" >&6
6983 else
6984 @@ -8689,25 +9272,27 @@
6985 IFS=$as_save_IFS
6986 test -z "$as_dir" && as_dir=.
6987 for ac_exec_ext in '' $ac_executable_extensions; do
6988 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6989 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6990 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
6991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6992 break 2
6994 done
6995 done
6996 +IFS=$as_save_IFS
7000 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
7001 if test -n "$CXX_FOR_TARGET"; then
7002 - echo "$as_me:$LINENO: result: $CXX_FOR_TARGET" >&5
7003 -echo "${ECHO_T}$CXX_FOR_TARGET" >&6
7004 + { echo "$as_me:$LINENO: result: $CXX_FOR_TARGET" >&5
7005 +echo "${ECHO_T}$CXX_FOR_TARGET" >&6; }
7006 else
7007 - echo "$as_me:$LINENO: result: no" >&5
7008 -echo "${ECHO_T}no" >&6
7009 + { echo "$as_me:$LINENO: result: no" >&5
7010 +echo "${ECHO_T}no" >&6; }
7015 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
7016 done
7017 @@ -8736,8 +9321,8 @@
7018 for ncn_progname in gcc; do
7019 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7020 set dummy ${ncn_progname}; ac_word=$2
7021 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7022 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7023 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7024 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7025 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
7026 echo $ECHO_N "(cached) $ECHO_C" >&6
7027 else
7028 @@ -8750,40 +9335,42 @@
7029 IFS=$as_save_IFS
7030 test -z "$as_dir" && as_dir=.
7031 for ac_exec_ext in '' $ac_executable_extensions; do
7032 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7033 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7034 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
7035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7036 break 2
7038 done
7039 done
7040 +IFS=$as_save_IFS
7044 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
7045 if test -n "$GCC_FOR_TARGET"; then
7046 - echo "$as_me:$LINENO: result: $GCC_FOR_TARGET" >&5
7047 -echo "${ECHO_T}$GCC_FOR_TARGET" >&6
7048 + { echo "$as_me:$LINENO: result: $GCC_FOR_TARGET" >&5
7049 +echo "${ECHO_T}$GCC_FOR_TARGET" >&6; }
7050 else
7051 - echo "$as_me:$LINENO: result: no" >&5
7052 -echo "${ECHO_T}no" >&6
7053 + { echo "$as_me:$LINENO: result: no" >&5
7054 +echo "${ECHO_T}no" >&6; }
7058 done
7061 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
7062 for ncn_progname in gcc; do
7063 - echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7064 -echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
7065 + { echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7066 +echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6; }
7067 if test -x $with_build_time_tools/${ncn_progname}; then
7068 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
7069 - echo "$as_me:$LINENO: result: yes" >&5
7070 -echo "${ECHO_T}yes" >&6
7071 + { echo "$as_me:$LINENO: result: yes" >&5
7072 +echo "${ECHO_T}yes" >&6; }
7073 break
7074 else
7075 - echo "$as_me:$LINENO: result: no" >&5
7076 -echo "${ECHO_T}no" >&6
7077 + { echo "$as_me:$LINENO: result: no" >&5
7078 +echo "${ECHO_T}no" >&6; }
7080 done
7082 @@ -8793,8 +9380,8 @@
7083 if test -n "$ncn_target_tool_prefix"; then
7084 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7085 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
7086 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7087 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7088 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7089 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7090 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
7091 echo $ECHO_N "(cached) $ECHO_C" >&6
7092 else
7093 @@ -8807,31 +9394,33 @@
7094 IFS=$as_save_IFS
7095 test -z "$as_dir" && as_dir=.
7096 for ac_exec_ext in '' $ac_executable_extensions; do
7097 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7098 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7099 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
7100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7101 break 2
7103 done
7104 done
7105 +IFS=$as_save_IFS
7109 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
7110 if test -n "$GCC_FOR_TARGET"; then
7111 - echo "$as_me:$LINENO: result: $GCC_FOR_TARGET" >&5
7112 -echo "${ECHO_T}$GCC_FOR_TARGET" >&6
7113 + { echo "$as_me:$LINENO: result: $GCC_FOR_TARGET" >&5
7114 +echo "${ECHO_T}$GCC_FOR_TARGET" >&6; }
7115 else
7116 - echo "$as_me:$LINENO: result: no" >&5
7117 -echo "${ECHO_T}no" >&6
7118 + { echo "$as_me:$LINENO: result: no" >&5
7119 +echo "${ECHO_T}no" >&6; }
7124 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
7125 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7126 set dummy ${ncn_progname}; ac_word=$2
7127 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7128 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7129 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7130 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7131 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then
7132 echo $ECHO_N "(cached) $ECHO_C" >&6
7133 else
7134 @@ -8844,25 +9433,27 @@
7135 IFS=$as_save_IFS
7136 test -z "$as_dir" && as_dir=.
7137 for ac_exec_ext in '' $ac_executable_extensions; do
7138 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7139 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7140 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
7141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7142 break 2
7144 done
7145 done
7146 +IFS=$as_save_IFS
7150 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
7151 if test -n "$GCC_FOR_TARGET"; then
7152 - echo "$as_me:$LINENO: result: $GCC_FOR_TARGET" >&5
7153 -echo "${ECHO_T}$GCC_FOR_TARGET" >&6
7154 + { echo "$as_me:$LINENO: result: $GCC_FOR_TARGET" >&5
7155 +echo "${ECHO_T}$GCC_FOR_TARGET" >&6; }
7156 else
7157 - echo "$as_me:$LINENO: result: no" >&5
7158 -echo "${ECHO_T}no" >&6
7159 + { echo "$as_me:$LINENO: result: no" >&5
7160 +echo "${ECHO_T}no" >&6; }
7165 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
7166 done
7167 @@ -8886,8 +9477,8 @@
7168 for ncn_progname in gcj; do
7169 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7170 set dummy ${ncn_progname}; ac_word=$2
7171 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7172 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7173 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7174 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7175 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
7176 echo $ECHO_N "(cached) $ECHO_C" >&6
7177 else
7178 @@ -8900,40 +9491,42 @@
7179 IFS=$as_save_IFS
7180 test -z "$as_dir" && as_dir=.
7181 for ac_exec_ext in '' $ac_executable_extensions; do
7182 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7183 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7184 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
7185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7186 break 2
7188 done
7189 done
7190 +IFS=$as_save_IFS
7194 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
7195 if test -n "$GCJ_FOR_TARGET"; then
7196 - echo "$as_me:$LINENO: result: $GCJ_FOR_TARGET" >&5
7197 -echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
7198 + { echo "$as_me:$LINENO: result: $GCJ_FOR_TARGET" >&5
7199 +echo "${ECHO_T}$GCJ_FOR_TARGET" >&6; }
7200 else
7201 - echo "$as_me:$LINENO: result: no" >&5
7202 -echo "${ECHO_T}no" >&6
7203 + { echo "$as_me:$LINENO: result: no" >&5
7204 +echo "${ECHO_T}no" >&6; }
7208 done
7211 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
7212 for ncn_progname in gcj; do
7213 - echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7214 -echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
7215 + { echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7216 +echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6; }
7217 if test -x $with_build_time_tools/${ncn_progname}; then
7218 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
7219 - echo "$as_me:$LINENO: result: yes" >&5
7220 -echo "${ECHO_T}yes" >&6
7221 + { echo "$as_me:$LINENO: result: yes" >&5
7222 +echo "${ECHO_T}yes" >&6; }
7223 break
7224 else
7225 - echo "$as_me:$LINENO: result: no" >&5
7226 -echo "${ECHO_T}no" >&6
7227 + { echo "$as_me:$LINENO: result: no" >&5
7228 +echo "${ECHO_T}no" >&6; }
7230 done
7232 @@ -8943,8 +9536,8 @@
7233 if test -n "$ncn_target_tool_prefix"; then
7234 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7235 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
7236 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7237 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7238 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7239 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7240 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
7241 echo $ECHO_N "(cached) $ECHO_C" >&6
7242 else
7243 @@ -8957,31 +9550,33 @@
7244 IFS=$as_save_IFS
7245 test -z "$as_dir" && as_dir=.
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7248 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7249 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
7250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7251 break 2
7253 done
7254 done
7255 +IFS=$as_save_IFS
7259 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
7260 if test -n "$GCJ_FOR_TARGET"; then
7261 - echo "$as_me:$LINENO: result: $GCJ_FOR_TARGET" >&5
7262 -echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
7263 + { echo "$as_me:$LINENO: result: $GCJ_FOR_TARGET" >&5
7264 +echo "${ECHO_T}$GCJ_FOR_TARGET" >&6; }
7265 else
7266 - echo "$as_me:$LINENO: result: no" >&5
7267 -echo "${ECHO_T}no" >&6
7268 + { echo "$as_me:$LINENO: result: no" >&5
7269 +echo "${ECHO_T}no" >&6; }
7274 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
7275 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7276 set dummy ${ncn_progname}; ac_word=$2
7277 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7278 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7279 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7280 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7281 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then
7282 echo $ECHO_N "(cached) $ECHO_C" >&6
7283 else
7284 @@ -8994,25 +9589,27 @@
7285 IFS=$as_save_IFS
7286 test -z "$as_dir" && as_dir=.
7287 for ac_exec_ext in '' $ac_executable_extensions; do
7288 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7289 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7290 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
7291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7292 break 2
7294 done
7295 done
7296 +IFS=$as_save_IFS
7300 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
7301 if test -n "$GCJ_FOR_TARGET"; then
7302 - echo "$as_me:$LINENO: result: $GCJ_FOR_TARGET" >&5
7303 -echo "${ECHO_T}$GCJ_FOR_TARGET" >&6
7304 + { echo "$as_me:$LINENO: result: $GCJ_FOR_TARGET" >&5
7305 +echo "${ECHO_T}$GCJ_FOR_TARGET" >&6; }
7306 else
7307 - echo "$as_me:$LINENO: result: no" >&5
7308 -echo "${ECHO_T}no" >&6
7309 + { echo "$as_me:$LINENO: result: no" >&5
7310 +echo "${ECHO_T}no" >&6; }
7315 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
7316 done
7317 @@ -9041,8 +9638,8 @@
7318 for ncn_progname in gfortran; do
7319 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7320 set dummy ${ncn_progname}; ac_word=$2
7321 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7322 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7323 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7324 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7325 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
7326 echo $ECHO_N "(cached) $ECHO_C" >&6
7327 else
7328 @@ -9055,40 +9652,42 @@
7329 IFS=$as_save_IFS
7330 test -z "$as_dir" && as_dir=.
7331 for ac_exec_ext in '' $ac_executable_extensions; do
7332 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7333 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7334 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
7335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 break 2
7338 done
7339 done
7340 +IFS=$as_save_IFS
7344 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
7345 if test -n "$GFORTRAN_FOR_TARGET"; then
7346 - echo "$as_me:$LINENO: result: $GFORTRAN_FOR_TARGET" >&5
7347 -echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
7348 + { echo "$as_me:$LINENO: result: $GFORTRAN_FOR_TARGET" >&5
7349 +echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6; }
7350 else
7351 - echo "$as_me:$LINENO: result: no" >&5
7352 -echo "${ECHO_T}no" >&6
7353 + { echo "$as_me:$LINENO: result: no" >&5
7354 +echo "${ECHO_T}no" >&6; }
7358 done
7361 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
7362 for ncn_progname in gfortran; do
7363 - echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7364 -echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
7365 + { echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7366 +echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6; }
7367 if test -x $with_build_time_tools/${ncn_progname}; then
7368 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
7369 - echo "$as_me:$LINENO: result: yes" >&5
7370 -echo "${ECHO_T}yes" >&6
7371 + { echo "$as_me:$LINENO: result: yes" >&5
7372 +echo "${ECHO_T}yes" >&6; }
7373 break
7374 else
7375 - echo "$as_me:$LINENO: result: no" >&5
7376 -echo "${ECHO_T}no" >&6
7377 + { echo "$as_me:$LINENO: result: no" >&5
7378 +echo "${ECHO_T}no" >&6; }
7380 done
7382 @@ -9098,8 +9697,8 @@
7383 if test -n "$ncn_target_tool_prefix"; then
7384 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7385 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
7386 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7387 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7388 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7389 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7390 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
7391 echo $ECHO_N "(cached) $ECHO_C" >&6
7392 else
7393 @@ -9112,31 +9711,33 @@
7394 IFS=$as_save_IFS
7395 test -z "$as_dir" && as_dir=.
7396 for ac_exec_ext in '' $ac_executable_extensions; do
7397 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7398 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7399 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
7400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7401 break 2
7403 done
7404 done
7405 +IFS=$as_save_IFS
7409 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
7410 if test -n "$GFORTRAN_FOR_TARGET"; then
7411 - echo "$as_me:$LINENO: result: $GFORTRAN_FOR_TARGET" >&5
7412 -echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
7413 + { echo "$as_me:$LINENO: result: $GFORTRAN_FOR_TARGET" >&5
7414 +echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6; }
7415 else
7416 - echo "$as_me:$LINENO: result: no" >&5
7417 -echo "${ECHO_T}no" >&6
7418 + { echo "$as_me:$LINENO: result: no" >&5
7419 +echo "${ECHO_T}no" >&6; }
7424 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
7425 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7426 set dummy ${ncn_progname}; ac_word=$2
7427 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7428 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7429 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7430 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7431 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then
7432 echo $ECHO_N "(cached) $ECHO_C" >&6
7433 else
7434 @@ -9149,25 +9750,27 @@
7435 IFS=$as_save_IFS
7436 test -z "$as_dir" && as_dir=.
7437 for ac_exec_ext in '' $ac_executable_extensions; do
7438 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7439 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7440 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
7441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7442 break 2
7444 done
7445 done
7446 +IFS=$as_save_IFS
7450 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
7451 if test -n "$GFORTRAN_FOR_TARGET"; then
7452 - echo "$as_me:$LINENO: result: $GFORTRAN_FOR_TARGET" >&5
7453 -echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6
7454 + { echo "$as_me:$LINENO: result: $GFORTRAN_FOR_TARGET" >&5
7455 +echo "${ECHO_T}$GFORTRAN_FOR_TARGET" >&6; }
7456 else
7457 - echo "$as_me:$LINENO: result: no" >&5
7458 -echo "${ECHO_T}no" >&6
7459 + { echo "$as_me:$LINENO: result: no" >&5
7460 +echo "${ECHO_T}no" >&6; }
7465 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
7466 done
7467 @@ -9204,16 +9807,16 @@
7469 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
7470 if test -n "$with_build_time_tools"; then
7471 - echo "$as_me:$LINENO: checking for ar in $with_build_time_tools" >&5
7472 -echo $ECHO_N "checking for ar in $with_build_time_tools... $ECHO_C" >&6
7473 + { echo "$as_me:$LINENO: checking for ar in $with_build_time_tools" >&5
7474 +echo $ECHO_N "checking for ar in $with_build_time_tools... $ECHO_C" >&6; }
7475 if test -x $with_build_time_tools/ar; then
7476 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
7477 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
7478 - echo "$as_me:$LINENO: result: $ac_cv_path_AR_FOR_TARGET" >&5
7479 -echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6
7480 + { echo "$as_me:$LINENO: result: $ac_cv_path_AR_FOR_TARGET" >&5
7481 +echo "${ECHO_T}$ac_cv_path_AR_FOR_TARGET" >&6; }
7482 else
7483 - echo "$as_me:$LINENO: result: no" >&5
7484 -echo "${ECHO_T}no" >&6
7485 + { echo "$as_me:$LINENO: result: no" >&5
7486 +echo "${ECHO_T}no" >&6; }
7488 elif test $build != $host && test $have_gcc_for_target = yes; then
7489 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
7490 @@ -9224,8 +9827,8 @@
7491 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
7492 # Extract the first word of "ar", so it can be a program name with args.
7493 set dummy ar; ac_word=$2
7494 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7495 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7496 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7497 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7498 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then
7499 echo $ECHO_N "(cached) $ECHO_C" >&6
7500 else
7501 @@ -9240,27 +9843,28 @@
7502 IFS=$as_save_IFS
7503 test -z "$as_dir" && as_dir=.
7504 for ac_exec_ext in '' $ac_executable_extensions; do
7505 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7506 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7507 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
7508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7509 break 2
7511 done
7512 done
7513 +IFS=$as_save_IFS
7516 esac
7518 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
7520 if test -n "$AR_FOR_TARGET"; then
7521 - echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
7522 -echo "${ECHO_T}$AR_FOR_TARGET" >&6
7523 + { echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
7524 +echo "${ECHO_T}$AR_FOR_TARGET" >&6; }
7525 else
7526 - echo "$as_me:$LINENO: result: no" >&5
7527 -echo "${ECHO_T}no" >&6
7528 + { echo "$as_me:$LINENO: result: no" >&5
7529 +echo "${ECHO_T}no" >&6; }
7534 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
7536 @@ -9275,8 +9879,8 @@
7537 for ncn_progname in ar; do
7538 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7539 set dummy ${ncn_progname}; ac_word=$2
7540 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7541 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7542 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7543 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7544 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
7545 echo $ECHO_N "(cached) $ECHO_C" >&6
7546 else
7547 @@ -9289,40 +9893,42 @@
7548 IFS=$as_save_IFS
7549 test -z "$as_dir" && as_dir=.
7550 for ac_exec_ext in '' $ac_executable_extensions; do
7551 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7552 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7553 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
7554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7555 break 2
7557 done
7558 done
7559 +IFS=$as_save_IFS
7563 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
7564 if test -n "$AR_FOR_TARGET"; then
7565 - echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
7566 -echo "${ECHO_T}$AR_FOR_TARGET" >&6
7567 + { echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
7568 +echo "${ECHO_T}$AR_FOR_TARGET" >&6; }
7569 else
7570 - echo "$as_me:$LINENO: result: no" >&5
7571 -echo "${ECHO_T}no" >&6
7572 + { echo "$as_me:$LINENO: result: no" >&5
7573 +echo "${ECHO_T}no" >&6; }
7577 done
7580 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
7581 for ncn_progname in ar; do
7582 - echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7583 -echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
7584 + { echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7585 +echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6; }
7586 if test -x $with_build_time_tools/${ncn_progname}; then
7587 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
7588 - echo "$as_me:$LINENO: result: yes" >&5
7589 -echo "${ECHO_T}yes" >&6
7590 + { echo "$as_me:$LINENO: result: yes" >&5
7591 +echo "${ECHO_T}yes" >&6; }
7592 break
7593 else
7594 - echo "$as_me:$LINENO: result: no" >&5
7595 -echo "${ECHO_T}no" >&6
7596 + { echo "$as_me:$LINENO: result: no" >&5
7597 +echo "${ECHO_T}no" >&6; }
7599 done
7601 @@ -9332,8 +9938,8 @@
7602 if test -n "$ncn_target_tool_prefix"; then
7603 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7604 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
7605 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7606 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7607 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7608 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7609 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
7610 echo $ECHO_N "(cached) $ECHO_C" >&6
7611 else
7612 @@ -9346,31 +9952,33 @@
7613 IFS=$as_save_IFS
7614 test -z "$as_dir" && as_dir=.
7615 for ac_exec_ext in '' $ac_executable_extensions; do
7616 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7617 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7618 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
7619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7620 break 2
7622 done
7623 done
7624 +IFS=$as_save_IFS
7628 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
7629 if test -n "$AR_FOR_TARGET"; then
7630 - echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
7631 -echo "${ECHO_T}$AR_FOR_TARGET" >&6
7632 + { echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
7633 +echo "${ECHO_T}$AR_FOR_TARGET" >&6; }
7634 else
7635 - echo "$as_me:$LINENO: result: no" >&5
7636 -echo "${ECHO_T}no" >&6
7637 + { echo "$as_me:$LINENO: result: no" >&5
7638 +echo "${ECHO_T}no" >&6; }
7643 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
7644 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7645 set dummy ${ncn_progname}; ac_word=$2
7646 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7647 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7648 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7649 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7650 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then
7651 echo $ECHO_N "(cached) $ECHO_C" >&6
7652 else
7653 @@ -9383,25 +9991,27 @@
7654 IFS=$as_save_IFS
7655 test -z "$as_dir" && as_dir=.
7656 for ac_exec_ext in '' $ac_executable_extensions; do
7657 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7658 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7659 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
7660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7661 break 2
7663 done
7664 done
7665 +IFS=$as_save_IFS
7669 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
7670 if test -n "$AR_FOR_TARGET"; then
7671 - echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
7672 -echo "${ECHO_T}$AR_FOR_TARGET" >&6
7673 + { echo "$as_me:$LINENO: result: $AR_FOR_TARGET" >&5
7674 +echo "${ECHO_T}$AR_FOR_TARGET" >&6; }
7675 else
7676 - echo "$as_me:$LINENO: result: no" >&5
7677 -echo "${ECHO_T}no" >&6
7678 + { echo "$as_me:$LINENO: result: no" >&5
7679 +echo "${ECHO_T}no" >&6; }
7684 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
7685 done
7686 @@ -9427,16 +10037,16 @@
7688 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
7689 if test -n "$with_build_time_tools"; then
7690 - echo "$as_me:$LINENO: checking for as in $with_build_time_tools" >&5
7691 -echo $ECHO_N "checking for as in $with_build_time_tools... $ECHO_C" >&6
7692 + { echo "$as_me:$LINENO: checking for as in $with_build_time_tools" >&5
7693 +echo $ECHO_N "checking for as in $with_build_time_tools... $ECHO_C" >&6; }
7694 if test -x $with_build_time_tools/as; then
7695 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
7696 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
7697 - echo "$as_me:$LINENO: result: $ac_cv_path_AS_FOR_TARGET" >&5
7698 -echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6
7699 + { echo "$as_me:$LINENO: result: $ac_cv_path_AS_FOR_TARGET" >&5
7700 +echo "${ECHO_T}$ac_cv_path_AS_FOR_TARGET" >&6; }
7701 else
7702 - echo "$as_me:$LINENO: result: no" >&5
7703 -echo "${ECHO_T}no" >&6
7704 + { echo "$as_me:$LINENO: result: no" >&5
7705 +echo "${ECHO_T}no" >&6; }
7707 elif test $build != $host && test $have_gcc_for_target = yes; then
7708 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
7709 @@ -9447,8 +10057,8 @@
7710 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
7711 # Extract the first word of "as", so it can be a program name with args.
7712 set dummy as; ac_word=$2
7713 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7714 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7715 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7716 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7717 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then
7718 echo $ECHO_N "(cached) $ECHO_C" >&6
7719 else
7720 @@ -9463,27 +10073,28 @@
7721 IFS=$as_save_IFS
7722 test -z "$as_dir" && as_dir=.
7723 for ac_exec_ext in '' $ac_executable_extensions; do
7724 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7725 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7726 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
7727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7728 break 2
7730 done
7731 done
7732 +IFS=$as_save_IFS
7735 esac
7737 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
7739 if test -n "$AS_FOR_TARGET"; then
7740 - echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
7741 -echo "${ECHO_T}$AS_FOR_TARGET" >&6
7742 + { echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
7743 +echo "${ECHO_T}$AS_FOR_TARGET" >&6; }
7744 else
7745 - echo "$as_me:$LINENO: result: no" >&5
7746 -echo "${ECHO_T}no" >&6
7747 + { echo "$as_me:$LINENO: result: no" >&5
7748 +echo "${ECHO_T}no" >&6; }
7753 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
7755 @@ -9498,8 +10109,8 @@
7756 for ncn_progname in as; do
7757 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7758 set dummy ${ncn_progname}; ac_word=$2
7759 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7760 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7761 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7762 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7763 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
7764 echo $ECHO_N "(cached) $ECHO_C" >&6
7765 else
7766 @@ -9512,40 +10123,42 @@
7767 IFS=$as_save_IFS
7768 test -z "$as_dir" && as_dir=.
7769 for ac_exec_ext in '' $ac_executable_extensions; do
7770 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7771 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7772 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
7773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7774 break 2
7776 done
7777 done
7778 +IFS=$as_save_IFS
7782 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
7783 if test -n "$AS_FOR_TARGET"; then
7784 - echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
7785 -echo "${ECHO_T}$AS_FOR_TARGET" >&6
7786 + { echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
7787 +echo "${ECHO_T}$AS_FOR_TARGET" >&6; }
7788 else
7789 - echo "$as_me:$LINENO: result: no" >&5
7790 -echo "${ECHO_T}no" >&6
7791 + { echo "$as_me:$LINENO: result: no" >&5
7792 +echo "${ECHO_T}no" >&6; }
7796 done
7799 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
7800 for ncn_progname in as; do
7801 - echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7802 -echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
7803 + { echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
7804 +echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6; }
7805 if test -x $with_build_time_tools/${ncn_progname}; then
7806 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
7807 - echo "$as_me:$LINENO: result: yes" >&5
7808 -echo "${ECHO_T}yes" >&6
7809 + { echo "$as_me:$LINENO: result: yes" >&5
7810 +echo "${ECHO_T}yes" >&6; }
7811 break
7812 else
7813 - echo "$as_me:$LINENO: result: no" >&5
7814 -echo "${ECHO_T}no" >&6
7815 + { echo "$as_me:$LINENO: result: no" >&5
7816 +echo "${ECHO_T}no" >&6; }
7818 done
7820 @@ -9555,8 +10168,8 @@
7821 if test -n "$ncn_target_tool_prefix"; then
7822 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
7823 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
7824 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7825 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7826 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7827 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7828 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
7829 echo $ECHO_N "(cached) $ECHO_C" >&6
7830 else
7831 @@ -9569,31 +10182,33 @@
7832 IFS=$as_save_IFS
7833 test -z "$as_dir" && as_dir=.
7834 for ac_exec_ext in '' $ac_executable_extensions; do
7835 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7836 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7837 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
7838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7839 break 2
7841 done
7842 done
7843 +IFS=$as_save_IFS
7847 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
7848 if test -n "$AS_FOR_TARGET"; then
7849 - echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
7850 -echo "${ECHO_T}$AS_FOR_TARGET" >&6
7851 + { echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
7852 +echo "${ECHO_T}$AS_FOR_TARGET" >&6; }
7853 else
7854 - echo "$as_me:$LINENO: result: no" >&5
7855 -echo "${ECHO_T}no" >&6
7856 + { echo "$as_me:$LINENO: result: no" >&5
7857 +echo "${ECHO_T}no" >&6; }
7862 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
7863 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7864 set dummy ${ncn_progname}; ac_word=$2
7865 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7866 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7867 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7868 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7869 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then
7870 echo $ECHO_N "(cached) $ECHO_C" >&6
7871 else
7872 @@ -9606,25 +10221,27 @@
7873 IFS=$as_save_IFS
7874 test -z "$as_dir" && as_dir=.
7875 for ac_exec_ext in '' $ac_executable_extensions; do
7876 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7877 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7878 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
7879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7880 break 2
7882 done
7883 done
7884 +IFS=$as_save_IFS
7888 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
7889 if test -n "$AS_FOR_TARGET"; then
7890 - echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
7891 -echo "${ECHO_T}$AS_FOR_TARGET" >&6
7892 + { echo "$as_me:$LINENO: result: $AS_FOR_TARGET" >&5
7893 +echo "${ECHO_T}$AS_FOR_TARGET" >&6; }
7894 else
7895 - echo "$as_me:$LINENO: result: no" >&5
7896 -echo "${ECHO_T}no" >&6
7897 + { echo "$as_me:$LINENO: result: no" >&5
7898 +echo "${ECHO_T}no" >&6; }
7903 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
7904 done
7905 @@ -9650,16 +10267,16 @@
7907 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
7908 if test -n "$with_build_time_tools"; then
7909 - echo "$as_me:$LINENO: checking for dlltool in $with_build_time_tools" >&5
7910 -echo $ECHO_N "checking for dlltool in $with_build_time_tools... $ECHO_C" >&6
7911 + { echo "$as_me:$LINENO: checking for dlltool in $with_build_time_tools" >&5
7912 +echo $ECHO_N "checking for dlltool in $with_build_time_tools... $ECHO_C" >&6; }
7913 if test -x $with_build_time_tools/dlltool; then
7914 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
7915 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
7916 - echo "$as_me:$LINENO: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
7917 -echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6
7918 + { echo "$as_me:$LINENO: result: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
7919 +echo "${ECHO_T}$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
7920 else
7921 - echo "$as_me:$LINENO: result: no" >&5
7922 -echo "${ECHO_T}no" >&6
7923 + { echo "$as_me:$LINENO: result: no" >&5
7924 +echo "${ECHO_T}no" >&6; }
7926 elif test $build != $host && test $have_gcc_for_target = yes; then
7927 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
7928 @@ -9670,8 +10287,8 @@
7929 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
7930 # Extract the first word of "dlltool", so it can be a program name with args.
7931 set dummy dlltool; ac_word=$2
7932 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7933 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7934 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7935 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7936 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then
7937 echo $ECHO_N "(cached) $ECHO_C" >&6
7938 else
7939 @@ -9686,27 +10303,28 @@
7940 IFS=$as_save_IFS
7941 test -z "$as_dir" && as_dir=.
7942 for ac_exec_ext in '' $ac_executable_extensions; do
7943 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7944 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7945 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
7946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7947 break 2
7949 done
7950 done
7951 +IFS=$as_save_IFS
7954 esac
7956 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
7958 if test -n "$DLLTOOL_FOR_TARGET"; then
7959 - echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
7960 -echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
7961 + { echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
7962 +echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6; }
7963 else
7964 - echo "$as_me:$LINENO: result: no" >&5
7965 -echo "${ECHO_T}no" >&6
7966 + { echo "$as_me:$LINENO: result: no" >&5
7967 +echo "${ECHO_T}no" >&6; }
7972 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
7974 @@ -9721,8 +10339,8 @@
7975 for ncn_progname in dlltool; do
7976 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7977 set dummy ${ncn_progname}; ac_word=$2
7978 -echo "$as_me:$LINENO: checking for $ac_word" >&5
7979 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7980 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7981 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7982 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
7983 echo $ECHO_N "(cached) $ECHO_C" >&6
7984 else
7985 @@ -9735,40 +10353,42 @@
7986 IFS=$as_save_IFS
7987 test -z "$as_dir" && as_dir=.
7988 for ac_exec_ext in '' $ac_executable_extensions; do
7989 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7990 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7991 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
7992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7993 break 2
7995 done
7996 done
7997 +IFS=$as_save_IFS
8001 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
8002 if test -n "$DLLTOOL_FOR_TARGET"; then
8003 - echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
8004 -echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
8005 + { echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
8006 +echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6; }
8007 else
8008 - echo "$as_me:$LINENO: result: no" >&5
8009 -echo "${ECHO_T}no" >&6
8010 + { echo "$as_me:$LINENO: result: no" >&5
8011 +echo "${ECHO_T}no" >&6; }
8015 done
8018 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
8019 for ncn_progname in dlltool; do
8020 - echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8021 -echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
8022 + { echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8023 +echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6; }
8024 if test -x $with_build_time_tools/${ncn_progname}; then
8025 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8026 - echo "$as_me:$LINENO: result: yes" >&5
8027 -echo "${ECHO_T}yes" >&6
8028 + { echo "$as_me:$LINENO: result: yes" >&5
8029 +echo "${ECHO_T}yes" >&6; }
8030 break
8031 else
8032 - echo "$as_me:$LINENO: result: no" >&5
8033 -echo "${ECHO_T}no" >&6
8034 + { echo "$as_me:$LINENO: result: no" >&5
8035 +echo "${ECHO_T}no" >&6; }
8037 done
8039 @@ -9778,8 +10398,8 @@
8040 if test -n "$ncn_target_tool_prefix"; then
8041 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8042 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8043 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8044 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8045 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8046 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8047 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
8048 echo $ECHO_N "(cached) $ECHO_C" >&6
8049 else
8050 @@ -9792,31 +10412,33 @@
8051 IFS=$as_save_IFS
8052 test -z "$as_dir" && as_dir=.
8053 for ac_exec_ext in '' $ac_executable_extensions; do
8054 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8055 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8056 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8058 break 2
8060 done
8061 done
8062 +IFS=$as_save_IFS
8066 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
8067 if test -n "$DLLTOOL_FOR_TARGET"; then
8068 - echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
8069 -echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
8070 + { echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
8071 +echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6; }
8072 else
8073 - echo "$as_me:$LINENO: result: no" >&5
8074 -echo "${ECHO_T}no" >&6
8075 + { echo "$as_me:$LINENO: result: no" >&5
8076 +echo "${ECHO_T}no" >&6; }
8081 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
8082 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8083 set dummy ${ncn_progname}; ac_word=$2
8084 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8085 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8086 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8087 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8088 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then
8089 echo $ECHO_N "(cached) $ECHO_C" >&6
8090 else
8091 @@ -9829,25 +10451,27 @@
8092 IFS=$as_save_IFS
8093 test -z "$as_dir" && as_dir=.
8094 for ac_exec_ext in '' $ac_executable_extensions; do
8095 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8096 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8097 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
8098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8099 break 2
8101 done
8102 done
8103 +IFS=$as_save_IFS
8107 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
8108 if test -n "$DLLTOOL_FOR_TARGET"; then
8109 - echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
8110 -echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6
8111 + { echo "$as_me:$LINENO: result: $DLLTOOL_FOR_TARGET" >&5
8112 +echo "${ECHO_T}$DLLTOOL_FOR_TARGET" >&6; }
8113 else
8114 - echo "$as_me:$LINENO: result: no" >&5
8115 -echo "${ECHO_T}no" >&6
8116 + { echo "$as_me:$LINENO: result: no" >&5
8117 +echo "${ECHO_T}no" >&6; }
8122 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
8123 done
8124 @@ -9873,16 +10497,16 @@
8126 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
8127 if test -n "$with_build_time_tools"; then
8128 - echo "$as_me:$LINENO: checking for ld in $with_build_time_tools" >&5
8129 -echo $ECHO_N "checking for ld in $with_build_time_tools... $ECHO_C" >&6
8130 + { echo "$as_me:$LINENO: checking for ld in $with_build_time_tools" >&5
8131 +echo $ECHO_N "checking for ld in $with_build_time_tools... $ECHO_C" >&6; }
8132 if test -x $with_build_time_tools/ld; then
8133 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
8134 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
8135 - echo "$as_me:$LINENO: result: $ac_cv_path_LD_FOR_TARGET" >&5
8136 -echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6
8137 + { echo "$as_me:$LINENO: result: $ac_cv_path_LD_FOR_TARGET" >&5
8138 +echo "${ECHO_T}$ac_cv_path_LD_FOR_TARGET" >&6; }
8139 else
8140 - echo "$as_me:$LINENO: result: no" >&5
8141 -echo "${ECHO_T}no" >&6
8142 + { echo "$as_me:$LINENO: result: no" >&5
8143 +echo "${ECHO_T}no" >&6; }
8145 elif test $build != $host && test $have_gcc_for_target = yes; then
8146 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
8147 @@ -9893,8 +10517,8 @@
8148 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8149 # Extract the first word of "ld", so it can be a program name with args.
8150 set dummy ld; ac_word=$2
8151 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8152 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8153 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8154 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8155 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then
8156 echo $ECHO_N "(cached) $ECHO_C" >&6
8157 else
8158 @@ -9909,27 +10533,28 @@
8159 IFS=$as_save_IFS
8160 test -z "$as_dir" && as_dir=.
8161 for ac_exec_ext in '' $ac_executable_extensions; do
8162 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8163 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8164 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8166 break 2
8168 done
8169 done
8170 +IFS=$as_save_IFS
8173 esac
8175 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
8177 if test -n "$LD_FOR_TARGET"; then
8178 - echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
8179 -echo "${ECHO_T}$LD_FOR_TARGET" >&6
8180 + { echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
8181 +echo "${ECHO_T}$LD_FOR_TARGET" >&6; }
8182 else
8183 - echo "$as_me:$LINENO: result: no" >&5
8184 -echo "${ECHO_T}no" >&6
8185 + { echo "$as_me:$LINENO: result: no" >&5
8186 +echo "${ECHO_T}no" >&6; }
8191 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
8193 @@ -9944,8 +10569,8 @@
8194 for ncn_progname in ld; do
8195 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8196 set dummy ${ncn_progname}; ac_word=$2
8197 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8198 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8199 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8200 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8201 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
8202 echo $ECHO_N "(cached) $ECHO_C" >&6
8203 else
8204 @@ -9958,40 +10583,42 @@
8205 IFS=$as_save_IFS
8206 test -z "$as_dir" && as_dir=.
8207 for ac_exec_ext in '' $ac_executable_extensions; do
8208 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8209 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8210 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
8211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8212 break 2
8214 done
8215 done
8216 +IFS=$as_save_IFS
8220 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
8221 if test -n "$LD_FOR_TARGET"; then
8222 - echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
8223 -echo "${ECHO_T}$LD_FOR_TARGET" >&6
8224 + { echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
8225 +echo "${ECHO_T}$LD_FOR_TARGET" >&6; }
8226 else
8227 - echo "$as_me:$LINENO: result: no" >&5
8228 -echo "${ECHO_T}no" >&6
8229 + { echo "$as_me:$LINENO: result: no" >&5
8230 +echo "${ECHO_T}no" >&6; }
8234 done
8237 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
8238 for ncn_progname in ld; do
8239 - echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8240 -echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
8241 + { echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8242 +echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6; }
8243 if test -x $with_build_time_tools/${ncn_progname}; then
8244 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8245 - echo "$as_me:$LINENO: result: yes" >&5
8246 -echo "${ECHO_T}yes" >&6
8247 + { echo "$as_me:$LINENO: result: yes" >&5
8248 +echo "${ECHO_T}yes" >&6; }
8249 break
8250 else
8251 - echo "$as_me:$LINENO: result: no" >&5
8252 -echo "${ECHO_T}no" >&6
8253 + { echo "$as_me:$LINENO: result: no" >&5
8254 +echo "${ECHO_T}no" >&6; }
8256 done
8258 @@ -10001,8 +10628,8 @@
8259 if test -n "$ncn_target_tool_prefix"; then
8260 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8261 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8262 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8263 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8264 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8265 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8266 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
8267 echo $ECHO_N "(cached) $ECHO_C" >&6
8268 else
8269 @@ -10015,31 +10642,33 @@
8270 IFS=$as_save_IFS
8271 test -z "$as_dir" && as_dir=.
8272 for ac_exec_ext in '' $ac_executable_extensions; do
8273 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8274 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8275 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8277 break 2
8279 done
8280 done
8281 +IFS=$as_save_IFS
8285 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
8286 if test -n "$LD_FOR_TARGET"; then
8287 - echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
8288 -echo "${ECHO_T}$LD_FOR_TARGET" >&6
8289 + { echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
8290 +echo "${ECHO_T}$LD_FOR_TARGET" >&6; }
8291 else
8292 - echo "$as_me:$LINENO: result: no" >&5
8293 -echo "${ECHO_T}no" >&6
8294 + { echo "$as_me:$LINENO: result: no" >&5
8295 +echo "${ECHO_T}no" >&6; }
8300 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
8301 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8302 set dummy ${ncn_progname}; ac_word=$2
8303 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8304 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8305 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8306 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8307 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then
8308 echo $ECHO_N "(cached) $ECHO_C" >&6
8309 else
8310 @@ -10052,25 +10681,27 @@
8311 IFS=$as_save_IFS
8312 test -z "$as_dir" && as_dir=.
8313 for ac_exec_ext in '' $ac_executable_extensions; do
8314 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8315 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8316 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
8317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8318 break 2
8320 done
8321 done
8322 +IFS=$as_save_IFS
8326 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
8327 if test -n "$LD_FOR_TARGET"; then
8328 - echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
8329 -echo "${ECHO_T}$LD_FOR_TARGET" >&6
8330 + { echo "$as_me:$LINENO: result: $LD_FOR_TARGET" >&5
8331 +echo "${ECHO_T}$LD_FOR_TARGET" >&6; }
8332 else
8333 - echo "$as_me:$LINENO: result: no" >&5
8334 -echo "${ECHO_T}no" >&6
8335 + { echo "$as_me:$LINENO: result: no" >&5
8336 +echo "${ECHO_T}no" >&6; }
8341 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
8342 done
8343 @@ -10096,16 +10727,16 @@
8345 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
8346 if test -n "$with_build_time_tools"; then
8347 - echo "$as_me:$LINENO: checking for lipo in $with_build_time_tools" >&5
8348 -echo $ECHO_N "checking for lipo in $with_build_time_tools... $ECHO_C" >&6
8349 + { echo "$as_me:$LINENO: checking for lipo in $with_build_time_tools" >&5
8350 +echo $ECHO_N "checking for lipo in $with_build_time_tools... $ECHO_C" >&6; }
8351 if test -x $with_build_time_tools/lipo; then
8352 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
8353 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
8354 - echo "$as_me:$LINENO: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
8355 -echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6
8356 + { echo "$as_me:$LINENO: result: $ac_cv_path_LIPO_FOR_TARGET" >&5
8357 +echo "${ECHO_T}$ac_cv_path_LIPO_FOR_TARGET" >&6; }
8358 else
8359 - echo "$as_me:$LINENO: result: no" >&5
8360 -echo "${ECHO_T}no" >&6
8361 + { echo "$as_me:$LINENO: result: no" >&5
8362 +echo "${ECHO_T}no" >&6; }
8364 elif test $build != $host && test $have_gcc_for_target = yes; then
8365 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
8366 @@ -10116,8 +10747,8 @@
8367 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8368 # Extract the first word of "lipo", so it can be a program name with args.
8369 set dummy lipo; ac_word=$2
8370 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8371 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8372 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8373 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8374 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then
8375 echo $ECHO_N "(cached) $ECHO_C" >&6
8376 else
8377 @@ -10132,27 +10763,28 @@
8378 IFS=$as_save_IFS
8379 test -z "$as_dir" && as_dir=.
8380 for ac_exec_ext in '' $ac_executable_extensions; do
8381 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8382 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8383 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8385 break 2
8387 done
8388 done
8389 +IFS=$as_save_IFS
8392 esac
8394 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
8396 if test -n "$LIPO_FOR_TARGET"; then
8397 - echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
8398 -echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
8399 + { echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
8400 +echo "${ECHO_T}$LIPO_FOR_TARGET" >&6; }
8401 else
8402 - echo "$as_me:$LINENO: result: no" >&5
8403 -echo "${ECHO_T}no" >&6
8404 + { echo "$as_me:$LINENO: result: no" >&5
8405 +echo "${ECHO_T}no" >&6; }
8410 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
8412 @@ -10167,8 +10799,8 @@
8413 for ncn_progname in lipo; do
8414 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8415 set dummy ${ncn_progname}; ac_word=$2
8416 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8417 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8418 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8419 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8420 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
8421 echo $ECHO_N "(cached) $ECHO_C" >&6
8422 else
8423 @@ -10181,40 +10813,42 @@
8424 IFS=$as_save_IFS
8425 test -z "$as_dir" && as_dir=.
8426 for ac_exec_ext in '' $ac_executable_extensions; do
8427 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8428 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8429 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
8430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8431 break 2
8433 done
8434 done
8435 +IFS=$as_save_IFS
8439 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
8440 if test -n "$LIPO_FOR_TARGET"; then
8441 - echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
8442 -echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
8443 + { echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
8444 +echo "${ECHO_T}$LIPO_FOR_TARGET" >&6; }
8445 else
8446 - echo "$as_me:$LINENO: result: no" >&5
8447 -echo "${ECHO_T}no" >&6
8448 + { echo "$as_me:$LINENO: result: no" >&5
8449 +echo "${ECHO_T}no" >&6; }
8453 done
8456 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
8457 for ncn_progname in lipo; do
8458 - echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8459 -echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
8460 + { echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8461 +echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6; }
8462 if test -x $with_build_time_tools/${ncn_progname}; then
8463 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8464 - echo "$as_me:$LINENO: result: yes" >&5
8465 -echo "${ECHO_T}yes" >&6
8466 + { echo "$as_me:$LINENO: result: yes" >&5
8467 +echo "${ECHO_T}yes" >&6; }
8468 break
8469 else
8470 - echo "$as_me:$LINENO: result: no" >&5
8471 -echo "${ECHO_T}no" >&6
8472 + { echo "$as_me:$LINENO: result: no" >&5
8473 +echo "${ECHO_T}no" >&6; }
8475 done
8477 @@ -10224,8 +10858,8 @@
8478 if test -n "$ncn_target_tool_prefix"; then
8479 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8480 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8481 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8482 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8483 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8484 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8485 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
8486 echo $ECHO_N "(cached) $ECHO_C" >&6
8487 else
8488 @@ -10238,31 +10872,33 @@
8489 IFS=$as_save_IFS
8490 test -z "$as_dir" && as_dir=.
8491 for ac_exec_ext in '' $ac_executable_extensions; do
8492 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8493 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8494 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8496 break 2
8498 done
8499 done
8500 +IFS=$as_save_IFS
8504 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
8505 if test -n "$LIPO_FOR_TARGET"; then
8506 - echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
8507 -echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
8508 + { echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
8509 +echo "${ECHO_T}$LIPO_FOR_TARGET" >&6; }
8510 else
8511 - echo "$as_me:$LINENO: result: no" >&5
8512 -echo "${ECHO_T}no" >&6
8513 + { echo "$as_me:$LINENO: result: no" >&5
8514 +echo "${ECHO_T}no" >&6; }
8519 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
8520 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8521 set dummy ${ncn_progname}; ac_word=$2
8522 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8523 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8524 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8525 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8526 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then
8527 echo $ECHO_N "(cached) $ECHO_C" >&6
8528 else
8529 @@ -10275,25 +10911,27 @@
8530 IFS=$as_save_IFS
8531 test -z "$as_dir" && as_dir=.
8532 for ac_exec_ext in '' $ac_executable_extensions; do
8533 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8534 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8535 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
8536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8537 break 2
8539 done
8540 done
8541 +IFS=$as_save_IFS
8545 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
8546 if test -n "$LIPO_FOR_TARGET"; then
8547 - echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
8548 -echo "${ECHO_T}$LIPO_FOR_TARGET" >&6
8549 + { echo "$as_me:$LINENO: result: $LIPO_FOR_TARGET" >&5
8550 +echo "${ECHO_T}$LIPO_FOR_TARGET" >&6; }
8551 else
8552 - echo "$as_me:$LINENO: result: no" >&5
8553 -echo "${ECHO_T}no" >&6
8554 + { echo "$as_me:$LINENO: result: no" >&5
8555 +echo "${ECHO_T}no" >&6; }
8560 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
8561 done
8562 @@ -10319,16 +10957,16 @@
8564 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
8565 if test -n "$with_build_time_tools"; then
8566 - echo "$as_me:$LINENO: checking for nm in $with_build_time_tools" >&5
8567 -echo $ECHO_N "checking for nm in $with_build_time_tools... $ECHO_C" >&6
8568 + { echo "$as_me:$LINENO: checking for nm in $with_build_time_tools" >&5
8569 +echo $ECHO_N "checking for nm in $with_build_time_tools... $ECHO_C" >&6; }
8570 if test -x $with_build_time_tools/nm; then
8571 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
8572 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
8573 - echo "$as_me:$LINENO: result: $ac_cv_path_NM_FOR_TARGET" >&5
8574 -echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6
8575 + { echo "$as_me:$LINENO: result: $ac_cv_path_NM_FOR_TARGET" >&5
8576 +echo "${ECHO_T}$ac_cv_path_NM_FOR_TARGET" >&6; }
8577 else
8578 - echo "$as_me:$LINENO: result: no" >&5
8579 -echo "${ECHO_T}no" >&6
8580 + { echo "$as_me:$LINENO: result: no" >&5
8581 +echo "${ECHO_T}no" >&6; }
8583 elif test $build != $host && test $have_gcc_for_target = yes; then
8584 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
8585 @@ -10339,8 +10977,8 @@
8586 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8587 # Extract the first word of "nm", so it can be a program name with args.
8588 set dummy nm; ac_word=$2
8589 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8590 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8591 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8592 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8593 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then
8594 echo $ECHO_N "(cached) $ECHO_C" >&6
8595 else
8596 @@ -10355,27 +10993,28 @@
8597 IFS=$as_save_IFS
8598 test -z "$as_dir" && as_dir=.
8599 for ac_exec_ext in '' $ac_executable_extensions; do
8600 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8601 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8602 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8604 break 2
8606 done
8607 done
8608 +IFS=$as_save_IFS
8611 esac
8613 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
8615 if test -n "$NM_FOR_TARGET"; then
8616 - echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
8617 -echo "${ECHO_T}$NM_FOR_TARGET" >&6
8618 + { echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
8619 +echo "${ECHO_T}$NM_FOR_TARGET" >&6; }
8620 else
8621 - echo "$as_me:$LINENO: result: no" >&5
8622 -echo "${ECHO_T}no" >&6
8623 + { echo "$as_me:$LINENO: result: no" >&5
8624 +echo "${ECHO_T}no" >&6; }
8629 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
8631 @@ -10390,8 +11029,8 @@
8632 for ncn_progname in nm; do
8633 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8634 set dummy ${ncn_progname}; ac_word=$2
8635 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8636 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8637 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8638 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8639 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
8640 echo $ECHO_N "(cached) $ECHO_C" >&6
8641 else
8642 @@ -10404,40 +11043,42 @@
8643 IFS=$as_save_IFS
8644 test -z "$as_dir" && as_dir=.
8645 for ac_exec_ext in '' $ac_executable_extensions; do
8646 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8647 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8648 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
8649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8650 break 2
8652 done
8653 done
8654 +IFS=$as_save_IFS
8658 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
8659 if test -n "$NM_FOR_TARGET"; then
8660 - echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
8661 -echo "${ECHO_T}$NM_FOR_TARGET" >&6
8662 + { echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
8663 +echo "${ECHO_T}$NM_FOR_TARGET" >&6; }
8664 else
8665 - echo "$as_me:$LINENO: result: no" >&5
8666 -echo "${ECHO_T}no" >&6
8667 + { echo "$as_me:$LINENO: result: no" >&5
8668 +echo "${ECHO_T}no" >&6; }
8672 done
8675 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
8676 for ncn_progname in nm; do
8677 - echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8678 -echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
8679 + { echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8680 +echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6; }
8681 if test -x $with_build_time_tools/${ncn_progname}; then
8682 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8683 - echo "$as_me:$LINENO: result: yes" >&5
8684 -echo "${ECHO_T}yes" >&6
8685 + { echo "$as_me:$LINENO: result: yes" >&5
8686 +echo "${ECHO_T}yes" >&6; }
8687 break
8688 else
8689 - echo "$as_me:$LINENO: result: no" >&5
8690 -echo "${ECHO_T}no" >&6
8691 + { echo "$as_me:$LINENO: result: no" >&5
8692 +echo "${ECHO_T}no" >&6; }
8694 done
8696 @@ -10447,8 +11088,8 @@
8697 if test -n "$ncn_target_tool_prefix"; then
8698 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8699 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8700 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8701 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8702 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8703 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8704 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
8705 echo $ECHO_N "(cached) $ECHO_C" >&6
8706 else
8707 @@ -10461,31 +11102,33 @@
8708 IFS=$as_save_IFS
8709 test -z "$as_dir" && as_dir=.
8710 for ac_exec_ext in '' $ac_executable_extensions; do
8711 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8712 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8713 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8715 break 2
8717 done
8718 done
8719 +IFS=$as_save_IFS
8723 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
8724 if test -n "$NM_FOR_TARGET"; then
8725 - echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
8726 -echo "${ECHO_T}$NM_FOR_TARGET" >&6
8727 + { echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
8728 +echo "${ECHO_T}$NM_FOR_TARGET" >&6; }
8729 else
8730 - echo "$as_me:$LINENO: result: no" >&5
8731 -echo "${ECHO_T}no" >&6
8732 + { echo "$as_me:$LINENO: result: no" >&5
8733 +echo "${ECHO_T}no" >&6; }
8738 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
8739 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8740 set dummy ${ncn_progname}; ac_word=$2
8741 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8742 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8743 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8744 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8745 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then
8746 echo $ECHO_N "(cached) $ECHO_C" >&6
8747 else
8748 @@ -10498,25 +11141,27 @@
8749 IFS=$as_save_IFS
8750 test -z "$as_dir" && as_dir=.
8751 for ac_exec_ext in '' $ac_executable_extensions; do
8752 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8753 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8754 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
8755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8756 break 2
8758 done
8759 done
8760 +IFS=$as_save_IFS
8764 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
8765 if test -n "$NM_FOR_TARGET"; then
8766 - echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
8767 -echo "${ECHO_T}$NM_FOR_TARGET" >&6
8768 + { echo "$as_me:$LINENO: result: $NM_FOR_TARGET" >&5
8769 +echo "${ECHO_T}$NM_FOR_TARGET" >&6; }
8770 else
8771 - echo "$as_me:$LINENO: result: no" >&5
8772 -echo "${ECHO_T}no" >&6
8773 + { echo "$as_me:$LINENO: result: no" >&5
8774 +echo "${ECHO_T}no" >&6; }
8779 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
8780 done
8781 @@ -10542,16 +11187,16 @@
8783 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
8784 if test -n "$with_build_time_tools"; then
8785 - echo "$as_me:$LINENO: checking for objdump in $with_build_time_tools" >&5
8786 -echo $ECHO_N "checking for objdump in $with_build_time_tools... $ECHO_C" >&6
8787 + { echo "$as_me:$LINENO: checking for objdump in $with_build_time_tools" >&5
8788 +echo $ECHO_N "checking for objdump in $with_build_time_tools... $ECHO_C" >&6; }
8789 if test -x $with_build_time_tools/objdump; then
8790 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
8791 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
8792 - echo "$as_me:$LINENO: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
8793 -echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6
8794 + { echo "$as_me:$LINENO: result: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
8795 +echo "${ECHO_T}$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
8796 else
8797 - echo "$as_me:$LINENO: result: no" >&5
8798 -echo "${ECHO_T}no" >&6
8799 + { echo "$as_me:$LINENO: result: no" >&5
8800 +echo "${ECHO_T}no" >&6; }
8802 elif test $build != $host && test $have_gcc_for_target = yes; then
8803 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
8804 @@ -10562,8 +11207,8 @@
8805 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
8806 # Extract the first word of "objdump", so it can be a program name with args.
8807 set dummy objdump; ac_word=$2
8808 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8809 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8810 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8811 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8812 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then
8813 echo $ECHO_N "(cached) $ECHO_C" >&6
8814 else
8815 @@ -10578,27 +11223,28 @@
8816 IFS=$as_save_IFS
8817 test -z "$as_dir" && as_dir=.
8818 for ac_exec_ext in '' $ac_executable_extensions; do
8819 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8820 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8821 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
8822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8823 break 2
8825 done
8826 done
8827 +IFS=$as_save_IFS
8830 esac
8832 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
8834 if test -n "$OBJDUMP_FOR_TARGET"; then
8835 - echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
8836 -echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
8837 + { echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
8838 +echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6; }
8839 else
8840 - echo "$as_me:$LINENO: result: no" >&5
8841 -echo "${ECHO_T}no" >&6
8842 + { echo "$as_me:$LINENO: result: no" >&5
8843 +echo "${ECHO_T}no" >&6; }
8848 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
8850 @@ -10613,8 +11259,8 @@
8851 for ncn_progname in objdump; do
8852 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8853 set dummy ${ncn_progname}; ac_word=$2
8854 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8855 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8856 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8857 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8858 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
8859 echo $ECHO_N "(cached) $ECHO_C" >&6
8860 else
8861 @@ -10627,40 +11273,42 @@
8862 IFS=$as_save_IFS
8863 test -z "$as_dir" && as_dir=.
8864 for ac_exec_ext in '' $ac_executable_extensions; do
8865 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8866 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8867 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
8868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8869 break 2
8871 done
8872 done
8873 +IFS=$as_save_IFS
8877 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
8878 if test -n "$OBJDUMP_FOR_TARGET"; then
8879 - echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
8880 -echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
8881 + { echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
8882 +echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6; }
8883 else
8884 - echo "$as_me:$LINENO: result: no" >&5
8885 -echo "${ECHO_T}no" >&6
8886 + { echo "$as_me:$LINENO: result: no" >&5
8887 +echo "${ECHO_T}no" >&6; }
8891 done
8894 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
8895 for ncn_progname in objdump; do
8896 - echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8897 -echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
8898 + { echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
8899 +echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6; }
8900 if test -x $with_build_time_tools/${ncn_progname}; then
8901 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
8902 - echo "$as_me:$LINENO: result: yes" >&5
8903 -echo "${ECHO_T}yes" >&6
8904 + { echo "$as_me:$LINENO: result: yes" >&5
8905 +echo "${ECHO_T}yes" >&6; }
8906 break
8907 else
8908 - echo "$as_me:$LINENO: result: no" >&5
8909 -echo "${ECHO_T}no" >&6
8910 + { echo "$as_me:$LINENO: result: no" >&5
8911 +echo "${ECHO_T}no" >&6; }
8913 done
8915 @@ -10670,8 +11318,8 @@
8916 if test -n "$ncn_target_tool_prefix"; then
8917 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
8918 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
8919 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8920 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8921 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8922 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8923 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
8924 echo $ECHO_N "(cached) $ECHO_C" >&6
8925 else
8926 @@ -10684,31 +11332,33 @@
8927 IFS=$as_save_IFS
8928 test -z "$as_dir" && as_dir=.
8929 for ac_exec_ext in '' $ac_executable_extensions; do
8930 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8931 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8932 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
8933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8934 break 2
8936 done
8937 done
8938 +IFS=$as_save_IFS
8942 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
8943 if test -n "$OBJDUMP_FOR_TARGET"; then
8944 - echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
8945 -echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
8946 + { echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
8947 +echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6; }
8948 else
8949 - echo "$as_me:$LINENO: result: no" >&5
8950 -echo "${ECHO_T}no" >&6
8951 + { echo "$as_me:$LINENO: result: no" >&5
8952 +echo "${ECHO_T}no" >&6; }
8957 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
8958 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8959 set dummy ${ncn_progname}; ac_word=$2
8960 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8961 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8962 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8963 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8964 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then
8965 echo $ECHO_N "(cached) $ECHO_C" >&6
8966 else
8967 @@ -10721,25 +11371,27 @@
8968 IFS=$as_save_IFS
8969 test -z "$as_dir" && as_dir=.
8970 for ac_exec_ext in '' $ac_executable_extensions; do
8971 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8972 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8973 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
8974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8975 break 2
8977 done
8978 done
8979 +IFS=$as_save_IFS
8983 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
8984 if test -n "$OBJDUMP_FOR_TARGET"; then
8985 - echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
8986 -echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6
8987 + { echo "$as_me:$LINENO: result: $OBJDUMP_FOR_TARGET" >&5
8988 +echo "${ECHO_T}$OBJDUMP_FOR_TARGET" >&6; }
8989 else
8990 - echo "$as_me:$LINENO: result: no" >&5
8991 -echo "${ECHO_T}no" >&6
8992 + { echo "$as_me:$LINENO: result: no" >&5
8993 +echo "${ECHO_T}no" >&6; }
8998 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
8999 done
9000 @@ -10765,16 +11417,16 @@
9002 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
9003 if test -n "$with_build_time_tools"; then
9004 - echo "$as_me:$LINENO: checking for ranlib in $with_build_time_tools" >&5
9005 -echo $ECHO_N "checking for ranlib in $with_build_time_tools... $ECHO_C" >&6
9006 + { echo "$as_me:$LINENO: checking for ranlib in $with_build_time_tools" >&5
9007 +echo $ECHO_N "checking for ranlib in $with_build_time_tools... $ECHO_C" >&6; }
9008 if test -x $with_build_time_tools/ranlib; then
9009 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
9010 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
9011 - echo "$as_me:$LINENO: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
9012 -echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6
9013 + { echo "$as_me:$LINENO: result: $ac_cv_path_RANLIB_FOR_TARGET" >&5
9014 +echo "${ECHO_T}$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
9015 else
9016 - echo "$as_me:$LINENO: result: no" >&5
9017 -echo "${ECHO_T}no" >&6
9018 + { echo "$as_me:$LINENO: result: no" >&5
9019 +echo "${ECHO_T}no" >&6; }
9021 elif test $build != $host && test $have_gcc_for_target = yes; then
9022 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
9023 @@ -10785,8 +11437,8 @@
9024 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9025 # Extract the first word of "ranlib", so it can be a program name with args.
9026 set dummy ranlib; ac_word=$2
9027 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9028 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9029 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9030 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9031 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then
9032 echo $ECHO_N "(cached) $ECHO_C" >&6
9033 else
9034 @@ -10801,27 +11453,28 @@
9035 IFS=$as_save_IFS
9036 test -z "$as_dir" && as_dir=.
9037 for ac_exec_ext in '' $ac_executable_extensions; do
9038 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9039 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9040 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9042 break 2
9044 done
9045 done
9046 +IFS=$as_save_IFS
9049 esac
9051 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
9053 if test -n "$RANLIB_FOR_TARGET"; then
9054 - echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
9055 -echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
9056 + { echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
9057 +echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6; }
9058 else
9059 - echo "$as_me:$LINENO: result: no" >&5
9060 -echo "${ECHO_T}no" >&6
9061 + { echo "$as_me:$LINENO: result: no" >&5
9062 +echo "${ECHO_T}no" >&6; }
9067 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
9069 @@ -10836,8 +11489,8 @@
9070 for ncn_progname in ranlib; do
9071 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9072 set dummy ${ncn_progname}; ac_word=$2
9073 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9074 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9075 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9076 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9077 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
9078 echo $ECHO_N "(cached) $ECHO_C" >&6
9079 else
9080 @@ -10850,40 +11503,42 @@
9081 IFS=$as_save_IFS
9082 test -z "$as_dir" && as_dir=.
9083 for ac_exec_ext in '' $ac_executable_extensions; do
9084 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9085 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9086 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
9087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9088 break 2
9090 done
9091 done
9092 +IFS=$as_save_IFS
9096 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
9097 if test -n "$RANLIB_FOR_TARGET"; then
9098 - echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
9099 -echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
9100 + { echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
9101 +echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6; }
9102 else
9103 - echo "$as_me:$LINENO: result: no" >&5
9104 -echo "${ECHO_T}no" >&6
9105 + { echo "$as_me:$LINENO: result: no" >&5
9106 +echo "${ECHO_T}no" >&6; }
9110 done
9113 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
9114 for ncn_progname in ranlib; do
9115 - echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
9116 -echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
9117 + { echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
9118 +echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6; }
9119 if test -x $with_build_time_tools/${ncn_progname}; then
9120 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9121 - echo "$as_me:$LINENO: result: yes" >&5
9122 -echo "${ECHO_T}yes" >&6
9123 + { echo "$as_me:$LINENO: result: yes" >&5
9124 +echo "${ECHO_T}yes" >&6; }
9125 break
9126 else
9127 - echo "$as_me:$LINENO: result: no" >&5
9128 -echo "${ECHO_T}no" >&6
9129 + { echo "$as_me:$LINENO: result: no" >&5
9130 +echo "${ECHO_T}no" >&6; }
9132 done
9134 @@ -10893,8 +11548,8 @@
9135 if test -n "$ncn_target_tool_prefix"; then
9136 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9137 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9138 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9139 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9140 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9141 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9142 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
9143 echo $ECHO_N "(cached) $ECHO_C" >&6
9144 else
9145 @@ -10907,31 +11562,33 @@
9146 IFS=$as_save_IFS
9147 test -z "$as_dir" && as_dir=.
9148 for ac_exec_ext in '' $ac_executable_extensions; do
9149 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9150 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9151 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9153 break 2
9155 done
9156 done
9157 +IFS=$as_save_IFS
9161 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
9162 if test -n "$RANLIB_FOR_TARGET"; then
9163 - echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
9164 -echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
9165 + { echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
9166 +echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6; }
9167 else
9168 - echo "$as_me:$LINENO: result: no" >&5
9169 -echo "${ECHO_T}no" >&6
9170 + { echo "$as_me:$LINENO: result: no" >&5
9171 +echo "${ECHO_T}no" >&6; }
9176 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
9177 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9178 set dummy ${ncn_progname}; ac_word=$2
9179 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9180 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9181 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9182 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9183 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then
9184 echo $ECHO_N "(cached) $ECHO_C" >&6
9185 else
9186 @@ -10944,25 +11601,27 @@
9187 IFS=$as_save_IFS
9188 test -z "$as_dir" && as_dir=.
9189 for ac_exec_ext in '' $ac_executable_extensions; do
9190 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9191 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9192 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
9193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9194 break 2
9196 done
9197 done
9198 +IFS=$as_save_IFS
9202 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
9203 if test -n "$RANLIB_FOR_TARGET"; then
9204 - echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
9205 -echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6
9206 + { echo "$as_me:$LINENO: result: $RANLIB_FOR_TARGET" >&5
9207 +echo "${ECHO_T}$RANLIB_FOR_TARGET" >&6; }
9208 else
9209 - echo "$as_me:$LINENO: result: no" >&5
9210 -echo "${ECHO_T}no" >&6
9211 + { echo "$as_me:$LINENO: result: no" >&5
9212 +echo "${ECHO_T}no" >&6; }
9217 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
9218 done
9219 @@ -10988,16 +11647,16 @@
9221 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
9222 if test -n "$with_build_time_tools"; then
9223 - echo "$as_me:$LINENO: checking for strip in $with_build_time_tools" >&5
9224 -echo $ECHO_N "checking for strip in $with_build_time_tools... $ECHO_C" >&6
9225 + { echo "$as_me:$LINENO: checking for strip in $with_build_time_tools" >&5
9226 +echo $ECHO_N "checking for strip in $with_build_time_tools... $ECHO_C" >&6; }
9227 if test -x $with_build_time_tools/strip; then
9228 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
9229 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
9230 - echo "$as_me:$LINENO: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
9231 -echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6
9232 + { echo "$as_me:$LINENO: result: $ac_cv_path_STRIP_FOR_TARGET" >&5
9233 +echo "${ECHO_T}$ac_cv_path_STRIP_FOR_TARGET" >&6; }
9234 else
9235 - echo "$as_me:$LINENO: result: no" >&5
9236 -echo "${ECHO_T}no" >&6
9237 + { echo "$as_me:$LINENO: result: no" >&5
9238 +echo "${ECHO_T}no" >&6; }
9240 elif test $build != $host && test $have_gcc_for_target = yes; then
9241 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
9242 @@ -11008,8 +11667,8 @@
9243 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9244 # Extract the first word of "strip", so it can be a program name with args.
9245 set dummy strip; ac_word=$2
9246 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9247 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9248 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9249 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9250 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then
9251 echo $ECHO_N "(cached) $ECHO_C" >&6
9252 else
9253 @@ -11024,27 +11683,28 @@
9254 IFS=$as_save_IFS
9255 test -z "$as_dir" && as_dir=.
9256 for ac_exec_ext in '' $ac_executable_extensions; do
9257 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9258 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9259 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9261 break 2
9263 done
9264 done
9265 +IFS=$as_save_IFS
9268 esac
9270 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
9272 if test -n "$STRIP_FOR_TARGET"; then
9273 - echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
9274 -echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
9275 + { echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
9276 +echo "${ECHO_T}$STRIP_FOR_TARGET" >&6; }
9277 else
9278 - echo "$as_me:$LINENO: result: no" >&5
9279 -echo "${ECHO_T}no" >&6
9280 + { echo "$as_me:$LINENO: result: no" >&5
9281 +echo "${ECHO_T}no" >&6; }
9286 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
9288 @@ -11059,8 +11719,8 @@
9289 for ncn_progname in strip; do
9290 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9291 set dummy ${ncn_progname}; ac_word=$2
9292 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9293 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9294 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9295 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9296 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
9297 echo $ECHO_N "(cached) $ECHO_C" >&6
9298 else
9299 @@ -11073,40 +11733,42 @@
9300 IFS=$as_save_IFS
9301 test -z "$as_dir" && as_dir=.
9302 for ac_exec_ext in '' $ac_executable_extensions; do
9303 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9304 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9305 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
9306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9307 break 2
9309 done
9310 done
9311 +IFS=$as_save_IFS
9315 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
9316 if test -n "$STRIP_FOR_TARGET"; then
9317 - echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
9318 -echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
9319 + { echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
9320 +echo "${ECHO_T}$STRIP_FOR_TARGET" >&6; }
9321 else
9322 - echo "$as_me:$LINENO: result: no" >&5
9323 -echo "${ECHO_T}no" >&6
9324 + { echo "$as_me:$LINENO: result: no" >&5
9325 +echo "${ECHO_T}no" >&6; }
9329 done
9332 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
9333 for ncn_progname in strip; do
9334 - echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
9335 -echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
9336 + { echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
9337 +echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6; }
9338 if test -x $with_build_time_tools/${ncn_progname}; then
9339 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9340 - echo "$as_me:$LINENO: result: yes" >&5
9341 -echo "${ECHO_T}yes" >&6
9342 + { echo "$as_me:$LINENO: result: yes" >&5
9343 +echo "${ECHO_T}yes" >&6; }
9344 break
9345 else
9346 - echo "$as_me:$LINENO: result: no" >&5
9347 -echo "${ECHO_T}no" >&6
9348 + { echo "$as_me:$LINENO: result: no" >&5
9349 +echo "${ECHO_T}no" >&6; }
9351 done
9353 @@ -11116,8 +11778,8 @@
9354 if test -n "$ncn_target_tool_prefix"; then
9355 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9356 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9357 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9358 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9359 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9360 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9361 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
9362 echo $ECHO_N "(cached) $ECHO_C" >&6
9363 else
9364 @@ -11130,31 +11792,33 @@
9365 IFS=$as_save_IFS
9366 test -z "$as_dir" && as_dir=.
9367 for ac_exec_ext in '' $ac_executable_extensions; do
9368 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9369 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9370 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9372 break 2
9374 done
9375 done
9376 +IFS=$as_save_IFS
9380 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
9381 if test -n "$STRIP_FOR_TARGET"; then
9382 - echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
9383 -echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
9384 + { echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
9385 +echo "${ECHO_T}$STRIP_FOR_TARGET" >&6; }
9386 else
9387 - echo "$as_me:$LINENO: result: no" >&5
9388 -echo "${ECHO_T}no" >&6
9389 + { echo "$as_me:$LINENO: result: no" >&5
9390 +echo "${ECHO_T}no" >&6; }
9395 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
9396 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9397 set dummy ${ncn_progname}; ac_word=$2
9398 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9399 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9400 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9401 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9402 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then
9403 echo $ECHO_N "(cached) $ECHO_C" >&6
9404 else
9405 @@ -11167,25 +11831,27 @@
9406 IFS=$as_save_IFS
9407 test -z "$as_dir" && as_dir=.
9408 for ac_exec_ext in '' $ac_executable_extensions; do
9409 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9410 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9411 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
9412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9413 break 2
9415 done
9416 done
9417 +IFS=$as_save_IFS
9421 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
9422 if test -n "$STRIP_FOR_TARGET"; then
9423 - echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
9424 -echo "${ECHO_T}$STRIP_FOR_TARGET" >&6
9425 + { echo "$as_me:$LINENO: result: $STRIP_FOR_TARGET" >&5
9426 +echo "${ECHO_T}$STRIP_FOR_TARGET" >&6; }
9427 else
9428 - echo "$as_me:$LINENO: result: no" >&5
9429 -echo "${ECHO_T}no" >&6
9430 + { echo "$as_me:$LINENO: result: no" >&5
9431 +echo "${ECHO_T}no" >&6; }
9436 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
9437 done
9438 @@ -11211,16 +11877,16 @@
9440 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
9441 if test -n "$with_build_time_tools"; then
9442 - echo "$as_me:$LINENO: checking for windres in $with_build_time_tools" >&5
9443 -echo $ECHO_N "checking for windres in $with_build_time_tools... $ECHO_C" >&6
9444 + { echo "$as_me:$LINENO: checking for windres in $with_build_time_tools" >&5
9445 +echo $ECHO_N "checking for windres in $with_build_time_tools... $ECHO_C" >&6; }
9446 if test -x $with_build_time_tools/windres; then
9447 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
9448 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
9449 - echo "$as_me:$LINENO: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
9450 -echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6
9451 + { echo "$as_me:$LINENO: result: $ac_cv_path_WINDRES_FOR_TARGET" >&5
9452 +echo "${ECHO_T}$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
9453 else
9454 - echo "$as_me:$LINENO: result: no" >&5
9455 -echo "${ECHO_T}no" >&6
9456 + { echo "$as_me:$LINENO: result: no" >&5
9457 +echo "${ECHO_T}no" >&6; }
9459 elif test $build != $host && test $have_gcc_for_target = yes; then
9460 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
9461 @@ -11231,8 +11897,8 @@
9462 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9463 # Extract the first word of "windres", so it can be a program name with args.
9464 set dummy windres; ac_word=$2
9465 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9466 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9467 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9468 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9469 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then
9470 echo $ECHO_N "(cached) $ECHO_C" >&6
9471 else
9472 @@ -11247,27 +11913,28 @@
9473 IFS=$as_save_IFS
9474 test -z "$as_dir" && as_dir=.
9475 for ac_exec_ext in '' $ac_executable_extensions; do
9476 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9477 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9478 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9480 break 2
9482 done
9483 done
9484 +IFS=$as_save_IFS
9487 esac
9489 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
9491 if test -n "$WINDRES_FOR_TARGET"; then
9492 - echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
9493 -echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
9494 + { echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
9495 +echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6; }
9496 else
9497 - echo "$as_me:$LINENO: result: no" >&5
9498 -echo "${ECHO_T}no" >&6
9499 + { echo "$as_me:$LINENO: result: no" >&5
9500 +echo "${ECHO_T}no" >&6; }
9505 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
9507 @@ -11282,8 +11949,8 @@
9508 for ncn_progname in windres; do
9509 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9510 set dummy ${ncn_progname}; ac_word=$2
9511 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9512 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9513 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9514 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9515 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
9516 echo $ECHO_N "(cached) $ECHO_C" >&6
9517 else
9518 @@ -11296,40 +11963,42 @@
9519 IFS=$as_save_IFS
9520 test -z "$as_dir" && as_dir=.
9521 for ac_exec_ext in '' $ac_executable_extensions; do
9522 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9523 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9524 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
9525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9526 break 2
9528 done
9529 done
9530 +IFS=$as_save_IFS
9534 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
9535 if test -n "$WINDRES_FOR_TARGET"; then
9536 - echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
9537 -echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
9538 + { echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
9539 +echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6; }
9540 else
9541 - echo "$as_me:$LINENO: result: no" >&5
9542 -echo "${ECHO_T}no" >&6
9543 + { echo "$as_me:$LINENO: result: no" >&5
9544 +echo "${ECHO_T}no" >&6; }
9548 done
9551 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
9552 for ncn_progname in windres; do
9553 - echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
9554 -echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
9555 + { echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
9556 +echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6; }
9557 if test -x $with_build_time_tools/${ncn_progname}; then
9558 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9559 - echo "$as_me:$LINENO: result: yes" >&5
9560 -echo "${ECHO_T}yes" >&6
9561 + { echo "$as_me:$LINENO: result: yes" >&5
9562 +echo "${ECHO_T}yes" >&6; }
9563 break
9564 else
9565 - echo "$as_me:$LINENO: result: no" >&5
9566 -echo "${ECHO_T}no" >&6
9567 + { echo "$as_me:$LINENO: result: no" >&5
9568 +echo "${ECHO_T}no" >&6; }
9570 done
9572 @@ -11339,8 +12008,8 @@
9573 if test -n "$ncn_target_tool_prefix"; then
9574 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9575 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9576 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9577 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9578 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9579 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9580 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
9581 echo $ECHO_N "(cached) $ECHO_C" >&6
9582 else
9583 @@ -11353,31 +12022,33 @@
9584 IFS=$as_save_IFS
9585 test -z "$as_dir" && as_dir=.
9586 for ac_exec_ext in '' $ac_executable_extensions; do
9587 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9588 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9589 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9591 break 2
9593 done
9594 done
9595 +IFS=$as_save_IFS
9599 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
9600 if test -n "$WINDRES_FOR_TARGET"; then
9601 - echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
9602 -echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
9603 + { echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
9604 +echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6; }
9605 else
9606 - echo "$as_me:$LINENO: result: no" >&5
9607 -echo "${ECHO_T}no" >&6
9608 + { echo "$as_me:$LINENO: result: no" >&5
9609 +echo "${ECHO_T}no" >&6; }
9614 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
9615 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9616 set dummy ${ncn_progname}; ac_word=$2
9617 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9618 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9619 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9620 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9621 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then
9622 echo $ECHO_N "(cached) $ECHO_C" >&6
9623 else
9624 @@ -11390,25 +12061,27 @@
9625 IFS=$as_save_IFS
9626 test -z "$as_dir" && as_dir=.
9627 for ac_exec_ext in '' $ac_executable_extensions; do
9628 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9629 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9630 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
9631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9632 break 2
9634 done
9635 done
9636 +IFS=$as_save_IFS
9640 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
9641 if test -n "$WINDRES_FOR_TARGET"; then
9642 - echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
9643 -echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6
9644 + { echo "$as_me:$LINENO: result: $WINDRES_FOR_TARGET" >&5
9645 +echo "${ECHO_T}$WINDRES_FOR_TARGET" >&6; }
9646 else
9647 - echo "$as_me:$LINENO: result: no" >&5
9648 -echo "${ECHO_T}no" >&6
9649 + { echo "$as_me:$LINENO: result: no" >&5
9650 +echo "${ECHO_T}no" >&6; }
9655 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
9656 done
9657 @@ -11434,16 +12107,16 @@
9659 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
9660 if test -n "$with_build_time_tools"; then
9661 - echo "$as_me:$LINENO: checking for windmc in $with_build_time_tools" >&5
9662 -echo $ECHO_N "checking for windmc in $with_build_time_tools... $ECHO_C" >&6
9663 + { echo "$as_me:$LINENO: checking for windmc in $with_build_time_tools" >&5
9664 +echo $ECHO_N "checking for windmc in $with_build_time_tools... $ECHO_C" >&6; }
9665 if test -x $with_build_time_tools/windmc; then
9666 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
9667 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
9668 - echo "$as_me:$LINENO: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
9669 -echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6
9670 + { echo "$as_me:$LINENO: result: $ac_cv_path_WINDMC_FOR_TARGET" >&5
9671 +echo "${ECHO_T}$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
9672 else
9673 - echo "$as_me:$LINENO: result: no" >&5
9674 -echo "${ECHO_T}no" >&6
9675 + { echo "$as_me:$LINENO: result: no" >&5
9676 +echo "${ECHO_T}no" >&6; }
9678 elif test $build != $host && test $have_gcc_for_target = yes; then
9679 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
9680 @@ -11454,8 +12127,8 @@
9681 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9682 # Extract the first word of "windmc", so it can be a program name with args.
9683 set dummy windmc; ac_word=$2
9684 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9685 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9686 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9687 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9688 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then
9689 echo $ECHO_N "(cached) $ECHO_C" >&6
9690 else
9691 @@ -11470,27 +12143,28 @@
9692 IFS=$as_save_IFS
9693 test -z "$as_dir" && as_dir=.
9694 for ac_exec_ext in '' $ac_executable_extensions; do
9695 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9696 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9697 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9699 break 2
9701 done
9702 done
9703 +IFS=$as_save_IFS
9706 esac
9708 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
9710 if test -n "$WINDMC_FOR_TARGET"; then
9711 - echo "$as_me:$LINENO: result: $WINDMC_FOR_TARGET" >&5
9712 -echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
9713 + { echo "$as_me:$LINENO: result: $WINDMC_FOR_TARGET" >&5
9714 +echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6; }
9715 else
9716 - echo "$as_me:$LINENO: result: no" >&5
9717 -echo "${ECHO_T}no" >&6
9718 + { echo "$as_me:$LINENO: result: no" >&5
9719 +echo "${ECHO_T}no" >&6; }
9724 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
9726 @@ -11505,8 +12179,8 @@
9727 for ncn_progname in windmc; do
9728 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9729 set dummy ${ncn_progname}; ac_word=$2
9730 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9731 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9732 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9733 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9734 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
9735 echo $ECHO_N "(cached) $ECHO_C" >&6
9736 else
9737 @@ -11519,40 +12193,42 @@
9738 IFS=$as_save_IFS
9739 test -z "$as_dir" && as_dir=.
9740 for ac_exec_ext in '' $ac_executable_extensions; do
9741 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9742 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9743 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
9744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9745 break 2
9747 done
9748 done
9749 +IFS=$as_save_IFS
9753 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
9754 if test -n "$WINDMC_FOR_TARGET"; then
9755 - echo "$as_me:$LINENO: result: $WINDMC_FOR_TARGET" >&5
9756 -echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
9757 + { echo "$as_me:$LINENO: result: $WINDMC_FOR_TARGET" >&5
9758 +echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6; }
9759 else
9760 - echo "$as_me:$LINENO: result: no" >&5
9761 -echo "${ECHO_T}no" >&6
9762 + { echo "$as_me:$LINENO: result: no" >&5
9763 +echo "${ECHO_T}no" >&6; }
9767 done
9770 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9771 for ncn_progname in windmc; do
9772 - echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
9773 -echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6
9774 + { echo "$as_me:$LINENO: checking for ${ncn_progname} in $with_build_time_tools" >&5
9775 +echo $ECHO_N "checking for ${ncn_progname} in $with_build_time_tools... $ECHO_C" >&6; }
9776 if test -x $with_build_time_tools/${ncn_progname}; then
9777 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9778 - echo "$as_me:$LINENO: result: yes" >&5
9779 -echo "${ECHO_T}yes" >&6
9780 + { echo "$as_me:$LINENO: result: yes" >&5
9781 +echo "${ECHO_T}yes" >&6; }
9782 break
9783 else
9784 - echo "$as_me:$LINENO: result: no" >&5
9785 -echo "${ECHO_T}no" >&6
9786 + { echo "$as_me:$LINENO: result: no" >&5
9787 +echo "${ECHO_T}no" >&6; }
9789 done
9791 @@ -11562,8 +12238,8 @@
9792 if test -n "$ncn_target_tool_prefix"; then
9793 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9794 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9795 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9796 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9797 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9798 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9799 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
9800 echo $ECHO_N "(cached) $ECHO_C" >&6
9801 else
9802 @@ -11576,31 +12252,33 @@
9803 IFS=$as_save_IFS
9804 test -z "$as_dir" && as_dir=.
9805 for ac_exec_ext in '' $ac_executable_extensions; do
9806 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9807 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9808 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9810 break 2
9812 done
9813 done
9814 +IFS=$as_save_IFS
9818 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
9819 if test -n "$WINDMC_FOR_TARGET"; then
9820 - echo "$as_me:$LINENO: result: $WINDMC_FOR_TARGET" >&5
9821 -echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
9822 + { echo "$as_me:$LINENO: result: $WINDMC_FOR_TARGET" >&5
9823 +echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6; }
9824 else
9825 - echo "$as_me:$LINENO: result: no" >&5
9826 -echo "${ECHO_T}no" >&6
9827 + { echo "$as_me:$LINENO: result: no" >&5
9828 +echo "${ECHO_T}no" >&6; }
9833 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
9834 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9835 set dummy ${ncn_progname}; ac_word=$2
9836 -echo "$as_me:$LINENO: checking for $ac_word" >&5
9837 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9838 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9839 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9840 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then
9841 echo $ECHO_N "(cached) $ECHO_C" >&6
9842 else
9843 @@ -11613,25 +12291,27 @@
9844 IFS=$as_save_IFS
9845 test -z "$as_dir" && as_dir=.
9846 for ac_exec_ext in '' $ac_executable_extensions; do
9847 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9848 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9849 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
9850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9851 break 2
9853 done
9854 done
9855 +IFS=$as_save_IFS
9859 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
9860 if test -n "$WINDMC_FOR_TARGET"; then
9861 - echo "$as_me:$LINENO: result: $WINDMC_FOR_TARGET" >&5
9862 -echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6
9863 + { echo "$as_me:$LINENO: result: $WINDMC_FOR_TARGET" >&5
9864 +echo "${ECHO_T}$WINDMC_FOR_TARGET" >&6; }
9865 else
9866 - echo "$as_me:$LINENO: result: no" >&5
9867 -echo "${ECHO_T}no" >&6
9868 + { echo "$as_me:$LINENO: result: no" >&5
9869 +echo "${ECHO_T}no" >&6; }
9874 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
9875 done
9876 @@ -11655,18 +12335,18 @@
9878 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
9880 -echo "$as_me:$LINENO: checking where to find the target ar" >&5
9881 -echo $ECHO_N "checking where to find the target ar... $ECHO_C" >&6
9882 +{ echo "$as_me:$LINENO: checking where to find the target ar" >&5
9883 +echo $ECHO_N "checking where to find the target ar... $ECHO_C" >&6; }
9884 if test "x${build}" != "x${host}" ; then
9885 if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
9886 # We already found the complete path
9887 ac_dir=`dirname $AR_FOR_TARGET`
9888 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
9889 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
9890 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
9891 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
9892 else
9893 # Canadian cross, just use what we found
9894 - echo "$as_me:$LINENO: result: pre-installed" >&5
9895 -echo "${ECHO_T}pre-installed" >&6
9896 + { echo "$as_me:$LINENO: result: pre-installed" >&5
9897 +echo "${ECHO_T}pre-installed" >&6; }
9899 else
9900 ok=yes
9901 @@ -11678,37 +12358,37 @@
9902 if test $ok = yes; then
9903 # An in-tree tool is available and we can use it
9904 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
9905 - echo "$as_me:$LINENO: result: just compiled" >&5
9906 -echo "${ECHO_T}just compiled" >&6
9907 + { echo "$as_me:$LINENO: result: just compiled" >&5
9908 +echo "${ECHO_T}just compiled" >&6; }
9909 elif expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
9910 # We already found the complete path
9911 ac_dir=`dirname $AR_FOR_TARGET`
9912 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
9913 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
9914 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
9915 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
9916 elif test "x$target" = "x$host"; then
9917 # We can use an host tool
9918 AR_FOR_TARGET='$(AR)'
9919 - echo "$as_me:$LINENO: result: host tool" >&5
9920 -echo "${ECHO_T}host tool" >&6
9921 + { echo "$as_me:$LINENO: result: host tool" >&5
9922 +echo "${ECHO_T}host tool" >&6; }
9923 else
9924 # We need a cross tool
9925 - echo "$as_me:$LINENO: result: pre-installed" >&5
9926 -echo "${ECHO_T}pre-installed" >&6
9927 + { echo "$as_me:$LINENO: result: pre-installed" >&5
9928 +echo "${ECHO_T}pre-installed" >&6; }
9932 -echo "$as_me:$LINENO: checking where to find the target as" >&5
9933 -echo $ECHO_N "checking where to find the target as... $ECHO_C" >&6
9934 +{ echo "$as_me:$LINENO: checking where to find the target as" >&5
9935 +echo $ECHO_N "checking where to find the target as... $ECHO_C" >&6; }
9936 if test "x${build}" != "x${host}" ; then
9937 if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
9938 # We already found the complete path
9939 ac_dir=`dirname $AS_FOR_TARGET`
9940 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
9941 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
9942 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
9943 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
9944 else
9945 # Canadian cross, just use what we found
9946 - echo "$as_me:$LINENO: result: pre-installed" >&5
9947 -echo "${ECHO_T}pre-installed" >&6
9948 + { echo "$as_me:$LINENO: result: pre-installed" >&5
9949 +echo "${ECHO_T}pre-installed" >&6; }
9951 else
9952 ok=yes
9953 @@ -11720,37 +12400,37 @@
9954 if test $ok = yes; then
9955 # An in-tree tool is available and we can use it
9956 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
9957 - echo "$as_me:$LINENO: result: just compiled" >&5
9958 -echo "${ECHO_T}just compiled" >&6
9959 + { echo "$as_me:$LINENO: result: just compiled" >&5
9960 +echo "${ECHO_T}just compiled" >&6; }
9961 elif expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
9962 # We already found the complete path
9963 ac_dir=`dirname $AS_FOR_TARGET`
9964 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
9965 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
9966 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
9967 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
9968 elif test "x$target" = "x$host"; then
9969 # We can use an host tool
9970 AS_FOR_TARGET='$(AS)'
9971 - echo "$as_me:$LINENO: result: host tool" >&5
9972 -echo "${ECHO_T}host tool" >&6
9973 + { echo "$as_me:$LINENO: result: host tool" >&5
9974 +echo "${ECHO_T}host tool" >&6; }
9975 else
9976 # We need a cross tool
9977 - echo "$as_me:$LINENO: result: pre-installed" >&5
9978 -echo "${ECHO_T}pre-installed" >&6
9979 + { echo "$as_me:$LINENO: result: pre-installed" >&5
9980 +echo "${ECHO_T}pre-installed" >&6; }
9984 -echo "$as_me:$LINENO: checking where to find the target cc" >&5
9985 -echo $ECHO_N "checking where to find the target cc... $ECHO_C" >&6
9986 +{ echo "$as_me:$LINENO: checking where to find the target cc" >&5
9987 +echo $ECHO_N "checking where to find the target cc... $ECHO_C" >&6; }
9988 if test "x${build}" != "x${host}" ; then
9989 if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
9990 # We already found the complete path
9991 ac_dir=`dirname $CC_FOR_TARGET`
9992 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
9993 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
9994 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
9995 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
9996 else
9997 # Canadian cross, just use what we found
9998 - echo "$as_me:$LINENO: result: pre-installed" >&5
9999 -echo "${ECHO_T}pre-installed" >&6
10000 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10001 +echo "${ECHO_T}pre-installed" >&6; }
10003 else
10004 ok=yes
10005 @@ -11762,37 +12442,37 @@
10006 if test $ok = yes; then
10007 # An in-tree tool is available and we can use it
10008 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
10009 - echo "$as_me:$LINENO: result: just compiled" >&5
10010 -echo "${ECHO_T}just compiled" >&6
10011 + { echo "$as_me:$LINENO: result: just compiled" >&5
10012 +echo "${ECHO_T}just compiled" >&6; }
10013 elif expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
10014 # We already found the complete path
10015 ac_dir=`dirname $CC_FOR_TARGET`
10016 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10017 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10018 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10019 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10020 elif test "x$target" = "x$host"; then
10021 # We can use an host tool
10022 CC_FOR_TARGET='$(CC)'
10023 - echo "$as_me:$LINENO: result: host tool" >&5
10024 -echo "${ECHO_T}host tool" >&6
10025 + { echo "$as_me:$LINENO: result: host tool" >&5
10026 +echo "${ECHO_T}host tool" >&6; }
10027 else
10028 # We need a cross tool
10029 - echo "$as_me:$LINENO: result: pre-installed" >&5
10030 -echo "${ECHO_T}pre-installed" >&6
10031 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10032 +echo "${ECHO_T}pre-installed" >&6; }
10036 -echo "$as_me:$LINENO: checking where to find the target c++" >&5
10037 -echo $ECHO_N "checking where to find the target c++... $ECHO_C" >&6
10038 +{ echo "$as_me:$LINENO: checking where to find the target c++" >&5
10039 +echo $ECHO_N "checking where to find the target c++... $ECHO_C" >&6; }
10040 if test "x${build}" != "x${host}" ; then
10041 if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
10042 # We already found the complete path
10043 ac_dir=`dirname $CXX_FOR_TARGET`
10044 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10045 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10046 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10047 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10048 else
10049 # Canadian cross, just use what we found
10050 - echo "$as_me:$LINENO: result: pre-installed" >&5
10051 -echo "${ECHO_T}pre-installed" >&6
10052 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10053 +echo "${ECHO_T}pre-installed" >&6; }
10055 else
10056 ok=yes
10057 @@ -11807,37 +12487,37 @@
10058 if test $ok = yes; then
10059 # An in-tree tool is available and we can use it
10060 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
10061 - echo "$as_me:$LINENO: result: just compiled" >&5
10062 -echo "${ECHO_T}just compiled" >&6
10063 + { echo "$as_me:$LINENO: result: just compiled" >&5
10064 +echo "${ECHO_T}just compiled" >&6; }
10065 elif expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
10066 # We already found the complete path
10067 ac_dir=`dirname $CXX_FOR_TARGET`
10068 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10069 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10070 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10071 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10072 elif test "x$target" = "x$host"; then
10073 # We can use an host tool
10074 CXX_FOR_TARGET='$(CXX)'
10075 - echo "$as_me:$LINENO: result: host tool" >&5
10076 -echo "${ECHO_T}host tool" >&6
10077 + { echo "$as_me:$LINENO: result: host tool" >&5
10078 +echo "${ECHO_T}host tool" >&6; }
10079 else
10080 # We need a cross tool
10081 - echo "$as_me:$LINENO: result: pre-installed" >&5
10082 -echo "${ECHO_T}pre-installed" >&6
10083 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10084 +echo "${ECHO_T}pre-installed" >&6; }
10088 -echo "$as_me:$LINENO: checking where to find the target c++ for libstdc++" >&5
10089 -echo $ECHO_N "checking where to find the target c++ for libstdc++... $ECHO_C" >&6
10090 +{ echo "$as_me:$LINENO: checking where to find the target c++ for libstdc++" >&5
10091 +echo $ECHO_N "checking where to find the target c++ for libstdc++... $ECHO_C" >&6; }
10092 if test "x${build}" != "x${host}" ; then
10093 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
10094 # We already found the complete path
10095 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
10096 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10097 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10098 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10099 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10100 else
10101 # Canadian cross, just use what we found
10102 - echo "$as_me:$LINENO: result: pre-installed" >&5
10103 -echo "${ECHO_T}pre-installed" >&6
10104 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10105 +echo "${ECHO_T}pre-installed" >&6; }
10107 else
10108 ok=yes
10109 @@ -11852,37 +12532,37 @@
10110 if test $ok = yes; then
10111 # An in-tree tool is available and we can use it
10112 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'
10113 - echo "$as_me:$LINENO: result: just compiled" >&5
10114 -echo "${ECHO_T}just compiled" >&6
10115 + { echo "$as_me:$LINENO: result: just compiled" >&5
10116 +echo "${ECHO_T}just compiled" >&6; }
10117 elif expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
10118 # We already found the complete path
10119 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
10120 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10121 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10122 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10123 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10124 elif test "x$target" = "x$host"; then
10125 # We can use an host tool
10126 RAW_CXX_FOR_TARGET='$(CXX)'
10127 - echo "$as_me:$LINENO: result: host tool" >&5
10128 -echo "${ECHO_T}host tool" >&6
10129 + { echo "$as_me:$LINENO: result: host tool" >&5
10130 +echo "${ECHO_T}host tool" >&6; }
10131 else
10132 # We need a cross tool
10133 - echo "$as_me:$LINENO: result: pre-installed" >&5
10134 -echo "${ECHO_T}pre-installed" >&6
10135 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10136 +echo "${ECHO_T}pre-installed" >&6; }
10140 -echo "$as_me:$LINENO: checking where to find the target dlltool" >&5
10141 -echo $ECHO_N "checking where to find the target dlltool... $ECHO_C" >&6
10142 +{ echo "$as_me:$LINENO: checking where to find the target dlltool" >&5
10143 +echo $ECHO_N "checking where to find the target dlltool... $ECHO_C" >&6; }
10144 if test "x${build}" != "x${host}" ; then
10145 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
10146 # We already found the complete path
10147 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
10148 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10149 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10150 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10151 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10152 else
10153 # Canadian cross, just use what we found
10154 - echo "$as_me:$LINENO: result: pre-installed" >&5
10155 -echo "${ECHO_T}pre-installed" >&6
10156 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10157 +echo "${ECHO_T}pre-installed" >&6; }
10159 else
10160 ok=yes
10161 @@ -11894,37 +12574,37 @@
10162 if test $ok = yes; then
10163 # An in-tree tool is available and we can use it
10164 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
10165 - echo "$as_me:$LINENO: result: just compiled" >&5
10166 -echo "${ECHO_T}just compiled" >&6
10167 + { echo "$as_me:$LINENO: result: just compiled" >&5
10168 +echo "${ECHO_T}just compiled" >&6; }
10169 elif expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
10170 # We already found the complete path
10171 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
10172 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10173 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10174 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10175 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10176 elif test "x$target" = "x$host"; then
10177 # We can use an host tool
10178 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
10179 - echo "$as_me:$LINENO: result: host tool" >&5
10180 -echo "${ECHO_T}host tool" >&6
10181 + { echo "$as_me:$LINENO: result: host tool" >&5
10182 +echo "${ECHO_T}host tool" >&6; }
10183 else
10184 # We need a cross tool
10185 - echo "$as_me:$LINENO: result: pre-installed" >&5
10186 -echo "${ECHO_T}pre-installed" >&6
10187 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10188 +echo "${ECHO_T}pre-installed" >&6; }
10192 -echo "$as_me:$LINENO: checking where to find the target gcc" >&5
10193 -echo $ECHO_N "checking where to find the target gcc... $ECHO_C" >&6
10194 +{ echo "$as_me:$LINENO: checking where to find the target gcc" >&5
10195 +echo $ECHO_N "checking where to find the target gcc... $ECHO_C" >&6; }
10196 if test "x${build}" != "x${host}" ; then
10197 if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
10198 # We already found the complete path
10199 ac_dir=`dirname $GCC_FOR_TARGET`
10200 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10201 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10202 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10203 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10204 else
10205 # Canadian cross, just use what we found
10206 - echo "$as_me:$LINENO: result: pre-installed" >&5
10207 -echo "${ECHO_T}pre-installed" >&6
10208 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10209 +echo "${ECHO_T}pre-installed" >&6; }
10211 else
10212 ok=yes
10213 @@ -11936,37 +12616,37 @@
10214 if test $ok = yes; then
10215 # An in-tree tool is available and we can use it
10216 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
10217 - echo "$as_me:$LINENO: result: just compiled" >&5
10218 -echo "${ECHO_T}just compiled" >&6
10219 + { echo "$as_me:$LINENO: result: just compiled" >&5
10220 +echo "${ECHO_T}just compiled" >&6; }
10221 elif expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
10222 # We already found the complete path
10223 ac_dir=`dirname $GCC_FOR_TARGET`
10224 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10225 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10226 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10227 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10228 elif test "x$target" = "x$host"; then
10229 # We can use an host tool
10230 GCC_FOR_TARGET='$()'
10231 - echo "$as_me:$LINENO: result: host tool" >&5
10232 -echo "${ECHO_T}host tool" >&6
10233 + { echo "$as_me:$LINENO: result: host tool" >&5
10234 +echo "${ECHO_T}host tool" >&6; }
10235 else
10236 # We need a cross tool
10237 - echo "$as_me:$LINENO: result: pre-installed" >&5
10238 -echo "${ECHO_T}pre-installed" >&6
10239 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10240 +echo "${ECHO_T}pre-installed" >&6; }
10244 -echo "$as_me:$LINENO: checking where to find the target gcj" >&5
10245 -echo $ECHO_N "checking where to find the target gcj... $ECHO_C" >&6
10246 +{ echo "$as_me:$LINENO: checking where to find the target gcj" >&5
10247 +echo $ECHO_N "checking where to find the target gcj... $ECHO_C" >&6; }
10248 if test "x${build}" != "x${host}" ; then
10249 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
10250 # We already found the complete path
10251 ac_dir=`dirname $GCJ_FOR_TARGET`
10252 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10253 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10254 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10255 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10256 else
10257 # Canadian cross, just use what we found
10258 - echo "$as_me:$LINENO: result: pre-installed" >&5
10259 -echo "${ECHO_T}pre-installed" >&6
10260 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10261 +echo "${ECHO_T}pre-installed" >&6; }
10263 else
10264 ok=yes
10265 @@ -11981,37 +12661,37 @@
10266 if test $ok = yes; then
10267 # An in-tree tool is available and we can use it
10268 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
10269 - echo "$as_me:$LINENO: result: just compiled" >&5
10270 -echo "${ECHO_T}just compiled" >&6
10271 + { echo "$as_me:$LINENO: result: just compiled" >&5
10272 +echo "${ECHO_T}just compiled" >&6; }
10273 elif expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
10274 # We already found the complete path
10275 ac_dir=`dirname $GCJ_FOR_TARGET`
10276 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10277 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10278 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10279 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10280 elif test "x$target" = "x$host"; then
10281 # We can use an host tool
10282 GCJ_FOR_TARGET='$(GCJ)'
10283 - echo "$as_me:$LINENO: result: host tool" >&5
10284 -echo "${ECHO_T}host tool" >&6
10285 + { echo "$as_me:$LINENO: result: host tool" >&5
10286 +echo "${ECHO_T}host tool" >&6; }
10287 else
10288 # We need a cross tool
10289 - echo "$as_me:$LINENO: result: pre-installed" >&5
10290 -echo "${ECHO_T}pre-installed" >&6
10291 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10292 +echo "${ECHO_T}pre-installed" >&6; }
10296 -echo "$as_me:$LINENO: checking where to find the target gfortran" >&5
10297 -echo $ECHO_N "checking where to find the target gfortran... $ECHO_C" >&6
10298 +{ echo "$as_me:$LINENO: checking where to find the target gfortran" >&5
10299 +echo $ECHO_N "checking where to find the target gfortran... $ECHO_C" >&6; }
10300 if test "x${build}" != "x${host}" ; then
10301 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
10302 # We already found the complete path
10303 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
10304 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10305 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10306 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10307 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10308 else
10309 # Canadian cross, just use what we found
10310 - echo "$as_me:$LINENO: result: pre-installed" >&5
10311 -echo "${ECHO_T}pre-installed" >&6
10312 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10313 +echo "${ECHO_T}pre-installed" >&6; }
10315 else
10316 ok=yes
10317 @@ -12026,37 +12706,37 @@
10318 if test $ok = yes; then
10319 # An in-tree tool is available and we can use it
10320 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
10321 - echo "$as_me:$LINENO: result: just compiled" >&5
10322 -echo "${ECHO_T}just compiled" >&6
10323 + { echo "$as_me:$LINENO: result: just compiled" >&5
10324 +echo "${ECHO_T}just compiled" >&6; }
10325 elif expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
10326 # We already found the complete path
10327 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
10328 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10329 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10330 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10331 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10332 elif test "x$target" = "x$host"; then
10333 # We can use an host tool
10334 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
10335 - echo "$as_me:$LINENO: result: host tool" >&5
10336 -echo "${ECHO_T}host tool" >&6
10337 + { echo "$as_me:$LINENO: result: host tool" >&5
10338 +echo "${ECHO_T}host tool" >&6; }
10339 else
10340 # We need a cross tool
10341 - echo "$as_me:$LINENO: result: pre-installed" >&5
10342 -echo "${ECHO_T}pre-installed" >&6
10343 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10344 +echo "${ECHO_T}pre-installed" >&6; }
10348 -echo "$as_me:$LINENO: checking where to find the target ld" >&5
10349 -echo $ECHO_N "checking where to find the target ld... $ECHO_C" >&6
10350 +{ echo "$as_me:$LINENO: checking where to find the target ld" >&5
10351 +echo $ECHO_N "checking where to find the target ld... $ECHO_C" >&6; }
10352 if test "x${build}" != "x${host}" ; then
10353 if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
10354 # We already found the complete path
10355 ac_dir=`dirname $LD_FOR_TARGET`
10356 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10357 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10358 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10359 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10360 else
10361 # Canadian cross, just use what we found
10362 - echo "$as_me:$LINENO: result: pre-installed" >&5
10363 -echo "${ECHO_T}pre-installed" >&6
10364 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10365 +echo "${ECHO_T}pre-installed" >&6; }
10367 else
10368 ok=yes
10369 @@ -12068,68 +12748,68 @@
10370 if test $ok = yes; then
10371 # An in-tree tool is available and we can use it
10372 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
10373 - echo "$as_me:$LINENO: result: just compiled" >&5
10374 -echo "${ECHO_T}just compiled" >&6
10375 + { echo "$as_me:$LINENO: result: just compiled" >&5
10376 +echo "${ECHO_T}just compiled" >&6; }
10377 elif expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
10378 # We already found the complete path
10379 ac_dir=`dirname $LD_FOR_TARGET`
10380 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10381 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10382 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10383 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10384 elif test "x$target" = "x$host"; then
10385 # We can use an host tool
10386 LD_FOR_TARGET='$(LD)'
10387 - echo "$as_me:$LINENO: result: host tool" >&5
10388 -echo "${ECHO_T}host tool" >&6
10389 + { echo "$as_me:$LINENO: result: host tool" >&5
10390 +echo "${ECHO_T}host tool" >&6; }
10391 else
10392 # We need a cross tool
10393 - echo "$as_me:$LINENO: result: pre-installed" >&5
10394 -echo "${ECHO_T}pre-installed" >&6
10395 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10396 +echo "${ECHO_T}pre-installed" >&6; }
10400 -echo "$as_me:$LINENO: checking where to find the target lipo" >&5
10401 -echo $ECHO_N "checking where to find the target lipo... $ECHO_C" >&6
10402 +{ echo "$as_me:$LINENO: checking where to find the target lipo" >&5
10403 +echo $ECHO_N "checking where to find the target lipo... $ECHO_C" >&6; }
10404 if test "x${build}" != "x${host}" ; then
10405 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
10406 # We already found the complete path
10407 ac_dir=`dirname $LIPO_FOR_TARGET`
10408 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10409 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10410 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10411 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10412 else
10413 # Canadian cross, just use what we found
10414 - echo "$as_me:$LINENO: result: pre-installed" >&5
10415 -echo "${ECHO_T}pre-installed" >&6
10416 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10417 +echo "${ECHO_T}pre-installed" >&6; }
10419 else
10420 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
10421 # We already found the complete path
10422 ac_dir=`dirname $LIPO_FOR_TARGET`
10423 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10424 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10425 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10426 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10427 elif test "x$target" = "x$host"; then
10428 # We can use an host tool
10429 LIPO_FOR_TARGET='$(LIPO)'
10430 - echo "$as_me:$LINENO: result: host tool" >&5
10431 -echo "${ECHO_T}host tool" >&6
10432 + { echo "$as_me:$LINENO: result: host tool" >&5
10433 +echo "${ECHO_T}host tool" >&6; }
10434 else
10435 # We need a cross tool
10436 - echo "$as_me:$LINENO: result: pre-installed" >&5
10437 -echo "${ECHO_T}pre-installed" >&6
10438 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10439 +echo "${ECHO_T}pre-installed" >&6; }
10443 -echo "$as_me:$LINENO: checking where to find the target nm" >&5
10444 -echo $ECHO_N "checking where to find the target nm... $ECHO_C" >&6
10445 +{ echo "$as_me:$LINENO: checking where to find the target nm" >&5
10446 +echo $ECHO_N "checking where to find the target nm... $ECHO_C" >&6; }
10447 if test "x${build}" != "x${host}" ; then
10448 if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
10449 # We already found the complete path
10450 ac_dir=`dirname $NM_FOR_TARGET`
10451 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10452 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10453 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10454 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10455 else
10456 # Canadian cross, just use what we found
10457 - echo "$as_me:$LINENO: result: pre-installed" >&5
10458 -echo "${ECHO_T}pre-installed" >&6
10459 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10460 +echo "${ECHO_T}pre-installed" >&6; }
10462 else
10463 ok=yes
10464 @@ -12141,37 +12821,37 @@
10465 if test $ok = yes; then
10466 # An in-tree tool is available and we can use it
10467 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
10468 - echo "$as_me:$LINENO: result: just compiled" >&5
10469 -echo "${ECHO_T}just compiled" >&6
10470 + { echo "$as_me:$LINENO: result: just compiled" >&5
10471 +echo "${ECHO_T}just compiled" >&6; }
10472 elif expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
10473 # We already found the complete path
10474 ac_dir=`dirname $NM_FOR_TARGET`
10475 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10476 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10477 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10478 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10479 elif test "x$target" = "x$host"; then
10480 # We can use an host tool
10481 NM_FOR_TARGET='$(NM)'
10482 - echo "$as_me:$LINENO: result: host tool" >&5
10483 -echo "${ECHO_T}host tool" >&6
10484 + { echo "$as_me:$LINENO: result: host tool" >&5
10485 +echo "${ECHO_T}host tool" >&6; }
10486 else
10487 # We need a cross tool
10488 - echo "$as_me:$LINENO: result: pre-installed" >&5
10489 -echo "${ECHO_T}pre-installed" >&6
10490 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10491 +echo "${ECHO_T}pre-installed" >&6; }
10495 -echo "$as_me:$LINENO: checking where to find the target objdump" >&5
10496 -echo $ECHO_N "checking where to find the target objdump... $ECHO_C" >&6
10497 +{ echo "$as_me:$LINENO: checking where to find the target objdump" >&5
10498 +echo $ECHO_N "checking where to find the target objdump... $ECHO_C" >&6; }
10499 if test "x${build}" != "x${host}" ; then
10500 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
10501 # We already found the complete path
10502 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
10503 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10504 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10505 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10506 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10507 else
10508 # Canadian cross, just use what we found
10509 - echo "$as_me:$LINENO: result: pre-installed" >&5
10510 -echo "${ECHO_T}pre-installed" >&6
10511 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10512 +echo "${ECHO_T}pre-installed" >&6; }
10514 else
10515 ok=yes
10516 @@ -12183,37 +12863,37 @@
10517 if test $ok = yes; then
10518 # An in-tree tool is available and we can use it
10519 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
10520 - echo "$as_me:$LINENO: result: just compiled" >&5
10521 -echo "${ECHO_T}just compiled" >&6
10522 + { echo "$as_me:$LINENO: result: just compiled" >&5
10523 +echo "${ECHO_T}just compiled" >&6; }
10524 elif expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
10525 # We already found the complete path
10526 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
10527 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10528 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10529 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10530 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10531 elif test "x$target" = "x$host"; then
10532 # We can use an host tool
10533 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
10534 - echo "$as_me:$LINENO: result: host tool" >&5
10535 -echo "${ECHO_T}host tool" >&6
10536 + { echo "$as_me:$LINENO: result: host tool" >&5
10537 +echo "${ECHO_T}host tool" >&6; }
10538 else
10539 # We need a cross tool
10540 - echo "$as_me:$LINENO: result: pre-installed" >&5
10541 -echo "${ECHO_T}pre-installed" >&6
10542 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10543 +echo "${ECHO_T}pre-installed" >&6; }
10547 -echo "$as_me:$LINENO: checking where to find the target ranlib" >&5
10548 -echo $ECHO_N "checking where to find the target ranlib... $ECHO_C" >&6
10549 +{ echo "$as_me:$LINENO: checking where to find the target ranlib" >&5
10550 +echo $ECHO_N "checking where to find the target ranlib... $ECHO_C" >&6; }
10551 if test "x${build}" != "x${host}" ; then
10552 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
10553 # We already found the complete path
10554 ac_dir=`dirname $RANLIB_FOR_TARGET`
10555 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10556 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10557 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10558 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10559 else
10560 # Canadian cross, just use what we found
10561 - echo "$as_me:$LINENO: result: pre-installed" >&5
10562 -echo "${ECHO_T}pre-installed" >&6
10563 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10564 +echo "${ECHO_T}pre-installed" >&6; }
10566 else
10567 ok=yes
10568 @@ -12225,37 +12905,37 @@
10569 if test $ok = yes; then
10570 # An in-tree tool is available and we can use it
10571 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
10572 - echo "$as_me:$LINENO: result: just compiled" >&5
10573 -echo "${ECHO_T}just compiled" >&6
10574 + { echo "$as_me:$LINENO: result: just compiled" >&5
10575 +echo "${ECHO_T}just compiled" >&6; }
10576 elif expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
10577 # We already found the complete path
10578 ac_dir=`dirname $RANLIB_FOR_TARGET`
10579 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10580 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10581 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10582 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10583 elif test "x$target" = "x$host"; then
10584 # We can use an host tool
10585 RANLIB_FOR_TARGET='$(RANLIB)'
10586 - echo "$as_me:$LINENO: result: host tool" >&5
10587 -echo "${ECHO_T}host tool" >&6
10588 + { echo "$as_me:$LINENO: result: host tool" >&5
10589 +echo "${ECHO_T}host tool" >&6; }
10590 else
10591 # We need a cross tool
10592 - echo "$as_me:$LINENO: result: pre-installed" >&5
10593 -echo "${ECHO_T}pre-installed" >&6
10594 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10595 +echo "${ECHO_T}pre-installed" >&6; }
10599 -echo "$as_me:$LINENO: checking where to find the target strip" >&5
10600 -echo $ECHO_N "checking where to find the target strip... $ECHO_C" >&6
10601 +{ echo "$as_me:$LINENO: checking where to find the target strip" >&5
10602 +echo $ECHO_N "checking where to find the target strip... $ECHO_C" >&6; }
10603 if test "x${build}" != "x${host}" ; then
10604 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
10605 # We already found the complete path
10606 ac_dir=`dirname $STRIP_FOR_TARGET`
10607 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10608 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10609 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10610 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10611 else
10612 # Canadian cross, just use what we found
10613 - echo "$as_me:$LINENO: result: pre-installed" >&5
10614 -echo "${ECHO_T}pre-installed" >&6
10615 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10616 +echo "${ECHO_T}pre-installed" >&6; }
10618 else
10619 ok=yes
10620 @@ -12267,37 +12947,37 @@
10621 if test $ok = yes; then
10622 # An in-tree tool is available and we can use it
10623 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
10624 - echo "$as_me:$LINENO: result: just compiled" >&5
10625 -echo "${ECHO_T}just compiled" >&6
10626 + { echo "$as_me:$LINENO: result: just compiled" >&5
10627 +echo "${ECHO_T}just compiled" >&6; }
10628 elif expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
10629 # We already found the complete path
10630 ac_dir=`dirname $STRIP_FOR_TARGET`
10631 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10632 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10633 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10634 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10635 elif test "x$target" = "x$host"; then
10636 # We can use an host tool
10637 STRIP_FOR_TARGET='$(STRIP)'
10638 - echo "$as_me:$LINENO: result: host tool" >&5
10639 -echo "${ECHO_T}host tool" >&6
10640 + { echo "$as_me:$LINENO: result: host tool" >&5
10641 +echo "${ECHO_T}host tool" >&6; }
10642 else
10643 # We need a cross tool
10644 - echo "$as_me:$LINENO: result: pre-installed" >&5
10645 -echo "${ECHO_T}pre-installed" >&6
10646 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10647 +echo "${ECHO_T}pre-installed" >&6; }
10651 -echo "$as_me:$LINENO: checking where to find the target windres" >&5
10652 -echo $ECHO_N "checking where to find the target windres... $ECHO_C" >&6
10653 +{ echo "$as_me:$LINENO: checking where to find the target windres" >&5
10654 +echo $ECHO_N "checking where to find the target windres... $ECHO_C" >&6; }
10655 if test "x${build}" != "x${host}" ; then
10656 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
10657 # We already found the complete path
10658 ac_dir=`dirname $WINDRES_FOR_TARGET`
10659 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10660 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10661 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10662 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10663 else
10664 # Canadian cross, just use what we found
10665 - echo "$as_me:$LINENO: result: pre-installed" >&5
10666 -echo "${ECHO_T}pre-installed" >&6
10667 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10668 +echo "${ECHO_T}pre-installed" >&6; }
10670 else
10671 ok=yes
10672 @@ -12309,37 +12989,37 @@
10673 if test $ok = yes; then
10674 # An in-tree tool is available and we can use it
10675 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
10676 - echo "$as_me:$LINENO: result: just compiled" >&5
10677 -echo "${ECHO_T}just compiled" >&6
10678 + { echo "$as_me:$LINENO: result: just compiled" >&5
10679 +echo "${ECHO_T}just compiled" >&6; }
10680 elif expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
10681 # We already found the complete path
10682 ac_dir=`dirname $WINDRES_FOR_TARGET`
10683 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10684 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10685 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10686 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10687 elif test "x$target" = "x$host"; then
10688 # We can use an host tool
10689 WINDRES_FOR_TARGET='$(WINDRES)'
10690 - echo "$as_me:$LINENO: result: host tool" >&5
10691 -echo "${ECHO_T}host tool" >&6
10692 + { echo "$as_me:$LINENO: result: host tool" >&5
10693 +echo "${ECHO_T}host tool" >&6; }
10694 else
10695 # We need a cross tool
10696 - echo "$as_me:$LINENO: result: pre-installed" >&5
10697 -echo "${ECHO_T}pre-installed" >&6
10698 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10699 +echo "${ECHO_T}pre-installed" >&6; }
10703 -echo "$as_me:$LINENO: checking where to find the target windmc" >&5
10704 -echo $ECHO_N "checking where to find the target windmc... $ECHO_C" >&6
10705 +{ echo "$as_me:$LINENO: checking where to find the target windmc" >&5
10706 +echo $ECHO_N "checking where to find the target windmc... $ECHO_C" >&6; }
10707 if test "x${build}" != "x${host}" ; then
10708 if expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
10709 # We already found the complete path
10710 ac_dir=`dirname $WINDMC_FOR_TARGET`
10711 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10712 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10713 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10714 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10715 else
10716 # Canadian cross, just use what we found
10717 - echo "$as_me:$LINENO: result: pre-installed" >&5
10718 -echo "${ECHO_T}pre-installed" >&6
10719 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10720 +echo "${ECHO_T}pre-installed" >&6; }
10722 else
10723 ok=yes
10724 @@ -12351,22 +13031,22 @@
10725 if test $ok = yes; then
10726 # An in-tree tool is available and we can use it
10727 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
10728 - echo "$as_me:$LINENO: result: just compiled" >&5
10729 -echo "${ECHO_T}just compiled" >&6
10730 + { echo "$as_me:$LINENO: result: just compiled" >&5
10731 +echo "${ECHO_T}just compiled" >&6; }
10732 elif expr "x$WINDMC_FOR_TARGET" : "x/" > /dev/null; then
10733 # We already found the complete path
10734 ac_dir=`dirname $WINDMC_FOR_TARGET`
10735 - echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10736 -echo "${ECHO_T}pre-installed in $ac_dir" >&6
10737 + { echo "$as_me:$LINENO: result: pre-installed in $ac_dir" >&5
10738 +echo "${ECHO_T}pre-installed in $ac_dir" >&6; }
10739 elif test "x$target" = "x$host"; then
10740 # We can use an host tool
10741 WINDMC_FOR_TARGET='$(WINDMC)'
10742 - echo "$as_me:$LINENO: result: host tool" >&5
10743 -echo "${ECHO_T}host tool" >&6
10744 + { echo "$as_me:$LINENO: result: host tool" >&5
10745 +echo "${ECHO_T}host tool" >&6; }
10746 else
10747 # We need a cross tool
10748 - echo "$as_me:$LINENO: result: pre-installed" >&5
10749 -echo "${ECHO_T}pre-installed" >&6
10750 + { echo "$as_me:$LINENO: result: pre-installed" >&5
10751 +echo "${ECHO_T}pre-installed" >&6; }
10755 @@ -12398,17 +13078,17 @@
10759 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
10760 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
10761 -# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
10762 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
10763 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
10764 +# Check whether --enable-maintainer-mode was given.
10765 if test "${enable_maintainer_mode+set}" = set; then
10766 - enableval="$enable_maintainer_mode"
10767 - USE_MAINTAINER_MODE=$enableval
10768 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
10769 else
10770 USE_MAINTAINER_MODE=no
10771 -fi;
10772 -echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
10773 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
10776 +{ echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
10777 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
10780 if test "$USE_MAINTAINER_MODE" = yes; then
10781 @@ -12440,8 +13120,8 @@
10783 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
10784 CFLAGS="$CFLAGS -fkeep-inline-functions"
10785 - echo "$as_me:$LINENO: checking whether -fkeep-inline-functions is supported" >&5
10786 -echo $ECHO_N "checking whether -fkeep-inline-functions is supported... $ECHO_C" >&6
10787 + { echo "$as_me:$LINENO: checking whether -fkeep-inline-functions is supported" >&5
10788 +echo $ECHO_N "checking whether -fkeep-inline-functions is supported... $ECHO_C" >&6; }
10789 cat >conftest.$ac_ext <<_ACEOF
10790 /* confdefs.h. */
10791 _ACEOF
10792 @@ -12464,37 +13144,33 @@
10794 _ACEOF
10795 rm -f conftest.$ac_objext
10796 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10797 - (eval $ac_compile) 2>conftest.er1
10798 +if { (ac_try="$ac_compile"
10799 +case "(($ac_try" in
10800 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10801 + *) ac_try_echo=$ac_try;;
10802 +esac
10803 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10804 + (eval "$ac_compile") 2>conftest.er1
10805 ac_status=$?
10806 grep -v '^ *+' conftest.er1 >conftest.err
10807 rm -f conftest.er1
10808 cat conftest.err >&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 - (exit $ac_status); } &&
10811 - { ac_try='test -z "$ac_c_werror_flag"
10812 - || test ! -s conftest.err'
10813 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10814 - (eval $ac_try) 2>&5
10815 - ac_status=$?
10816 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10817 - (exit $ac_status); }; } &&
10818 - { ac_try='test -s conftest.$ac_objext'
10819 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10820 - (eval $ac_try) 2>&5
10821 - ac_status=$?
10822 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10823 - (exit $ac_status); }; }; then
10824 - echo "$as_me:$LINENO: result: yes" >&5
10825 -echo "${ECHO_T}yes" >&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
10826 + (exit $ac_status); } && {
10827 + test -z "$ac_c_werror_flag" ||
10828 + test ! -s conftest.err
10829 + } && test -s conftest.$ac_objext; then
10830 + { echo "$as_me:$LINENO: result: yes" >&5
10831 +echo "${ECHO_T}yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
10832 else
10833 echo "$as_me: failed program was:" >&5
10834 sed 's/^/| /' conftest.$ac_ext >&5
10836 -echo "$as_me:$LINENO: result: no" >&5
10837 -echo "${ECHO_T}no" >&6
10838 + { echo "$as_me:$LINENO: result: no" >&5
10839 +echo "${ECHO_T}no" >&6; }
10841 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10843 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10845 CFLAGS="$saved_CFLAGS"
10847 @@ -12502,31 +13178,31 @@
10850 # Enable --enable-checking in stage1 of the compiler.
10851 -# Check whether --enable-stage1-checking or --disable-stage1-checking was given.
10852 +# Check whether --enable-stage1-checking was given.
10853 if test "${enable_stage1_checking+set}" = set; then
10854 - enableval="$enable_stage1_checking"
10855 - stage1_checking=--enable-checking=${enable_stage1_checking}
10856 + enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
10857 else
10858 if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
10859 stage1_checking=--enable-checking=yes,types
10860 else
10861 stage1_checking=--enable-checking=$enable_checking,types
10863 -fi;
10868 # Enable -Werror in bootstrap stage2 and later.
10869 -# Check whether --enable-werror or --disable-werror was given.
10870 +# Check whether --enable-werror was given.
10871 if test "${enable_werror+set}" = set; then
10872 - enableval="$enable_werror"
10874 + enableval=$enable_werror;
10875 else
10876 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
10877 enable_werror=yes
10878 else
10879 enable_werror=no
10881 -fi;
10884 case ${enable_werror} in
10885 yes) stage2_werror_flag="--enable-werror-always" ;;
10886 *) stage2_werror_flag="" ;;
10887 @@ -12535,47 +13211,48 @@
10889 # Flags needed to enable html installing and building
10891 -# Check whether --with-datarootdir or --without-datarootdir was given.
10892 +# Check whether --with-datarootdir was given.
10893 if test "${with_datarootdir+set}" = set; then
10894 - withval="$with_datarootdir"
10895 - datarootdir="\${prefix}/${withval}"
10896 + withval=$with_datarootdir; datarootdir="\${prefix}/${withval}"
10897 else
10898 datarootdir="\${prefix}/share"
10899 -fi;
10904 -# Check whether --with-docdir or --without-docdir was given.
10905 +# Check whether --with-docdir was given.
10906 if test "${with_docdir+set}" = set; then
10907 - withval="$with_docdir"
10908 - docdir="\${prefix}/${withval}"
10909 + withval=$with_docdir; docdir="\${prefix}/${withval}"
10910 else
10911 docdir="\${datarootdir}/doc"
10912 -fi;
10916 -# Check whether --with-pdfdir or --without-pdfdir was given.
10918 +# Check whether --with-pdfdir was given.
10919 if test "${with_pdfdir+set}" = set; then
10920 - withval="$with_pdfdir"
10921 - pdfdir="\${prefix}/${withval}"
10922 + withval=$with_pdfdir; pdfdir="\${prefix}/${withval}"
10923 else
10924 pdfdir="\${docdir}"
10925 -fi;
10930 -# Check whether --with-htmldir or --without-htmldir was given.
10931 +# Check whether --with-htmldir was given.
10932 if test "${with_htmldir+set}" = set; then
10933 - withval="$with_htmldir"
10934 - htmldir="\${prefix}/${withval}"
10935 + withval=$with_htmldir; htmldir="\${prefix}/${withval}"
10936 else
10937 htmldir="\${docdir}"
10938 -fi;
10947 +ac_config_files="$ac_config_files Makefile"
10949 - ac_config_files="$ac_config_files Makefile"
10950 cat >confcache <<\_ACEOF
10951 # This file is a shell script that caches the results of configure
10952 # tests run on this system so they can be shared between configure
10953 @@ -12594,39 +13271,58 @@
10955 # The following way of writing the cache mishandles newlines in values,
10956 # but we know of no workaround that is simple, portable, and efficient.
10957 -# So, don't put newlines in cache variables' values.
10958 +# So, we kill variables containing newlines.
10959 # Ultrix sh set writes to stderr and can't be redirected directly,
10960 # and sets the high bit in the cache file unless we assign to the vars.
10963 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10964 + eval ac_val=\$$ac_var
10965 + case $ac_val in #(
10966 + *${as_nl}*)
10967 + case $ac_var in #(
10968 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10969 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10970 + esac
10971 + case $ac_var in #(
10972 + _ | IFS | as_nl) ;; #(
10973 + *) $as_unset $ac_var ;;
10974 + esac ;;
10975 + esac
10976 + done
10978 (set) 2>&1 |
10979 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
10980 - *ac_space=\ *)
10981 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
10982 + *${as_nl}ac_space=\ *)
10983 # `set' does not quote correctly, so add quotes (double-quote
10984 # substitution turns \\\\ into \\, and sed turns \\ into \).
10985 sed -n \
10986 "s/'/'\\\\''/g;
10987 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10988 - ;;
10989 + ;; #(
10991 # `set' quotes correctly as required by POSIX, so do not add quotes.
10992 - sed -n \
10993 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10994 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10996 - esac;
10997 -} |
10998 + esac |
10999 + sort
11000 +) |
11001 sed '
11002 + /^ac_cv_env_/b end
11003 t clear
11004 - : clear
11005 + :clear
11006 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11007 t end
11008 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11009 - : end' >>confcache
11010 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
11011 - if test -w $cache_file; then
11012 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11013 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11014 + :end' >>confcache
11015 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11016 + if test -w "$cache_file"; then
11017 + test "x$cache_file" != "x/dev/null" &&
11018 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
11019 +echo "$as_me: updating cache $cache_file" >&6;}
11020 cat confcache >$cache_file
11021 else
11022 - echo "not updating unwritable cache $cache_file"
11023 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11024 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11027 rm -f confcache
11028 @@ -12635,63 +13331,48 @@
11029 # Let make expand exec_prefix.
11030 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11032 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
11033 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11034 -# trailing colons and then remove the whole line if VPATH becomes empty
11035 -# (actually we leave an empty line to preserve line numbers).
11036 -if test "x$srcdir" = x.; then
11037 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
11038 -s/:*\$(srcdir):*/:/;
11039 -s/:*\${srcdir}:*/:/;
11040 -s/:*@srcdir@:*/:/;
11041 -s/^\([^=]*=[ ]*\):*/\1/;
11042 -s/:*$//;
11043 -s/^[^=]*=[ ]*$//;
11047 # Transform confdefs.h into DEFS.
11048 # Protect against shell expansion while executing Makefile rules.
11049 # Protect against Makefile macro expansion.
11051 # If the first sed substitution is executed (which looks for macros that
11052 -# take arguments), then we branch to the quote section. Otherwise,
11053 +# take arguments), then branch to the quote section. Otherwise,
11054 # look for a macro that doesn't take arguments.
11055 -cat >confdef2opt.sed <<\_ACEOF
11056 +ac_script='
11057 t clear
11058 -: clear
11059 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
11060 +:clear
11061 +s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
11062 t quote
11063 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
11064 +s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
11065 t quote
11067 -: quote
11068 -s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
11069 -s,\[,\\&,g
11070 -s,\],\\&,g
11071 -s,\$,$$,g
11073 -_ACEOF
11074 -# We use echo to avoid assuming a particular line-breaking character.
11075 -# The extra dot is to prevent the shell from consuming trailing
11076 -# line-breaks from the sub-command output. A line-break within
11077 -# single-quotes doesn't work because, if this script is created in a
11078 -# platform that uses two characters for line-breaks (e.g., DOS), tr
11079 -# would break.
11080 -ac_LF_and_DOT=`echo; echo .`
11081 -DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
11082 -rm -f confdef2opt.sed
11083 +b any
11084 +:quote
11085 +s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
11086 +s/\[/\\&/g
11087 +s/\]/\\&/g
11088 +s/\$/$$/g
11090 +:any
11093 + s/^\n//
11094 + s/\n/ /g
11098 +DEFS=`sed -n "$ac_script" confdefs.h`
11101 ac_libobjs=
11102 ac_ltlibobjs=
11103 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11104 # 1. Remove the extension, and $U if already installed.
11105 - ac_i=`echo "$ac_i" |
11106 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11107 - # 2. Add them.
11108 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11109 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11110 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11111 + ac_i=`echo "$ac_i" | sed "$ac_script"`
11112 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11113 + # will be set to the directory where LIBOBJS objects are built.
11114 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11115 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11116 done
11117 LIBOBJS=$ac_libobjs
11119 @@ -12722,17 +13403,45 @@
11120 ## M4sh Initialization. ##
11121 ## --------------------- ##
11123 -# Be Bourne compatible
11124 +# Be more Bourne compatible
11125 +DUALCASE=1; export DUALCASE # for MKS sh
11126 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11127 emulate sh
11128 NULLCMD=:
11129 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11130 # is contrary to our usage. Disable this feature.
11131 alias -g '${1+"$@"}'='"$@"'
11132 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11133 - set -o posix
11134 + setopt NO_GLOB_SUBST
11135 +else
11136 + case `(set -o) 2>/dev/null` in
11137 + *posix*) set -o posix ;;
11138 +esac
11145 +# PATH needs CR
11146 +# Avoid depending upon Character Ranges.
11147 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11148 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11149 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11150 +as_cr_digits='0123456789'
11151 +as_cr_alnum=$as_cr_Letters$as_cr_digits
11153 +# The user is always right.
11154 +if test "${PATH_SEPARATOR+set}" != set; then
11155 + echo "#! /bin/sh" >conf$$.sh
11156 + echo "exit 0" >>conf$$.sh
11157 + chmod +x conf$$.sh
11158 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11159 + PATH_SEPARATOR=';'
11160 + else
11161 + PATH_SEPARATOR=:
11162 + fi
11163 + rm -f conf$$.sh
11165 -DUALCASE=1; export DUALCASE # for MKS sh
11167 # Support unset when possible.
11168 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11169 @@ -12742,8 +13451,43 @@
11173 +# IFS
11174 +# We need space, tab and new line, in precisely that order. Quoting is
11175 +# there to prevent editors from complaining about space-tab.
11176 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11177 +# splitting by setting IFS to empty value.)
11178 +as_nl='
11180 +IFS=" "" $as_nl"
11182 +# Find who we are. Look in the path if we contain no directory separator.
11183 +case $0 in
11184 + *[\\/]* ) as_myself=$0 ;;
11185 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11186 +for as_dir in $PATH
11188 + IFS=$as_save_IFS
11189 + test -z "$as_dir" && as_dir=.
11190 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11191 +done
11192 +IFS=$as_save_IFS
11194 + ;;
11195 +esac
11196 +# We did not find ourselves, most probably we were run as `sh COMMAND'
11197 +# in which case we are not to be found in the path.
11198 +if test "x$as_myself" = x; then
11199 + as_myself=$0
11201 +if test ! -f "$as_myself"; then
11202 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11203 + { (exit 1); exit 1; }
11206 # Work around bugs in pre-3.0 UWIN ksh.
11207 -$as_unset ENV MAIL MAILPATH
11208 +for as_var in ENV MAIL MAILPATH
11209 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11210 +done
11211 PS1='$ '
11212 PS2='> '
11213 PS4='+ '
11214 @@ -12757,18 +13501,19 @@
11215 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11216 eval $as_var=C; export $as_var
11217 else
11218 - $as_unset $as_var
11219 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11221 done
11223 # Required to use basename.
11224 -if expr a : '\(a\)' >/dev/null 2>&1; then
11225 +if expr a : '\(a\)' >/dev/null 2>&1 &&
11226 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
11227 as_expr=expr
11228 else
11229 as_expr=false
11232 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11233 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11234 as_basename=basename
11235 else
11236 as_basename=false
11237 @@ -12776,159 +13521,120 @@
11240 # Name of the executable.
11241 -as_me=`$as_basename "$0" ||
11242 +as_me=`$as_basename -- "$0" ||
11243 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11244 X"$0" : 'X\(//\)$' \| \
11245 - X"$0" : 'X\(/\)$' \| \
11246 - . : '\(.\)' 2>/dev/null ||
11247 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11248 echo X/"$0" |
11249 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11250 - /^X\/\(\/\/\)$/{ s//\1/; q; }
11251 - /^X\/\(\/\).*/{ s//\1/; q; }
11252 - s/.*/./; q'`
11253 + sed '/^.*\/\([^/][^/]*\)\/*$/{
11254 + s//\1/
11257 + /^X\/\(\/\/\)$/{
11258 + s//\1/
11261 + /^X\/\(\/\).*/{
11262 + s//\1/
11265 + s/.*/./; q'`
11267 +# CDPATH.
11268 +$as_unset CDPATH
11270 -# PATH needs CR, and LINENO needs CR and PATH.
11271 -# Avoid depending upon Character Ranges.
11272 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11273 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11274 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11275 -as_cr_digits='0123456789'
11276 -as_cr_alnum=$as_cr_Letters$as_cr_digits
11278 -# The user is always right.
11279 -if test "${PATH_SEPARATOR+set}" != set; then
11280 - echo "#! /bin/sh" >conf$$.sh
11281 - echo "exit 0" >>conf$$.sh
11282 - chmod +x conf$$.sh
11283 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11284 - PATH_SEPARATOR=';'
11285 - else
11286 - PATH_SEPARATOR=:
11287 - fi
11288 - rm -f conf$$.sh
11292 as_lineno_1=$LINENO
11293 as_lineno_2=$LINENO
11294 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11295 test "x$as_lineno_1" != "x$as_lineno_2" &&
11296 - test "x$as_lineno_3" = "x$as_lineno_2" || {
11297 - # Find who we are. Look in the path if we contain no path at all
11298 - # relative or not.
11299 - case $0 in
11300 - *[\\/]* ) as_myself=$0 ;;
11301 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11302 -for as_dir in $PATH
11304 - IFS=$as_save_IFS
11305 - test -z "$as_dir" && as_dir=.
11306 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11307 -done
11309 - ;;
11310 - esac
11311 - # We did not find ourselves, most probably we were run as `sh COMMAND'
11312 - # in which case we are not to be found in the path.
11313 - if test "x$as_myself" = x; then
11314 - as_myself=$0
11315 - fi
11316 - if test ! -f "$as_myself"; then
11317 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11318 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11319 - { (exit 1); exit 1; }; }
11320 - fi
11321 - case $CONFIG_SHELL in
11322 - '')
11323 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11324 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11326 - IFS=$as_save_IFS
11327 - test -z "$as_dir" && as_dir=.
11328 - for as_base in sh bash ksh sh5; do
11329 - case $as_dir in
11330 - /*)
11331 - if ("$as_dir/$as_base" -c '
11332 - as_lineno_1=$LINENO
11333 - as_lineno_2=$LINENO
11334 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11335 - test "x$as_lineno_1" != "x$as_lineno_2" &&
11336 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
11337 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11338 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11339 - CONFIG_SHELL=$as_dir/$as_base
11340 - export CONFIG_SHELL
11341 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11342 - fi;;
11343 - esac
11344 - done
11345 -done
11347 - esac
11348 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11350 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11351 # uniformly replaced by the line number. The first 'sed' inserts a
11352 - # line-number line before each line; the second 'sed' does the real
11353 - # work. The second script uses 'N' to pair each line-number line
11354 - # with the numbered line, and appends trailing '-' during
11355 - # substitution so that $LINENO is not a special case at line end.
11356 + # line-number line after each line using $LINENO; the second 'sed'
11357 + # does the real work. The second script uses 'N' to pair each
11358 + # line-number line with the line containing $LINENO, and appends
11359 + # trailing '-' during substitution so that $LINENO is not a special
11360 + # case at line end.
11361 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11362 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11363 - sed '=' <$as_myself |
11364 + # scripts with optimization help from Paolo Bonzini. Blame Lee
11365 + # E. McMahon (1931-1989) for sed's syntax. :-)
11366 + sed -n '
11368 + /[$]LINENO/=
11369 + ' <$as_myself |
11370 sed '
11371 + s/[$]LINENO.*/&-/
11372 + t lineno
11374 + :lineno
11376 - s,$,-,
11377 - : loop
11378 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11379 + :loop
11380 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11381 t loop
11382 - s,-$,,
11383 - s,^['$as_cr_digits']*\n,,
11384 + s/-\n.*//
11385 ' >$as_me.lineno &&
11386 - chmod +x $as_me.lineno ||
11387 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11388 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11389 + chmod +x "$as_me.lineno" ||
11390 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11391 { (exit 1); exit 1; }; }
11393 # Don't try to exec as it changes $[0], causing all sort of problems
11394 # (the dirname of $[0] is not the place where we might find the
11395 - # original and so on. Autoconf is especially sensible to this).
11396 - . ./$as_me.lineno
11397 + # original and so on. Autoconf is especially sensitive to this).
11398 + . "./$as_me.lineno"
11399 # Exit status is that of the last command.
11400 exit
11404 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11405 - *c*,-n*) ECHO_N= ECHO_C='
11406 -' ECHO_T=' ' ;;
11407 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11408 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
11409 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11410 + as_dirname=dirname
11411 +else
11412 + as_dirname=false
11415 +ECHO_C= ECHO_N= ECHO_T=
11416 +case `echo -n x` in
11417 +-n*)
11418 + case `echo 'x\c'` in
11419 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11420 + *) ECHO_C='\c';;
11421 + esac;;
11423 + ECHO_N='-n';;
11424 esac
11426 -if expr a : '\(a\)' >/dev/null 2>&1; then
11427 +if expr a : '\(a\)' >/dev/null 2>&1 &&
11428 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
11429 as_expr=expr
11430 else
11431 as_expr=false
11434 rm -f conf$$ conf$$.exe conf$$.file
11435 +if test -d conf$$.dir; then
11436 + rm -f conf$$.dir/conf$$.file
11437 +else
11438 + rm -f conf$$.dir
11439 + mkdir conf$$.dir
11441 echo >conf$$.file
11442 if ln -s conf$$.file conf$$ 2>/dev/null; then
11443 - # We could just check for DJGPP; but this test a) works b) is more generic
11444 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11445 - if test -f conf$$.exe; then
11446 - # Don't use ln at all; we don't have any links
11447 + as_ln_s='ln -s'
11448 + # ... but there are two gotchas:
11449 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11450 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11451 + # In both cases, we have to default to `cp -p'.
11452 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11453 as_ln_s='cp -p'
11454 - else
11455 - as_ln_s='ln -s'
11456 - fi
11457 elif ln conf$$.file conf$$ 2>/dev/null; then
11458 as_ln_s=ln
11459 else
11460 as_ln_s='cp -p'
11462 -rm -f conf$$ conf$$.exe conf$$.file
11463 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11464 +rmdir conf$$.dir 2>/dev/null
11466 if mkdir -p . 2>/dev/null; then
11467 as_mkdir_p=:
11468 @@ -12937,7 +13643,28 @@
11469 as_mkdir_p=false
11472 -as_executable_p="test -f"
11473 +if test -x / >/dev/null 2>&1; then
11474 + as_test_x='test -x'
11475 +else
11476 + if ls -dL / >/dev/null 2>&1; then
11477 + as_ls_L_option=L
11478 + else
11479 + as_ls_L_option=
11480 + fi
11481 + as_test_x='
11482 + eval sh -c '\''
11483 + if test -d "$1"; then
11484 + test -d "$1/.";
11485 + else
11486 + case $1 in
11487 + -*)set "./$1";;
11488 + esac;
11489 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
11490 + ???[sx]*):;;*)false;;esac;fi
11491 + '\'' sh
11494 +as_executable_p=$as_test_x
11496 # Sed expression to map a string onto a valid CPP name.
11497 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11498 @@ -12946,31 +13673,14 @@
11499 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11502 -# IFS
11503 -# We need space, tab and new line, in precisely that order.
11504 -as_nl='
11506 -IFS=" $as_nl"
11508 -# CDPATH.
11509 -$as_unset CDPATH
11511 exec 6>&1
11513 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
11514 +# Save the log message, to keep $[0] and so on meaningful, and to
11515 # report actual input values of CONFIG_FILES etc. instead of their
11516 -# values after options handling. Logging --version etc. is OK.
11517 -exec 5>>config.log
11519 - echo
11520 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11521 -## Running $as_me. ##
11522 -_ASBOX
11523 -} >&5
11524 -cat >&5 <<_CSEOF
11526 +# values after options handling.
11527 +ac_log="
11528 This file was extended by $as_me, which was
11529 -generated by GNU Autoconf 2.59. Invocation command line was
11530 +generated by GNU Autoconf 2.61. Invocation command line was
11532 CONFIG_FILES = $CONFIG_FILES
11533 CONFIG_HEADERS = $CONFIG_HEADERS
11534 @@ -12978,30 +13688,18 @@
11535 CONFIG_COMMANDS = $CONFIG_COMMANDS
11536 $ $0 $@
11538 -_CSEOF
11539 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11540 -echo >&5
11541 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
11544 _ACEOF
11546 +cat >>$CONFIG_STATUS <<_ACEOF
11547 # Files that config.status was made for.
11548 -if test -n "$ac_config_files"; then
11549 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11552 -if test -n "$ac_config_headers"; then
11553 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11556 -if test -n "$ac_config_links"; then
11557 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11559 +config_files="$ac_config_files"
11561 -if test -n "$ac_config_commands"; then
11562 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11564 +_ACEOF
11566 cat >>$CONFIG_STATUS <<\_ACEOF
11568 ac_cs_usage="\
11569 \`$as_me' instantiates files from templates according to the
11570 current configuration.
11571 @@ -13009,7 +13707,7 @@
11572 Usage: $0 [OPTIONS] [FILE]...
11574 -h, --help print this help, then exit
11575 - -V, --version print version number, then exit
11576 + -V, --version print version number and configuration settings, then exit
11577 -q, --quiet do not print progress messages
11578 -d, --debug don't remove temporary files
11579 --recheck update $as_me by reconfiguring in the same conditions
11580 @@ -13020,19 +13718,21 @@
11581 $config_files
11583 Report bugs to <bug-autoconf@gnu.org>."
11584 -_ACEOF
11586 +_ACEOF
11587 cat >>$CONFIG_STATUS <<_ACEOF
11588 ac_cs_version="\\
11589 config.status
11590 -configured by $0, generated by GNU Autoconf 2.59,
11591 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11592 +configured by $0, generated by GNU Autoconf 2.61,
11593 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11595 -Copyright (C) 2003 Free Software Foundation, Inc.
11596 +Copyright (C) 2006 Free Software Foundation, Inc.
11597 This config.status script is free software; the Free Software Foundation
11598 gives unlimited permission to copy, distribute and modify it."
11599 -srcdir=$srcdir
11600 -INSTALL="$INSTALL"
11602 +ac_pwd='$ac_pwd'
11603 +srcdir='$srcdir'
11604 +INSTALL='$INSTALL'
11605 _ACEOF
11607 cat >>$CONFIG_STATUS <<\_ACEOF
11608 @@ -13043,60 +13743,42 @@
11610 case $1 in
11611 --*=*)
11612 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
11613 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11614 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
11615 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11616 ac_shift=:
11618 - -*)
11619 + *)
11620 ac_option=$1
11621 ac_optarg=$2
11622 ac_shift=shift
11624 - *) # This is not an option, so the user has probably given explicit
11625 - # arguments.
11626 - ac_option=$1
11627 - ac_need_defaults=false;;
11628 esac
11630 case $ac_option in
11631 # Handling of the options.
11632 -_ACEOF
11633 -cat >>$CONFIG_STATUS <<\_ACEOF
11634 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11635 ac_cs_recheck=: ;;
11636 - --version | --vers* | -V )
11637 - echo "$ac_cs_version"; exit 0 ;;
11638 - --he | --h)
11639 - # Conflict between --help and --header
11640 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
11641 -Try \`$0 --help' for more information." >&5
11642 -echo "$as_me: error: ambiguous option: $1
11643 -Try \`$0 --help' for more information." >&2;}
11644 - { (exit 1); exit 1; }; };;
11645 - --help | --hel | -h )
11646 - echo "$ac_cs_usage"; exit 0 ;;
11647 - --debug | --d* | -d )
11648 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11649 + echo "$ac_cs_version"; exit ;;
11650 + --debug | --debu | --deb | --de | --d | -d )
11651 debug=: ;;
11652 --file | --fil | --fi | --f )
11653 $ac_shift
11654 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11655 ac_need_defaults=false;;
11656 - --header | --heade | --head | --hea )
11657 - $ac_shift
11658 - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11659 - ac_need_defaults=false;;
11660 + --he | --h | --help | --hel | -h )
11661 + echo "$ac_cs_usage"; exit ;;
11662 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11663 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11664 ac_cs_silent=: ;;
11666 # This is an error.
11667 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11668 -Try \`$0 --help' for more information." >&5
11669 -echo "$as_me: error: unrecognized option: $1
11670 -Try \`$0 --help' for more information." >&2;}
11671 + -*) { echo "$as_me: error: unrecognized option: $1
11672 +Try \`$0 --help' for more information." >&2
11673 { (exit 1); exit 1; }; } ;;
11675 - *) ac_config_targets="$ac_config_targets $1" ;;
11676 + *) ac_config_targets="$ac_config_targets $1"
11677 + ac_need_defaults=false ;;
11679 esac
11680 shift
11681 @@ -13112,28 +13794,42 @@
11682 _ACEOF
11683 cat >>$CONFIG_STATUS <<_ACEOF
11684 if \$ac_cs_recheck; then
11685 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11686 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11687 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11688 + CONFIG_SHELL=$SHELL
11689 + export CONFIG_SHELL
11690 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11693 _ACEOF
11694 +cat >>$CONFIG_STATUS <<\_ACEOF
11695 +exec 5>>config.log
11697 + echo
11698 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11699 +## Running $as_me. ##
11700 +_ASBOX
11701 + echo "$ac_log"
11702 +} >&5
11707 +_ACEOF
11708 +cat >>$CONFIG_STATUS <<_ACEOF
11709 +_ACEOF
11711 cat >>$CONFIG_STATUS <<\_ACEOF
11713 +# Handling of arguments.
11714 for ac_config_target in $ac_config_targets
11716 - case "$ac_config_target" in
11717 - # Handling of arguments.
11718 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11719 + case $ac_config_target in
11720 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11722 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11723 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11724 { (exit 1); exit 1; }; };;
11725 esac
11726 done
11729 # If the user did not use the arguments to specify the items to instantiate,
11730 # then the envvar interface is used. Set only those that are not.
11731 # We use the long form for the default assignment because of an extremely
11732 @@ -13143,427 +13839,544 @@
11735 # Have a temporary directory for convenience. Make it in the build tree
11736 -# simply because there is no reason to put it here, and in addition,
11737 +# simply because there is no reason against having it here, and in addition,
11738 # creating and moving files from /tmp can sometimes cause problems.
11739 -# Create a temporary directory, and hook for its removal unless debugging.
11740 +# Hook for its removal unless debugging.
11741 +# Note that there is a small window in which the directory will not be cleaned:
11742 +# after its creation but before its name has been assigned to `$tmp'.
11743 $debug ||
11745 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11746 + tmp=
11747 + trap 'exit_status=$?
11748 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11749 +' 0
11750 trap '{ (exit 1); exit 1; }' 1 2 13 15
11753 # Create a (secure) tmp directory for tmp files.
11756 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11757 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11758 test -n "$tmp" && test -d "$tmp"
11759 } ||
11761 - tmp=./confstat$$-$RANDOM
11762 - (umask 077 && mkdir $tmp)
11763 + tmp=./conf$$-$RANDOM
11764 + (umask 077 && mkdir "$tmp")
11765 } ||
11767 echo "$me: cannot create a temporary directory in ." >&2
11768 { (exit 1); exit 1; }
11771 -_ACEOF
11773 -cat >>$CONFIG_STATUS <<_ACEOF
11776 -# CONFIG_FILES section.
11777 +# Set up the sed scripts for CONFIG_FILES section.
11780 # No need to generate the scripts if there are no CONFIG_FILES.
11781 # This happens for instance when ./config.status config.h
11782 -if test -n "\$CONFIG_FILES"; then
11783 - # Protect against being on the right side of a sed subst in config.status.
11784 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11785 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11786 -s,@SHELL@,$SHELL,;t t
11787 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11788 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11789 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11790 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11791 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11792 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11793 -s,@exec_prefix@,$exec_prefix,;t t
11794 -s,@prefix@,$prefix,;t t
11795 -s,@program_transform_name@,$program_transform_name,;t t
11796 -s,@bindir@,$bindir,;t t
11797 -s,@sbindir@,$sbindir,;t t
11798 -s,@libexecdir@,$libexecdir,;t t
11799 -s,@datadir@,$datadir,;t t
11800 -s,@sysconfdir@,$sysconfdir,;t t
11801 -s,@sharedstatedir@,$sharedstatedir,;t t
11802 -s,@localstatedir@,$localstatedir,;t t
11803 -s,@libdir@,$libdir,;t t
11804 -s,@includedir@,$includedir,;t t
11805 -s,@oldincludedir@,$oldincludedir,;t t
11806 -s,@infodir@,$infodir,;t t
11807 -s,@mandir@,$mandir,;t t
11808 -s,@build_alias@,$build_alias,;t t
11809 -s,@host_alias@,$host_alias,;t t
11810 -s,@target_alias@,$target_alias,;t t
11811 -s,@DEFS@,$DEFS,;t t
11812 -s,@ECHO_C@,$ECHO_C,;t t
11813 -s,@ECHO_N@,$ECHO_N,;t t
11814 -s,@ECHO_T@,$ECHO_T,;t t
11815 -s,@LIBS@,$LIBS,;t t
11816 -s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,$TOPLEVEL_CONFIGURE_ARGUMENTS,;t t
11817 -s,@build@,$build,;t t
11818 -s,@build_cpu@,$build_cpu,;t t
11819 -s,@build_vendor@,$build_vendor,;t t
11820 -s,@build_os@,$build_os,;t t
11821 -s,@build_noncanonical@,$build_noncanonical,;t t
11822 -s,@host_noncanonical@,$host_noncanonical,;t t
11823 -s,@target_noncanonical@,$target_noncanonical,;t t
11824 -s,@host@,$host,;t t
11825 -s,@host_cpu@,$host_cpu,;t t
11826 -s,@host_vendor@,$host_vendor,;t t
11827 -s,@host_os@,$host_os,;t t
11828 -s,@target@,$target,;t t
11829 -s,@target_cpu@,$target_cpu,;t t
11830 -s,@target_vendor@,$target_vendor,;t t
11831 -s,@target_os@,$target_os,;t t
11832 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11833 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11834 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11835 -s,@LN@,$LN,;t t
11836 -s,@LN_S@,$LN_S,;t t
11837 -s,@build_libsubdir@,$build_libsubdir,;t t
11838 -s,@build_subdir@,$build_subdir,;t t
11839 -s,@host_subdir@,$host_subdir,;t t
11840 -s,@target_subdir@,$target_subdir,;t t
11841 -s,@CC@,$CC,;t t
11842 -s,@CFLAGS@,$CFLAGS,;t t
11843 -s,@LDFLAGS@,$LDFLAGS,;t t
11844 -s,@CPPFLAGS@,$CPPFLAGS,;t t
11845 -s,@ac_ct_CC@,$ac_ct_CC,;t t
11846 -s,@EXEEXT@,$EXEEXT,;t t
11847 -s,@OBJEXT@,$OBJEXT,;t t
11848 -s,@CXX@,$CXX,;t t
11849 -s,@CXXFLAGS@,$CXXFLAGS,;t t
11850 -s,@ac_ct_CXX@,$ac_ct_CXX,;t t
11851 -s,@GNATBIND@,$GNATBIND,;t t
11852 -s,@ac_ct_GNATBIND@,$ac_ct_GNATBIND,;t t
11853 -s,@GNATMAKE@,$GNATMAKE,;t t
11854 -s,@ac_ct_GNATMAKE@,$ac_ct_GNATMAKE,;t t
11855 -s,@do_compare@,$do_compare,;t t
11856 -s,@gmplibs@,$gmplibs,;t t
11857 -s,@gmpinc@,$gmpinc,;t t
11858 -s,@extra_mpfr_configure_flags@,$extra_mpfr_configure_flags,;t t
11859 -s,@ppllibs@,$ppllibs,;t t
11860 -s,@pplinc@,$pplinc,;t t
11861 -s,@clooglibs@,$clooglibs,;t t
11862 -s,@clooginc@,$clooginc,;t t
11863 -s,@stage1_languages@,$stage1_languages,;t t
11864 -s,@SYSROOT_CFLAGS_FOR_TARGET@,$SYSROOT_CFLAGS_FOR_TARGET,;t t
11865 -s,@DEBUG_PREFIX_CFLAGS_FOR_TARGET@,$DEBUG_PREFIX_CFLAGS_FOR_TARGET,;t t
11866 -s,@CFLAGS_FOR_TARGET@,$CFLAGS_FOR_TARGET,;t t
11867 -s,@CXXFLAGS_FOR_TARGET@,$CXXFLAGS_FOR_TARGET,;t t
11868 -s,@RPATH_ENVVAR@,$RPATH_ENVVAR,;t t
11869 -s,@GCC_SHLIB_SUBDIR@,$GCC_SHLIB_SUBDIR,;t t
11870 -s,@tooldir@,$tooldir,;t t
11871 -s,@build_tooldir@,$build_tooldir,;t t
11872 -s,@CONFIGURE_GDB_TK@,$CONFIGURE_GDB_TK,;t t
11873 -s,@GDB_TK@,$GDB_TK,;t t
11874 -s,@INSTALL_GDB_TK@,$INSTALL_GDB_TK,;t t
11875 -s,@build_configargs@,$build_configargs,;t t
11876 -s,@build_configdirs@,$build_configdirs,;t t
11877 -s,@host_configargs@,$host_configargs,;t t
11878 -s,@configdirs@,$configdirs,;t t
11879 -s,@target_configargs@,$target_configargs,;t t
11880 -s,@AR_FOR_BUILD@,$AR_FOR_BUILD,;t t
11881 -s,@AS_FOR_BUILD@,$AS_FOR_BUILD,;t t
11882 -s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
11883 -s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t
11884 -s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t
11885 -s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t
11886 -s,@DLLTOOL_FOR_BUILD@,$DLLTOOL_FOR_BUILD,;t t
11887 -s,@GCJ_FOR_BUILD@,$GCJ_FOR_BUILD,;t t
11888 -s,@GFORTRAN_FOR_BUILD@,$GFORTRAN_FOR_BUILD,;t t
11889 -s,@LDFLAGS_FOR_BUILD@,$LDFLAGS_FOR_BUILD,;t t
11890 -s,@LD_FOR_BUILD@,$LD_FOR_BUILD,;t t
11891 -s,@NM_FOR_BUILD@,$NM_FOR_BUILD,;t t
11892 -s,@RANLIB_FOR_BUILD@,$RANLIB_FOR_BUILD,;t t
11893 -s,@WINDMC_FOR_BUILD@,$WINDMC_FOR_BUILD,;t t
11894 -s,@WINDRES_FOR_BUILD@,$WINDRES_FOR_BUILD,;t t
11895 -s,@config_shell@,$config_shell,;t t
11896 -s,@YACC@,$YACC,;t t
11897 -s,@BISON@,$BISON,;t t
11898 -s,@M4@,$M4,;t t
11899 -s,@LEX@,$LEX,;t t
11900 -s,@FLEX@,$FLEX,;t t
11901 -s,@MAKEINFO@,$MAKEINFO,;t t
11902 -s,@EXPECT@,$EXPECT,;t t
11903 -s,@RUNTEST@,$RUNTEST,;t t
11904 -s,@AR@,$AR,;t t
11905 -s,@AS@,$AS,;t t
11906 -s,@DLLTOOL@,$DLLTOOL,;t t
11907 -s,@LD@,$LD,;t t
11908 -s,@LIPO@,$LIPO,;t t
11909 -s,@NM@,$NM,;t t
11910 -s,@RANLIB@,$RANLIB,;t t
11911 -s,@STRIP@,$STRIP,;t t
11912 -s,@WINDRES@,$WINDRES,;t t
11913 -s,@WINDMC@,$WINDMC,;t t
11914 -s,@OBJCOPY@,$OBJCOPY,;t t
11915 -s,@OBJDUMP@,$OBJDUMP,;t t
11916 -s,@CC_FOR_TARGET@,$CC_FOR_TARGET,;t t
11917 -s,@CXX_FOR_TARGET@,$CXX_FOR_TARGET,;t t
11918 -s,@GCC_FOR_TARGET@,$GCC_FOR_TARGET,;t t
11919 -s,@GCJ_FOR_TARGET@,$GCJ_FOR_TARGET,;t t
11920 -s,@GFORTRAN_FOR_TARGET@,$GFORTRAN_FOR_TARGET,;t t
11921 -s,@AR_FOR_TARGET@,$AR_FOR_TARGET,;t t
11922 -s,@AS_FOR_TARGET@,$AS_FOR_TARGET,;t t
11923 -s,@DLLTOOL_FOR_TARGET@,$DLLTOOL_FOR_TARGET,;t t
11924 -s,@LD_FOR_TARGET@,$LD_FOR_TARGET,;t t
11925 -s,@LIPO_FOR_TARGET@,$LIPO_FOR_TARGET,;t t
11926 -s,@NM_FOR_TARGET@,$NM_FOR_TARGET,;t t
11927 -s,@OBJDUMP_FOR_TARGET@,$OBJDUMP_FOR_TARGET,;t t
11928 -s,@RANLIB_FOR_TARGET@,$RANLIB_FOR_TARGET,;t t
11929 -s,@STRIP_FOR_TARGET@,$STRIP_FOR_TARGET,;t t
11930 -s,@WINDRES_FOR_TARGET@,$WINDRES_FOR_TARGET,;t t
11931 -s,@WINDMC_FOR_TARGET@,$WINDMC_FOR_TARGET,;t t
11932 -s,@RAW_CXX_FOR_TARGET@,$RAW_CXX_FOR_TARGET,;t t
11933 -s,@FLAGS_FOR_TARGET@,$FLAGS_FOR_TARGET,;t t
11934 -s,@COMPILER_AS_FOR_TARGET@,$COMPILER_AS_FOR_TARGET,;t t
11935 -s,@COMPILER_LD_FOR_TARGET@,$COMPILER_LD_FOR_TARGET,;t t
11936 -s,@COMPILER_NM_FOR_TARGET@,$COMPILER_NM_FOR_TARGET,;t t
11937 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11938 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11939 -s,@MAINT@,$MAINT,;t t
11940 -s,@stage1_cflags@,$stage1_cflags,;t t
11941 -s,@stage1_checking@,$stage1_checking,;t t
11942 -s,@stage2_werror_flag@,$stage2_werror_flag,;t t
11943 -s,@datarootdir@,$datarootdir,;t t
11944 -s,@docdir@,$docdir,;t t
11945 -s,@pdfdir@,$pdfdir,;t t
11946 -s,@htmldir@,$htmldir,;t t
11947 -s,@LIBOBJS@,$LIBOBJS,;t t
11948 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11949 -/@serialization_dependencies@/r $serialization_dependencies
11950 -s,@serialization_dependencies@,,;t t
11951 -/@host_makefile_frag@/r $host_makefile_frag
11952 -s,@host_makefile_frag@,,;t t
11953 -/@target_makefile_frag@/r $target_makefile_frag
11954 -s,@target_makefile_frag@,,;t t
11955 -/@alphaieee_frag@/r $alphaieee_frag
11956 -s,@alphaieee_frag@,,;t t
11957 -/@ospace_frag@/r $ospace_frag
11958 -s,@ospace_frag@,,;t t
11959 -CEOF
11961 -_ACEOF
11963 - cat >>$CONFIG_STATUS <<\_ACEOF
11964 - # Split the substitutions into bite-sized pieces for seds with
11965 - # small command number limits, like on Digital OSF/1 and HP-UX.
11966 - ac_max_sed_lines=48
11967 - ac_sed_frag=1 # Number of current file.
11968 - ac_beg=1 # First line for current file.
11969 - ac_end=$ac_max_sed_lines # Line after last line for current file.
11970 - ac_more_lines=:
11971 - ac_sed_cmds=
11972 - while $ac_more_lines; do
11973 - if test $ac_beg -gt 1; then
11974 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11975 - else
11976 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11977 - fi
11978 - if test ! -s $tmp/subs.frag; then
11979 - ac_more_lines=false
11980 - else
11981 - # The purpose of the label and of the branching condition is to
11982 - # speed up the sed processing (if there are no `@' at all, there
11983 - # is no need to browse any of the substitutions).
11984 - # These are the two extra sed commands mentioned above.
11985 - (echo ':t
11986 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11987 - if test -z "$ac_sed_cmds"; then
11988 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11989 - else
11990 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11991 - fi
11992 - ac_sed_frag=`expr $ac_sed_frag + 1`
11993 - ac_beg=$ac_end
11994 - ac_end=`expr $ac_end + $ac_max_sed_lines`
11995 - fi
11996 - done
11997 - if test -z "$ac_sed_cmds"; then
11998 - ac_sed_cmds=cat
11999 +if test -n "$CONFIG_FILES"; then
12001 +_ACEOF
12003 +# Create sed commands to just substitute file output variables.
12005 +# Remaining file output variables are in a fragment that also has non-file
12006 +# output varibles.
12010 +ac_delim='%!_!# '
12011 +for ac_last_try in false false false false false :; do
12012 + cat >conf$$subs.sed <<_ACEOF
12013 +SHELL!$SHELL$ac_delim
12014 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
12015 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
12016 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
12017 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
12018 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
12019 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
12020 +exec_prefix!$exec_prefix$ac_delim
12021 +prefix!$prefix$ac_delim
12022 +program_transform_name!$program_transform_name$ac_delim
12023 +bindir!$bindir$ac_delim
12024 +sbindir!$sbindir$ac_delim
12025 +libexecdir!$libexecdir$ac_delim
12026 +datarootdir!$datarootdir$ac_delim
12027 +datadir!$datadir$ac_delim
12028 +sysconfdir!$sysconfdir$ac_delim
12029 +sharedstatedir!$sharedstatedir$ac_delim
12030 +localstatedir!$localstatedir$ac_delim
12031 +includedir!$includedir$ac_delim
12032 +oldincludedir!$oldincludedir$ac_delim
12033 +docdir!$docdir$ac_delim
12034 +infodir!$infodir$ac_delim
12035 +htmldir!$htmldir$ac_delim
12036 +dvidir!$dvidir$ac_delim
12037 +pdfdir!$pdfdir$ac_delim
12038 +psdir!$psdir$ac_delim
12039 +libdir!$libdir$ac_delim
12040 +localedir!$localedir$ac_delim
12041 +mandir!$mandir$ac_delim
12042 +DEFS!$DEFS$ac_delim
12043 +ECHO_C!$ECHO_C$ac_delim
12044 +ECHO_N!$ECHO_N$ac_delim
12045 +ECHO_T!$ECHO_T$ac_delim
12046 +LIBS!$LIBS$ac_delim
12047 +build_alias!$build_alias$ac_delim
12048 +host_alias!$host_alias$ac_delim
12049 +target_alias!$target_alias$ac_delim
12050 +TOPLEVEL_CONFIGURE_ARGUMENTS!$TOPLEVEL_CONFIGURE_ARGUMENTS$ac_delim
12051 +build!$build$ac_delim
12052 +build_cpu!$build_cpu$ac_delim
12053 +build_vendor!$build_vendor$ac_delim
12054 +build_os!$build_os$ac_delim
12055 +build_noncanonical!$build_noncanonical$ac_delim
12056 +host_noncanonical!$host_noncanonical$ac_delim
12057 +target_noncanonical!$target_noncanonical$ac_delim
12058 +host!$host$ac_delim
12059 +host_cpu!$host_cpu$ac_delim
12060 +host_vendor!$host_vendor$ac_delim
12061 +host_os!$host_os$ac_delim
12062 +target!$target$ac_delim
12063 +target_cpu!$target_cpu$ac_delim
12064 +target_vendor!$target_vendor$ac_delim
12065 +target_os!$target_os$ac_delim
12066 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
12067 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
12068 +INSTALL_DATA!$INSTALL_DATA$ac_delim
12069 +LN!$LN$ac_delim
12070 +LN_S!$LN_S$ac_delim
12071 +build_libsubdir!$build_libsubdir$ac_delim
12072 +build_subdir!$build_subdir$ac_delim
12073 +host_subdir!$host_subdir$ac_delim
12074 +target_subdir!$target_subdir$ac_delim
12075 +CC!$CC$ac_delim
12076 +CFLAGS!$CFLAGS$ac_delim
12077 +LDFLAGS!$LDFLAGS$ac_delim
12078 +CPPFLAGS!$CPPFLAGS$ac_delim
12079 +ac_ct_CC!$ac_ct_CC$ac_delim
12080 +EXEEXT!$EXEEXT$ac_delim
12081 +OBJEXT!$OBJEXT$ac_delim
12082 +CXX!$CXX$ac_delim
12083 +CXXFLAGS!$CXXFLAGS$ac_delim
12084 +ac_ct_CXX!$ac_ct_CXX$ac_delim
12085 +GNATBIND!$GNATBIND$ac_delim
12086 +GNATMAKE!$GNATMAKE$ac_delim
12087 +do_compare!$do_compare$ac_delim
12088 +gmplibs!$gmplibs$ac_delim
12089 +gmpinc!$gmpinc$ac_delim
12090 +extra_mpfr_configure_flags!$extra_mpfr_configure_flags$ac_delim
12091 +ppllibs!$ppllibs$ac_delim
12092 +pplinc!$pplinc$ac_delim
12093 +clooglibs!$clooglibs$ac_delim
12094 +clooginc!$clooginc$ac_delim
12095 +_ACEOF
12097 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
12098 + break
12099 + elif $ac_last_try; then
12100 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12101 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12102 + { (exit 1); exit 1; }; }
12103 + else
12104 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12106 -fi # test -n "$CONFIG_FILES"
12107 +done
12109 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12110 +if test -n "$ac_eof"; then
12111 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
12112 + ac_eof=`expr $ac_eof + 1`
12115 +cat >>$CONFIG_STATUS <<_ACEOF
12116 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
12117 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12118 +/^[ ]*@serialization_dependencies@[ ]*$/{
12119 +r $serialization_dependencies
12122 +/^[ ]*@host_makefile_frag@[ ]*$/{
12123 +r $host_makefile_frag
12126 +/^[ ]*@target_makefile_frag@[ ]*$/{
12127 +r $target_makefile_frag
12130 +/^[ ]*@alphaieee_frag@[ ]*$/{
12131 +r $alphaieee_frag
12134 +/^[ ]*@ospace_frag@[ ]*$/{
12135 +r $ospace_frag
12138 +_ACEOF
12139 +sed '
12140 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12141 +s/^/s,@/; s/!/@,|#_!!_#|/
12143 +t n
12144 +s/'"$ac_delim"'$/,g/; t
12145 +s/$/\\/; p
12146 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12147 +' >>$CONFIG_STATUS <conf$$subs.sed
12148 +rm -f conf$$subs.sed
12149 +cat >>$CONFIG_STATUS <<_ACEOF
12150 +CEOF$ac_eof
12151 +_ACEOF
12154 +ac_delim='%!_!# '
12155 +for ac_last_try in false false false false false :; do
12156 + cat >conf$$subs.sed <<_ACEOF
12157 +stage1_languages!$stage1_languages$ac_delim
12158 +SYSROOT_CFLAGS_FOR_TARGET!$SYSROOT_CFLAGS_FOR_TARGET$ac_delim
12159 +DEBUG_PREFIX_CFLAGS_FOR_TARGET!$DEBUG_PREFIX_CFLAGS_FOR_TARGET$ac_delim
12160 +CFLAGS_FOR_TARGET!$CFLAGS_FOR_TARGET$ac_delim
12161 +CXXFLAGS_FOR_TARGET!$CXXFLAGS_FOR_TARGET$ac_delim
12162 +RPATH_ENVVAR!$RPATH_ENVVAR$ac_delim
12163 +GCC_SHLIB_SUBDIR!$GCC_SHLIB_SUBDIR$ac_delim
12164 +tooldir!$tooldir$ac_delim
12165 +build_tooldir!$build_tooldir$ac_delim
12166 +CONFIGURE_GDB_TK!$CONFIGURE_GDB_TK$ac_delim
12167 +GDB_TK!$GDB_TK$ac_delim
12168 +INSTALL_GDB_TK!$INSTALL_GDB_TK$ac_delim
12169 +build_configargs!$build_configargs$ac_delim
12170 +build_configdirs!$build_configdirs$ac_delim
12171 +host_configargs!$host_configargs$ac_delim
12172 +configdirs!$configdirs$ac_delim
12173 +target_configargs!$target_configargs$ac_delim
12174 +AR_FOR_BUILD!$AR_FOR_BUILD$ac_delim
12175 +AS_FOR_BUILD!$AS_FOR_BUILD$ac_delim
12176 +CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
12177 +CFLAGS_FOR_BUILD!$CFLAGS_FOR_BUILD$ac_delim
12178 +CXXFLAGS_FOR_BUILD!$CXXFLAGS_FOR_BUILD$ac_delim
12179 +CXX_FOR_BUILD!$CXX_FOR_BUILD$ac_delim
12180 +DLLTOOL_FOR_BUILD!$DLLTOOL_FOR_BUILD$ac_delim
12181 +GCJ_FOR_BUILD!$GCJ_FOR_BUILD$ac_delim
12182 +GFORTRAN_FOR_BUILD!$GFORTRAN_FOR_BUILD$ac_delim
12183 +LDFLAGS_FOR_BUILD!$LDFLAGS_FOR_BUILD$ac_delim
12184 +LD_FOR_BUILD!$LD_FOR_BUILD$ac_delim
12185 +NM_FOR_BUILD!$NM_FOR_BUILD$ac_delim
12186 +RANLIB_FOR_BUILD!$RANLIB_FOR_BUILD$ac_delim
12187 +WINDMC_FOR_BUILD!$WINDMC_FOR_BUILD$ac_delim
12188 +WINDRES_FOR_BUILD!$WINDRES_FOR_BUILD$ac_delim
12189 +config_shell!$config_shell$ac_delim
12190 +YACC!$YACC$ac_delim
12191 +BISON!$BISON$ac_delim
12192 +M4!$M4$ac_delim
12193 +LEX!$LEX$ac_delim
12194 +FLEX!$FLEX$ac_delim
12195 +MAKEINFO!$MAKEINFO$ac_delim
12196 +EXPECT!$EXPECT$ac_delim
12197 +RUNTEST!$RUNTEST$ac_delim
12198 +AR!$AR$ac_delim
12199 +AS!$AS$ac_delim
12200 +DLLTOOL!$DLLTOOL$ac_delim
12201 +LD!$LD$ac_delim
12202 +LIPO!$LIPO$ac_delim
12203 +NM!$NM$ac_delim
12204 +RANLIB!$RANLIB$ac_delim
12205 +STRIP!$STRIP$ac_delim
12206 +WINDRES!$WINDRES$ac_delim
12207 +WINDMC!$WINDMC$ac_delim
12208 +OBJCOPY!$OBJCOPY$ac_delim
12209 +OBJDUMP!$OBJDUMP$ac_delim
12210 +CC_FOR_TARGET!$CC_FOR_TARGET$ac_delim
12211 +CXX_FOR_TARGET!$CXX_FOR_TARGET$ac_delim
12212 +GCC_FOR_TARGET!$GCC_FOR_TARGET$ac_delim
12213 +GCJ_FOR_TARGET!$GCJ_FOR_TARGET$ac_delim
12214 +GFORTRAN_FOR_TARGET!$GFORTRAN_FOR_TARGET$ac_delim
12215 +AR_FOR_TARGET!$AR_FOR_TARGET$ac_delim
12216 +AS_FOR_TARGET!$AS_FOR_TARGET$ac_delim
12217 +DLLTOOL_FOR_TARGET!$DLLTOOL_FOR_TARGET$ac_delim
12218 +LD_FOR_TARGET!$LD_FOR_TARGET$ac_delim
12219 +LIPO_FOR_TARGET!$LIPO_FOR_TARGET$ac_delim
12220 +NM_FOR_TARGET!$NM_FOR_TARGET$ac_delim
12221 +OBJDUMP_FOR_TARGET!$OBJDUMP_FOR_TARGET$ac_delim
12222 +RANLIB_FOR_TARGET!$RANLIB_FOR_TARGET$ac_delim
12223 +STRIP_FOR_TARGET!$STRIP_FOR_TARGET$ac_delim
12224 +WINDRES_FOR_TARGET!$WINDRES_FOR_TARGET$ac_delim
12225 +WINDMC_FOR_TARGET!$WINDMC_FOR_TARGET$ac_delim
12226 +RAW_CXX_FOR_TARGET!$RAW_CXX_FOR_TARGET$ac_delim
12227 +FLAGS_FOR_TARGET!$FLAGS_FOR_TARGET$ac_delim
12228 +COMPILER_AS_FOR_TARGET!$COMPILER_AS_FOR_TARGET$ac_delim
12229 +COMPILER_LD_FOR_TARGET!$COMPILER_LD_FOR_TARGET$ac_delim
12230 +COMPILER_NM_FOR_TARGET!$COMPILER_NM_FOR_TARGET$ac_delim
12231 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
12232 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
12233 +MAINT!$MAINT$ac_delim
12234 +stage1_cflags!$stage1_cflags$ac_delim
12235 +stage1_checking!$stage1_checking$ac_delim
12236 +stage2_werror_flag!$stage2_werror_flag$ac_delim
12237 +LIBOBJS!$LIBOBJS$ac_delim
12238 +LTLIBOBJS!$LTLIBOBJS$ac_delim
12239 +_ACEOF
12241 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
12242 + break
12243 + elif $ac_last_try; then
12244 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12245 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12246 + { (exit 1); exit 1; }; }
12247 + else
12248 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12249 + fi
12250 +done
12252 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12253 +if test -n "$ac_eof"; then
12254 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
12255 + ac_eof=`expr $ac_eof + 1`
12258 +cat >>$CONFIG_STATUS <<_ACEOF
12259 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
12260 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
12261 _ACEOF
12262 +sed '
12263 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12264 +s/^/s,@/; s/!/@,|#_!!_#|/
12266 +t n
12267 +s/'"$ac_delim"'$/,g/; t
12268 +s/$/\\/; p
12269 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12270 +' >>$CONFIG_STATUS <conf$$subs.sed
12271 +rm -f conf$$subs.sed
12272 +cat >>$CONFIG_STATUS <<_ACEOF
12273 +:end
12274 +s/|#_!!_#|//g
12275 +CEOF$ac_eof
12276 +_ACEOF
12279 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
12280 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12281 +# trailing colons and then remove the whole line if VPATH becomes empty
12282 +# (actually we leave an empty line to preserve line numbers).
12283 +if test "x$srcdir" = x.; then
12284 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
12285 +s/:*\$(srcdir):*/:/
12286 +s/:*\${srcdir}:*/:/
12287 +s/:*@srcdir@:*/:/
12288 +s/^\([^=]*=[ ]*\):*/\1/
12289 +s/:*$//
12290 +s/^[^=]*=[ ]*$//
12294 cat >>$CONFIG_STATUS <<\_ACEOF
12295 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
12296 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12297 - case $ac_file in
12298 - - | *:- | *:-:* ) # input from stdin
12299 - cat >$tmp/stdin
12300 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12301 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12302 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12303 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12304 - * ) ac_file_in=$ac_file.in ;;
12305 +fi # test -n "$CONFIG_FILES"
12308 +for ac_tag in :F $CONFIG_FILES
12310 + case $ac_tag in
12311 + :[FHLC]) ac_mode=$ac_tag; continue;;
12312 + esac
12313 + case $ac_mode$ac_tag in
12314 + :[FHL]*:*);;
12315 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
12316 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
12317 + { (exit 1); exit 1; }; };;
12318 + :[FH]-) ac_tag=-:-;;
12319 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12320 + esac
12321 + ac_save_IFS=$IFS
12322 + IFS=:
12323 + set x $ac_tag
12324 + IFS=$ac_save_IFS
12325 + shift
12326 + ac_file=$1
12327 + shift
12329 + case $ac_mode in
12330 + :L) ac_source=$1;;
12331 + :[FH])
12332 + ac_file_inputs=
12333 + for ac_f
12334 + do
12335 + case $ac_f in
12336 + -) ac_f="$tmp/stdin";;
12337 + *) # Look for the file first in the build tree, then in the source tree
12338 + # (if the path is not absolute). The absolute path cannot be DOS-style,
12339 + # because $ac_f cannot contain `:'.
12340 + test -f "$ac_f" ||
12341 + case $ac_f in
12342 + [\\/$]*) false;;
12343 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12344 + esac ||
12345 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12346 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12347 + { (exit 1); exit 1; }; };;
12348 + esac
12349 + ac_file_inputs="$ac_file_inputs $ac_f"
12350 + done
12352 + # Let's still pretend it is `configure' which instantiates (i.e., don't
12353 + # use $as_me), people would be surprised to read:
12354 + # /* config.h. Generated by config.status. */
12355 + configure_input="Generated from "`IFS=:
12356 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
12357 + if test x"$ac_file" != x-; then
12358 + configure_input="$ac_file. $configure_input"
12359 + { echo "$as_me:$LINENO: creating $ac_file" >&5
12360 +echo "$as_me: creating $ac_file" >&6;}
12361 + fi
12363 + case $ac_tag in
12364 + *:-:* | *:-) cat >"$tmp/stdin";;
12365 + esac
12366 + ;;
12367 esac
12369 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12370 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12371 + ac_dir=`$as_dirname -- "$ac_file" ||
12372 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12373 X"$ac_file" : 'X\(//\)[^/]' \| \
12374 X"$ac_file" : 'X\(//\)$' \| \
12375 - X"$ac_file" : 'X\(/\)' \| \
12376 - . : '\(.\)' 2>/dev/null ||
12377 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12378 echo X"$ac_file" |
12379 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12380 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12381 - /^X\(\/\/\)$/{ s//\1/; q; }
12382 - /^X\(\/\).*/{ s//\1/; q; }
12383 - s/.*/./; q'`
12384 - { if $as_mkdir_p; then
12385 - mkdir -p "$ac_dir"
12386 - else
12387 - as_dir="$ac_dir"
12388 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12389 + s//\1/
12392 + /^X\(\/\/\)[^/].*/{
12393 + s//\1/
12396 + /^X\(\/\/\)$/{
12397 + s//\1/
12400 + /^X\(\/\).*/{
12401 + s//\1/
12404 + s/.*/./; q'`
12405 + { as_dir="$ac_dir"
12406 + case $as_dir in #(
12407 + -*) as_dir=./$as_dir;;
12408 + esac
12409 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12410 as_dirs=
12411 - while test ! -d "$as_dir"; do
12412 - as_dirs="$as_dir $as_dirs"
12413 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
12414 + while :; do
12415 + case $as_dir in #(
12416 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12417 + *) as_qdir=$as_dir;;
12418 + esac
12419 + as_dirs="'$as_qdir' $as_dirs"
12420 + as_dir=`$as_dirname -- "$as_dir" ||
12421 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12422 X"$as_dir" : 'X\(//\)[^/]' \| \
12423 X"$as_dir" : 'X\(//\)$' \| \
12424 - X"$as_dir" : 'X\(/\)' \| \
12425 - . : '\(.\)' 2>/dev/null ||
12426 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12427 echo X"$as_dir" |
12428 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12429 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12430 - /^X\(\/\/\)$/{ s//\1/; q; }
12431 - /^X\(\/\).*/{ s//\1/; q; }
12432 - s/.*/./; q'`
12433 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12434 + s//\1/
12437 + /^X\(\/\/\)[^/].*/{
12438 + s//\1/
12441 + /^X\(\/\/\)$/{
12442 + s//\1/
12445 + /^X\(\/\).*/{
12446 + s//\1/
12449 + s/.*/./; q'`
12450 + test -d "$as_dir" && break
12451 done
12452 - test ! -n "$as_dirs" || mkdir $as_dirs
12453 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12454 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12455 + test -z "$as_dirs" || eval "mkdir $as_dirs"
12456 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12457 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
12458 { (exit 1); exit 1; }; }; }
12460 ac_builddir=.
12462 -if test "$ac_dir" != .; then
12463 +case "$ac_dir" in
12464 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12466 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12467 - # A "../" for each directory in $ac_dir_suffix.
12468 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12469 -else
12470 - ac_dir_suffix= ac_top_builddir=
12472 + # A ".." for each directory in $ac_dir_suffix.
12473 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
12474 + case $ac_top_builddir_sub in
12475 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12476 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12477 + esac ;;
12478 +esac
12479 +ac_abs_top_builddir=$ac_pwd
12480 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
12481 +# for backward compatibility:
12482 +ac_top_builddir=$ac_top_build_prefix
12484 case $srcdir in
12485 - .) # No --srcdir option. We are building in place.
12486 + .) # We are building in place.
12487 ac_srcdir=.
12488 - if test -z "$ac_top_builddir"; then
12489 - ac_top_srcdir=.
12490 - else
12491 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12492 - fi ;;
12493 - [\\/]* | ?:[\\/]* ) # Absolute path.
12494 + ac_top_srcdir=$ac_top_builddir_sub
12495 + ac_abs_top_srcdir=$ac_pwd ;;
12496 + [\\/]* | ?:[\\/]* ) # Absolute name.
12497 ac_srcdir=$srcdir$ac_dir_suffix;
12498 - ac_top_srcdir=$srcdir ;;
12499 - *) # Relative path.
12500 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12501 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
12502 -esac
12503 + ac_top_srcdir=$srcdir
12504 + ac_abs_top_srcdir=$srcdir ;;
12505 + *) # Relative name.
12506 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12507 + ac_top_srcdir=$ac_top_build_prefix$srcdir
12508 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12509 +esac
12510 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12512 -# Do not use `cd foo && pwd` to compute absolute paths, because
12513 -# the directories may not exist.
12514 -case `pwd` in
12515 -.) ac_abs_builddir="$ac_dir";;
12517 - case "$ac_dir" in
12518 - .) ac_abs_builddir=`pwd`;;
12519 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12520 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
12521 - esac;;
12522 -esac
12523 -case $ac_abs_builddir in
12524 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
12526 - case ${ac_top_builddir}. in
12527 - .) ac_abs_top_builddir=$ac_abs_builddir;;
12528 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12529 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12530 - esac;;
12531 -esac
12532 -case $ac_abs_builddir in
12533 -.) ac_abs_srcdir=$ac_srcdir;;
12535 - case $ac_srcdir in
12536 - .) ac_abs_srcdir=$ac_abs_builddir;;
12537 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12538 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12539 - esac;;
12540 -esac
12541 -case $ac_abs_builddir in
12542 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
12544 - case $ac_top_srcdir in
12545 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
12546 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12547 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12548 - esac;;
12549 -esac
12551 + case $ac_mode in
12552 + :F)
12554 + # CONFIG_FILE
12557 case $INSTALL in
12558 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12559 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12560 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12561 esac
12562 +_ACEOF
12564 - if test x"$ac_file" != x-; then
12565 - { echo "$as_me:$LINENO: creating $ac_file" >&5
12566 -echo "$as_me: creating $ac_file" >&6;}
12567 - rm -f "$ac_file"
12568 - fi
12569 - # Let's still pretend it is `configure' which instantiates (i.e., don't
12570 - # use $as_me), people would be surprised to read:
12571 - # /* config.h. Generated by config.status. */
12572 - if test x"$ac_file" = x-; then
12573 - configure_input=
12574 - else
12575 - configure_input="$ac_file. "
12576 - fi
12577 - configure_input=$configure_input"Generated from `echo $ac_file_in |
12578 - sed 's,.*/,,'` by configure."
12580 - # First look for the input files in the build tree, otherwise in the
12581 - # src tree.
12582 - ac_file_inputs=`IFS=:
12583 - for f in $ac_file_in; do
12584 - case $f in
12585 - -) echo $tmp/stdin ;;
12586 - [\\/$]*)
12587 - # Absolute (can't be DOS-style, as IFS=:)
12588 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12589 -echo "$as_me: error: cannot find input file: $f" >&2;}
12590 - { (exit 1); exit 1; }; }
12591 - echo "$f";;
12592 - *) # Relative
12593 - if test -f "$f"; then
12594 - # Build tree
12595 - echo "$f"
12596 - elif test -f "$srcdir/$f"; then
12597 - # Source tree
12598 - echo "$srcdir/$f"
12599 - else
12600 - # /dev/null tree
12601 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12602 -echo "$as_me: error: cannot find input file: $f" >&2;}
12603 - { (exit 1); exit 1; }; }
12604 - fi;;
12605 - esac
12606 - done` || { (exit 1); exit 1; }
12607 +cat >>$CONFIG_STATUS <<\_ACEOF
12608 +# If the template does not know about datarootdir, expand it.
12609 +# FIXME: This hack should be removed a few years after 2.60.
12610 +ac_datarootdir_hack=; ac_datarootdir_seen=
12612 +case `sed -n '/datarootdir/ {
12616 +/@datadir@/p
12617 +/@docdir@/p
12618 +/@infodir@/p
12619 +/@localedir@/p
12620 +/@mandir@/p
12621 +' $ac_file_inputs` in
12622 +*datarootdir*) ac_datarootdir_seen=yes;;
12623 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12624 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12625 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12626 +_ACEOF
12627 +cat >>$CONFIG_STATUS <<_ACEOF
12628 + ac_datarootdir_hack='
12629 + s&@datadir@&$datadir&g
12630 + s&@docdir@&$docdir&g
12631 + s&@infodir@&$infodir&g
12632 + s&@localedir@&$localedir&g
12633 + s&@mandir@&$mandir&g
12634 + s&\\\${datarootdir}&$datarootdir&g' ;;
12635 +esac
12636 _ACEOF
12638 +# Neutralize VPATH when `$srcdir' = `.'.
12639 +# Shell code in configure.ac might set extrasub.
12640 +# FIXME: do we really want to maintain this feature?
12641 cat >>$CONFIG_STATUS <<_ACEOF
12642 sed "$ac_vpsub
12643 $extrasub
12644 @@ -13571,29 +14384,40 @@
12645 cat >>$CONFIG_STATUS <<\_ACEOF
12647 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12648 -s,@configure_input@,$configure_input,;t t
12649 -s,@srcdir@,$ac_srcdir,;t t
12650 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
12651 -s,@top_srcdir@,$ac_top_srcdir,;t t
12652 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12653 -s,@builddir@,$ac_builddir,;t t
12654 -s,@abs_builddir@,$ac_abs_builddir,;t t
12655 -s,@top_builddir@,$ac_top_builddir,;t t
12656 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12657 -s,@INSTALL@,$ac_INSTALL,;t t
12658 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12659 - rm -f $tmp/stdin
12660 - if test x"$ac_file" != x-; then
12661 - mv $tmp/out $ac_file
12662 - else
12663 - cat $tmp/out
12664 - rm -f $tmp/out
12665 - fi
12666 +s&@configure_input@&$configure_input&;t t
12667 +s&@top_builddir@&$ac_top_builddir_sub&;t t
12668 +s&@srcdir@&$ac_srcdir&;t t
12669 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
12670 +s&@top_srcdir@&$ac_top_srcdir&;t t
12671 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12672 +s&@builddir@&$ac_builddir&;t t
12673 +s&@abs_builddir@&$ac_abs_builddir&;t t
12674 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12675 +s&@INSTALL@&$ac_INSTALL&;t t
12676 +$ac_datarootdir_hack
12677 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
12679 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12680 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12681 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12682 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12683 +which seems to be undefined. Please make sure it is defined." >&5
12684 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12685 +which seems to be undefined. Please make sure it is defined." >&2;}
12687 -done
12688 -_ACEOF
12689 + rm -f "$tmp/stdin"
12690 + case $ac_file in
12691 + -) cat "$tmp/out"; rm -f "$tmp/out";;
12692 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
12693 + esac
12694 + ;;
12698 + esac
12700 +done # for ac_tag
12702 -cat >>$CONFIG_STATUS <<\_ACEOF
12704 { (exit 0); exit 0; }
12705 _ACEOF
12706 diff -ruN gcc-4.4.2.orig/configure.ac gcc-4.4.2/configure.ac
12707 --- gcc-4.4.2.orig/configure.ac 2009-04-25 08:10:29.000000000 +0400
12708 +++ gcc-4.4.2/configure.ac 2010-10-07 11:03:20.000000000 +0400
12709 @@ -369,6 +369,9 @@
12710 ppc*-*-pe)
12711 noconfigdirs="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
12713 + *-*-aros*)
12714 + noconfigdirs="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl tix gnuserv gdb"
12715 + ;;
12716 powerpc-*-beos*)
12717 noconfigdirs="$noconfigdirs tk itcl libgui gdb dejagnu readline"
12719 @@ -1112,6 +1115,8 @@
12720 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
12721 host_makefile_frag="config/mh-x86omitfp"
12723 + *-*-aros*)
12724 + ;;
12725 esac
12728 diff -ruN gcc-4.4.2.orig/fixincludes/configure gcc-4.4.2/fixincludes/configure
12729 --- gcc-4.4.2.orig/fixincludes/configure 2008-12-18 23:04:55.000000000 +0300
12730 +++ gcc-4.4.2/fixincludes/configure 2010-10-07 10:01:35.000000000 +0400
12731 @@ -3293,6 +3293,7 @@
12733 else
12734 case $host in
12735 + *-*-aros* | \
12736 i?86-*-msdosdjgpp* | \
12737 i?86-*-mingw32* | \
12738 x86_64-*-mingw32* | \
12739 diff -ruN gcc-4.4.2.orig/fixincludes/configure.ac gcc-4.4.2/fixincludes/configure.ac
12740 --- gcc-4.4.2.orig/fixincludes/configure.ac 2008-09-07 03:00:24.000000000 +0400
12741 +++ gcc-4.4.2/fixincludes/configure.ac 2010-10-07 10:01:35.000000000 +0400
12742 @@ -49,6 +49,7 @@
12743 TARGET=oneprocess
12744 fi],
12745 [case $host in
12746 + *-*-aros* | \
12747 i?86-*-msdosdjgpp* | \
12748 i?86-*-mingw32* | \
12749 x86_64-*-mingw32* | \
12750 diff -ruN gcc-4.4.2.orig/gcc/config/arm/aros.h gcc-4.4.2/gcc/config/arm/aros.h
12751 --- gcc-4.4.2.orig/gcc/config/arm/aros.h 1970-01-01 03:00:00.000000000 +0300
12752 +++ gcc-4.4.2/gcc/config/arm/aros.h 2010-10-20 10:34:40.000000000 +0400
12753 @@ -0,0 +1,90 @@
12754 +/* Configuration file for ARM AROS EABI targets.
12755 + Copyright (C) 2004, 2005, 2006, 2007, 2010
12756 + Free Software Foundation, Inc.
12757 + Contributed by Pavel Fedin
12758 + Based on linux-eabi.h and other AROS targets
12760 + This file is part of GCC.
12762 + GCC is free software; you can redistribute it and/or modify it
12763 + under the terms of the GNU General Public License as published
12764 + by the Free Software Foundation; either version 3, or (at your
12765 + option) any later version.
12767 + GCC is distributed in the hope that it will be useful, but WITHOUT
12768 + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12769 + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
12770 + License for more details.
12772 + You should have received a copy of the GNU General Public License
12773 + along with GCC; see the file COPYING3. If not see
12774 + <http://www.gnu.org/licenses/>. */
12776 +/* On EABI GNU/Linux, we want both the BPABI builtins and the
12777 + GNU/Linux builtins. */
12778 +#undef TARGET_OS_CPP_BUILTINS
12779 +#define TARGET_OS_CPP_BUILTINS() \
12780 + do \
12781 + { \
12782 + TARGET_BPABI_CPP_BUILTINS(); \
12783 + builtin_define_std ("unix"); \
12784 + builtin_define_std ("AROS"); \
12785 + builtin_assert ("system=posix"); \
12786 + if (flag_pic) \
12787 + { \
12788 + builtin_define ("__PIC__"); \
12789 + builtin_define ("__pic__"); \
12790 + } \
12791 + } \
12792 + while (false)
12794 +#undef SIZE_TYPE
12795 +#define SIZE_TYPE "unsigned int"
12797 +#undef PTRDIFF_TYPE
12798 +#define PTRDIFF_TYPE "int"
12800 +#undef WCHAR_TYPE
12801 +#define WCHAR_TYPE "long int"
12803 +#undef WCHAR_TYPE_SIZE
12804 +#define WCHAR_TYPE_SIZE BITS_PER_WORD
12806 +/* We default to a soft-float ABI so that binaries can run on all
12807 + target hardware. */
12808 +#undef TARGET_DEFAULT_FLOAT_ABI
12809 +#define TARGET_DEFAULT_FLOAT_ABI ARM_FLOAT_ABI_SOFT
12811 +/* We default to the "aapcs-linux" ABI so that enums are int-sized by
12812 + default. */
12813 +#undef ARM_DEFAULT_ABI
12814 +#define ARM_DEFAULT_ABI ARM_ABI_AAPCS_LINUX
12816 +/* Default to armv5t so that thumb shared libraries work.
12817 + The ARM10TDMI core is the default for armv5t, so set
12818 + SUBTARGET_CPU_DEFAULT to achieve this. */
12819 +#undef SUBTARGET_CPU_DEFAULT
12820 +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi
12822 +/* TARGET_BIG_ENDIAN_DEFAULT is set in
12823 + config.gcc for big endian configurations. */
12824 +#undef TARGET_LINKER_EMULATION
12825 +#if TARGET_BIG_ENDIAN_DEFAULT
12826 +#define TARGET_LINKER_EMULATION "armelfb_linux_eabi"
12827 +#else
12828 +#define TARGET_LINKER_EMULATION "armelf_linux_eabi"
12829 +#endif
12831 +#undef SUBTARGET_EXTRA_LINK_SPEC
12832 +#define SUBTARGET_EXTRA_LINK_SPEC " -m " TARGET_LINKER_EMULATION
12834 +/* Provide a LINK_SPEC appropriate for AROS. */
12835 +#undef LINK_SPEC
12836 +#define LINK_SPEC "-m armelf_linux_eabi"
12838 +/* Use own supplement to libgcc. */
12839 +#undef LIBGCC_SPEC
12840 +#define LIBGCC_SPEC "-laeabi -lgcc"
12842 +/* FIXME: AROS doesn't support dw2 unwinding yet. */
12843 +#undef MD_FALLBACK_FRAME_STATE_FOR
12844 diff -ruN gcc-4.4.2.orig/gcc/config/aros.h gcc-4.4.2/gcc/config/aros.h
12845 --- gcc-4.4.2.orig/gcc/config/aros.h 1970-01-01 03:00:00.000000000 +0300
12846 +++ gcc-4.4.2/gcc/config/aros.h 2010-10-20 10:34:49.000000000 +0400
12847 @@ -0,0 +1,93 @@
12848 +/* Definitions for AROS
12849 + Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
12850 + Contributed by Fabio Alemagna
12851 + Based upon linux.h, contributed by Eric Youngdale.
12853 +This file is part of GNU CC.
12855 +GNU CC is free software; you can redistribute it and/or modify
12856 +it under the terms of the GNU General Public License as published by
12857 +the Free Software Foundation; either version 2, or (at your option)
12858 +any later version.
12860 +GNU CC is distributed in the hope that it will be useful,
12861 +but WITHOUT ANY WARRANTY; without even the implied warranty of
12862 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12863 +GNU General Public License for more details.
12865 +You should have received a copy of the GNU General Public License
12866 +along with GNU CC; see the file COPYING. If not, write to
12867 +the Free Software Foundation, 59 Temple Place - Suite 330,
12868 +Boston, MA 02111-1307, USA. */
12870 +/* Don't assume anything about the header files. */
12871 +#define NO_IMPLICIT_EXTERN_C
12873 +/* AROS uses ctype from libc.a. I am not sure how complete it is.
12874 + For now, we play safe. It may change later. */
12876 +#if 0
12877 +#undef MULTIBYTE_CHARS
12878 +#define MULTIBYTE_CHARS 1
12879 +#endif
12881 +#undef TARGET_OS_CPP_BUILTINS
12882 +#define TARGET_OS_CPP_BUILTINS() \
12883 + do \
12884 + { \
12885 + builtin_define_std ("unix"); \
12886 + builtin_define_std ("AROS"); \
12887 + builtin_define ("__ELF__"); \
12888 + builtin_assert ("system=posix"); \
12889 + } \
12890 + while (0)
12892 +#undef ASM_APP_ON
12893 +#define ASM_APP_ON "#APP\n"
12895 +#undef ASM_APP_OFF
12896 +#define ASM_APP_OFF "#NO_APP\n"
12898 +#undef MD_EXEC_PREFIX
12899 +#undef MD_STARTFILE_PREFIX
12901 +/* Provide a STARTFILE_SPEC appropriate for AROS. AROS has its own
12902 + set of startup files which also take care of handling C++
12903 + constructors/destructors. */
12905 +#undef STARTFILE_SPEC
12906 +#define STARTFILE_SPEC \
12907 + "%{detach:detach.o%s} startup.o%s %{nix:nixmain.o%s}"
12909 +/* Provide a ENDFILE_SPEC appropriate for AROS. */
12911 +#undef ENDFILE_SPEC
12912 +#define ENDFILE_SPEC \
12913 + "-lautoinit"
12915 +/* This is for -profile to use -lc_p instead of -lc. */
12916 +#ifndef CC1_SPEC
12917 +#define CC1_SPEC "%{profile:-p}"
12918 +#endif
12920 +/* The GNU C++ standard library requires that these macros be defined. */
12921 +#undef CPLUSPLUS_CPP_SPEC
12922 +#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
12924 +#undef LIB_SPEC
12925 +#define LIB_SPEC \
12926 + "-lamiga %{!noarosc:-larosc} -larossupport -lm -lcodesets -lkeymap -lexpansion -lcommodities -ldiskfont -lasl -lmuimaster -ldatatypes -lcybergraphics -lworkbench -licon -lintuition -lgadtools -llayers -laros -lpartition -liffparse -lgraphics -llocale -ldos -lutility -lautoinit -llibinit -lautoinit"
12928 +#if !defined(USE_GNULIBC_1) && defined(HAVE_LD_EH_FRAME_HDR)
12929 +#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
12930 +#endif
12932 +/* AROS uses its own collect-like program for the moment. */
12933 +#undef LINKER_NAME
12934 +#define LINKER_NAME "collect-aros"
12936 +/* Define this so we can compile MS code for use with WINE. */
12937 +#undef HANDLE_PRAGMA_PACK_PUSH_POP
12938 +#define HANDLE_PRAGMA_PACK_PUSH_POP
12940 +#define TARGET_HAS_F_SETLKW
12941 diff -ruN gcc-4.4.2.orig/gcc/config/i386/aros.h gcc-4.4.2/gcc/config/i386/aros.h
12942 --- gcc-4.4.2.orig/gcc/config/i386/aros.h 1970-01-01 03:00:00.000000000 +0300
12943 +++ gcc-4.4.2/gcc/config/i386/aros.h 2010-10-07 11:39:33.000000000 +0400
12944 @@ -0,0 +1,120 @@
12945 +/* Definitions for Intel 386 running AROS systems with ELF format.
12946 + Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002
12947 + Free Software Foundation, Inc.
12948 + Contributed by Fabio Alemagna.
12949 + Based upon i386/linux.h by Eric Youngdale.
12951 +This file is part of GNU CC.
12953 +GNU CC is free software; you can redistribute it and/or modify
12954 +it under the terms of the GNU General Public License as published by
12955 +the Free Software Foundation; either version 2, or (at your option)
12956 +any later version.
12958 +GNU CC is distributed in the hope that it will be useful,
12959 +but WITHOUT ANY WARRANTY; without even the implied warranty of
12960 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12961 +GNU General Public License for more details.
12963 +You should have received a copy of the GNU General Public License
12964 +along with GNU CC; see the file COPYING. If not, write to
12965 +the Free Software Foundation, 59 Temple Place - Suite 330,
12966 +Boston, MA 02111-1307, USA. */
12968 +/* Output at beginning of assembler file. */
12969 +/* The .file command should always begin the output. */
12970 +#undef TARGET_ASM_FILE_START_FILE_DIRECTIVE
12971 +#define TARGET_ASM_FILE_START_FILE_DIRECTIVE true
12973 +#define TARGET_VERSION fprintf (stderr, " (i386 AROS/ELF)");
12975 +/* The svr4 ABI for the i386 says that records and unions are returned
12976 + in memory. */
12977 +#undef DEFAULT_PCC_STRUCT_RETURN
12978 +#define DEFAULT_PCC_STRUCT_RETURN 1
12980 +#undef ASM_COMMENT_START
12981 +#define ASM_COMMENT_START "#"
12983 +#undef DBX_REGISTER_NUMBER
12984 +#define DBX_REGISTER_NUMBER(n) \
12985 + (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n])
12987 +/* Output assembler code to FILE to call the profiler.
12988 + To the best of my knowledge, no Linux libc has required the label
12989 + argument to mcount. */
12991 +#define NO_PROFILE_COUNTERS 1
12993 +#undef MCOUNT_NAME
12994 +#define MCOUNT_NAME "mcount"
12996 +/* The GLIBC version of mcount for the x86 assumes that there is a
12997 + frame, so we cannot allow profiling without a frame pointer. */
12999 +#undef SUBTARGET_FRAME_POINTER_REQUIRED
13000 +#define SUBTARGET_FRAME_POINTER_REQUIRED crtl->profile
13002 +#undef SIZE_TYPE
13003 +#define SIZE_TYPE "unsigned int"
13005 +#undef PTRDIFF_TYPE
13006 +#define PTRDIFF_TYPE "int"
13008 +#undef WCHAR_TYPE
13009 +#define WCHAR_TYPE "long int"
13011 +#undef WCHAR_TYPE_SIZE
13012 +#define WCHAR_TYPE_SIZE BITS_PER_WORD
13014 +#undef CPP_SPEC
13015 +#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
13017 +#undef CC1_SPEC
13018 +#define CC1_SPEC "%(cc1_cpu) %{profile:-p}"
13020 +/* Provide a LINK_SPEC appropriate for AROS. */
13022 +#undef LINK_SPEC
13023 +#define LINK_SPEC "-m elf_i386"
13025 +/* A C statement (sans semicolon) to output to the stdio stream
13026 + FILE the assembler definition of uninitialized global DECL named
13027 + NAME whose size is SIZE bytes and alignment is ALIGN bytes.
13028 + Try to use asm_output_aligned_bss to implement this macro. */
13030 +#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
13031 + asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN)
13033 +/* A C statement to output to the stdio stream FILE an assembler
13034 + command to advance the location counter to a multiple of 1<<LOG
13035 + bytes if it is within MAX_SKIP bytes.
13037 + This is used to align code labels according to Intel recommendations. */
13039 +#ifdef HAVE_GAS_MAX_SKIP_P2ALIGN
13040 +#define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \
13041 + do { \
13042 + if ((LOG) != 0) { \
13043 + if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \
13044 + else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
13045 + } \
13046 + } while (0)
13047 +#endif
13049 +/* Handle special EH pointer encodings. Absolute, pc-relative, and
13050 + indirect are handled automatically. */
13051 +#define ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX(FILE, ENCODING, SIZE, ADDR, DONE) \
13052 + do { \
13053 + if ((SIZE) == 4 && ((ENCODING) & 0x70) == DW_EH_PE_datarel) \
13054 + { \
13055 + fputs (ASM_LONG, FILE); \
13056 + assemble_name (FILE, XSTR (ADDR, 0)); \
13057 + fputs (((ENCODING) & DW_EH_PE_indirect ? "@GOT" : "@GOTOFF"), FILE); \
13058 + goto DONE; \
13059 + } \
13060 + } while (0)
13063 +/* FIXME: AROS doesn't support dw2 unwinding yet. */
13064 +#undef MD_FALLBACK_FRAME_STATE_FOR
13065 diff -ruN gcc-4.4.2.orig/gcc/config/i386/aros64.h gcc-4.4.2/gcc/config/i386/aros64.h
13066 --- gcc-4.4.2.orig/gcc/config/i386/aros64.h 1970-01-01 03:00:00.000000000 +0300
13067 +++ gcc-4.4.2/gcc/config/i386/aros64.h 2010-10-07 10:04:34.000000000 +0400
13068 @@ -0,0 +1,43 @@
13069 +/* Definitions for AMD x86_64 running AROS systems with ELF64 format.
13070 + Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002
13071 + Free Software Foundation, Inc.
13072 + Contributed by Stanislaw Szymczyk <sszymczy@gmail.com>. Based on aros.h.
13074 +This file is part of GNU CC.
13076 +GNU CC is free software; you can redistribute it and/or modify
13077 +it under the terms of the GNU General Public License as published by
13078 +the Free Software Foundation; either version 2, or (at your option)
13079 +any later version.
13081 +GNU CC is distributed in the hope that it will be useful,
13082 +but WITHOUT ANY WARRANTY; without even the implied warranty of
13083 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13084 +GNU General Public License for more details.
13086 +You should have received a copy of the GNU General Public License
13087 +along with GNU CC; see the file COPYING. If not, write to
13088 +the Free Software Foundation, 59 Temple Place - Suite 330,
13089 +Boston, MA 02111-1307, USA. */
13091 +/* Output at beginning of assembler file. */
13092 +/* The .file command should always begin the output. */
13094 +#define TARGET_VERSION fprintf (stderr, " (x86_64 AROS/ELF)");
13096 +#undef CPP_SPEC
13097 +#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
13099 +/* The svr4 ABI for the i386 says that records and unions are returned
13100 + in memory. In the 64bit compilation we will turn this flag off in
13101 + override_options, as we never do pcc_struct_return scheme on this target. */
13102 +#undef DEFAULT_PCC_STRUCT_RETURN
13103 +#define DEFAULT_PCC_STRUCT_RETURN 1
13105 +/* Provide a LINK_SPEC appropriate for AROS. */
13107 +#undef LINK_SPEC
13108 +#define LINK_SPEC "%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
13110 +/* FIXME: AROS doesn't support dw2 unwinding yet. */
13111 +#undef MD_FALLBACK_FRAME_STATE_FOR
13112 diff -ruN gcc-4.4.2.orig/gcc/config/rs6000/aros.h gcc-4.4.2/gcc/config/rs6000/aros.h
13113 --- gcc-4.4.2.orig/gcc/config/rs6000/aros.h 1970-01-01 03:00:00.000000000 +0300
13114 +++ gcc-4.4.2/gcc/config/rs6000/aros.h 2010-10-07 12:05:22.000000000 +0400
13115 @@ -0,0 +1,175 @@
13116 +/* Definitions for Powerpc running AROS systems with ELF format.
13117 + Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002
13118 + Free Software Foundation, Inc.
13119 + Contributed by Markus Weiss.
13120 + Based upon i386/aros.h by Fabio Alemagna.
13122 +This file is part of GNU CC.
13124 +GNU CC is free software; you can redistribute it and/or modify
13125 +it under the terms of the GNU General Public License as published by
13126 +the Free Software Foundation; either version 2, or (at your option)
13127 +any later version.
13129 +GNU CC is distributed in the hope that it will be useful,
13130 +but WITHOUT ANY WARRANTY; without even the implied warranty of
13131 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13132 +GNU General Public License for more details.
13134 +You should have received a copy of the GNU General Public License
13135 +along with GNU CC; see the file COPYING. If not, write to
13136 +the Free Software Foundation, 59 Temple Place - Suite 330,
13137 +Boston, MA 02111-1307, USA. */
13139 +/* Symbols missing in comparison to i386/aros.h are either
13140 + defined in elfos.h, rs6000/rs6000.h rs6000/sysv4.h
13141 + or not needed for PowerPC.
13144 +/* We need to define __powerpc__. */
13146 +#undef TARGET_OS_CPP_BUILTINS
13147 +#define TARGET_OS_CPP_BUILTINS() \
13148 + do \
13149 + { \
13150 + builtin_define_std ("unix"); \
13151 + builtin_define_std ("AROS"); \
13152 + builtin_define ("__powerpc__"); \
13153 + builtin_define ("__ELF__"); \
13154 + builtin_assert ("system=posix"); \
13155 + if (flag_pic) \
13156 + { \
13157 + builtin_define ("__PIC__"); \
13158 + builtin_define ("__pic__"); \
13159 + } \
13160 + } \
13161 + while (0)
13163 +/* This one taken from linux.h. */
13164 +/* We are 32-bit all the time, so optimize a little. */
13165 +#undef TARGET_64BIT
13166 +#define TARGET_64BIT 0
13168 +/* Output at beginning of assembler file. */
13169 +/* The .file command should always begin the output. */
13170 +/*#undef TARGET_ASM_FILE_START_FILE_DIRECTIVE
13171 +#define TARGET_ASM_FILE_START_FILE_DIRECTIVE true
13172 +defined in elfos.h
13175 +#undef TARGET_VERSION
13176 +#define TARGET_VERSION fprintf (stderr, " (PowerPC AROS/ELF)");
13178 +/* The svr4 ABI for the i386 says that records and unions are returned
13179 + in memory. */
13180 +/*#undef DEFAULT_PCC_STRUCT_RETURN
13181 +#define DEFAULT_PCC_STRUCT_RETURN 1
13182 +see rs6000/rs6000.h
13186 +#undef ASM_COMMENT_START
13187 +#define ASM_COMMENT_START "#"
13188 +see rs6000/rs6000.h
13192 +#undef DBX_REGISTER_NUMBER
13193 +#define DBX_REGISTER_NUMBER(n) \
13194 + (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n])
13195 +see rs6000/sysv4.h
13198 +/* Output assembler code to FILE to call the profiler.
13199 + To the best of my knowledge, no Linux libc has required the label
13200 + argument to mcount. */
13203 +#define NO_PROFILE_COUNTERS 1
13204 +not used by other similar ppc compilers
13205 +only in darwin.h rs6000/linux64.h rs6000/rs6000.c
13209 +#undef MCOUNT_NAME
13210 +#define MCOUNT_NAME "mcount"
13211 +see rs6000/sysv4.h RS6000_MCOUNT
13214 +/* The GLIBC version of mcount for the x86 assumes that there is a
13215 + frame, so we cannot allow profiling without a frame pointer. */
13217 +#undef SUBTARGET_FRAME_POINTER_REQUIRED
13218 +#define SUBTARGET_FRAME_POINTER_REQUIRED crtl->profile
13219 +seems to be handled by rs6000/rs6000.h
13222 +#undef SIZE_TYPE
13223 +#define SIZE_TYPE "unsigned int"
13225 +#undef PTRDIFF_TYPE
13226 +#define PTRDIFF_TYPE "int"
13228 +#undef WCHAR_TYPE
13229 +#define WCHAR_TYPE "long int"
13231 +#undef WCHAR_TYPE_SIZE
13232 +#define WCHAR_TYPE_SIZE BITS_PER_WORD
13234 +#undef CPP_SPEC
13235 +#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
13237 +#undef CC1_SPEC
13238 +#define CC1_SPEC "%(cc1_cpu) %{profile:-p}"
13240 +/* Provide a LINK_SPEC appropriate for AROS. */
13242 +#undef LINK_SPEC
13243 +#define LINK_SPEC "-m elf32ppc"
13245 +/* A C statement (sans semicolon) to output to the stdio stream
13246 + FILE the assembler definition of uninitialized global DECL named
13247 + NAME whose size is SIZE bytes and alignment is ALIGN bytes.
13248 + Try to use asm_output_aligned_bss to implement this macro. */
13250 +#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
13251 + asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN)
13252 +see rs6000/sysv4.h
13255 +/* A C statement to output to the stdio stream FILE an assembler
13256 + command to advance the location counter to a multiple of 1<<LOG
13257 + bytes if it is within MAX_SKIP bytes.
13259 + This is used to align code labels according to Intel recommendations. */
13261 +#ifdef HAVE_GAS_MAX_SKIP_P2ALIGN
13262 +#define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \
13263 + do { \
13264 + if ((LOG) != 0) { \
13265 + if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \
13266 + else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
13267 + } \
13268 + } while (0)
13269 +#endif
13270 +see rs6000/sysv4.h
13273 +/* Handle special EH pointer encodings. Absolute, pc-relative, and
13274 + indirect are handled automatically. */
13276 +#define ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX(FILE, ENCODING, SIZE, ADDR, DONE) \
13277 + do { \
13278 + if ((SIZE) == 4 && ((ENCODING) & 0x70) == DW_EH_PE_datarel) \
13279 + { \
13280 + fputs (ASM_LONG, FILE); \
13281 + assemble_name (FILE, XSTR (ADDR, 0)); \
13282 + fputs (((ENCODING) & DW_EH_PE_indirect ? "@GOT" : "@GOTOFF"), FILE); \
13283 + goto DONE; \
13284 + } \
13285 + } while (0)
13286 +not used for PowerPC
13289 +/* FIXME: AROS doesn't support dw2 unwinding yet. */
13290 +#undef MD_FALLBACK_FRAME_STATE_FOR
13291 diff -ruN gcc-4.4.2.orig/gcc/config/rs6000/rs6000.c gcc-4.4.2/gcc/config/rs6000/rs6000.c
13292 --- gcc-4.4.2.orig/gcc/config/rs6000/rs6000.c 2009-09-24 02:19:05.000000000 +0400
13293 +++ gcc-4.4.2/gcc/config/rs6000/rs6000.c 2010-10-07 10:04:35.000000000 +0400
13294 @@ -5450,6 +5450,9 @@
13295 && !lookup_attribute ("shortcall", TYPE_ATTRIBUTES (fntype))))
13296 cum->call_cookie |= CALL_LONG;
13298 + cum->stackparm = fntype && lookup_attribute("stackparm",
13299 + TYPE_ATTRIBUTES(fntype));
13301 if (TARGET_DEBUG_ARG)
13303 fprintf (stderr, "\ninit_cumulative_args:");
13304 @@ -6277,6 +6280,9 @@
13305 return GEN_INT (cum->call_cookie);
13308 + if (cum->stackparm)
13309 + return NULL_RTX;
13311 if (rs6000_darwin64_abi && mode == BLKmode
13312 && TREE_CODE (type) == RECORD_TYPE)
13314 @@ -6695,6 +6701,9 @@
13315 int first_reg_offset;
13316 alias_set_type set;
13318 + if (cum->stackparm)
13319 + return;
13321 /* Skip the last named argument. */
13322 next_cum = *cum;
13323 function_arg_advance (&next_cum, mode, type, 1, 0);
13324 @@ -20533,6 +20542,7 @@
13325 { "altivec", 1, 1, false, true, false, rs6000_handle_altivec_attribute },
13326 { "longcall", 0, 0, false, true, true, rs6000_handle_longcall_attribute },
13327 { "shortcall", 0, 0, false, true, true, rs6000_handle_longcall_attribute },
13328 + { "stackparm", 0, 0, false, true, true, rs6000_handle_longcall_attribute },
13329 { "ms_struct", 0, 0, false, false, false, rs6000_handle_struct_attribute },
13330 { "gcc_struct", 0, 0, false, false, false, rs6000_handle_struct_attribute },
13331 #ifdef SUBTARGET_ATTRIBUTE_TABLE
13332 diff -ruN gcc-4.4.2.orig/gcc/config/rs6000/rs6000.h gcc-4.4.2/gcc/config/rs6000/rs6000.h
13333 --- gcc-4.4.2.orig/gcc/config/rs6000/rs6000.h 2009-04-10 03:23:07.000000000 +0400
13334 +++ gcc-4.4.2/gcc/config/rs6000/rs6000.h 2010-10-07 10:04:35.000000000 +0400
13335 @@ -1513,6 +1513,7 @@
13336 int nargs_prototype; /* # args left in the current prototype */
13337 int prototype; /* Whether a prototype was defined */
13338 int stdarg; /* Whether function is a stdarg function. */
13339 + int stackparm; /* Whether function has all args on the stack */
13340 int call_cookie; /* Do special things for this call */
13341 int sysv_gregno; /* next available GP register */
13342 int intoffset; /* running offset in struct (darwin64) */
13343 diff -ruN gcc-4.4.2.orig/gcc/config/xm-aros.h gcc-4.4.2/gcc/config/xm-aros.h
13344 --- gcc-4.4.2.orig/gcc/config/xm-aros.h 1970-01-01 03:00:00.000000000 +0300
13345 +++ gcc-4.4.2/gcc/config/xm-aros.h 2010-10-07 10:20:55.000000000 +0400
13346 @@ -0,0 +1,23 @@
13347 +/* Configuration for GCC for hosting on Windows32.
13348 + using GNU tools and the Windows32 API Library.
13349 + Copyright (C) 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2007
13350 + Free Software Foundation, Inc.
13352 +This file is part of GCC.
13354 +GCC is free software; you can redistribute it and/or modify it under
13355 +the terms of the GNU General Public License as published by the Free
13356 +Software Foundation; either version 3, or (at your option) any later
13357 +version.
13359 +GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13360 +WARRANTY; without even the implied warranty of MERCHANTABILITY or
13361 +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13362 +for more details.
13364 +You should have received a copy of the GNU General Public License
13365 +along with GCC; see the file COPYING3. If not see
13366 +<http://www.gnu.org/licenses/>. */
13368 +/* The st_ino field of struct stat is undefined. */
13369 +#define HOST_LACKS_INODE_NUMBERS
13370 diff -ruN gcc-4.4.2.orig/gcc/config.build gcc-4.4.2/gcc/config.build
13371 --- gcc-4.4.2.orig/gcc/config.build 2008-02-21 22:55:39.000000000 +0300
13372 +++ gcc-4.4.2/gcc/config.build 2010-10-07 10:41:13.000000000 +0400
13373 @@ -115,6 +115,9 @@
13374 # HP 9000 series 300
13375 build_install_headers_dir=install-headers-cpio
13377 + *-*-aros*)
13378 + build_xm_file=xm-aros.h
13379 + ;;
13380 *-*-sysv*)
13381 # All other System V variants.
13382 build_install_headers_dir=install-headers-cpio
13383 diff -ruN gcc-4.4.2.orig/gcc/config.gcc gcc-4.4.2/gcc/config.gcc
13384 --- gcc-4.4.2.orig/gcc/config.gcc 2009-09-13 17:01:13.000000000 +0400
13385 +++ gcc-4.4.2/gcc/config.gcc 2010-10-20 10:44:11.000000000 +0400
13386 @@ -555,6 +555,14 @@
13388 esac
13390 +*-*-aros*)
13391 + gas=yes
13392 + gnu_ld=yes
13393 + thread_file=single
13394 + use_collect2=no
13395 + xm_defines='STDC_HEADERS=1'
13396 + ;;
13398 *-*-openbsd*)
13399 tmake_file="t-libc-ok t-openbsd t-libgcc-pic"
13400 case ${enable_threads} in
13401 @@ -681,6 +689,11 @@
13402 tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"
13403 extra_parts="crtinit.o crtfini.o"
13405 +arm*-*-aros*)
13406 + tm_file="dbxelf.h elfos.h arm/elf.h arm/bpabi.h aros.h arm/aros.h arm/aout.h arm/arm.h"
13407 + tmake_file="${tmake_file} arm/t-arm arm/t-arm-elf arm/t-bpabi"
13408 + xm_file="xm-aros.h"
13409 + ;;
13410 arm-*-coff* | armel-*-coff*)
13411 tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h dbxcoff.h"
13412 tmake_file="arm/t-arm arm/t-arm-coff"
13413 @@ -1121,6 +1134,14 @@
13414 esac
13415 tmake_file="${tmake_file} i386/t-linux64 i386/t-crtstuff i386/t-crtpc i386/t-crtfm t-dfprules"
13417 +i[34567]86-*-aros*)
13418 + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h aros.h i386/aros.h"
13419 + xm_file=xm-aros.h
13420 + ;;
13421 +x86_64-*-aros*)
13422 + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h aros.h i386/x86-64.h i386/aros64.h"
13423 + xm_file=xm-aros.h
13424 + ;;
13425 i[34567]86-pc-msdosdjgpp*)
13426 xm_file=i386/xm-djgpp.h
13427 tm_file="dbxcoff.h ${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/djgpp.h"
13428 @@ -1839,6 +1860,12 @@
13429 extra_options="${extra_options} rs6000/sysv4.opt"
13430 tmake_file="rs6000/t-fprules rs6000/t-fprules-softfp soft-fp/t-softfp rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
13432 +powerpc-*-aros*)
13433 + tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h aros.h"
13434 + extra_options="${extra_options} rs6000/sysv4.opt"
13435 + tm_file="${tm_file} rs6000/aros.h"
13436 + xm_file=xm-aros.h
13437 + ;;
13438 powerpc-*-linux*)
13439 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
13440 extra_options="${extra_options} rs6000/sysv4.opt"
13441 diff -ruN gcc-4.4.2.orig/gcc/config.host gcc-4.4.2/gcc/config.host
13442 --- gcc-4.4.2.orig/gcc/config.host 2009-09-13 21:02:50.000000000 +0400
13443 +++ gcc-4.4.2/gcc/config.host 2010-10-07 10:39:14.000000000 +0400
13444 @@ -252,4 +252,8 @@
13445 out_host_hook_obj=host-hpux.o
13446 host_xmake_file="${host_xmake_file} x-hpux"
13448 + *-*-aros*)
13449 + host_can_use_collect2=no
13450 + host_xm_file=xm-aros.h
13451 + ;;
13452 esac
13453 diff -ruN gcc-4.4.2.orig/gcc/gcc.c gcc-4.4.2/gcc/gcc.c
13454 --- gcc-4.4.2.orig/gcc/gcc.c 2009-03-18 00:25:59.000000000 +0300
13455 +++ gcc-4.4.2/gcc/gcc.c 2010-10-07 10:04:35.000000000 +0400
13456 @@ -3831,7 +3831,7 @@
13458 /* -pipe has to go into the switches array as well as
13459 setting a flag. */
13460 - use_pipes = 1;
13461 + use_pipes = 0;
13462 n_switches++;
13464 else if (strcmp (argv[i], "-wrapper") == 0)
13465 diff -ruN gcc-4.4.2.orig/gcc/toplev.c gcc-4.4.2/gcc/toplev.c
13466 --- gcc-4.4.2.orig/gcc/toplev.c 2009-04-29 08:57:17.000000000 +0400
13467 +++ gcc-4.4.2/gcc/toplev.c 2010-10-07 10:04:35.000000000 +0400
13468 @@ -527,7 +527,7 @@
13469 for floor_log2 and exact_log2; see toplev.h. That construct, however,
13470 conflicts with the ISO C++ One Definition Rule. */
13472 -#if GCC_VERSION < 3004 || !defined (__cplusplus)
13473 +#if GCC_VERSION < 3004 || !defined (__cplusplus) || GCC_VERSION >= 4003
13475 /* Given X, an unsigned number, return the largest int Y such that 2**Y <= X.
13476 If X is 0, return -1. */
13477 diff -ruN gcc-4.4.2.orig/gcc/toplev.h gcc-4.4.2/gcc/toplev.h
13478 --- gcc-4.4.2.orig/gcc/toplev.h 2009-02-20 18:20:38.000000000 +0300
13479 +++ gcc-4.4.2/gcc/toplev.h 2010-10-07 10:04:35.000000000 +0400
13480 @@ -174,7 +174,7 @@
13481 extern int floor_log2 (unsigned HOST_WIDE_INT);
13483 /* Inline versions of the above for speed. */
13484 -#if GCC_VERSION >= 3004
13485 +#if GCC_VERSION >= 3004 && GCC_VERSION < 4003
13486 # if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG
13487 # define CLZ_HWI __builtin_clzl
13488 # define CTZ_HWI __builtin_ctzl
13489 diff -ruN gcc-4.4.2.orig/include/filenames.h gcc-4.4.2/include/filenames.h
13490 --- gcc-4.4.2.orig/include/filenames.h 2008-03-22 02:35:07.000000000 +0300
13491 +++ gcc-4.4.2/include/filenames.h 2010-10-20 11:07:10.000000000 +0400
13492 @@ -43,6 +43,12 @@
13493 a file name, which should not be done with a name like d:foo. */
13494 #define IS_ABSOLUTE_PATH(f) (IS_DIR_SEPARATOR((f)[0]) || (((f)[0]) && ((f)[1] == ':')))
13496 +#elif defined __AROS__
13498 +#define IS_DIR_SEPARATOR(c) ((c) == '/' || (c) == ':')
13499 +#define IS_ABSOLUTE_PATH(f) (IS_DIR_SEPARATOR((f)[0]) || (strchr((f), ':')))
13500 +#define HAVE_CASE_INSENSITIVE_FILE_SYSTEM
13502 #else /* not DOSish */
13504 #define IS_DIR_SEPARATOR(c) ((c) == '/')
13505 diff -ruN gcc-4.4.2.orig/libgcc/config.host gcc-4.4.2/libgcc/config.host
13506 --- gcc-4.4.2.orig/libgcc/config.host 2009-04-17 15:58:41.000000000 +0400
13507 +++ gcc-4.4.2/libgcc/config.host 2010-10-07 10:04:35.000000000 +0400
13508 @@ -574,6 +574,8 @@
13510 m32c-*-elf*|m32c-*-rtems*)
13512 +*-*-aros*)
13513 + ;;
13515 echo "*** Configuration ${host} not supported" 1>&2
13516 exit 1
13517 diff -ruN gcc-4.4.2.orig/libiberty/Makefile.in gcc-4.4.2/libiberty/Makefile.in
13518 --- gcc-4.4.2.orig/libiberty/Makefile.in 2008-10-22 17:30:19.000000000 +0400
13519 +++ gcc-4.4.2/libiberty/Makefile.in 2010-10-07 10:50:14.000000000 +0400
13520 @@ -140,7 +140,7 @@
13521 objalloc.c obstack.c \
13522 partition.c pexecute.c \
13523 pex-common.c pex-djgpp.c pex-msdos.c pex-one.c \
13524 - pex-unix.c pex-win32.c \
13525 + pex-unix.c pex-win32.c pex-aros.c \
13526 physmem.c putenv.c \
13527 random.c regex.c rename.c rindex.c \
13528 safe-ctype.c setenv.c sha1.c sigsetmask.c snprintf.c sort.c \
13529 @@ -190,7 +190,7 @@
13530 ./memchr.o ./memcmp.o ./memcpy.o ./memmove.o ./mempcpy.o \
13531 ./memset.o ./mkstemps.o \
13532 ./pex-djgpp.o ./pex-msdos.o \
13533 - ./pex-unix.o ./pex-win32.o \
13534 + ./pex-unix.o ./pex-win32.o pex-aros.o \
13535 ./putenv.o \
13536 ./random.o ./rename.o ./rindex.o \
13537 ./setenv.o ./sigsetmask.o ./snprintf.o ./stpcpy.o ./stpncpy.o \
13538 @@ -898,6 +898,13 @@
13539 else true; fi
13540 $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION)
13542 +./pex-aros.o: $(srcdir)/pex-aros.c config.h $(INCDIR)/ansidecl.h \
13543 + $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
13544 + if [ x"$(PICFLAG)" != x ]; then \
13545 + $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-aros.c -o pic/$@; \
13546 + else true; fi
13547 + $(COMPILE.c) $(srcdir)/pex-aros.c $(OUTPUT_OPTION)
13549 ./physmem.o: $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
13550 $(INCDIR)/libiberty.h
13551 if [ x"$(PICFLAG)" != x ]; then \
13552 diff -ruN gcc-4.4.2.orig/libiberty/configure gcc-4.4.2/libiberty/configure
13553 --- gcc-4.4.2.orig/libiberty/configure 2009-04-08 18:18:33.000000000 +0400
13554 +++ gcc-4.4.2/libiberty/configure 2010-10-07 10:04:35.000000000 +0400
13555 @@ -8887,6 +8887,7 @@
13556 *-*-mingw* | *-*-winnt*) pexecute=./pex-win32.o ;;
13557 *-*-msdosdjgpp*) pexecute=./pex-djgpp.o ;;
13558 *-*-msdos*) pexecute=./pex-msdos.o ;;
13559 + *-*-aros*) pexecute=./pex-aros.o ;;
13560 *) pexecute=./pex-unix.o ;;
13561 esac
13563 diff -ruN gcc-4.4.2.orig/libiberty/configure.ac gcc-4.4.2/libiberty/configure.ac
13564 --- gcc-4.4.2.orig/libiberty/configure.ac 2009-04-08 18:18:33.000000000 +0400
13565 +++ gcc-4.4.2/libiberty/configure.ac 2010-10-07 10:04:35.000000000 +0400
13566 @@ -659,6 +659,7 @@
13567 *-*-mingw* | *-*-winnt*) pexecute=./pex-win32.o ;;
13568 *-*-msdosdjgpp*) pexecute=./pex-djgpp.o ;;
13569 *-*-msdos*) pexecute=./pex-msdos.o ;;
13570 + *-*-aros*) pexecute=./pex-aros.o ;;
13571 *) pexecute=./pex-unix.o ;;
13572 esac
13573 AC_SUBST(pexecute)
13574 diff -ruN gcc-4.4.2.orig/libiberty/filename_cmp.c gcc-4.4.2/libiberty/filename_cmp.c
13575 --- gcc-4.4.2.orig/libiberty/filename_cmp.c 2007-05-04 03:39:35.000000000 +0400
13576 +++ gcc-4.4.2/libiberty/filename_cmp.c 2010-10-20 11:06:45.000000000 +0400
13577 @@ -51,7 +51,11 @@
13578 filename_cmp (const char *s1, const char *s2)
13580 #ifndef HAVE_DOS_BASED_FILE_SYSTEM
13581 +#ifdef HAVE_CASE_INSENSITIVE_FILE_SYSTEM
13582 + return strcasecmp(s1, s2);
13583 +#else
13584 return strcmp(s1, s2);
13585 +#endif
13586 #else
13587 for (;;)
13589 diff -ruN gcc-4.4.2.orig/libiberty/pex-aros.c gcc-4.4.2/libiberty/pex-aros.c
13590 --- gcc-4.4.2.orig/libiberty/pex-aros.c 1970-01-01 03:00:00.000000000 +0300
13591 +++ gcc-4.4.2/libiberty/pex-aros.c 2010-10-07 10:04:35.000000000 +0400
13592 @@ -0,0 +1,303 @@
13593 +/* Utilities to execute a program in a subprocess (possibly linked by pipes
13594 + with other subprocesses), and wait for it. OS/2 specialization.
13595 + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003
13596 + Free Software Foundation, Inc.
13598 +This file is part of the libiberty library.
13599 +Libiberty is free software; you can redistribute it and/or
13600 +modify it under the terms of the GNU Library General Public
13601 +License as published by the Free Software Foundation; either
13602 +version 2 of the License, or (at your option) any later version.
13604 +Libiberty is distributed in the hope that it will be useful,
13605 +but WITHOUT ANY WARRANTY; without even the implied warranty of
13606 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13607 +Library General Public License for more details.
13609 +You should have received a copy of the GNU Library General Public
13610 +License along with libiberty; see the file COPYING.LIB. If not,
13611 +write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
13612 +Boston, MA 02111-1307, USA. */
13614 +#include "config.h"
13615 +#include "libiberty.h"
13616 +#include "pex-common.h"
13618 +#include <stdio.h>
13619 +#include <signal.h>
13620 +#include <errno.h>
13621 +#ifdef NEED_DECLARATION_ERRNO
13622 +extern int errno;
13623 +#endif
13624 +#ifdef HAVE_STDLIB_H
13625 +#include <stdlib.h>
13626 +#endif
13627 +#ifdef HAVE_STRING_H
13628 +#include <string.h>
13629 +#endif
13630 +#ifdef HAVE_UNISTD_H
13631 +#include <unistd.h>
13632 +#endif
13634 +#include <sys/types.h>
13636 +#ifdef HAVE_FCNTL_H
13637 +#include <fcntl.h>
13638 +#endif
13639 +#ifdef HAVE_SYS_WAIT_H
13640 +#include <sys/wait.h>
13641 +#endif
13642 +#ifdef HAVE_GETRUSAGE
13643 +#include <sys/time.h>
13644 +#include <sys/resource.h>
13645 +#endif
13646 +#ifdef HAVE_SYS_STAT_H
13647 +#include <sys/stat.h>
13648 +#endif
13650 +#include <process.h>
13651 +#include <ctype.h>
13653 +static int pex_aros_open_read (struct pex_obj *, const char *, int);
13654 +static int pex_aros_open_write (struct pex_obj *, const char *, int);
13655 +static long pex_aros_exec_child (struct pex_obj *, int, const char *,
13656 + char * const *, char * const *,
13657 + int, int, int, int,
13658 + const char **, int *);
13659 +static int pex_aros_close (struct pex_obj *, int);
13660 +static int pex_aros_wait (struct pex_obj *, long, int *, struct pex_time *,
13661 + int, const char **, int *);
13663 +/* The list of functions we pass to the common routines. */
13665 +const struct pex_funcs funcs =
13667 + pex_aros_open_read,
13668 + pex_aros_open_write,
13669 + pex_aros_exec_child,
13670 + pex_aros_close,
13671 + pex_aros_wait,
13672 + NULL, /* pipe */
13673 + NULL, /* fdopenr */
13674 + NULL, /* fdopenw */
13675 + NULL /* cleanup */
13678 +/* Return a newly initialized pex_obj structure. */
13680 +struct pex_obj *
13681 +pex_init (int flags, const char *pname, const char *tempbase)
13683 + /* at the moment we do not support pipes */
13684 + flags &= ~ PEX_USE_PIPES;
13686 + return pex_init_common (flags, pname, tempbase, &funcs);
13689 +/* Open a file for reading. */
13691 +static int
13692 +pex_aros_open_read (struct pex_obj *obj ATTRIBUTE_UNUSED, const char *name,
13693 + int binary ATTRIBUTE_UNUSED)
13695 + return open (name, O_RDONLY);
13698 +/* Open a file for writing. */
13700 +static int
13701 +pex_aros_open_write (struct pex_obj *obj ATTRIBUTE_UNUSED, const char *name,
13702 + int binary ATTRIBUTE_UNUSED)
13704 + /* Note that we can't use O_EXCL here because gcc may have already
13705 + created the temporary file via make_temp_file. */
13706 + return open (name, O_WRONLY | O_CREAT | O_TRUNC);
13709 +/* Close a file. */
13711 +static int
13712 +pex_aros_close (struct pex_obj *obj ATTRIBUTE_UNUSED, int fd)
13714 + return close (fd);
13717 +/* Execute a child. */
13719 +static long
13720 +pex_aros_exec_child (struct pex_obj *obj, int flags, const char *executable,
13721 + char * const * argv, char * const * env ATTRIBUTE_UNUSED,
13722 + int in, int out, int errdes,
13723 + int toclose ATTRIBUTE_UNUSED, const char **errmsg, int *err)
13725 + int org_in, org_out, org_errdes;
13726 + int status;
13727 + int *statuses;
13729 + org_in = -1;
13730 + org_out = -1;
13731 + org_errdes = -1;
13733 + if (in != STDIN_FILE_NO)
13735 + org_in = dup (STDIN_FILE_NO);
13736 + if (org_in < 0)
13738 + *err = errno;
13739 + *errmsg = "dup";
13740 + return -1;
13742 + if (dup2 (in, STDIN_FILE_NO) < 0)
13744 + *err = errno;
13745 + *errmsg = "dup2";
13746 + return -1;
13748 + if (close (in) < 0)
13750 + *err = errno;
13751 + *errmsg = "close";
13752 + return -1;
13756 + if (out != STDOUT_FILE_NO)
13758 + org_out = dup (STDOUT_FILE_NO);
13759 + if (org_out < 0)
13761 + *err = errno;
13762 + *errmsg = "dup";
13763 + return -1;
13765 + if (dup2 (out, STDOUT_FILE_NO) < 0)
13767 + *err = errno;
13768 + *errmsg = "dup2";
13769 + return -1;
13771 + if (close (out) < 0)
13773 + *err = errno;
13774 + *errmsg = "close";
13775 + return -1;
13779 + if (errdes != STDERR_FILE_NO
13780 + || (flags & PEX_STDERR_TO_STDOUT) != 0)
13782 + org_errdes = dup (STDERR_FILE_NO);
13783 + if (org_errdes < 0)
13785 + *err = errno;
13786 + *errmsg = "dup";
13787 + return -1;
13789 + if (dup2 ((flags & PEX_STDERR_TO_STDOUT) != 0 ? STDOUT_FILE_NO : errdes,
13790 + STDERR_FILE_NO) < 0)
13792 + *err = errno;
13793 + *errmsg = "dup2";
13794 + return -1;
13796 + if (errdes != STDERR_FILE_NO)
13798 + if (close (errdes) < 0)
13800 + *err = errno;
13801 + *errmsg = "close";
13802 + return -1;
13807 + status = (((flags & PEX_SEARCH) != 0 ? spawnvp : spawnv)
13808 + (P_WAIT, executable, (char * const *) argv));
13810 + if (status == -1)
13812 + *err = errno;
13813 + *errmsg = ((flags & PEX_SEARCH) != 0) ? "spawnvp" : "spawnv";
13816 + if (in != STDIN_FILE_NO)
13818 + if (dup2 (org_in, STDIN_FILE_NO) < 0)
13820 + *err = errno;
13821 + *errmsg = "dup2";
13822 + return -1;
13824 + if (close (org_in) < 0)
13826 + *err = errno;
13827 + *errmsg = "close";
13828 + return -1;
13832 + if (out != STDOUT_FILE_NO)
13834 + if (dup2 (org_out, STDOUT_FILE_NO) < 0)
13836 + *err = errno;
13837 + *errmsg = "dup2";
13838 + return -1;
13840 + if (close (org_out) < 0)
13842 + *err = errno;
13843 + *errmsg = "close";
13844 + return -1;
13848 + if (errdes != STDERR_FILE_NO
13849 + || (flags & PEX_STDERR_TO_STDOUT) != 0)
13851 + if (dup2 (org_errdes, STDERR_FILE_NO) < 0)
13853 + *err = errno;
13854 + *errmsg = "dup2";
13855 + return -1;
13857 + if (close (org_errdes) < 0)
13859 + *err = errno;
13860 + *errmsg = "close";
13861 + return -1;
13865 + /* Save the exit status for later. When we are called, obj->count
13866 + is the number of children which have executed before this
13867 + one. */
13868 + statuses = (int *) obj->sysdep;
13869 + statuses = XRESIZEVEC (int, statuses, obj->count + 1);
13870 + statuses[obj->count] = status;
13871 + obj->sysdep = (void *) statuses;
13873 + return obj->count;
13876 +/* Wait for a child process to complete. Actually the child process
13877 + has already completed, and we just need to return the exit
13878 + status. */
13880 +static int
13881 +pex_aros_wait (struct pex_obj *obj, long pid, int *status,
13882 + struct pex_time *time, int done ATTRIBUTE_UNUSED,
13883 + const char **errmsg ATTRIBUTE_UNUSED,
13884 + int *err ATTRIBUTE_UNUSED)
13886 + int *statuses;
13888 + if (time != NULL)
13889 + memset (time, 0, sizeof (struct pex_time));
13891 + statuses = (int *) obj->sysdep;
13892 + *status = statuses[pid];
13894 + return 0;
13896 diff -ruN gcc-4.4.2.orig/libstdc++-v3/config/os/aros/ctype_base.h gcc-4.4.2/libstdc++-v3/config/os/aros/ctype_base.h
13897 --- gcc-4.4.2.orig/libstdc++-v3/config/os/aros/ctype_base.h 1970-01-01 03:00:00.000000000 +0300
13898 +++ gcc-4.4.2/libstdc++-v3/config/os/aros/ctype_base.h 2010-10-07 10:04:35.000000000 +0400
13899 @@ -0,0 +1,24 @@
13900 +_GLIBCXX_BEGIN_NAMESPACE(std)
13902 +struct ctype_base {
13903 + /* Non-standard typedefs */
13904 + typedef int * __to_type;
13906 + /* NB: Offsets into ctype<char>::_M_table force a particular size
13907 + on the mask type. Because of this, we don't use an enum. */
13908 + typedef unsigned short int mask;
13910 + static const mask upper = _ISupper;
13911 + static const mask lower = _ISlower;
13912 + static const mask alpha = _ISalpha;
13913 + static const mask digit = _ISdigit;
13914 + static const mask xdigit = _ISxdigit;
13915 + static const mask space = _ISspace;
13916 + static const mask print = _ISprint;
13917 + static const mask graph = _ISgraph;
13918 + static const mask cntrl = _IScntrl;
13919 + static const mask punct = _ISpunct;
13920 + static const mask alnum = _ISalnum;
13923 +_GLIBCXX_END_NAMESPACE
13924 diff -ruN gcc-4.4.2.orig/libstdc++-v3/config/os/aros/ctype_inline.h gcc-4.4.2/libstdc++-v3/config/os/aros/ctype_inline.h
13925 --- gcc-4.4.2.orig/libstdc++-v3/config/os/aros/ctype_inline.h 1970-01-01 03:00:00.000000000 +0300
13926 +++ gcc-4.4.2/libstdc++-v3/config/os/aros/ctype_inline.h 2010-10-07 10:04:35.000000000 +0400
13927 @@ -0,0 +1,170 @@
13928 +// Locale support -*- C++ -*-
13930 +// Copyright (C) 2000, 2003 Free Software Foundation, Inc.
13932 +// This file is part of the GNU ISO C++ Library. This library is free
13933 +// software; you can redistribute it and/or modify it under the
13934 +// terms of the GNU General Public License as published by the
13935 +// Free Software Foundation; either version 2, or (at your option)
13936 +// any later version.
13938 +// This library is distributed in the hope that it will be useful,
13939 +// but WITHOUT ANY WARRANTY; without even the implied warranty of
13940 +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13941 +// GNU General Public License for more details.
13943 +// You should have received a copy of the GNU General Public License along
13944 +// with this library; see the file COPYING. If not, write to the Free
13945 +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
13946 +// USA.
13948 +// As a special exception, you may use this file as part of a free software
13949 +// library without restriction. Specifically, if other files instantiate
13950 +// templates or use macros or inline functions from this file, or you compile
13951 +// this file and link it with other files to produce an executable, this
13952 +// file does not by itself cause the resulting executable to be covered by
13953 +// the GNU General Public License. This exception does not however
13954 +// invalidate any other reasons why the executable file might be covered by
13955 +// the GNU General Public License.
13957 +/** @file ctype_inline.h
13958 + * This is an internal header file, included by other library headers.
13959 + * You should not attempt to use it directly.
13960 + */
13963 +// ISO C++ 14882: 22.1 Locales
13966 +// ctype bits to be inlined go here. Non-inlinable (ie virtual do_*)
13967 +// functions go in ctype.cc
13969 +// The following definitions are portable, but insanely slow. If one
13970 +// cares at all about performance, then specialized ctype
13971 +// functionality should be added for the native os in question: see
13972 +// the config/os/bits/ctype_*.h files.
13974 +// Constructing a synthetic "C" table should be seriously considered...
13976 +_GLIBCXX_BEGIN_NAMESPACE(std)
13978 + bool
13979 + ctype<char>::
13980 + is(mask __m, char __c) const
13981 + {
13982 + if (_M_table)
13983 + return _M_table[static_cast<unsigned char>(__c)] & __m;
13984 + else
13986 + bool __ret = false;
13987 + const size_t __bitmasksize = 15;
13988 + size_t __bitcur = 0; // Lowest bitmask in ctype_base == 0
13989 + for (; __bitcur <= __bitmasksize; ++__bitcur)
13991 + const mask __bit = static_cast<mask>(1 << __bitcur);
13992 + if (__m & __bit)
13994 + bool __testis;
13995 + switch (__bit)
13997 + case space:
13998 + __testis = isspace(__c);
13999 + break;
14000 + case print:
14001 + __testis = isprint(__c);
14002 + break;
14003 + case cntrl:
14004 + __testis = iscntrl(__c);
14005 + break;
14006 + case upper:
14007 + __testis = isupper(__c);
14008 + break;
14009 + case lower:
14010 + __testis = islower(__c);
14011 + break;
14012 + case alpha:
14013 + __testis = isalpha(__c);
14014 + break;
14015 + case digit:
14016 + __testis = isdigit(__c);
14017 + break;
14018 + case punct:
14019 + __testis = ispunct(__c);
14020 + break;
14021 + case xdigit:
14022 + __testis = isxdigit(__c);
14023 + break;
14024 + case alnum:
14025 + __testis = isalnum(__c);
14026 + break;
14027 + case graph:
14028 + __testis = isgraph(__c);
14029 + break;
14030 + default:
14031 + __testis = false;
14032 + break;
14034 + __ret |= __testis;
14037 + return __ret;
14041 + const char*
14042 + ctype<char>::
14043 + is(const char* __low, const char* __high, mask* __vec) const
14045 + if (_M_table)
14046 + while (__low < __high)
14047 + *__vec++ = _M_table[static_cast<unsigned char>(*__low++)];
14048 + else
14050 + // Highest bitmask in ctype_base == 10.
14051 + const size_t __bitmasksize = 15;
14052 + for (;__low < __high; ++__vec, ++__low)
14054 + mask __m = 0;
14055 + // Lowest bitmask in ctype_base == 0
14056 + size_t __i = 0;
14057 + for (;__i <= __bitmasksize; ++__i)
14059 + const mask __bit = static_cast<mask>(1 << __i);
14060 + if (this->is(__bit, *__low))
14061 + __m |= __bit;
14063 + *__vec = __m;
14066 + return __high;
14069 + const char*
14070 + ctype<char>::
14071 + scan_is(mask __m, const char* __low, const char* __high) const
14073 + if (_M_table)
14074 + while (__low < __high
14075 + && !(_M_table[static_cast<unsigned char>(*__low)] & __m))
14076 + ++__low;
14077 + else
14078 + while (__low < __high && !this->is(__m, *__low))
14079 + ++__low;
14080 + return __low;
14083 + const char*
14084 + ctype<char>::
14085 + scan_not(mask __m, const char* __low, const char* __high) const
14087 + if (_M_table)
14088 + while (__low < __high
14089 + && (_M_table[static_cast<unsigned char>(*__low)] & __m) != 0)
14090 + ++__low;
14091 + else
14092 + while (__low < __high && this->is(__m, *__low) != 0)
14093 + ++__low;
14094 + return __low;
14097 +_GLIBCXX_END_NAMESPACE
14098 diff -ruN gcc-4.4.2.orig/libstdc++-v3/config/os/aros/ctype_noninline.h gcc-4.4.2/libstdc++-v3/config/os/aros/ctype_noninline.h
14099 --- gcc-4.4.2.orig/libstdc++-v3/config/os/aros/ctype_noninline.h 1970-01-01 03:00:00.000000000 +0300
14100 +++ gcc-4.4.2/libstdc++-v3/config/os/aros/ctype_noninline.h 2010-10-07 10:04:35.000000000 +0400
14101 @@ -0,0 +1,56 @@
14102 + const ctype_base::mask*
14103 + ctype<char>::classic_table() throw()
14104 + { return __ctype_b; }
14106 + ctype<char>::ctype(__c_locale, const mask* __table, bool __del,
14107 + size_t __refs)
14108 + : facet(__refs), _M_del(__table != 0 && __del),
14109 + _M_toupper(NULL), _M_tolower(NULL),
14110 + _M_table(__table ? __table : classic_table())
14111 + {
14112 + memset(_M_widen, 0, sizeof(_M_widen));
14113 + _M_widen_ok = 0;
14114 + memset(_M_narrow, 0, sizeof(_M_narrow));
14115 + _M_narrow_ok = 0;
14118 + ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
14119 + : facet(__refs), _M_del(__table != 0 && __del),
14120 + _M_toupper(NULL), _M_tolower(NULL),
14121 + _M_table(__table ? __table : classic_table())
14122 + {
14123 + memset(_M_widen, 0, sizeof(_M_widen));
14124 + _M_widen_ok = 0;
14125 + memset(_M_narrow, 0, sizeof(_M_narrow));
14126 + _M_narrow_ok = 0;
14129 + char
14130 + ctype<char>::do_toupper(char __c) const
14131 + { return ::toupper((int) __c); }
14133 + const char*
14134 + ctype<char>::do_toupper(char* __low, const char* __high) const
14136 + while (__low < __high)
14138 + *__low = ::toupper((int) *__low);
14139 + ++__low;
14141 + return __high;
14144 + char
14145 + ctype<char>::do_tolower(char __c) const
14146 + { return ::tolower((int) __c); }
14148 + const char*
14149 + ctype<char>::do_tolower(char* __low, const char* __high) const
14151 + while (__low < __high)
14153 + *__low = ::tolower((int) *__low);
14154 + ++__low;
14156 + return __high;
14158 diff -ruN gcc-4.4.2.orig/libstdc++-v3/config/os/aros/os_defines.h gcc-4.4.2/libstdc++-v3/config/os/aros/os_defines.h
14159 --- gcc-4.4.2.orig/libstdc++-v3/config/os/aros/os_defines.h 1970-01-01 03:00:00.000000000 +0300
14160 +++ gcc-4.4.2/libstdc++-v3/config/os/aros/os_defines.h 2010-10-07 10:04:35.000000000 +0400
14161 @@ -0,0 +1,6 @@
14162 +#ifndef _GLIBCXX_OS_DEFINES
14163 +#define _GLIBCXX_OS_DEFINES
14165 +#define __off64_t off_t
14167 +#endif
14168 diff -ruN gcc-4.4.2.orig/libstdc++-v3/configure gcc-4.4.2/libstdc++-v3/configure
14169 --- gcc-4.4.2.orig/libstdc++-v3/configure 2009-08-26 23:04:11.000000000 +0400
14170 +++ gcc-4.4.2/libstdc++-v3/configure 2010-10-07 10:04:35.000000000 +0400
14171 @@ -41921,6 +41921,918 @@
14173 # Base decisions on target environment.
14174 case "${host}" in
14175 + *-aros*)
14188 +for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
14189 + machine/param.h sys/machine.h sys/types.h fp.h locale.h float.h inttypes.h
14191 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14192 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
14193 + echo "$as_me:$LINENO: checking for $ac_header" >&5
14194 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14195 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
14196 + echo $ECHO_N "(cached) $ECHO_C" >&6
14198 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14199 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14200 +else
14201 + # Is the header compilable?
14202 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
14203 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14204 +cat >conftest.$ac_ext <<_ACEOF
14205 +/* confdefs.h. */
14206 +_ACEOF
14207 +cat confdefs.h >>conftest.$ac_ext
14208 +cat >>conftest.$ac_ext <<_ACEOF
14209 +/* end confdefs.h. */
14210 +$ac_includes_default
14211 +#include <$ac_header>
14212 +_ACEOF
14213 +rm -f conftest.$ac_objext
14214 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14215 + (eval $ac_compile) 2>conftest.er1
14216 + ac_status=$?
14217 + grep -v '^ *+' conftest.er1 >conftest.err
14218 + rm -f conftest.er1
14219 + cat conftest.err >&5
14220 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 + (exit $ac_status); } &&
14222 + { ac_try='test -z "$ac_c_werror_flag"
14223 + || test ! -s conftest.err'
14224 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14225 + (eval $ac_try) 2>&5
14226 + ac_status=$?
14227 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 + (exit $ac_status); }; } &&
14229 + { ac_try='test -s conftest.$ac_objext'
14230 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231 + (eval $ac_try) 2>&5
14232 + ac_status=$?
14233 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 + (exit $ac_status); }; }; then
14235 + ac_header_compiler=yes
14236 +else
14237 + echo "$as_me: failed program was:" >&5
14238 +sed 's/^/| /' conftest.$ac_ext >&5
14240 +ac_header_compiler=no
14242 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14243 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14244 +echo "${ECHO_T}$ac_header_compiler" >&6
14246 +# Is the header present?
14247 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
14248 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14249 +cat >conftest.$ac_ext <<_ACEOF
14250 +/* confdefs.h. */
14251 +_ACEOF
14252 +cat confdefs.h >>conftest.$ac_ext
14253 +cat >>conftest.$ac_ext <<_ACEOF
14254 +/* end confdefs.h. */
14255 +#include <$ac_header>
14256 +_ACEOF
14257 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14258 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14259 + ac_status=$?
14260 + grep -v '^ *+' conftest.er1 >conftest.err
14261 + rm -f conftest.er1
14262 + cat conftest.err >&5
14263 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 + (exit $ac_status); } >/dev/null; then
14265 + if test -s conftest.err; then
14266 + ac_cpp_err=$ac_c_preproc_warn_flag
14267 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14268 + else
14269 + ac_cpp_err=
14270 + fi
14271 +else
14272 + ac_cpp_err=yes
14274 +if test -z "$ac_cpp_err"; then
14275 + ac_header_preproc=yes
14276 +else
14277 + echo "$as_me: failed program was:" >&5
14278 +sed 's/^/| /' conftest.$ac_ext >&5
14280 + ac_header_preproc=no
14282 +rm -f conftest.err conftest.$ac_ext
14283 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14284 +echo "${ECHO_T}$ac_header_preproc" >&6
14286 +# So? What about this header?
14287 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14288 + yes:no: )
14289 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14290 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14291 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14292 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14293 + ac_header_preproc=yes
14294 + ;;
14295 + no:yes:* )
14296 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14297 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14298 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14299 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14300 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14301 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14302 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14303 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14304 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14305 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14306 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14307 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14309 + cat <<\_ASBOX
14310 +## ----------------------------------------- ##
14311 +## Report this to the package-unused lists. ##
14312 +## ----------------------------------------- ##
14313 +_ASBOX
14314 + ) |
14315 + sed "s/^/$as_me: WARNING: /" >&2
14316 + ;;
14317 +esac
14318 +echo "$as_me:$LINENO: checking for $ac_header" >&5
14319 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14320 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
14321 + echo $ECHO_N "(cached) $ECHO_C" >&6
14322 +else
14323 + eval "$as_ac_Header=\$ac_header_preproc"
14325 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14326 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14329 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
14330 + cat >>confdefs.h <<_ACEOF
14331 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14332 +_ACEOF
14336 +done
14340 + # If we're not using GNU ld, then there's no point in even trying these
14341 + # tests. Check for that first. We should have already tested for gld
14342 + # by now (in libtool), but require it now just to be safe...
14343 + test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
14344 + test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
14348 + # The name set by libtool depends on the version of libtool. Shame on us
14349 + # for depending on an impl detail, but c'est la vie. Older versions used
14350 + # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
14351 + # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
14352 + # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
14353 + # set (hence we're using an older libtool), then set it.
14354 + if test x${with_gnu_ld+set} != xset; then
14355 + if test x${ac_cv_prog_gnu_ld+set} != xset; then
14356 + # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
14357 + with_gnu_ld=no
14358 + else
14359 + with_gnu_ld=$ac_cv_prog_gnu_ld
14360 + fi
14361 + fi
14363 + # Start by getting the version number. I think the libtool test already
14364 + # does some of this, but throws away the result.
14365 + if test x"$with_gnu_ld" = x"yes"; then
14366 + echo "$as_me:$LINENO: checking for ld version" >&5
14367 +echo $ECHO_N "checking for ld version... $ECHO_C" >&6
14369 + ldver=`$LD --version 2>/dev/null | head -1 | \
14370 + sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
14372 + glibcxx_gnu_ld_version=`echo $ldver | \
14373 + $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
14374 + echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
14375 +echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
14376 + fi
14378 + # Set --gc-sections.
14379 + glibcxx_gcsections_min_ld=21602
14380 + if test x"$with_gnu_ld" = x"yes" &&
14381 + test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
14383 + # Sufficiently young GNU ld it is! Joy and bunny rabbits!
14384 + # NB: This flag only works reliably after 2.16.1. Configure tests
14385 + # for this are difficult, so hard wire a value that should work.
14387 + ac_test_CFLAGS="${CFLAGS+set}"
14388 + ac_save_CFLAGS="$CFLAGS"
14389 + CFLAGS='-Wl,--gc-sections'
14391 + # Check for -Wl,--gc-sections
14392 + echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
14393 +echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
14394 + if test x$gcc_no_link = xyes; then
14395 + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14396 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14397 + { (exit 1); exit 1; }; }
14399 +cat >conftest.$ac_ext <<_ACEOF
14400 +/* confdefs.h. */
14401 +_ACEOF
14402 +cat confdefs.h >>conftest.$ac_ext
14403 +cat >>conftest.$ac_ext <<_ACEOF
14404 +/* end confdefs.h. */
14405 + int one(void) { return 1; }
14406 + int two(void) { return 2; }
14408 +int
14409 +main ()
14411 + two();
14413 + return 0;
14415 +_ACEOF
14416 +rm -f conftest.$ac_objext conftest$ac_exeext
14417 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14418 + (eval $ac_link) 2>conftest.er1
14419 + ac_status=$?
14420 + grep -v '^ *+' conftest.er1 >conftest.err
14421 + rm -f conftest.er1
14422 + cat conftest.err >&5
14423 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424 + (exit $ac_status); } &&
14425 + { ac_try='test -z "$ac_c_werror_flag"
14426 + || test ! -s conftest.err'
14427 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14428 + (eval $ac_try) 2>&5
14429 + ac_status=$?
14430 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 + (exit $ac_status); }; } &&
14432 + { ac_try='test -s conftest$ac_exeext'
14433 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14434 + (eval $ac_try) 2>&5
14435 + ac_status=$?
14436 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 + (exit $ac_status); }; }; then
14438 + ac_gcsections=yes
14439 +else
14440 + echo "$as_me: failed program was:" >&5
14441 +sed 's/^/| /' conftest.$ac_ext >&5
14443 +ac_gcsections=no
14445 +rm -f conftest.err conftest.$ac_objext \
14446 + conftest$ac_exeext conftest.$ac_ext
14447 + if test "$ac_gcsections" = "yes"; then
14448 + rm -f conftest.c
14449 + touch conftest.c
14450 + if $CC -c conftest.c; then
14451 + if $LD --gc-sections -o conftest conftest.o 2>&1 | \
14452 + grep "Warning: gc-sections option ignored" > /dev/null; then
14453 + ac_gcsections=no
14454 + fi
14455 + fi
14456 + rm -f conftest.c conftest.o conftest
14457 + fi
14458 + if test "$ac_gcsections" = "yes"; then
14459 + SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
14460 + fi
14461 + echo "$as_me:$LINENO: result: $ac_gcsections" >&5
14462 +echo "${ECHO_T}$ac_gcsections" >&6
14464 + if test "$ac_test_CFLAGS" = set; then
14465 + CFLAGS="$ac_save_CFLAGS"
14466 + else
14467 + # this is the suspicious part
14468 + CFLAGS=''
14469 + fi
14470 + fi
14472 + # Set -z,relro.
14473 + # Note this is only for shared objects.
14474 + ac_ld_relro=no
14475 + if test x"$with_gnu_ld" = x"yes"; then
14476 + echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
14477 +echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
14478 + cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
14479 + if test -n "$cxx_z_relo"; then
14480 + OPT_LDFLAGS="-Wl,-z,relro"
14481 + ac_ld_relro=yes
14482 + fi
14483 + echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
14484 +echo "${ECHO_T}$ac_ld_relro" >&6
14485 + fi
14487 + # Set linker optimization flags.
14488 + if test x"$with_gnu_ld" = x"yes"; then
14489 + OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
14490 + fi
14497 +echo "$as_me:$LINENO: checking for main in -lm" >&5
14498 +echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
14499 +if test "${ac_cv_lib_m_main+set}" = set; then
14500 + echo $ECHO_N "(cached) $ECHO_C" >&6
14501 +else
14502 + ac_check_lib_save_LIBS=$LIBS
14503 +LIBS="-lm $LIBS"
14504 +if test x$gcc_no_link = xyes; then
14505 + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14506 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14507 + { (exit 1); exit 1; }; }
14509 +cat >conftest.$ac_ext <<_ACEOF
14510 +/* confdefs.h. */
14511 +_ACEOF
14512 +cat confdefs.h >>conftest.$ac_ext
14513 +cat >>conftest.$ac_ext <<_ACEOF
14514 +/* end confdefs.h. */
14517 +int
14518 +main ()
14520 +main ();
14522 + return 0;
14524 +_ACEOF
14525 +rm -f conftest.$ac_objext conftest$ac_exeext
14526 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14527 + (eval $ac_link) 2>conftest.er1
14528 + ac_status=$?
14529 + grep -v '^ *+' conftest.er1 >conftest.err
14530 + rm -f conftest.er1
14531 + cat conftest.err >&5
14532 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 + (exit $ac_status); } &&
14534 + { ac_try='test -z "$ac_c_werror_flag"
14535 + || test ! -s conftest.err'
14536 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14537 + (eval $ac_try) 2>&5
14538 + ac_status=$?
14539 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 + (exit $ac_status); }; } &&
14541 + { ac_try='test -s conftest$ac_exeext'
14542 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14543 + (eval $ac_try) 2>&5
14544 + ac_status=$?
14545 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 + (exit $ac_status); }; }; then
14547 + ac_cv_lib_m_main=yes
14548 +else
14549 + echo "$as_me: failed program was:" >&5
14550 +sed 's/^/| /' conftest.$ac_ext >&5
14552 +ac_cv_lib_m_main=no
14554 +rm -f conftest.err conftest.$ac_objext \
14555 + conftest$ac_exeext conftest.$ac_ext
14556 +LIBS=$ac_check_lib_save_LIBS
14558 +echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
14559 +echo "${ECHO_T}$ac_cv_lib_m_main" >&6
14560 +if test $ac_cv_lib_m_main = yes; then
14561 + cat >>confdefs.h <<_ACEOF
14562 +#define HAVE_LIBM 1
14563 +_ACEOF
14565 + LIBS="-lm $LIBS"
14570 +for ac_func in copysignf
14572 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14573 +echo "$as_me:$LINENO: checking for $ac_func" >&5
14574 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14575 +if eval "test \"\${$as_ac_var+set}\" = set"; then
14576 + echo $ECHO_N "(cached) $ECHO_C" >&6
14577 +else
14578 + if test x$gcc_no_link = xyes; then
14579 + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14580 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14581 + { (exit 1); exit 1; }; }
14583 +cat >conftest.$ac_ext <<_ACEOF
14584 +/* confdefs.h. */
14585 +_ACEOF
14586 +cat confdefs.h >>conftest.$ac_ext
14587 +cat >>conftest.$ac_ext <<_ACEOF
14588 +/* end confdefs.h. */
14589 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14590 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
14591 +#define $ac_func innocuous_$ac_func
14593 +/* System header to define __stub macros and hopefully few prototypes,
14594 + which can conflict with char $ac_func (); below.
14595 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14596 + <limits.h> exists even on freestanding compilers. */
14598 +#ifdef __STDC__
14599 +# include <limits.h>
14600 +#else
14601 +# include <assert.h>
14602 +#endif
14604 +#undef $ac_func
14606 +/* Override any gcc2 internal prototype to avoid an error. */
14607 +#ifdef __cplusplus
14608 +extern "C"
14610 +#endif
14611 +/* We use char because int might match the return type of a gcc2
14612 + builtin and then its argument prototype would still apply. */
14613 +char $ac_func ();
14614 +/* The GNU C library defines this for functions which it implements
14615 + to always fail with ENOSYS. Some functions are actually named
14616 + something starting with __ and the normal name is an alias. */
14617 +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14618 +choke me
14619 +#else
14620 +char (*f) () = $ac_func;
14621 +#endif
14622 +#ifdef __cplusplus
14624 +#endif
14626 +int
14627 +main ()
14629 +return f != $ac_func;
14631 + return 0;
14633 +_ACEOF
14634 +rm -f conftest.$ac_objext conftest$ac_exeext
14635 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14636 + (eval $ac_link) 2>conftest.er1
14637 + ac_status=$?
14638 + grep -v '^ *+' conftest.er1 >conftest.err
14639 + rm -f conftest.er1
14640 + cat conftest.err >&5
14641 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14642 + (exit $ac_status); } &&
14643 + { ac_try='test -z "$ac_c_werror_flag"
14644 + || test ! -s conftest.err'
14645 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14646 + (eval $ac_try) 2>&5
14647 + ac_status=$?
14648 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 + (exit $ac_status); }; } &&
14650 + { ac_try='test -s conftest$ac_exeext'
14651 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14652 + (eval $ac_try) 2>&5
14653 + ac_status=$?
14654 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14655 + (exit $ac_status); }; }; then
14656 + eval "$as_ac_var=yes"
14657 +else
14658 + echo "$as_me: failed program was:" >&5
14659 +sed 's/^/| /' conftest.$ac_ext >&5
14661 +eval "$as_ac_var=no"
14663 +rm -f conftest.err conftest.$ac_objext \
14664 + conftest$ac_exeext conftest.$ac_ext
14666 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14667 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14668 +if test `eval echo '${'$as_ac_var'}'` = yes; then
14669 + cat >>confdefs.h <<_ACEOF
14670 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14671 +_ACEOF
14673 +else
14674 + LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
14676 +done
14680 +for ac_func in __signbit
14682 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14683 +echo "$as_me:$LINENO: checking for $ac_func" >&5
14684 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14685 +if eval "test \"\${$as_ac_var+set}\" = set"; then
14686 + echo $ECHO_N "(cached) $ECHO_C" >&6
14687 +else
14688 + if test x$gcc_no_link = xyes; then
14689 + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14690 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14691 + { (exit 1); exit 1; }; }
14693 +cat >conftest.$ac_ext <<_ACEOF
14694 +/* confdefs.h. */
14695 +_ACEOF
14696 +cat confdefs.h >>conftest.$ac_ext
14697 +cat >>conftest.$ac_ext <<_ACEOF
14698 +/* end confdefs.h. */
14699 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14700 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
14701 +#define $ac_func innocuous_$ac_func
14703 +/* System header to define __stub macros and hopefully few prototypes,
14704 + which can conflict with char $ac_func (); below.
14705 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14706 + <limits.h> exists even on freestanding compilers. */
14708 +#ifdef __STDC__
14709 +# include <limits.h>
14710 +#else
14711 +# include <assert.h>
14712 +#endif
14714 +#undef $ac_func
14716 +/* Override any gcc2 internal prototype to avoid an error. */
14717 +#ifdef __cplusplus
14718 +extern "C"
14720 +#endif
14721 +/* We use char because int might match the return type of a gcc2
14722 + builtin and then its argument prototype would still apply. */
14723 +char $ac_func ();
14724 +/* The GNU C library defines this for functions which it implements
14725 + to always fail with ENOSYS. Some functions are actually named
14726 + something starting with __ and the normal name is an alias. */
14727 +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14728 +choke me
14729 +#else
14730 +char (*f) () = $ac_func;
14731 +#endif
14732 +#ifdef __cplusplus
14734 +#endif
14736 +int
14737 +main ()
14739 +return f != $ac_func;
14741 + return 0;
14743 +_ACEOF
14744 +rm -f conftest.$ac_objext conftest$ac_exeext
14745 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14746 + (eval $ac_link) 2>conftest.er1
14747 + ac_status=$?
14748 + grep -v '^ *+' conftest.er1 >conftest.err
14749 + rm -f conftest.er1
14750 + cat conftest.err >&5
14751 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 + (exit $ac_status); } &&
14753 + { ac_try='test -z "$ac_c_werror_flag"
14754 + || test ! -s conftest.err'
14755 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14756 + (eval $ac_try) 2>&5
14757 + ac_status=$?
14758 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759 + (exit $ac_status); }; } &&
14760 + { ac_try='test -s conftest$ac_exeext'
14761 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14762 + (eval $ac_try) 2>&5
14763 + ac_status=$?
14764 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765 + (exit $ac_status); }; }; then
14766 + eval "$as_ac_var=yes"
14767 +else
14768 + echo "$as_me: failed program was:" >&5
14769 +sed 's/^/| /' conftest.$ac_ext >&5
14771 +eval "$as_ac_var=no"
14773 +rm -f conftest.err conftest.$ac_objext \
14774 + conftest$ac_exeext conftest.$ac_ext
14776 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14777 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14778 +if test `eval echo '${'$as_ac_var'}'` = yes; then
14779 + cat >>confdefs.h <<_ACEOF
14780 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14781 +_ACEOF
14783 +else
14784 + LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
14786 +done
14790 +for ac_func in __signbitf
14792 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14793 +echo "$as_me:$LINENO: checking for $ac_func" >&5
14794 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14795 +if eval "test \"\${$as_ac_var+set}\" = set"; then
14796 + echo $ECHO_N "(cached) $ECHO_C" >&6
14797 +else
14798 + if test x$gcc_no_link = xyes; then
14799 + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14800 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14801 + { (exit 1); exit 1; }; }
14803 +cat >conftest.$ac_ext <<_ACEOF
14804 +/* confdefs.h. */
14805 +_ACEOF
14806 +cat confdefs.h >>conftest.$ac_ext
14807 +cat >>conftest.$ac_ext <<_ACEOF
14808 +/* end confdefs.h. */
14809 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14810 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
14811 +#define $ac_func innocuous_$ac_func
14813 +/* System header to define __stub macros and hopefully few prototypes,
14814 + which can conflict with char $ac_func (); below.
14815 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14816 + <limits.h> exists even on freestanding compilers. */
14818 +#ifdef __STDC__
14819 +# include <limits.h>
14820 +#else
14821 +# include <assert.h>
14822 +#endif
14824 +#undef $ac_func
14826 +/* Override any gcc2 internal prototype to avoid an error. */
14827 +#ifdef __cplusplus
14828 +extern "C"
14830 +#endif
14831 +/* We use char because int might match the return type of a gcc2
14832 + builtin and then its argument prototype would still apply. */
14833 +char $ac_func ();
14834 +/* The GNU C library defines this for functions which it implements
14835 + to always fail with ENOSYS. Some functions are actually named
14836 + something starting with __ and the normal name is an alias. */
14837 +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14838 +choke me
14839 +#else
14840 +char (*f) () = $ac_func;
14841 +#endif
14842 +#ifdef __cplusplus
14844 +#endif
14846 +int
14847 +main ()
14849 +return f != $ac_func;
14851 + return 0;
14853 +_ACEOF
14854 +rm -f conftest.$ac_objext conftest$ac_exeext
14855 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14856 + (eval $ac_link) 2>conftest.er1
14857 + ac_status=$?
14858 + grep -v '^ *+' conftest.er1 >conftest.err
14859 + rm -f conftest.er1
14860 + cat conftest.err >&5
14861 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14862 + (exit $ac_status); } &&
14863 + { ac_try='test -z "$ac_c_werror_flag"
14864 + || test ! -s conftest.err'
14865 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14866 + (eval $ac_try) 2>&5
14867 + ac_status=$?
14868 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 + (exit $ac_status); }; } &&
14870 + { ac_try='test -s conftest$ac_exeext'
14871 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14872 + (eval $ac_try) 2>&5
14873 + ac_status=$?
14874 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 + (exit $ac_status); }; }; then
14876 + eval "$as_ac_var=yes"
14877 +else
14878 + echo "$as_me: failed program was:" >&5
14879 +sed 's/^/| /' conftest.$ac_ext >&5
14881 +eval "$as_ac_var=no"
14883 +rm -f conftest.err conftest.$ac_objext \
14884 + conftest$ac_exeext conftest.$ac_ext
14886 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14887 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14888 +if test `eval echo '${'$as_ac_var'}'` = yes; then
14889 + cat >>confdefs.h <<_ACEOF
14890 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14891 +_ACEOF
14893 +else
14894 + LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
14896 +done
14899 + if test x$ac_cv_func_copysignl = x"yes"; then
14901 +for ac_func in __signbitl
14903 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14904 +echo "$as_me:$LINENO: checking for $ac_func" >&5
14905 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14906 +if eval "test \"\${$as_ac_var+set}\" = set"; then
14907 + echo $ECHO_N "(cached) $ECHO_C" >&6
14908 +else
14909 + if test x$gcc_no_link = xyes; then
14910 + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14911 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14912 + { (exit 1); exit 1; }; }
14914 +cat >conftest.$ac_ext <<_ACEOF
14915 +/* confdefs.h. */
14916 +_ACEOF
14917 +cat confdefs.h >>conftest.$ac_ext
14918 +cat >>conftest.$ac_ext <<_ACEOF
14919 +/* end confdefs.h. */
14920 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14921 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
14922 +#define $ac_func innocuous_$ac_func
14924 +/* System header to define __stub macros and hopefully few prototypes,
14925 + which can conflict with char $ac_func (); below.
14926 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14927 + <limits.h> exists even on freestanding compilers. */
14929 +#ifdef __STDC__
14930 +# include <limits.h>
14931 +#else
14932 +# include <assert.h>
14933 +#endif
14935 +#undef $ac_func
14937 +/* Override any gcc2 internal prototype to avoid an error. */
14938 +#ifdef __cplusplus
14939 +extern "C"
14941 +#endif
14942 +/* We use char because int might match the return type of a gcc2
14943 + builtin and then its argument prototype would still apply. */
14944 +char $ac_func ();
14945 +/* The GNU C library defines this for functions which it implements
14946 + to always fail with ENOSYS. Some functions are actually named
14947 + something starting with __ and the normal name is an alias. */
14948 +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14949 +choke me
14950 +#else
14951 +char (*f) () = $ac_func;
14952 +#endif
14953 +#ifdef __cplusplus
14955 +#endif
14957 +int
14958 +main ()
14960 +return f != $ac_func;
14962 + return 0;
14964 +_ACEOF
14965 +rm -f conftest.$ac_objext conftest$ac_exeext
14966 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14967 + (eval $ac_link) 2>conftest.er1
14968 + ac_status=$?
14969 + grep -v '^ *+' conftest.er1 >conftest.err
14970 + rm -f conftest.er1
14971 + cat conftest.err >&5
14972 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 + (exit $ac_status); } &&
14974 + { ac_try='test -z "$ac_c_werror_flag"
14975 + || test ! -s conftest.err'
14976 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14977 + (eval $ac_try) 2>&5
14978 + ac_status=$?
14979 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 + (exit $ac_status); }; } &&
14981 + { ac_try='test -s conftest$ac_exeext'
14982 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14983 + (eval $ac_try) 2>&5
14984 + ac_status=$?
14985 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14986 + (exit $ac_status); }; }; then
14987 + eval "$as_ac_var=yes"
14988 +else
14989 + echo "$as_me: failed program was:" >&5
14990 +sed 's/^/| /' conftest.$ac_ext >&5
14992 +eval "$as_ac_var=no"
14994 +rm -f conftest.err conftest.$ac_objext \
14995 + conftest$ac_exeext conftest.$ac_ext
14997 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14998 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14999 +if test `eval echo '${'$as_ac_var'}'` = yes; then
15000 + cat >>confdefs.h <<_ACEOF
15001 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15002 +_ACEOF
15004 +else
15005 + LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
15007 +done
15009 + fi
15011 + # Used in libmath/Makefile.am.
15012 + if test -n "$LIBMATHOBJS"; then
15013 + need_libmath=yes
15014 + fi
15017 + GLIBCXX_CHECK_WCHAR_T_SUPPORT
15019 + cat >>confdefs.h <<\_ACEOF
15020 +#define HAVE_COPYSIGN 1
15021 +_ACEOF
15023 + cat >>confdefs.h <<\_ACEOF
15024 +#define HAVE_COPYSIGNF 1
15025 +_ACEOF
15027 + cat >>confdefs.h <<\_ACEOF
15028 +#define HAVE_FINITE 1
15029 +_ACEOF
15031 + cat >>confdefs.h <<\_ACEOF
15032 +#define HAVE_FINITEF 1
15033 +_ACEOF
15035 + cat >>confdefs.h <<\_ACEOF
15036 +#define HAVE_FREXPF 1
15037 +_ACEOF
15039 + cat >>confdefs.h <<\_ACEOF
15040 +#define HAVE_HYPOTF 1
15041 +_ACEOF
15043 + cat >>confdefs.h <<\_ACEOF
15044 +#define HAVE_ISINF 1
15045 +_ACEOF
15047 + cat >>confdefs.h <<\_ACEOF
15048 +#define HAVE_ISINFF 1
15049 +_ACEOF
15051 + cat >>confdefs.h <<\_ACEOF
15052 +#define HAVE_ISNAN 1
15053 +_ACEOF
15055 + cat >>confdefs.h <<\_ACEOF
15056 +#define HAVE_ISNANF 1
15057 +_ACEOF
15059 + cat >>confdefs.h <<\_ACEOF
15060 +#define HAVE_SINCOS 1
15061 +_ACEOF
15063 + cat >>confdefs.h <<\_ACEOF
15064 +#define HAVE_SINCOSF 1
15065 +_ACEOF
15067 + if test x"long_double_math_on_this_cpu" = x"yes"; then
15068 + cat >>confdefs.h <<\_ACEOF
15069 +#define HAVE_FINITEL 1
15070 +_ACEOF
15072 + cat >>confdefs.h <<\_ACEOF
15073 +#define HAVE_HYPOTL 1
15074 +_ACEOF
15076 + cat >>confdefs.h <<\_ACEOF
15077 +#define HAVE_ISINFL 1
15078 +_ACEOF
15080 + cat >>confdefs.h <<\_ACEOF
15081 +#define HAVE_ISNANL 1
15082 +_ACEOF
15084 + fi
15085 + ;;
15087 arm*-*-symbianelf*)
15088 # This is a freestanding configuration; there is nothing to do here.
15090 diff -ruN gcc-4.4.2.orig/libstdc++-v3/configure.host gcc-4.4.2/libstdc++-v3/configure.host
15091 --- gcc-4.4.2.orig/libstdc++-v3/configure.host 2009-02-09 23:24:08.000000000 +0300
15092 +++ gcc-4.4.2/libstdc++-v3/configure.host 2010-10-07 10:04:35.000000000 +0400
15093 @@ -199,6 +199,9 @@
15094 os_include_dir="os/generic"
15095 atomicity_dir="cpu/generic"
15097 + aros*)
15098 + os_include_dir="os/aros"
15099 + ;;
15100 bsd*)
15101 # Plain BSD attempts to share FreeBSD files.
15102 os_include_dir="os/bsd/freebsd"
15103 diff -ruN gcc-4.4.2.orig/libstdc++-v3/crossconfig.m4 gcc-4.4.2/libstdc++-v3/crossconfig.m4
15104 --- gcc-4.4.2.orig/libstdc++-v3/crossconfig.m4 2009-01-20 22:30:51.000000000 +0300
15105 +++ gcc-4.4.2/libstdc++-v3/crossconfig.m4 2010-10-07 10:04:35.000000000 +0400
15106 @@ -5,6 +5,34 @@
15107 AC_DEFUN([GLIBCXX_CROSSCONFIG],[
15108 # Base decisions on target environment.
15109 case "${host}" in
15110 + *-aros*)
15111 + AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
15112 + machine/param.h sys/machine.h sys/types.h fp.h locale.h float.h inttypes.h])
15114 + GLIBCXX_CHECK_LINKER_FEATURES
15115 + GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
15116 + GLIBCXX_CHECK_WCHAR_T_SUPPORT
15118 + AC_DEFINE(HAVE_COPYSIGN)
15119 + AC_DEFINE(HAVE_COPYSIGNF)
15120 + AC_DEFINE(HAVE_FINITE)
15121 + AC_DEFINE(HAVE_FINITEF)
15122 + AC_DEFINE(HAVE_FREXPF)
15123 + AC_DEFINE(HAVE_HYPOTF)
15124 + AC_DEFINE(HAVE_ISINF)
15125 + AC_DEFINE(HAVE_ISINFF)
15126 + AC_DEFINE(HAVE_ISNAN)
15127 + AC_DEFINE(HAVE_ISNANF)
15128 + AC_DEFINE(HAVE_SINCOS)
15129 + AC_DEFINE(HAVE_SINCOSF)
15130 + if test x"long_double_math_on_this_cpu" = x"yes"; then
15131 + AC_DEFINE(HAVE_FINITEL)
15132 + AC_DEFINE(HAVE_HYPOTL)
15133 + AC_DEFINE(HAVE_ISINFL)
15134 + AC_DEFINE(HAVE_ISNANL)
15135 + fi
15136 + ;;
15138 arm*-*-symbianelf*)
15139 # This is a freestanding configuration; there is nothing to do here.