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/libm
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/libm')
-rwxr-xr-xnewlib/libm/configure5
-rwxr-xr-xnewlib/libm/machine/aarch64/configure1
-rwxr-xr-xnewlib/libm/machine/arm/configure1
-rwxr-xr-xnewlib/libm/machine/configure5
-rwxr-xr-xnewlib/libm/machine/i386/configure5
-rwxr-xr-xnewlib/libm/machine/mips/configure1
-rw-r--r--newlib/libm/machine/nds32/configure1
-rwxr-xr-xnewlib/libm/machine/powerpc/configure1
-rwxr-xr-xnewlib/libm/machine/pru/configure1
-rwxr-xr-xnewlib/libm/machine/riscv/configure1
-rwxr-xr-xnewlib/libm/machine/sparc/configure1
-rw-r--r--newlib/libm/machine/spu/configure1
-rwxr-xr-xnewlib/libm/machine/x86_64/configure5
13 files changed, 8 insertions, 21 deletions
diff --git a/newlib/libm/configure b/newlib/libm/configure
index 5fe21ace4..c9a84cbd3 100755
--- a/newlib/libm/configure
+++ b/newlib/libm/configure
@@ -3885,7 +3885,6 @@ fi
-
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
ac_given_INSTALL=$INSTALL
@@ -11652,7 +11651,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11655 "configure"
+#line 11654 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11758,7 +11757,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11761 "configure"
+#line 11760 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
diff --git a/newlib/libm/machine/aarch64/configure b/newlib/libm/machine/aarch64/configure
index 28fbd24d6..13c29f8f6 100755
--- a/newlib/libm/machine/aarch64/configure
+++ b/newlib/libm/machine/aarch64/configure
@@ -3495,7 +3495,6 @@ fi
-
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
ac_given_INSTALL=$INSTALL
diff --git a/newlib/libm/machine/arm/configure b/newlib/libm/machine/arm/configure
index 28fbd24d6..13c29f8f6 100755
--- a/newlib/libm/machine/arm/configure
+++ b/newlib/libm/machine/arm/configure
@@ -3495,7 +3495,6 @@ fi
-
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
ac_given_INSTALL=$INSTALL
diff --git a/newlib/libm/machine/configure b/newlib/libm/machine/configure
index 60f141029..867bff38d 100755
--- a/newlib/libm/machine/configure
+++ b/newlib/libm/machine/configure
@@ -3836,7 +3836,6 @@ fi
-
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
ac_given_INSTALL=$INSTALL
@@ -11603,7 +11602,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11606 "configure"
+#line 11605 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11709,7 +11708,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11712 "configure"
+#line 11711 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
diff --git a/newlib/libm/machine/i386/configure b/newlib/libm/machine/i386/configure
index 46cd5c6e7..9b027b16e 100755
--- a/newlib/libm/machine/i386/configure
+++ b/newlib/libm/machine/i386/configure
@@ -3821,7 +3821,6 @@ fi
-
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
ac_given_INSTALL=$INSTALL
@@ -11588,7 +11587,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11591 "configure"
+#line 11590 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11694,7 +11693,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11697 "configure"
+#line 11696 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
diff --git a/newlib/libm/machine/mips/configure b/newlib/libm/machine/mips/configure
index 28fbd24d6..13c29f8f6 100755
--- a/newlib/libm/machine/mips/configure
+++ b/newlib/libm/machine/mips/configure
@@ -3495,7 +3495,6 @@ fi
-
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
ac_given_INSTALL=$INSTALL
diff --git a/newlib/libm/machine/nds32/configure b/newlib/libm/machine/nds32/configure
index 212d97b6d..6b6848649 100644
--- a/newlib/libm/machine/nds32/configure
+++ b/newlib/libm/machine/nds32/configure
@@ -3518,7 +3518,6 @@ fi
-
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
ac_given_INSTALL=$INSTALL
diff --git a/newlib/libm/machine/powerpc/configure b/newlib/libm/machine/powerpc/configure
index 28fbd24d6..13c29f8f6 100755
--- a/newlib/libm/machine/powerpc/configure
+++ b/newlib/libm/machine/powerpc/configure
@@ -3495,7 +3495,6 @@ fi
-
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
ac_given_INSTALL=$INSTALL
diff --git a/newlib/libm/machine/pru/configure b/newlib/libm/machine/pru/configure
index 28fbd24d6..13c29f8f6 100755
--- a/newlib/libm/machine/pru/configure
+++ b/newlib/libm/machine/pru/configure
@@ -3495,7 +3495,6 @@ fi
-
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
ac_given_INSTALL=$INSTALL
diff --git a/newlib/libm/machine/riscv/configure b/newlib/libm/machine/riscv/configure
index 28fbd24d6..13c29f8f6 100755
--- a/newlib/libm/machine/riscv/configure
+++ b/newlib/libm/machine/riscv/configure
@@ -3495,7 +3495,6 @@ fi
-
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
ac_given_INSTALL=$INSTALL
diff --git a/newlib/libm/machine/sparc/configure b/newlib/libm/machine/sparc/configure
index 28fbd24d6..13c29f8f6 100755
--- a/newlib/libm/machine/sparc/configure
+++ b/newlib/libm/machine/sparc/configure
@@ -3495,7 +3495,6 @@ fi
-
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
ac_given_INSTALL=$INSTALL
diff --git a/newlib/libm/machine/spu/configure b/newlib/libm/machine/spu/configure
index 28fbd24d6..13c29f8f6 100644
--- a/newlib/libm/machine/spu/configure
+++ b/newlib/libm/machine/spu/configure
@@ -3495,7 +3495,6 @@ fi
-
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
ac_given_INSTALL=$INSTALL
diff --git a/newlib/libm/machine/x86_64/configure b/newlib/libm/machine/x86_64/configure
index 3925ceab4..8f11c4865 100755
--- a/newlib/libm/machine/x86_64/configure
+++ b/newlib/libm/machine/x86_64/configure
@@ -3821,7 +3821,6 @@ fi
-
# Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */
ac_given_INSTALL=$INSTALL
@@ -11588,7 +11587,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11591 "configure"
+#line 11590 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11694,7 +11693,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11697 "configure"
+#line 11696 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H