OSDN Git Service

* HACKING: Document regenerating configure and aclocal.m4.
authordaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jul 2007 16:26:42 +0000 (16:26 +0000)
committerdaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jul 2007 16:26:42 +0000 (16:26 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127100 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/HACKING

index a4f7f4f..42a24a1 100644 (file)
@@ -1,5 +1,9 @@
 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.
        * scripts/makemake.tcl (package_map): Mark jdwp and jvmti packages
        as being for interpreter only.  Place interpreter related files in
index 84df87f..a22f135 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.