public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: newlib@sourceware.org
Cc: Jon Turney <jon.turney@dronecode.org.uk>
Subject: [PATCH 1/4] newlib: Make effects of 'cygnus' explicit
Date: Thu, 16 Dec 2021 16:09:35 +0000	[thread overview]
Message-ID: <20211216160938.1888-2-jon.turney@dronecode.org.uk> (raw)
In-Reply-To: <20211216160938.1888-1-jon.turney@dronecode.org.uk>

Add all the effects of 'cygnus' for which there exists an explicit way
to request that behaviour:

* Implied foreign strictness and options no-installinfo, no-dependencies
and no-dist are added to AM_INIT_AUTOMAKE in newlib/acinclude.m4.

* macro AM_MAINTAINER_MODE is added to newlib/acinclude.m4.

* For the implied TEXINFO_TEX of '$(top_srcdir)/../texinfo/texinfo.tex',
an explicit TEXINFO_TEX is always relative to $(srcdir), so write the
same pathname in that form.

This is to prepare for the removal of the automake option '--cygnus'.
---
 newlib/acinclude.m4     | 3 ++-
 newlib/libc/Makefile.am | 1 +
 newlib/libm/Makefile.am | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/newlib/acinclude.m4 b/newlib/acinclude.m4
index 42af6b548..f6e8d358d 100644
--- a/newlib/acinclude.m4
+++ b/newlib/acinclude.m4
@@ -120,7 +120,8 @@ AC_SUBST(newlib_basedir)
 
 AC_CANONICAL_HOST
 
-AM_INIT_AUTOMAKE([cygnus no-define 1.9.5])
+AM_INIT_AUTOMAKE([cygnus foreign no-installinfo no-dependencies no-dist no-define 1.9.5])
+AM_MAINTAINER_MODE()
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)])
 
 # FIXME: We temporarily define our own version of AC_PROG_CC.  This is
diff --git a/newlib/libc/Makefile.am b/newlib/libc/Makefile.am
index e27ff5cf1..10ebaedfa 100644
--- a/newlib/libc/Makefile.am
+++ b/newlib/libc/Makefile.am
@@ -224,6 +224,7 @@ targetdep.tex: stmp-targetdep ; @true
 
 $(SUBDEFS): stmp-targetdep ; @true
 
+TEXINFO_TEX = ../../texinfo/texinfo.tex
 info_TEXINFOS = libc.texinfo
 libc_TEXINFOS = sigset.texi extra.texi posix.texi stdio64.texi iconvset.texi \
 	targetdep.tex $(SUBDEFS)
diff --git a/newlib/libm/Makefile.am b/newlib/libm/Makefile.am
index 05afcbffc..08b8387a5 100644
--- a/newlib/libm/Makefile.am
+++ b/newlib/libm/Makefile.am
@@ -35,8 +35,8 @@ endif
 
 $(SUBLIBS):
 
+TEXINFO_TEX = ../../texinfo/texinfo.tex
 info_TEXINFOS = libm.texinfo
-
 libm_TEXINFOS = targetdep.tex
 
 libm.dvi: targetdep.tex math/stmp-def complex/stmp-def fenv/stmp-def
-- 
2.34.1


  reply	other threads:[~2021-12-16 16:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-16 16:09 [PATCH 0/4] Remove automake option 'cygnus' from newlib (v2) Jon Turney
2021-12-16 16:09 ` Jon Turney [this message]
2021-12-16 16:09 ` [PATCH 2/4] newlib: Regenerate autotools files Jon Turney
2021-12-16 16:09 ` [PATCH 3/4] newlib: Remove automake option 'cygnus' Jon Turney
2021-12-16 16:09 ` [PATCH 4/4] newlib: Regenerate autotools files Jon Turney
2021-12-20  9:40 ` [PATCH 0/4] Remove automake option 'cygnus' from newlib (v2) Corinna Vinschen
2021-12-29 20:14   ` Jeff Johnston
2021-12-29 22:48     ` Jon Turney
2021-12-29 22:50   ` Jon Turney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211216160938.1888-2-jon.turney@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=newlib@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).