This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libjava: fix rebuild failure due to FFLAGS setting


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. ##


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]