PATCH: PR libjava/3207: Ignore _AC_ARG_VAR_PRECIOUS

Paolo Bonzini bonzini@gnu.org
Mon May 28 06:38:00 GMT 2007


H. J. Lu wrote:
> Both libstdc++ and libjava have the same kludge to ignore
> _AC_ARG_VAR_PRECIOUS to make sure that CC, CFLAGS, CXX, CXXFLAGS
> and LDFLAG won't be 'precious' to support multilibs. However,
> the new libtool makes the kludge ineffective. As the result,
> CXX and CXXFLAGS in libjava are 'precious' and libjava won't build
> since the new libtool was introduced:
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32078

There's another solution, which is to copy confsubdir.m4 to config and 
regenerate libjava's Makefile.in files.  This is only needed in libjava, 
because it's the only directory which uses AC_CONFIG_SUBDIRS.

This is what I did with this patch.  I couldn't convince aclocal to pick 
up confsubdir.m4 automatically, so I am including it manually.

The patch includes the regeneration of configure to show the differences 
between the two.  Please confirm it fixes the issue and close the PR if so.

Paolo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr32078.patch
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20070528/e951d68e/attachment.ksh>


More information about the Java-patches mailing list