This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: libjava: fix rebuild failure due to FFLAGS setting
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Cc: bonzini at gnu dot org
- Date: Mon, 21 Dec 2009 22:08:32 +0100
- Subject: Re: libjava: fix rebuild failure due to FFLAGS setting
- References: <20091214203554.GB16328@gmx.de>
Ping! <http://gcc.gnu.org/ml/gcc-patches/2009-12/msg00740.html>
Thanks,
Ralf
* Ralf Wildenhues wrote on Mon, Dec 14, 2009 at 09:35:54PM CET:
> Since libjava/libltdl is still using old Libtool, it falls prey of the
> old bug that tests for C++ and Fortran are run even if the package in
> question (here: libltdl) does not use these languages at all. This
> causes one interesting rebuild failure in the GCC tree:
[...]
fixed by:
> Disable libtool support for languages unused in libjava/libltdl
>
> libjava/libltdl/ChangeLog:
> 2009-12-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
>
> * configure.ac: Disable libtool support for unused languages,
> to avoid precious FFLAGS recheck cache consistency failure.
> * aclocal.m4: Regenerate.
> * configure: Regenerate.
> * Makefile.in: Regenerate.
>
> diff --git a/libjava/libltdl/configure.ac b/libjava/libltdl/configure.ac
> index 7e26e20..8631bd1 100644
> --- a/libjava/libltdl/configure.ac
> +++ b/libjava/libltdl/configure.ac
> @@ -19,6 +19,10 @@
>
> AC_PREREQ(2.64)
>
> +dnl Disable libtool 1.5 support for languages we don't use
> +define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
> +define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
> +define([AC_LIBTOOL_LANG_GCJ_CONFIG], [:])dnl
>
> ## ------------------------ ##
> ## Autoconf initialisation. ##