This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: bad libjava/libltdl/Makefile.in; automake version?
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Per Bothner <per at bothner dot com>
- Cc: java at gcc dot gnu dot org, Michael Koch <konqueror at gmx dot de>
- Date: Thu, 18 Dec 2003 16:42:14 +0100
- Subject: Re: bad libjava/libltdl/Makefile.in; automake version?
- References: <3FE0A5A0.7030309@bothner.com>
Per Bothner wrote:
The version of libjava/libltdl/Makefile.in in the CVS repository
does not have the @MAINTAINER_MODE_TRUE@ guard to disable the
dependencies when --disable-maintainer-mode (the default) is
configured. So it tries to run automake, which fails because
it doesn't find the right version of automake.
This looks like a serious bug in automake version 1.7.9.
(libjava/Makefile.in was generated using automake 1.4, which
seems awfully old. This is strange, because both were checked
in by Micahel Koch, though not on the same day.)
Would this one be ok?
Index: libltdl/acinclude.m4
===================================================================
RCS file: /cvs/gcc/gcc/libjava/libltdl/acinclude.m4,v
retrieving revision 1.4
diff -u -r1.4 acinclude.m4
--- libltdl/acinclude.m4 16 Dec 2003 21:48:24 -0000 1.4
+++ libltdl/acinclude.m4 18 Dec 2003 15:37:42 -0000
@@ -163,6 +163,8 @@
AC_CHECK_TOOL(RANLIB, ranlib, :)
AC_CHECK_TOOL(STRIP, strip, :)
+AM_MAINTAINER_MODE
+
old_CC="$CC"
old_CFLAGS="$CFLAGS"
Regenration of the files can be done with automake >= 1.6.3 and autoconf
>= 2.57.
I tested it here localy, but I'm on automake 1.8. It would be great if
anyone with an older non infected system could test this one :)
I'm willing to regenerate the files with automake 1.6.3 and
autoconf-2.57 if the above patchlet cures the situation.
(Including Changelog etc. )
Andreas