From: Mike Frysinger Date: Mon, 17 Jan 2022 18:14:06 +0000 (-0500) Subject: newlib: avoid duplicate awk checks X-Git-Tag: cygwin-3.4.0~715 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=6746e060432fe942f67e871d1bfb152077e73941;p=newlib-cygwin.git 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. --- diff --git a/newlib/acinclude.m4 b/newlib/acinclude.m4 index 912d4a3af..2500ba6df 100644 --- a/newlib/acinclude.m4 +++ b/newlib/acinclude.m4 @@ -192,7 +192,10 @@ AC_CHECK_TOOL(AR, ar) AC_CHECK_TOOL(RANLIB, ranlib, :) AC_CHECK_TOOL(READELF, readelf, :) -AC_PROG_INSTALL +dnl We need these programs, but so does Automake. Require the macros to avoid +dnl expanding them multiple times. +AC_REQUIRE([AC_PROG_INSTALL])dnl +AC_REQUIRE([AC_PROG_AWK])dnl # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ ac_given_INSTALL=$INSTALL diff --git a/newlib/configure b/newlib/configure index a8e8d4a8f..e303a2729 100755 --- a/newlib/configure +++ b/newlib/configure @@ -4204,7 +4204,6 @@ fi - # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ ac_given_INSTALL=$INSTALL @@ -4467,48 +4466,6 @@ esac -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AWK+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - if test "${use_libtool}" = "yes"; then case `pwd` in *\ * | *\ *) @@ -12013,7 +11970,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12016 "configure" +#line 11973 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12119,7 +12076,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12122 "configure" +#line 12079 "configure" #include "confdefs.h" #if HAVE_DLFCN_H 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 diff --git a/newlib/iconvdata/configure b/newlib/iconvdata/configure index 2a18d8fb9..dface8b5f 100755 --- a/newlib/iconvdata/configure +++ b/newlib/iconvdata/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/libc/configure b/newlib/libc/configure index e307d6907..38eaf7a65 100755 --- a/newlib/libc/configure +++ b/newlib/libc/configure @@ -3936,7 +3936,6 @@ fi - # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ ac_given_INSTALL=$INSTALL @@ -11712,7 +11711,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11715 "configure" +#line 11714 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11818,7 +11817,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11821 "configure" +#line 11820 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/newlib/libc/machine/a29k/configure b/newlib/libc/machine/a29k/configure index 28fbd24d6..13c29f8f6 100755 --- a/newlib/libc/machine/a29k/configure +++ b/newlib/libc/machine/a29k/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/libc/machine/aarch64/configure b/newlib/libc/machine/aarch64/configure index 546886594..5d0c448c9 100755 --- a/newlib/libc/machine/aarch64/configure +++ b/newlib/libc/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/libc/machine/amdgcn/configure b/newlib/libc/machine/amdgcn/configure index 28fbd24d6..13c29f8f6 100755 --- a/newlib/libc/machine/amdgcn/configure +++ b/newlib/libc/machine/amdgcn/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/libc/machine/arc/configure b/newlib/libc/machine/arc/configure index 28fbd24d6..13c29f8f6 100755 --- a/newlib/libc/machine/arc/configure +++ b/newlib/libc/machine/arc/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/libc/machine/arm/configure b/newlib/libc/machine/arm/configure index 7454ee3ed..7171314eb 100755 --- a/newlib/libc/machine/arm/configure +++ b/newlib/libc/machine/arm/configure @@ -3496,7 +3496,6 @@ fi - # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ ac_given_INSTALL=$INSTALL diff --git a/newlib/libc/machine/bfin/configure b/newlib/libc/machine/bfin/configure index 28fbd24d6..13c29f8f6 100755 --- a/newlib/libc/machine/bfin/configure +++ b/newlib/libc/machine/bfin/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/libc/machine/configure b/newlib/libc/machine/configure index d8004ded3..e8f880cdc 100755 --- a/newlib/libc/machine/configure +++ b/newlib/libc/machine/configure @@ -3883,7 +3883,6 @@ fi - # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ ac_given_INSTALL=$INSTALL @@ -11650,7 +11649,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11653 "configure" +#line 11652 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11756,7 +11755,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11759 "configure" +#line 11758 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/newlib/libc/machine/cr16/configure b/newlib/libc/machine/cr16/configure index 28fbd24d6..13c29f8f6 100644 --- a/newlib/libc/machine/cr16/configure +++ b/newlib/libc/machine/cr16/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/libc/machine/cris/configure b/newlib/libc/machine/cris/configure index abb2e3938..5a8e14a53 100755 --- a/newlib/libc/machine/cris/configure +++ b/newlib/libc/machine/cris/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/libc/machine/crx/configure b/newlib/libc/machine/crx/configure index 28fbd24d6..13c29f8f6 100755 --- a/newlib/libc/machine/crx/configure +++ b/newlib/libc/machine/crx/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/libc/machine/csky/configure b/newlib/libc/machine/csky/configure index 546886594..5d0c448c9 100755 --- a/newlib/libc/machine/csky/configure +++ b/newlib/libc/machine/csky/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/libc/machine/d10v/configure b/newlib/libc/machine/d10v/configure index 546886594..5d0c448c9 100755 --- a/newlib/libc/machine/d10v/configure +++ b/newlib/libc/machine/d10v/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/libc/machine/d30v/configure b/newlib/libc/machine/d30v/configure index 546886594..5d0c448c9 100755 --- a/newlib/libc/machine/d30v/configure +++ b/newlib/libc/machine/d30v/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/libc/machine/epiphany/configure b/newlib/libc/machine/epiphany/configure index 28fbd24d6..13c29f8f6 100755 --- a/newlib/libc/machine/epiphany/configure +++ b/newlib/libc/machine/epiphany/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/libc/machine/fr30/configure b/newlib/libc/machine/fr30/configure index 28fbd24d6..13c29f8f6 100755 --- a/newlib/libc/machine/fr30/configure +++ b/newlib/libc/machine/fr30/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/libc/machine/frv/configure b/newlib/libc/machine/frv/configure index 28fbd24d6..13c29f8f6 100755 --- a/newlib/libc/machine/frv/configure +++ b/newlib/libc/machine/frv/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/libc/machine/ft32/configure b/newlib/libc/machine/ft32/configure index 28fbd24d6..13c29f8f6 100755 --- a/newlib/libc/machine/ft32/configure +++ b/newlib/libc/machine/ft32/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/libc/machine/h8300/configure b/newlib/libc/machine/h8300/configure index 0ff97b80a..0c568b91f 100755 --- a/newlib/libc/machine/h8300/configure +++ b/newlib/libc/machine/h8300/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/libc/machine/h8500/configure b/newlib/libc/machine/h8500/configure index 7a9278cc0..f09d0af43 100755 --- a/newlib/libc/machine/h8500/configure +++ b/newlib/libc/machine/h8500/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/libc/machine/hppa/configure b/newlib/libc/machine/hppa/configure index 17a36e794..e6ca0e1c1 100755 --- a/newlib/libc/machine/hppa/configure +++ b/newlib/libc/machine/hppa/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/libc/machine/i386/configure b/newlib/libc/machine/i386/configure index 5244cda5a..3dae54eb0 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 diff --git a/newlib/libc/machine/i960/configure b/newlib/libc/machine/i960/configure index b185f750e..af4492a5b 100755 --- a/newlib/libc/machine/i960/configure +++ b/newlib/libc/machine/i960/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/libc/machine/iq2000/configure b/newlib/libc/machine/iq2000/configure index 28fbd24d6..13c29f8f6 100755 --- a/newlib/libc/machine/iq2000/configure +++ b/newlib/libc/machine/iq2000/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/libc/machine/lm32/configure b/newlib/libc/machine/lm32/configure index 546886594..5d0c448c9 100755 --- a/newlib/libc/machine/lm32/configure +++ b/newlib/libc/machine/lm32/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/libc/machine/m32c/configure b/newlib/libc/machine/m32c/configure index 546886594..5d0c448c9 100755 --- a/newlib/libc/machine/m32c/configure +++ b/newlib/libc/machine/m32c/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/libc/machine/m32r/configure b/newlib/libc/machine/m32r/configure index 546886594..5d0c448c9 100755 --- a/newlib/libc/machine/m32r/configure +++ b/newlib/libc/machine/m32r/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/libc/machine/m68hc11/configure b/newlib/libc/machine/m68hc11/configure index 546886594..5d0c448c9 100755 --- a/newlib/libc/machine/m68hc11/configure +++ b/newlib/libc/machine/m68hc11/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/libc/machine/m68k/configure b/newlib/libc/machine/m68k/configure index 546886594..5d0c448c9 100755 --- a/newlib/libc/machine/m68k/configure +++ b/newlib/libc/machine/m68k/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/libc/machine/m88k/configure b/newlib/libc/machine/m88k/configure index 546886594..5d0c448c9 100755 --- a/newlib/libc/machine/m88k/configure +++ b/newlib/libc/machine/m88k/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/libc/machine/mep/configure b/newlib/libc/machine/mep/configure index 28fbd24d6..13c29f8f6 100755 --- a/newlib/libc/machine/mep/configure +++ b/newlib/libc/machine/mep/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/libc/machine/microblaze/configure b/newlib/libc/machine/microblaze/configure index 101624d16..db20bd142 100644 --- a/newlib/libc/machine/microblaze/configure +++ b/newlib/libc/machine/microblaze/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/libc/machine/mips/configure b/newlib/libc/machine/mips/configure index 546886594..5d0c448c9 100755 --- a/newlib/libc/machine/mips/configure +++ b/newlib/libc/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/libc/machine/mn10200/configure b/newlib/libc/machine/mn10200/configure index 546886594..5d0c448c9 100755 --- a/newlib/libc/machine/mn10200/configure +++ b/newlib/libc/machine/mn10200/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/libc/machine/mn10300/configure b/newlib/libc/machine/mn10300/configure index 17a36e794..e6ca0e1c1 100755 --- a/newlib/libc/machine/mn10300/configure +++ b/newlib/libc/machine/mn10300/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/libc/machine/moxie/configure b/newlib/libc/machine/moxie/configure index 28fbd24d6..13c29f8f6 100644 --- a/newlib/libc/machine/moxie/configure +++ b/newlib/libc/machine/moxie/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/libc/machine/msp430/configure b/newlib/libc/machine/msp430/configure index 7d2a72a79..534d3465b 100755 --- a/newlib/libc/machine/msp430/configure +++ b/newlib/libc/machine/msp430/configure @@ -3519,7 +3519,6 @@ fi - # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ ac_given_INSTALL=$INSTALL diff --git a/newlib/libc/machine/mt/configure b/newlib/libc/machine/mt/configure index 28fbd24d6..13c29f8f6 100755 --- a/newlib/libc/machine/mt/configure +++ b/newlib/libc/machine/mt/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/libc/machine/nds32/configure b/newlib/libc/machine/nds32/configure index 1e841f51c..bc2e8b669 100755 --- a/newlib/libc/machine/nds32/configure +++ b/newlib/libc/machine/nds32/configure @@ -3516,7 +3516,6 @@ fi - # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ ac_given_INSTALL=$INSTALL diff --git a/newlib/libc/machine/necv70/configure b/newlib/libc/machine/necv70/configure index 4907fc52e..d8c6885fc 100755 --- a/newlib/libc/machine/necv70/configure +++ b/newlib/libc/machine/necv70/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/libc/machine/nios2/configure b/newlib/libc/machine/nios2/configure index 0e15010a3..f8ff0ca27 100755 --- a/newlib/libc/machine/nios2/configure +++ b/newlib/libc/machine/nios2/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/libc/machine/nvptx/configure b/newlib/libc/machine/nvptx/configure index 28fbd24d6..13c29f8f6 100644 --- a/newlib/libc/machine/nvptx/configure +++ b/newlib/libc/machine/nvptx/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/libc/machine/or1k/configure b/newlib/libc/machine/or1k/configure index 28fbd24d6..13c29f8f6 100755 --- a/newlib/libc/machine/or1k/configure +++ b/newlib/libc/machine/or1k/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/libc/machine/powerpc/configure b/newlib/libc/machine/powerpc/configure index 22d74482a..fd03ac1d6 100755 --- a/newlib/libc/machine/powerpc/configure +++ b/newlib/libc/machine/powerpc/configure @@ -3496,7 +3496,6 @@ fi - # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ ac_given_INSTALL=$INSTALL diff --git a/newlib/libc/machine/pru/configure b/newlib/libc/machine/pru/configure index 0e15010a3..f8ff0ca27 100755 --- a/newlib/libc/machine/pru/configure +++ b/newlib/libc/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/libc/machine/riscv/configure b/newlib/libc/machine/riscv/configure index 073829881..b2836ec88 100755 --- a/newlib/libc/machine/riscv/configure +++ b/newlib/libc/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/libc/machine/rl78/configure b/newlib/libc/machine/rl78/configure index 546886594..5d0c448c9 100755 --- a/newlib/libc/machine/rl78/configure +++ b/newlib/libc/machine/rl78/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/libc/machine/rx/configure b/newlib/libc/machine/rx/configure index 28fbd24d6..13c29f8f6 100755 --- a/newlib/libc/machine/rx/configure +++ b/newlib/libc/machine/rx/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/libc/machine/sh/configure b/newlib/libc/machine/sh/configure index 21278d6c8..4032db522 100755 --- a/newlib/libc/machine/sh/configure +++ b/newlib/libc/machine/sh/configure @@ -3561,7 +3561,6 @@ fi - # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ ac_given_INSTALL=$INSTALL diff --git a/newlib/libc/machine/sparc/configure b/newlib/libc/machine/sparc/configure index 07df1caa4..6249e9675 100755 --- a/newlib/libc/machine/sparc/configure +++ b/newlib/libc/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/libc/machine/spu/configure b/newlib/libc/machine/spu/configure index 71e61173f..166149153 100644 --- a/newlib/libc/machine/spu/configure +++ b/newlib/libc/machine/spu/configure @@ -3497,7 +3497,6 @@ fi - # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ ac_given_INSTALL=$INSTALL diff --git a/newlib/libc/machine/tic4x/configure b/newlib/libc/machine/tic4x/configure index 546886594..5d0c448c9 100755 --- a/newlib/libc/machine/tic4x/configure +++ b/newlib/libc/machine/tic4x/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/libc/machine/tic6x/configure b/newlib/libc/machine/tic6x/configure index 546886594..5d0c448c9 100755 --- a/newlib/libc/machine/tic6x/configure +++ b/newlib/libc/machine/tic6x/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/libc/machine/tic80/configure b/newlib/libc/machine/tic80/configure index 546886594..5d0c448c9 100755 --- a/newlib/libc/machine/tic80/configure +++ b/newlib/libc/machine/tic80/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/libc/machine/v850/configure b/newlib/libc/machine/v850/configure index 546886594..5d0c448c9 100755 --- a/newlib/libc/machine/v850/configure +++ b/newlib/libc/machine/v850/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/libc/machine/visium/configure b/newlib/libc/machine/visium/configure index 28fbd24d6..13c29f8f6 100755 --- a/newlib/libc/machine/visium/configure +++ b/newlib/libc/machine/visium/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/libc/machine/w65/configure b/newlib/libc/machine/w65/configure index 7a9278cc0..f09d0af43 100755 --- a/newlib/libc/machine/w65/configure +++ b/newlib/libc/machine/w65/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/libc/machine/x86_64/configure b/newlib/libc/machine/x86_64/configure index 28fbd24d6..13c29f8f6 100755 --- a/newlib/libc/machine/x86_64/configure +++ b/newlib/libc/machine/x86_64/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/libc/machine/xc16x/configure b/newlib/libc/machine/xc16x/configure index 546886594..5d0c448c9 100644 --- a/newlib/libc/machine/xc16x/configure +++ b/newlib/libc/machine/xc16x/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/libc/machine/xscale/configure b/newlib/libc/machine/xscale/configure index 28fbd24d6..13c29f8f6 100755 --- a/newlib/libc/machine/xscale/configure +++ b/newlib/libc/machine/xscale/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/libc/machine/xstormy16/configure b/newlib/libc/machine/xstormy16/configure index 546886594..5d0c448c9 100755 --- a/newlib/libc/machine/xstormy16/configure +++ b/newlib/libc/machine/xstormy16/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/libc/machine/z8k/configure b/newlib/libc/machine/z8k/configure index f4d0a3a5d..972dadbef 100755 --- a/newlib/libc/machine/z8k/configure +++ b/newlib/libc/machine/z8k/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/libc/sys/a29khif/configure b/newlib/libc/sys/a29khif/configure index 05583d518..bba62c7fc 100755 --- a/newlib/libc/sys/a29khif/configure +++ b/newlib/libc/sys/a29khif/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/libc/sys/amdgcn/configure b/newlib/libc/sys/amdgcn/configure index 3e0203f0f..d57c5236a 100755 --- a/newlib/libc/sys/amdgcn/configure +++ b/newlib/libc/sys/amdgcn/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/libc/sys/arm/configure b/newlib/libc/sys/arm/configure index 99648d690..98be9f725 100755 --- a/newlib/libc/sys/arm/configure +++ b/newlib/libc/sys/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/libc/sys/configure b/newlib/libc/sys/configure index d8a827649..146a61b2a 100755 --- a/newlib/libc/sys/configure +++ b/newlib/libc/sys/configure @@ -3853,7 +3853,6 @@ fi - # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ ac_given_INSTALL=$INSTALL @@ -11620,7 +11619,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11623 "configure" +#line 11622 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11726,7 +11725,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11729 "configure" +#line 11728 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/d10v/configure b/newlib/libc/sys/d10v/configure index b11920de7..d813984bd 100755 --- a/newlib/libc/sys/d10v/configure +++ b/newlib/libc/sys/d10v/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/libc/sys/decstation/configure b/newlib/libc/sys/decstation/configure index 203ebc0f1..d952c6102 100755 --- a/newlib/libc/sys/decstation/configure +++ b/newlib/libc/sys/decstation/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/libc/sys/epiphany/configure b/newlib/libc/sys/epiphany/configure index d4c9c12eb..a2b7e2994 100755 --- a/newlib/libc/sys/epiphany/configure +++ b/newlib/libc/sys/epiphany/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/libc/sys/h8300hms/configure b/newlib/libc/sys/h8300hms/configure index 3509ca9d6..0abba0019 100755 --- a/newlib/libc/sys/h8300hms/configure +++ b/newlib/libc/sys/h8300hms/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/libc/sys/h8500hms/configure b/newlib/libc/sys/h8500hms/configure index 29fe747a1..0e4b2116a 100755 --- a/newlib/libc/sys/h8500hms/configure +++ b/newlib/libc/sys/h8500hms/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/libc/sys/linux/configure b/newlib/libc/sys/linux/configure index 2560cd1f9..4358c90bf 100755 --- a/newlib/libc/sys/linux/configure +++ b/newlib/libc/sys/linux/configure @@ -3827,7 +3827,6 @@ fi - # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ ac_given_INSTALL=$INSTALL @@ -4090,48 +4089,6 @@ esac -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AWK+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - if test "${use_libtool}" = "yes"; then case `pwd` in *\ * | *\ *) @@ -11636,7 +11593,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11639 "configure" +#line 11596 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11742,7 +11699,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11745 "configure" +#line 11702 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/configure.ac b/newlib/libc/sys/linux/configure.ac index a06e3ec81..7199176d4 100644 --- a/newlib/libc/sys/linux/configure.ac +++ b/newlib/libc/sys/linux/configure.ac @@ -14,7 +14,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 diff --git a/newlib/libc/sys/linux/linuxthreads/configure b/newlib/libc/sys/linux/linuxthreads/configure index bf300908b..a46769040 100755 --- a/newlib/libc/sys/linux/linuxthreads/configure +++ b/newlib/libc/sys/linux/linuxthreads/configure @@ -3825,7 +3825,6 @@ fi - # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ ac_given_INSTALL=$INSTALL @@ -4088,48 +4087,6 @@ esac -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AWK+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - if test "${use_libtool}" = "yes"; then case `pwd` in *\ * | *\ *) @@ -11634,7 +11591,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11637 "configure" +#line 11594 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11740,7 +11697,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11743 "configure" +#line 11700 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/linuxthreads/configure.ac b/newlib/libc/sys/linux/linuxthreads/configure.ac index bed8de1a4..b2044e756 100644 --- a/newlib/libc/sys/linux/linuxthreads/configure.ac +++ b/newlib/libc/sys/linux/linuxthreads/configure.ac @@ -14,7 +14,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 diff --git a/newlib/libc/sys/linux/linuxthreads/machine/configure b/newlib/libc/sys/linux/linuxthreads/machine/configure index 0a722e67d..3fdb55c10 100755 --- a/newlib/libc/sys/linux/linuxthreads/machine/configure +++ b/newlib/libc/sys/linux/linuxthreads/machine/configure @@ -3825,7 +3825,6 @@ fi - # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ ac_given_INSTALL=$INSTALL @@ -11592,7 +11591,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11595 "configure" +#line 11594 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11698,7 +11697,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11701 "configure" +#line 11700 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/linuxthreads/machine/i386/configure b/newlib/libc/sys/linux/linuxthreads/machine/i386/configure index f18191a3a..1688f88f7 100755 --- a/newlib/libc/sys/linux/linuxthreads/machine/i386/configure +++ b/newlib/libc/sys/linux/linuxthreads/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 @@ -4084,48 +4083,6 @@ esac -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AWK+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - if test "${use_libtool}" = "yes"; then case `pwd` in *\ * | *\ *) @@ -11630,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 11633 "configure" +#line 11590 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11736,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 11739 "configure" +#line 11696 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/linuxthreads/machine/i386/configure.ac b/newlib/libc/sys/linux/linuxthreads/machine/i386/configure.ac index 2c836195a..7b3be0df5 100644 --- a/newlib/libc/sys/linux/linuxthreads/machine/i386/configure.ac +++ b/newlib/libc/sys/linux/linuxthreads/machine/i386/configure.ac @@ -14,7 +14,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 diff --git a/newlib/libc/sys/linux/machine/configure b/newlib/libc/sys/linux/machine/configure index 6168fdded..6bd64856f 100755 --- a/newlib/libc/sys/linux/machine/configure +++ b/newlib/libc/sys/linux/machine/configure @@ -3826,7 +3826,6 @@ fi - # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ ac_given_INSTALL=$INSTALL @@ -11593,7 +11592,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11596 "configure" +#line 11595 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11699,7 +11698,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11702 "configure" +#line 11701 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/machine/i386/configure b/newlib/libc/sys/linux/machine/i386/configure index 65aa55243..f5f6f0b75 100755 --- a/newlib/libc/sys/linux/machine/i386/configure +++ b/newlib/libc/sys/linux/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 @@ -4084,48 +4083,6 @@ esac -for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AWK+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - if test "${use_libtool}" = "yes"; then case `pwd` in *\ * | *\ *) @@ -11630,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 11633 "configure" +#line 11590 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11736,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 11739 "configure" +#line 11696 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/machine/i386/configure.ac b/newlib/libc/sys/linux/machine/i386/configure.ac index 5550a37e3..3c843cd16 100644 --- a/newlib/libc/sys/linux/machine/i386/configure.ac +++ b/newlib/libc/sys/linux/machine/i386/configure.ac @@ -14,7 +14,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 diff --git a/newlib/libc/sys/m88kbug/configure b/newlib/libc/sys/m88kbug/configure index 446b7b0e3..6e87d11c5 100755 --- a/newlib/libc/sys/m88kbug/configure +++ b/newlib/libc/sys/m88kbug/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/libc/sys/mmixware/configure b/newlib/libc/sys/mmixware/configure index 9893cf4c3..04afb0795 100755 --- a/newlib/libc/sys/mmixware/configure +++ b/newlib/libc/sys/mmixware/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/libc/sys/netware/configure b/newlib/libc/sys/netware/configure index 2e71919ac..ab67624c6 100755 --- a/newlib/libc/sys/netware/configure +++ b/newlib/libc/sys/netware/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/libc/sys/or1k/configure b/newlib/libc/sys/or1k/configure index fe8a2b9ff..9749a3683 100755 --- a/newlib/libc/sys/or1k/configure +++ b/newlib/libc/sys/or1k/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/libc/sys/phoenix/configure b/newlib/libc/sys/phoenix/configure index 725935f3d..eedb10d84 100644 --- a/newlib/libc/sys/phoenix/configure +++ b/newlib/libc/sys/phoenix/configure @@ -3498,7 +3498,6 @@ fi - # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ ac_given_INSTALL=$INSTALL diff --git a/newlib/libc/sys/phoenix/machine/arm/configure b/newlib/libc/sys/phoenix/machine/arm/configure index 6a827c477..c7a429645 100644 --- a/newlib/libc/sys/phoenix/machine/arm/configure +++ b/newlib/libc/sys/phoenix/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/libc/sys/phoenix/machine/configure b/newlib/libc/sys/phoenix/machine/configure index 91effa9db..ec3a35c95 100644 --- a/newlib/libc/sys/phoenix/machine/configure +++ b/newlib/libc/sys/phoenix/machine/configure @@ -3503,7 +3503,6 @@ fi - # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13. */ ac_given_INSTALL=$INSTALL diff --git a/newlib/libc/sys/rdos/configure b/newlib/libc/sys/rdos/configure index 3e0203f0f..d57c5236a 100755 --- a/newlib/libc/sys/rdos/configure +++ b/newlib/libc/sys/rdos/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/libc/sys/rtems/configure b/newlib/libc/sys/rtems/configure index 19b33e329..758cb12c6 100755 --- a/newlib/libc/sys/rtems/configure +++ b/newlib/libc/sys/rtems/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/libc/sys/sh/configure b/newlib/libc/sys/sh/configure index b11920de7..d813984bd 100755 --- a/newlib/libc/sys/sh/configure +++ b/newlib/libc/sys/sh/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/libc/sys/sparc64/configure b/newlib/libc/sys/sparc64/configure index 0f4712a5a..80aaf1d79 100755 --- a/newlib/libc/sys/sparc64/configure +++ b/newlib/libc/sys/sparc64/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/libc/sys/sun4/configure b/newlib/libc/sys/sun4/configure index 1f25cd42e..7aee2a417 100755 --- a/newlib/libc/sys/sun4/configure +++ b/newlib/libc/sys/sun4/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/libc/sys/sysmec/configure b/newlib/libc/sys/sysmec/configure index 3509ca9d6..0abba0019 100755 --- a/newlib/libc/sys/sysmec/configure +++ b/newlib/libc/sys/sysmec/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/libc/sys/sysnec810/configure b/newlib/libc/sys/sysnec810/configure index a960373a3..369e1397d 100755 --- a/newlib/libc/sys/sysnec810/configure +++ b/newlib/libc/sys/sysnec810/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/libc/sys/sysnecv850/configure b/newlib/libc/sys/sysnecv850/configure index 3509ca9d6..0abba0019 100755 --- a/newlib/libc/sys/sysnecv850/configure +++ b/newlib/libc/sys/sysnecv850/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/libc/sys/sysvi386/configure b/newlib/libc/sys/sysvi386/configure index caa270640..3cc06263d 100755 --- a/newlib/libc/sys/sysvi386/configure +++ b/newlib/libc/sys/sysvi386/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/libc/sys/sysvnecv70/configure b/newlib/libc/sys/sysvnecv70/configure index f9ad4eb5b..ee627394a 100755 --- a/newlib/libc/sys/sysvnecv70/configure +++ b/newlib/libc/sys/sysvnecv70/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/libc/sys/tic80/configure b/newlib/libc/sys/tic80/configure index 9893cf4c3..04afb0795 100755 --- a/newlib/libc/sys/tic80/configure +++ b/newlib/libc/sys/tic80/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/libc/sys/tirtos/configure b/newlib/libc/sys/tirtos/configure index e8a52abd3..c7d97ecd4 100755 --- a/newlib/libc/sys/tirtos/configure +++ b/newlib/libc/sys/tirtos/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/libc/sys/w65/configure b/newlib/libc/sys/w65/configure index fbcd0bde9..6c763a4c3 100755 --- a/newlib/libc/sys/w65/configure +++ b/newlib/libc/sys/w65/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/libc/sys/z8ksim/configure b/newlib/libc/sys/z8ksim/configure index e9ce40dee..b448c31b3 100755 --- a/newlib/libc/sys/z8ksim/configure +++ b/newlib/libc/sys/z8ksim/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/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