summaryrefslogtreecommitdiff
path: root/libjava/HACKING
diff options
context:
space:
mode:
authordaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-31 16:26:42 +0000
committerdaney <daney@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-31 16:26:42 +0000
commite41e11e12ae595ea7ab102ccddbdb0354d64e60a (patch)
treef6dbf8ba18697f52c784c5b71cd978c23a61d92b /libjava/HACKING
parente51dfa029f0d49f5226acbd88e3ccfd80f1d62ec (diff)
downloadgcc-e41e11e12ae595ea7ab102ccddbdb0354d64e60a.tar.gz
* HACKING: Document regenerating configure and aclocal.m4.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127100 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/HACKING')
-rw-r--r--libjava/HACKING15
1 files changed, 11 insertions, 4 deletions
diff --git a/libjava/HACKING b/libjava/HACKING
index 84df87f648f..a22f135afb0 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.