Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-02-05 10:19:42 +0300
committerMike Frysinger <vapier@gentoo.org>2022-02-09 06:18:05 +0300
commitb63a4bb49ac3b3f64407d5572755ec8978971439 (patch)
tree275f5b24fcfcebf9d60ddd04862a27f34fe14850
parente7ad3f5aa88d262d86beda22ebb8a9202f776a26 (diff)
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.
-rw-r--r--newlib/acinclude.m412
-rwxr-xr-xnewlib/configure16
-rwxr-xr-xnewlib/libc/configure16
-rwxr-xr-xnewlib/libc/sys/linux/configure16
-rwxr-xr-xnewlib/libc/sys/linux/linuxthreads/configure16
-rwxr-xr-xnewlib/libc/sys/linux/linuxthreads/machine/configure16
-rwxr-xr-xnewlib/libc/sys/linux/linuxthreads/machine/i386/configure16
-rwxr-xr-xnewlib/libc/sys/linux/machine/configure16
-rwxr-xr-xnewlib/libc/sys/linux/machine/i386/configure16
-rw-r--r--newlib/libc/sys/phoenix/configure12
-rw-r--r--newlib/libc/sys/phoenix/machine/arm/configure12
-rw-r--r--newlib/libc/sys/phoenix/machine/configure12
-rwxr-xr-xnewlib/libm/configure16
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