From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id CCC703858D28; Wed, 9 Feb 2022 03:19:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CCC703858D28 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] newlib: drop cygnus EXEEXT hack X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: e7ad3f5aa88d262d86beda22ebb8a9202f776a26 X-Git-Newrev: b63a4bb49ac3b3f64407d5572755ec8978971439 Message-Id: <20220209031912.CCC703858D28@sourceware.org> Date: Wed, 9 Feb 2022 03:19:12 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2022 03:19:12 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3Db63a4bb49ac= 3b3f64407d5572755ec8978971439 commit b63a4bb49ac3b3f64407d5572755ec8978971439 Author: Mike Frysinger Date: Sat Feb 5 02:19:42 2022 -0500 newlib: drop cygnus EXEEXT hack =20 Now that we rely on AC_NO_EXECUTABLES to disable link tests, we don't need this hack to disable exeext probing. Diff: --- newlib/acinclude.m4 | 12 ------------ newlib/configure | 16 ++----------= ---- newlib/libc/configure | 16 ++----------= ---- newlib/libc/sys/linux/configure | 16 ++----------= ---- newlib/libc/sys/linux/linuxthreads/configure | 16 ++----------= ---- newlib/libc/sys/linux/linuxthreads/machine/configure | 16 ++----------= ---- .../libc/sys/linux/linuxthreads/machine/i386/configure | 16 ++----------= ---- newlib/libc/sys/linux/machine/configure | 16 ++----------= ---- newlib/libc/sys/linux/machine/i386/configure | 16 ++----------= ---- newlib/libc/sys/phoenix/configure | 12 ------------ newlib/libc/sys/phoenix/machine/arm/configure | 12 ------------ newlib/libc/sys/phoenix/machine/configure | 12 ------------ newlib/libm/configure | 16 ++----------= ---- 13 files changed, 18 insertions(+), 174 deletions(-) diff --git a/newlib/acinclude.m4 b/newlib/acinclude.m4 index ba42378c9..946696d14 100644 --- a/newlib/acinclude.m4 +++ b/newlib/acinclude.m4 @@ -137,18 +137,6 @@ ac_given_INSTALL=3D$INSTALL =20 AM_MAINTAINER_MODE =20 -# We need AC_EXEEXT to keep automake happy in cygnus mode. However, -# at least currently, we never actually build a program, so we never -# need to use $(EXEEXT). Moreover, the test for EXEEXT normally -# fails, because we are probably configuring with a cross compiler -# which can't create executables. So we include AC_EXEEXT to keep -# automake happy, but we don't execute it, since we don't care about -# the result. -if false; then - AC_EXEEXT - dummy_var=3D1 -fi - . [$]{newlib_basedir}/configure.host =20 NEWLIB_CFLAGS=3D${newlib_cflags} diff --git a/newlib/configure b/newlib/configure index 9a440e4ca..1c493d264 100755 --- a/newlib/configure +++ b/newlib/configure @@ -4899,18 +4899,6 @@ fi =20 =20 =20 -# We need AC_EXEEXT to keep automake happy in cygnus mode. However, -# at least currently, we never actually build a program, so we never -# need to use $(EXEEXT). Moreover, the test for EXEEXT normally -# fails, because we are probably configuring with a cross compiler -# which can't create executables. So we include AC_EXEEXT to keep -# automake happy, but we don't execute it, since we don't care about -# the result. -if false; then - - dummy_var=3D1 -fi - . ${newlib_basedir}/configure.host =20 NEWLIB_CFLAGS=3D${newlib_cflags} @@ -11675,7 +11663,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11678 "configure" +#line 11666 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11781,7 +11769,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11784 "configure" +#line 11772 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H diff --git a/newlib/libc/configure b/newlib/libc/configure index 232eb4a74..80cf80af8 100755 --- a/newlib/libc/configure +++ b/newlib/libc/configure @@ -4594,18 +4594,6 @@ fi =20 =20 =20 -# We need AC_EXEEXT to keep automake happy in cygnus mode. However, -# at least currently, we never actually build a program, so we never -# need to use $(EXEEXT). Moreover, the test for EXEEXT normally -# fails, because we are probably configuring with a cross compiler -# which can't create executables. So we include AC_EXEEXT to keep -# automake happy, but we don't execute it, since we don't care about -# the result. -if false; then - - dummy_var=3D1 -fi - . ${newlib_basedir}/configure.host =20 NEWLIB_CFLAGS=3D${newlib_cflags} @@ -11379,7 +11367,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11382 "configure" +#line 11370 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11485,7 +11473,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11488 "configure" +#line 11476 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/configure b/newlib/libc/sys/linux/config= ure index 3f8fe6b34..18ab62a9d 100755 --- a/newlib/libc/sys/linux/configure +++ b/newlib/libc/sys/linux/configure @@ -4474,18 +4474,6 @@ fi =20 =20 =20 -# We need AC_EXEEXT to keep automake happy in cygnus mode. However, -# at least currently, we never actually build a program, so we never -# need to use $(EXEEXT). Moreover, the test for EXEEXT normally -# fails, because we are probably configuring with a cross compiler -# which can't create executables. So we include AC_EXEEXT to keep -# automake happy, but we don't execute it, since we don't care about -# the result. -if false; then - - dummy_var=3D1 -fi - . ${newlib_basedir}/configure.host =20 NEWLIB_CFLAGS=3D${newlib_cflags} @@ -11250,7 +11238,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11253 "configure" +#line 11241 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11356,7 +11344,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11359 "configure" +#line 11347 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/linuxthreads/configure b/newlib/libc/sys= /linux/linuxthreads/configure index 7e6f508d7..b0e5d4dc1 100755 --- a/newlib/libc/sys/linux/linuxthreads/configure +++ b/newlib/libc/sys/linux/linuxthreads/configure @@ -4472,18 +4472,6 @@ fi =20 =20 =20 -# We need AC_EXEEXT to keep automake happy in cygnus mode. However, -# at least currently, we never actually build a program, so we never -# need to use $(EXEEXT). Moreover, the test for EXEEXT normally -# fails, because we are probably configuring with a cross compiler -# which can't create executables. So we include AC_EXEEXT to keep -# automake happy, but we don't execute it, since we don't care about -# the result. -if false; then - - dummy_var=3D1 -fi - . ${newlib_basedir}/configure.host =20 NEWLIB_CFLAGS=3D${newlib_cflags} @@ -11248,7 +11236,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11251 "configure" +#line 11239 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11354,7 +11342,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11357 "configure" +#line 11345 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/linuxthreads/machine/configure b/newlib/= libc/sys/linux/linuxthreads/machine/configure index 54cadc4d4..6b42e0bba 100755 --- a/newlib/libc/sys/linux/linuxthreads/machine/configure +++ b/newlib/libc/sys/linux/linuxthreads/machine/configure @@ -4472,18 +4472,6 @@ fi =20 =20 =20 -# We need AC_EXEEXT to keep automake happy in cygnus mode. However, -# at least currently, we never actually build a program, so we never -# need to use $(EXEEXT). Moreover, the test for EXEEXT normally -# fails, because we are probably configuring with a cross compiler -# which can't create executables. So we include AC_EXEEXT to keep -# automake happy, but we don't execute it, since we don't care about -# the result. -if false; then - - dummy_var=3D1 -fi - . ${newlib_basedir}/configure.host =20 NEWLIB_CFLAGS=3D${newlib_cflags} @@ -11248,7 +11236,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11251 "configure" +#line 11239 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11354,7 +11342,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11357 "configure" +#line 11345 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/linuxthreads/machine/i386/configure b/ne= wlib/libc/sys/linux/linuxthreads/machine/i386/configure index d9e821d77..b18de3636 100755 --- a/newlib/libc/sys/linux/linuxthreads/machine/i386/configure +++ b/newlib/libc/sys/linux/linuxthreads/machine/i386/configure @@ -4468,18 +4468,6 @@ fi =20 =20 =20 -# We need AC_EXEEXT to keep automake happy in cygnus mode. However, -# at least currently, we never actually build a program, so we never -# need to use $(EXEEXT). Moreover, the test for EXEEXT normally -# fails, because we are probably configuring with a cross compiler -# which can't create executables. So we include AC_EXEEXT to keep -# automake happy, but we don't execute it, since we don't care about -# the result. -if false; then - - dummy_var=3D1 -fi - . ${newlib_basedir}/configure.host =20 NEWLIB_CFLAGS=3D${newlib_cflags} @@ -11244,7 +11232,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11247 "configure" +#line 11235 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11350,7 +11338,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11353 "configure" +#line 11341 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/machine/configure b/newlib/libc/sys/linu= x/machine/configure index fe8fd1297..ac0af470b 100755 --- a/newlib/libc/sys/linux/machine/configure +++ b/newlib/libc/sys/linux/machine/configure @@ -4473,18 +4473,6 @@ fi =20 =20 =20 -# We need AC_EXEEXT to keep automake happy in cygnus mode. However, -# at least currently, we never actually build a program, so we never -# need to use $(EXEEXT). Moreover, the test for EXEEXT normally -# fails, because we are probably configuring with a cross compiler -# which can't create executables. So we include AC_EXEEXT to keep -# automake happy, but we don't execute it, since we don't care about -# the result. -if false; then - - dummy_var=3D1 -fi - . ${newlib_basedir}/configure.host =20 NEWLIB_CFLAGS=3D${newlib_cflags} @@ -11249,7 +11237,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11252 "configure" +#line 11240 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11355,7 +11343,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11358 "configure" +#line 11346 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/machine/i386/configure b/newlib/libc/sys= /linux/machine/i386/configure index 4eef44f3a..f7e54a73f 100755 --- a/newlib/libc/sys/linux/machine/i386/configure +++ b/newlib/libc/sys/linux/machine/i386/configure @@ -4468,18 +4468,6 @@ fi =20 =20 =20 -# We need AC_EXEEXT to keep automake happy in cygnus mode. However, -# at least currently, we never actually build a program, so we never -# need to use $(EXEEXT). Moreover, the test for EXEEXT normally -# fails, because we are probably configuring with a cross compiler -# which can't create executables. So we include AC_EXEEXT to keep -# automake happy, but we don't execute it, since we don't care about -# the result. -if false; then - - dummy_var=3D1 -fi - . ${newlib_basedir}/configure.host =20 NEWLIB_CFLAGS=3D${newlib_cflags} @@ -11244,7 +11232,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11247 "configure" +#line 11235 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11350,7 +11338,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11353 "configure" +#line 11341 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/phoenix/configure b/newlib/libc/sys/phoenix/co= nfigure index c22057b07..fcb1af54b 100644 --- a/newlib/libc/sys/phoenix/configure +++ b/newlib/libc/sys/phoenix/configure @@ -4199,18 +4199,6 @@ fi =20 =20 =20 -# We need AC_EXEEXT to keep automake happy in cygnus mode. However, -# at least currently, we never actually build a program, so we never -# need to use $(EXEEXT). Moreover, the test for EXEEXT normally -# fails, because we are probably configuring with a cross compiler -# which can't create executables. So we include AC_EXEEXT to keep -# automake happy, but we don't execute it, since we don't care about -# the result. -if false; then - - dummy_var=3D1 -fi - . ${newlib_basedir}/configure.host =20 NEWLIB_CFLAGS=3D${newlib_cflags} diff --git a/newlib/libc/sys/phoenix/machine/arm/configure b/newlib/libc/sy= s/phoenix/machine/arm/configure index 7347be23c..23f199203 100644 --- a/newlib/libc/sys/phoenix/machine/arm/configure +++ b/newlib/libc/sys/phoenix/machine/arm/configure @@ -4196,18 +4196,6 @@ fi =20 =20 =20 -# We need AC_EXEEXT to keep automake happy in cygnus mode. However, -# at least currently, we never actually build a program, so we never -# need to use $(EXEEXT). Moreover, the test for EXEEXT normally -# fails, because we are probably configuring with a cross compiler -# which can't create executables. So we include AC_EXEEXT to keep -# automake happy, but we don't execute it, since we don't care about -# the result. -if false; then - - dummy_var=3D1 -fi - . ${newlib_basedir}/configure.host =20 NEWLIB_CFLAGS=3D${newlib_cflags} diff --git a/newlib/libc/sys/phoenix/machine/configure b/newlib/libc/sys/ph= oenix/machine/configure index c8555b0ef..0ca599493 100644 --- a/newlib/libc/sys/phoenix/machine/configure +++ b/newlib/libc/sys/phoenix/machine/configure @@ -4204,18 +4204,6 @@ fi =20 =20 =20 -# We need AC_EXEEXT to keep automake happy in cygnus mode. However, -# at least currently, we never actually build a program, so we never -# need to use $(EXEEXT). Moreover, the test for EXEEXT normally -# fails, because we are probably configuring with a cross compiler -# which can't create executables. So we include AC_EXEEXT to keep -# automake happy, but we don't execute it, since we don't care about -# the result. -if false; then - - dummy_var=3D1 -fi - . ${newlib_basedir}/configure.host =20 NEWLIB_CFLAGS=3D${newlib_cflags} diff --git a/newlib/libm/configure b/newlib/libm/configure index 0c9c6def2..3542c9fc5 100755 --- a/newlib/libm/configure +++ b/newlib/libm/configure @@ -4502,18 +4502,6 @@ fi =20 =20 =20 -# We need AC_EXEEXT to keep automake happy in cygnus mode. However, -# at least currently, we never actually build a program, so we never -# need to use $(EXEEXT). Moreover, the test for EXEEXT normally -# fails, because we are probably configuring with a cross compiler -# which can't create executables. So we include AC_EXEEXT to keep -# automake happy, but we don't execute it, since we don't care about -# the result. -if false; then - - dummy_var=3D1 -fi - . ${newlib_basedir}/configure.host =20 NEWLIB_CFLAGS=3D${newlib_cflags} @@ -11278,7 +11266,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11281 "configure" +#line 11269 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -11384,7 +11372,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11387 "configure" +#line 11375 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H