FYI, on SuSE 9.2, on x86 and x86_64 starting with the system Ada compiler
(3.3.3 based)
I get no such issue in configure:
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatbind... gnatbind
checking whether compiler driver understands Ada... yes
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1
$$f2
checking for correct version of gmp.h... no
The following languages will be built: c,ada
*** This configuration is not supported in the following subdirectories:
target-libstdc++-v3 target-libgfortran target-libffi target-boehm-gc
target-zlib target-libjava zlib fastjar target-libobjc
(Any other directories should still work fine.)
Ada then builds and install fine.
Laurent
On Mon, 2005-04-11 at 14:48 -0400, Kaveh R. Ghazi wrote:
> > --- here --->
> > checking whether compiler driver understands
> > Ada... ../src/gcc-4.0.0-20050410/configure: line 2141: break: only
> > meaningful in a `for', `while', or `until' loop
> > yes
> > checking how to compare bootstrapped objects... cmp
> > --ignore-initial=16 $$f1 $$f2
> > ...
> > looks like there is a "break" without the (usual?) "for" around it.
> > Georg
>
> On closer inspection, I'm seeing the same thing on 4.0 and mainline.
>
> I believe the offending "break" was added to config/acx.m4 here:
> http://gcc.gnu.org/ml/gcc/2004-02/msg00755.html
> Although it seems to be that Paolo simply moved existing code from
> gcc/aclocal.m4 to config/acx.m4.
>
> Going back through aclocal.m4, the original breakage (no pun intended)
> occurred here when Nathanael removed the surrounding for-stmt but left
> the break inside the if-stmt.
> http://gcc.gnu.org/ml/gcc-patches/2003-11/msg02109.html
>
> Nathanael, can you please take a look?