[PATCH 5/7] newlib: drop cygnus EXEEXT hack

Mike Frysinger <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.