public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Michael Frysinger <vapier@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] newlib: drop cygnus EXEEXT hack Date: Wed, 9 Feb 2022 03:19:12 +0000 (GMT) [thread overview] Message-ID: <20220209031912.CCC703858D28@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b63a4bb49ac3b3f64407d5572755ec8978971439 commit b63a4bb49ac3b3f64407d5572755ec8978971439 Author: Mike Frysinger <vapier@gentoo.org> Date: Sat Feb 5 02:19:42 2022 -0500 newlib: drop cygnus EXEEXT hack 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=$INSTALL AM_MAINTAINER_MODE -# 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=1 -fi - . [$]{newlib_basedir}/configure.host NEWLIB_CFLAGS=${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 -# 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=1 -fi - . ${newlib_basedir}/configure.host NEWLIB_CFLAGS=${newlib_cflags} @@ -11675,7 +11663,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11678 "configure" +#line 11666 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11781,7 +11769,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11784 "configure" +#line 11772 "configure" #include "confdefs.h" #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 -# 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=1 -fi - . ${newlib_basedir}/configure.host NEWLIB_CFLAGS=${newlib_cflags} @@ -11379,7 +11367,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11382 "configure" +#line 11370 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11485,7 +11473,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11488 "configure" +#line 11476 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/configure b/newlib/libc/sys/linux/configure index 3f8fe6b34..18ab62a9d 100755 --- a/newlib/libc/sys/linux/configure +++ b/newlib/libc/sys/linux/configure @@ -4474,18 +4474,6 @@ fi -# 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=1 -fi - . ${newlib_basedir}/configure.host NEWLIB_CFLAGS=${newlib_cflags} @@ -11250,7 +11238,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11253 "configure" +#line 11241 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11356,7 +11344,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11359 "configure" +#line 11347 "configure" #include "confdefs.h" #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 -# 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=1 -fi - . ${newlib_basedir}/configure.host NEWLIB_CFLAGS=${newlib_cflags} @@ -11248,7 +11236,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11251 "configure" +#line 11239 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11354,7 +11342,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11357 "configure" +#line 11345 "configure" #include "confdefs.h" #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 -# 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=1 -fi - . ${newlib_basedir}/configure.host NEWLIB_CFLAGS=${newlib_cflags} @@ -11248,7 +11236,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11251 "configure" +#line 11239 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11354,7 +11342,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11357 "configure" +#line 11345 "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 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 -# 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=1 -fi - . ${newlib_basedir}/configure.host NEWLIB_CFLAGS=${newlib_cflags} @@ -11244,7 +11232,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11247 "configure" +#line 11235 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11350,7 +11338,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11353 "configure" +#line 11341 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/linux/machine/configure b/newlib/libc/sys/linux/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 -# 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=1 -fi - . ${newlib_basedir}/configure.host NEWLIB_CFLAGS=${newlib_cflags} @@ -11249,7 +11237,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11252 "configure" +#line 11240 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11355,7 +11343,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11358 "configure" +#line 11346 "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 4eef44f3a..f7e54a73f 100755 --- a/newlib/libc/sys/linux/machine/i386/configure +++ b/newlib/libc/sys/linux/machine/i386/configure @@ -4468,18 +4468,6 @@ fi -# 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=1 -fi - . ${newlib_basedir}/configure.host NEWLIB_CFLAGS=${newlib_cflags} @@ -11244,7 +11232,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11247 "configure" +#line 11235 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11350,7 +11338,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11353 "configure" +#line 11341 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/newlib/libc/sys/phoenix/configure b/newlib/libc/sys/phoenix/configure index c22057b07..fcb1af54b 100644 --- a/newlib/libc/sys/phoenix/configure +++ b/newlib/libc/sys/phoenix/configure @@ -4199,18 +4199,6 @@ fi -# 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=1 -fi - . ${newlib_basedir}/configure.host NEWLIB_CFLAGS=${newlib_cflags} diff --git a/newlib/libc/sys/phoenix/machine/arm/configure b/newlib/libc/sys/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 -# 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=1 -fi - . ${newlib_basedir}/configure.host NEWLIB_CFLAGS=${newlib_cflags} diff --git a/newlib/libc/sys/phoenix/machine/configure b/newlib/libc/sys/phoenix/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 -# 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=1 -fi - . ${newlib_basedir}/configure.host NEWLIB_CFLAGS=${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 -# 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=1 -fi - . ${newlib_basedir}/configure.host NEWLIB_CFLAGS=${newlib_cflags} @@ -11278,7 +11266,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11281 "configure" +#line 11269 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11384,7 +11372,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11387 "configure" +#line 11375 "configure" #include "confdefs.h" #if HAVE_DLFCN_H
reply other threads:[~2022-02-09 3:19 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220209031912.CCC703858D28@sourceware.org \ --to=vapier@sourceware.org \ --cc=newlib-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).