From 9b40cf1639333e361c6fc3d20eafd40e6f607ae5 Mon Sep 17 00:00:00 2001 From: David Daney Date: Tue, 31 Jul 2007 16:26:42 +0000 Subject: * HACKING: Document regenerating configure and aclocal.m4. From-SVN: r127100 --- libjava/HACKING | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'libjava/HACKING') diff --git a/libjava/HACKING b/libjava/HACKING index 84df87f..a22f135 100644 --- a/libjava/HACKING +++ b/libjava/HACKING @@ -34,10 +34,17 @@ non-maintainer-mode build and use the newly installed gjavah. -- -To regenerate libjava/configure, use: - - aclocal -I . -I .. -I ../config -I libltdl - autoconf +To regenerate libjava/configure, first run aclocal passing the flags +found near the top of Makefile.am, then autoconf. H. J. Lu writes that +this can be done using these commands: + + cd libjava && + rm -f aclocal.m4 && + ACFLAGS=$(grep "^ACLOCAL_AMFLAGS" Makefile.in | sed -e "s/ACLOCAL_AMFLAGS[ \t ]*=//") && + aclocal-1.9 $ACFLAGS && + rm -f configure && + autoconf-2.59 && + rm -fr autom4te.cache See the GCC documentation which auto* versions to use. -- cgit v1.1