Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-02-05 09:05:06 +0300
committerMike Frysinger <vapier@gentoo.org>2022-02-09 03:09:26 +0300
commit9b50254377986a12469be5322daa72fd113b452e (patch)
tree16bf39dfeb70b77bf4b5413a4b5e65a2b7eb8563 /newlib/acinclude.m4
parent953ba1e6d1cc146113b42a56b8c3ec412d9d4873 (diff)
newlib: move AC_NO_EXECUTABLES logic up to common code
This logic was added to libc & libm to get it working again after some reworks in the CPP handling, but now that that's settled, let's move this to the common newlib configure logic. This will make it easier to consolidate all the configure calls into the top-level newlib dir. This does create a lot of noise in the generate scripts, but that's because of the ordering of the calls, not because of correctness. We will try to draw that back down in follow up commits as we modernize the toolchain calls in here.
Diffstat (limited to 'newlib/acinclude.m4')
-rw-r--r--newlib/acinclude.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/acinclude.m4 b/newlib/acinclude.m4
index 888d41794..c851d622e 100644
--- a/newlib/acinclude.m4
+++ b/newlib/acinclude.m4
@@ -118,6 +118,8 @@ AM_INIT_AUTOMAKE([foreign no-installinfo no-dependencies no-dist no-define subdi
AM_MAINTAINER_MODE()
AM_SILENT_RULES(yes)
+AC_NO_EXECUTABLES
+
# FIXME: We temporarily define our own version of AC_PROG_CC. This is
# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
# are probably using a cross compiler, which will not be able to fully
@@ -180,6 +182,7 @@ fi
])
LIB_AC_PROG_CC
+AC_REQUIRE([AC_PROG_CPP])dnl
AC_CHECK_TOOL(AS, as)
AC_CHECK_TOOL(AR, ar)