From: David Daney Date: Tue, 31 Jul 2007 16:26:42 +0000 (+0000) Subject: * HACKING: Document regenerating configure and aclocal.m4. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b40cf1639333e361c6fc3d20eafd40e6f607ae5;p=gcc.git * HACKING: Document regenerating configure and aclocal.m4. From-SVN: r127100 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index a4f7f4f52ea..42a24a159fe 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2007-07-31 David Daney + + * HACKING: Document regenerating configure and aclocal.m4. + 2007-07-31 David Daney * configure.ac (INTERPRETER): New AM_CONDITIONAL. 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.