aboutsummaryrefslogtreecommitdiff
path: root/libjava/HACKING
diff options
context:
space:
mode:
authorDavid Daney <ddaney@avtrex.com>2007-07-31 16:26:42 +0000
committerDavid Daney <daney@gcc.gnu.org>2007-07-31 16:26:42 +0000
commit9b40cf1639333e361c6fc3d20eafd40e6f607ae5 (patch)
treef6dbf8ba18697f52c784c5b71cd978c23a61d92b /libjava/HACKING
parentf2ffe7a0316e8efdfdbe01bc7b4f8592ec646fcb (diff)
downloadgcc-9b40cf1639333e361c6fc3d20eafd40e6f607ae5.zip
gcc-9b40cf1639333e361c6fc3d20eafd40e6f607ae5.tar.gz
gcc-9b40cf1639333e361c6fc3d20eafd40e6f607ae5.tar.bz2
* HACKING: Document regenerating configure and aclocal.m4.
From-SVN: r127100
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 84df87f..a22f135 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.