This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR libjava/32078: Update libtool in classpath
On Tue, May 29, 2007 at 07:37:25PM +0200, Andreas Schwab wrote:
> "H. J. Lu" <hjl@lucon.org> writes:
>
> > It is different from libjava/HACKING and the current libtool files
> > in classpath in libjava were copied from the old libtool in gcc
> > toplevel directory. Assuming it works, we have 2 choices:
> >
> > 1. Add AC_CONFIG_AUX_DIR(../..) to configure.ac in classpath:
> > a. Update libjava/HACKING.
>
> Not needed, just mark the change GCJ LOCAL.
>
>From libjava/HACKING:
- Use auto* to create configure, Makefile.in, etc
Make sure you have Automake 1.9.6 installed. Exactly that version!
You have to make sure to use the gcc libtool.m4 and gcc lt* scripts
cd .../classpath
cp ../../lt* .
cp ../../config.sub ../../config.guess .
aclocal -I m4 -I ../.. -I ../../config
autoconf
autoheader
automake
rm -rf autom4te.cache
cd ..
scripts/makemake.tcl > sources.am
automake
There is no need to add AC_CONFIG_AUX_DIR(../..) if the above is
followed.
H.J.