diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-23 08:23:28 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-26 11:11:21 +0300 |
commit | 08a55a233d8a90914270a898360f806f7f8f2bdd (patch) | |
tree | 6ae24ee60040c9f2f5bdc6aced5178aafacad24b /newlib/libc/search | |
parent | 8bee45444fde77ff4e965a0edf24035f9a570b10 (diff) |
newlib: libc: merge machine/ configure scripts up a level
The machine configure scripts are all effectively stub scripts that
pass the higher level options to its own makefile. There were only
three doing custom tests. The rest were all effectively the same as
the libc/ configure script.
So instead of recursively running configure in all of these subdirs,
generate their makefiles from the top-level configure. For the few
unique ones, deploy a pattern of including subdir logic via m4:
m4_include([machine/nds32/acinclude.m4])
Some of the generated machine makefiles have a bunch of extra stuff
added to them, but that's because they were inconsistent in their
configure libtool calls. The top-level has it, so it exports some
new vars to the ones that weren't already.
Diffstat (limited to 'newlib/libc/search')
-rw-r--r-- | newlib/libc/search/Makefile.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/newlib/libc/search/Makefile.in b/newlib/libc/search/Makefile.in index 86f48cec2..b197e3645 100644 --- a/newlib/libc/search/Makefile.in +++ b/newlib/libc/search/Makefile.in @@ -100,7 +100,12 @@ am__aclocal_m4_deps = $(top_srcdir)/../../config/depstand.m4 \ $(top_srcdir)/../../ltsugar.m4 \ $(top_srcdir)/../../ltversion.m4 \ $(top_srcdir)/../../lt~obsolete.m4 \ - $(top_srcdir)/../acinclude.m4 $(top_srcdir)/configure.ac + $(top_srcdir)/../acinclude.m4 \ + $(top_srcdir)/machine/nds32/acinclude.m4 \ + $(top_srcdir)/machine/powerpc/acinclude.m4 \ + $(top_srcdir)/machine/sh/acinclude.m4 \ + $(top_srcdir)/machine/spu/acinclude.m4 \ + $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am |