From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by sourceware.org (Postfix) with ESMTPS id E4DCF395A423 for ; Tue, 10 Mar 2020 19:16:13 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1583867771; bh=d379fnIa3mmZaKYQf9US6wwS4pWbUgX8oNU0KnGHwqU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=c31Jq/8nIhl0gHDCu3CPOq85Is2IIBa9D9DFtHDJiM8H3BACkWcewZt0d5QWGqDOH OSBZZY4aO5amwodFlo6d5rxkFypYbjNNs6g5oI2khOGq6ZiFMVkfg0JQ/Eaj5QcKcJ RYmxaprX6j1yVbGp/FAJ8pB2FBZrsRZ9O1etHjjA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from zbook-opensuse.wgnetz.xx ([77.2.59.234]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MhlKs-1jpDyN2VTU-00dnJW; Tue, 10 Mar 2020 20:16:11 +0100 From: Christian Eggers To: cgen@sourceware.org Cc: Alan Modra Subject: Re: Update to autotools used by binutils Date: Tue, 10 Mar 2020 20:16:10 +0100 Message-ID: <2748038.FlFqmg7Zd1@zbook-opensuse.wgnetz.xx> In-Reply-To: <20200212052558.GA27162@bubble.grove.modra.org> References: <20200212052558.GA27162@bubble.grove.modra.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K1:sJpZS9a7Y112XQ5wPeCKlbzt1eiXHN9CeHvN4lC1PQn82yvixEH tCOctlUGpTVHmKpwSlRx2L58y5v3TZlPDSssSZUAz+RNpb4FDxfZ5oly1Qb7xXBYVEwZJI1 Rlb7yINx9Hn3TA96N+GXPndJyk8uj7hxhqqgX4thGTYf8CKhcAmnthA4AE2XFrh9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pR/wrTzIM92vpcA7F4Q0RBOtOR3HAf/z+tWhnmpTMP+4aUQh GYi7TubXqpC70faQTmPp/PJkFjKX8QPewj4Do57oqO/tPtTO+xvl4gu1+tF7EJX811c7rhS9H wSGFRDCKPUCVlmUpWBwNzBRnAZF3HUneLICFEBX+p/QQf4WsleAOzdIcaRLMmABMc2Lgx2TsR tH7wT2ou3I1OLovv+t0lGJLdG9cJQ11uZiPp4EbNkgzdUjnXFSfLJ4yVT0blEsyeof7aGN/Cs olGCnyytk3vXZ5ChY X-Spam-Status: No, score=-27.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cgen@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cgen mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2020 19:16:17 -0000 Hi Alan, your changelog mentions several regenerated files, but the patch misses th= em. I had to run aclocal and automake manually in order to get rid of calls to aclocal-1.11. Regards Christian Am Mittwoch, 12. Februar 2020, 06:25:58 CET schrieb Alan Modra: > When cgen source is installed in the top source directory of > binutils-gdb and configuring with --enable-maintainer-mode > --enable-cgen-maint=3Dyes it is somewhat difficult to regenerate cgen > files without differences due to using different autotools. > Particularly so since the generated files in the git repository don't > all use the same autotools. > > This patch fixes that by modernising the source a little and > regenerating with autoconf-2.69 and automake-1.15.1. > > Note that doc/stamp-vti and doc/version.texi contain dates taken from > your checked out doc/cgen.texi file time stamp. So in order to > regenerate these files consistently it is necessary to > touch --date=3Dxxx doc/cgen.texi > with the date taken from the last doc/cgen.texi commit. With that > done, only stamp-vti needs updating (to a copy of version.texi). > > OK to apply? > > * configure.ac: Renamed from configure.in. > (AC_INIT, AM_INIT_AUTOMAKE): Modernize. > (AC_CONFIG_SRCDIR): Invoke. > * INSTALL: Adjust for configure.ac renaming. > * Makefile.am (AUTOMAKE_OPTIONS): Delete cygnus and version. > Add foreign. > * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise. > * doc/Makefile.am (AUTOMAKE_OPTIONS): Delete cygnus, add foreign, > info-in-builddir and no-texinfo.tex. > (DISTCLEANFILES): Delete automake-1.9 hack. > * Makefile.in: Regenerate. > * aclocal.m4: Regenerate. > * configure: Regenerate. > * doc/Makefile.in: Regenerate. > * doc/stamp-vti: Regenerate. > * testsuite/Makefile.in: Regenerate. > > diff --git a/INSTALL b/INSTALL > index d2df4e1..606b41a 100644 > --- a/INSTALL > +++ b/INSTALL > @@ -19,8 +19,8 @@ diffs or instructions to the address given in the `REA= DME' > so they can be considered for the next release. If at some point > `config.cache' contains results you don't want to keep, you may remove o= r > edit it. > > - The file `configure.in' is used to create `configure' by a program > -called `autoconf'. You only need `configure.in' if you want to change > + The file `configure.ac' is used to create `configure' by a program > +called `autoconf'. You only need `configure.ac' if you want to change > it or regenerate `configure' using a newer version of `autoconf'. > > The simplest way to compile this package is: > diff --git a/Makefile.am b/Makefile.am > index d4d0984..c441e20 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -17,7 +17,7 @@ > # . > # > > -AUTOMAKE_OPTIONS =3D 1.9 cygnus > +AUTOMAKE_OPTIONS =3D foreign > > SUBDIRS =3D doc testsuite > > diff --git a/configure.in b/configure.ac > similarity index 94% > rename from configure.in > rename to configure.ac > index 06e16ca..d336fd2 100644 > --- a/configure.in > +++ b/configure.ac > @@ -18,10 +18,11 @@ dnl . > dnl > > AC_PREREQ(2.59) > -AC_INIT(read.scm) > -AC_CANONICAL_SYSTEM > dnl The "50" is a generic indicator that we're between 1.1 and 1.2. > -AM_INIT_AUTOMAKE(cgen, 1.1.50) > +AC_INIT(cgen, 1.1.50) > +AC_CONFIG_SRCDIR(read.scm) > +AC_CANONICAL_SYSTEM > +AM_INIT_AUTOMAKE > > AC_PROG_INSTALL > AC_EXEEXT > diff --git a/doc/Makefile.am b/doc/Makefile.am > index 085224a..4f03021 100644 > --- a/doc/Makefile.am > +++ b/doc/Makefile.am > @@ -17,7 +17,7 @@ > # . > # > > -AUTOMAKE_OPTIONS =3D cygnus > +AUTOMAKE_OPTIONS =3D foreign info-in-builddir no-texinfo.tex > > # List of files that go into cgen.info. > DOCFILES =3D app.texi cgen.texi credits.texi glossary.texi intro.texi \ > @@ -39,11 +39,3 @@ noinst_TEXINFOS =3D cgen.texi cgenint.texi > # Maintenance > > MAINTAINERCLEANFILES =3D cgen.info cgenint.info > - > -# Automake 1.9 will only build info files in the objdir if they are > -# mentioned in DISTCLEANFILES. It doesn't have to be unconditional, > -# though, so we use a bogus condition. > -# NOTE: This is copied from gas. > -if GENINSRC_NEVER > -DISTCLEANFILES =3D cgen.info cgenint.info > -endif > diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am > index 3eb1d96..9a5d404 100644 > --- a/testsuite/Makefile.am > +++ b/testsuite/Makefile.am > @@ -18,7 +18,7 @@ > # . > # > > -AUTOMAKE_OPTIONS =3D 1.9 cygnus > +AUTOMAKE_OPTIONS =3D foreign > > cgendir =3D $(srcdir)/..