public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: newlib@sourceware.org
Subject: [PATCH 5/7] newlib: drop cygnus EXEEXT hack
Date: Sat,  5 Feb 2022 02:34:34 -0500	[thread overview]
Message-ID: <20220205073436.6577-6-vapier@gentoo.org> (raw)
In-Reply-To: <20220205073436.6577-1-vapier@gentoo.org>

Now that we rely on AC_NO_EXECUTABLES to disable link tests, we don't
need this hack to disable exeext probing.
---
 newlib/acinclude.m4                              | 12 ------------
 newlib/configure                                 | 16 ++--------------
 newlib/libc/configure                            | 16 ++--------------
 newlib/libc/sys/linux/configure                  | 16 ++--------------
 newlib/libc/sys/linux/linuxthreads/configure     | 16 ++--------------
 .../sys/linux/linuxthreads/machine/configure     | 16 ++--------------
 .../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 8c5122b5fc2f..7795e580b715 100644
--- a/newlib/acinclude.m4
+++ b/newlib/acinclude.m4
@@ -138,18 +138,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}
-- 
2.34.1


  parent reply	other threads:[~2022-02-05  7:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-05  7:34 [PATCH 0/7] modernize toolchain macros Mike Frysinger
2022-02-05  7:34 ` [PATCH 1/7] newlib: move AC_NO_EXECUTABLES logic up to common code Mike Frysinger
2022-02-09 19:42   ` Jon Turney
2022-02-10  4:25     ` Mike Frysinger
2022-02-10  4:27     ` [PATCH/committed] newlib: fix mkdoc dependencies Mike Frysinger
2022-02-05  7:34 ` [PATCH 2/7] newlib: switch to standard AC_PROG_CC Mike Frysinger
2022-02-05  7:34 ` [PATCH 3/7] newlib: switch to standard AM_PROG_AS Mike Frysinger
2022-02-05  7:34 ` [PATCH 4/7] newlib: switch to AM_PROG_AR Mike Frysinger
2022-02-05  7:34 ` Mike Frysinger [this message]
2022-02-05  7:34 ` [PATCH 6/7] newlib: drop autoconf-2.13 hack Mike Frysinger
2022-02-05  7:34 ` [PATCH 7/7] newlib: switch to standard AC_PROG_RANLIB Mike Frysinger
2022-02-08 10:10 ` [PATCH 0/7] modernize toolchain macros Corinna Vinschen

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=20220205073436.6577-6-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=newlib@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: link
Be 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).