This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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.
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]