This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[PATCH] Committed: Update HACKING for aclocal.m4 regeneration instructions.
- From: David Daney <ddaney at avtrex dot com>
- To: GCJ-patches <java-patches at gcc dot gnu dot org>
- Date: Tue, 31 Jul 2007 09:28:47 -0700
- Subject: [PATCH] Committed: Update HACKING for aclocal.m4 regeneration instructions.
I committed this as obvious:
2007-07-31 David Daney <ddaney@avtrex.com>
* HACKING: Document regenerating configure and aclocal.m4.
Index: HACKING
===================================================================
--- HACKING (revision 127099)
+++ HACKING (revision 127100)
@@ -34,10 +34,17 @@ non-maintainer-mode build and use the ne
--
-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.