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-01-17 21:14:06 +0300
committerMike Frysinger <vapier@gentoo.org>2022-01-19 03:25:18 +0300
commit6746e060432fe942f67e871d1bfb152077e73941 (patch)
tree4f0a34739d03cf8427beb47b6ee97f7a88f23abb /newlib/configure.ac
parent3722489f1f606b7e35457dae63e5038e23f0752b (diff)
newlib: avoid duplicate awk checks
Since AM_INIT_AUTOMAKE calls AC_PROG_AWK, and some configure.ac scripts call it too, we end up testing for awk multiple times. If we change NEWLIB_CONFIGURE to require the macro instead, then it makes sure it's always expanded, but only once. While we're here, do the same thing with AC_PROG_INSTALL since it is also called by AM_INIT_AUTOMAKE, although it doesn't currently result in duplicate configure checks.
Diffstat (limited to 'newlib/configure.ac')
-rw-r--r--newlib/configure.ac1
1 files changed, 0 insertions, 1 deletions
diff --git a/newlib/configure.ac b/newlib/configure.ac
index e66b10343..361bbfbac 100644
--- a/newlib/configure.ac
+++ b/newlib/configure.ac
@@ -276,7 +276,6 @@ dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first
dnl line of the macro which fail because appropriate LDFLAGS are not set.
_LT_DECL_SED
_LT_PROG_ECHO_BACKSLASH
-AC_PROG_AWK
if test "${use_libtool}" = "yes"; then
LT_INIT([win32-dll])
fi