* HACKING: Document regenerating configure and aclocal.m4.
authorDavid Daney <ddaney@avtrex.com>
Tue, 31 Jul 2007 16:26:42 +0000 (16:26 +0000)
committerDavid Daney <daney@gcc.gnu.org>
Tue, 31 Jul 2007 16:26:42 +0000 (16:26 +0000)
From-SVN: r127100

libjava/ChangeLog
libjava/HACKING

index a4f7f4f52eaf0593a5f66d89de8dbfabfc55f7a9..42a24a159fe2aa7c5d1ea0402e5c1fb209213088 100644 (file)
@@ -1,3 +1,7 @@
+2007-07-31  David Daney  <ddaney@avtrex.com>
+
+       * HACKING: Document regenerating configure and aclocal.m4.
+
 2007-07-31  David Daney  <ddaney@avtrex.com>
 
        * configure.ac (INTERPRETER): New AM_CONDITIONAL.
index 84df87f648f1ef47f0a567553ddbf2edaabbcaa2..a22f135afb05fb8db5100f7650669e3518d47fe5 100644 (file)
@@ -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.