aboutsummaryrefslogtreecommitdiff
path: root/newlib/libm/machine
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2021-07-22 16:23:31 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2021-12-29 22:45:04 +0000
commita4e734fcdbfaee60455eeb7bc08255bb6c1e8729 (patch)
tree2b61980a68fa1b533f8bc3308572a7f1404f9627 /newlib/libm/machine
parent8e166351b3079f19154666943673604382d9ec87 (diff)
downloadnewlib-a4e734fcdbfaee60455eeb7bc08255bb6c1e8729.zip
newlib-a4e734fcdbfaee60455eeb7bc08255bb6c1e8729.tar.gz
newlib-a4e734fcdbfaee60455eeb7bc08255bb6c1e8729.tar.bz2
newlib: Remove automake option 'cygnus'
The 'cygnus' option was removed from automake 1.13 in 2012, so the presence of this option prevents that or a later version of automake being used. A check-list of the effects of '--cygnus' from the automake 1.12 documentation, and steps taken (where possible) to preserve those effects (See also this thread [1] for discussion on that): [1] https://lists.gnu.org/archive/html/bug-automake/2012-03/msg00048.html 1. The foreign strictness is implied. Already present in AM_INIT_AUTOMAKE in newlib/acinclude.m4 2. The options no-installinfo, no-dependencies and no-dist are implied. Already present in AM_INIT_AUTOMAKE in newlib/acinclude.m4 Future work: Remove no-dependencies and any explicit header dependencies, and use automatic dependency tracking instead. Are there explicit rules which are now redundant to removing no-installinfo and no-dist? 3. The macro AM_MAINTAINER_MODE is required. Already present in newlib/acinclude.m4 Note that maintainer-mode is still disabled by default. 4. Info files are always created in the build directory, and not in the source directory. This appears to be an error in the automake documentation describing '--cygnus' [2]. newlib's info files are generated in the source directory, and no special steps are needed to keep doing that. [2] https://lists.gnu.org/archive/html/bug-automake/2012-04/msg00028.html 5. texinfo.tex is not required if a Texinfo source file is specified. (The assumption is that the file will be supplied, but in a place that automake cannot find.) This effect is overriden by an explicit setting of the TEXINFO_TEX variable (the directory part of which is fed into texi2X via the TEXINPUTS environment variable). 6. Certain tools will be searched for in the build tree as well as in the user's PATH. These tools are runtest, expect, makeinfo and texi2dvi. For obscure automake reasons, this effect of '--cygnus' is not active for makeinfo in newlib's configury. However, there appears to be top-level configury which selects in-tree runtest, expect and makeinfo, if present. So, if that works as it appears, this effect is preserved. If not, this may cause problem if anyone is building those tools in-tree. This effect is not preserved for texi2dvi. This may cause problems if anyone is building texinfo in-tree. If needed, explicit checks for those tools looking in places relative to $(top_srcdir)/../ as well as in PATH could be added. 7. The check target doesn't depend on all. This effect is not preseved. The check target now depends on the all target. This concern seems somewhat academic given the current state of the testsuite. Also note that this doesn't touch libgloss.
Diffstat (limited to 'newlib/libm/machine')
-rw-r--r--newlib/libm/machine/Makefile.am2
-rw-r--r--newlib/libm/machine/aarch64/Makefile.am2
-rw-r--r--newlib/libm/machine/arm/Makefile.am2
-rw-r--r--newlib/libm/machine/i386/Makefile.am2
-rw-r--r--newlib/libm/machine/nds32/Makefile.am2
-rw-r--r--newlib/libm/machine/spu/Makefile.am2
6 files changed, 0 insertions, 12 deletions
diff --git a/newlib/libm/machine/Makefile.am b/newlib/libm/machine/Makefile.am
index d67175b..678d95b 100644
--- a/newlib/libm/machine/Makefile.am
+++ b/newlib/libm/machine/Makefile.am
@@ -1,7 +1,5 @@
## Process this file with automake to generate Makefile.in
-AUTOMAKE_OPTIONS = cygnus
-
SUBDIRS = $(libm_machine_dir) .
if HAVE_LIBM_MACHINE_DIR
diff --git a/newlib/libm/machine/aarch64/Makefile.am b/newlib/libm/machine/aarch64/Makefile.am
index 1025bc4..5f8770a 100644
--- a/newlib/libm/machine/aarch64/Makefile.am
+++ b/newlib/libm/machine/aarch64/Makefile.am
@@ -1,7 +1,5 @@
## Process this file with automake to generate Makefile.in
-AUTOMAKE_OPTIONS = cygnus
-
INCLUDES = -I $(newlib_basedir)/../newlib/libm/common $(NEWLIB_CFLAGS) \
$(CROSS_CFLAGS) $(TARGET_CFLAGS)
diff --git a/newlib/libm/machine/arm/Makefile.am b/newlib/libm/machine/arm/Makefile.am
index ccb134d..45e175e 100644
--- a/newlib/libm/machine/arm/Makefile.am
+++ b/newlib/libm/machine/arm/Makefile.am
@@ -1,7 +1,5 @@
## Process this file with automake to generate Makefile.in
-AUTOMAKE_OPTIONS = cygnus
-
INCLUDES = -I $(newlib_basedir)/../newlib/libm/common $(NEWLIB_CFLAGS) \
$(CROSS_CFLAGS) $(TARGET_CFLAGS)
diff --git a/newlib/libm/machine/i386/Makefile.am b/newlib/libm/machine/i386/Makefile.am
index 249f876..52f2880 100644
--- a/newlib/libm/machine/i386/Makefile.am
+++ b/newlib/libm/machine/i386/Makefile.am
@@ -1,7 +1,5 @@
## Process this file with automake to generate Makefile.in
-AUTOMAKE_OPTIONS = cygnus
-
INCLUDES = -I $(newlib_basedir)/../newlib/libm/common $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
AM_CCASFLAGS = $(INCLUDES)
diff --git a/newlib/libm/machine/nds32/Makefile.am b/newlib/libm/machine/nds32/Makefile.am
index b5afbd3..5fa129d 100644
--- a/newlib/libm/machine/nds32/Makefile.am
+++ b/newlib/libm/machine/nds32/Makefile.am
@@ -1,7 +1,5 @@
## Process this file with automake to generate Makefile.in
-AUTOMAKE_OPTIONS = cygnus
-
INCLUDES = -I $(newlib_basedir)/../newlib/libm/common $(NEWLIB_CFLAGS) \
$(CROSS_CFLAGS) $(TARGET_CFLAGS)
diff --git a/newlib/libm/machine/spu/Makefile.am b/newlib/libm/machine/spu/Makefile.am
index 2ca70a7..9e2c597 100644
--- a/newlib/libm/machine/spu/Makefile.am
+++ b/newlib/libm/machine/spu/Makefile.am
@@ -1,7 +1,5 @@
## Process this file with automake to generate Makefile.in
-AUTOMAKE_OPTIONS = cygnus
-
INCLUDES = -I $(newlib_basedir)/../newlib/libm/common $(NEWLIB_CFLAGS) \
$(CROSS_CFLAGS) $(TARGET_CFLAGS)