From 9b40cf1639333e361c6fc3d20eafd40e6f607ae5 Mon Sep 17 00:00:00 2001 From: David Daney Date: Tue, 31 Jul 2007 16:26:42 +0000 Subject: [PATCH] * HACKING: Document regenerating configure and aclocal.m4. From-SVN: r127100 --- libjava/ChangeLog | 4 ++++ libjava/HACKING | 15 +++++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index a4f7f4f52ea..42a24a159fe 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,9 @@ 2007-07-31 David Daney + * HACKING: Document regenerating configure and aclocal.m4. + +2007-07-31 David Daney + * 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 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. -- 2.11.4.GIT