public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] newlib: Make effects of 'cygnus' explicit
@ 2021-12-29 22:48 Jon TURNEY
0 siblings, 0 replies; only message in thread
From: Jon TURNEY @ 2021-12-29 22:48 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=320510de2c786db271ab6fccea1b8c7ccb80e09f
commit 320510de2c786db271ab6fccea1b8c7ccb80e09f
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date: Tue Dec 14 20:30:39 2021 +0000
newlib: Make effects of 'cygnus' explicit
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'.
Diff:
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-12-29 22:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-29 22:48 [newlib-cygwin] newlib: Make effects of 'cygnus' explicit Jon TURNEY
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).