From 6746e060432fe942f67e871d1bfb152077e73941 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 17 Jan 2022 13:14:06 -0500 Subject: 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. --- newlib/libc/machine/i386/configure | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'newlib/libc/machine/i386') diff --git a/newlib/libc/machine/i386/configure b/newlib/libc/machine/i386/configure index 5244cda..3dae54e 100755 --- a/newlib/libc/machine/i386/configure +++ b/newlib/libc/machine/i386/configure @@ -3823,7 +3823,6 @@ fi - # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ ac_given_INSTALL=$INSTALL @@ -11590,7 +11589,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11593 "configure" +#line 11592 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11696,7 +11695,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11699 "configure" +#line 11698 "configure" #include "confdefs.h" #if HAVE_DLFCN_H -- cgit v1.1