public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] newlib: drop unused cache vars from Makefiles
@ 2022-02-02  2:53 Michael Frysinger
  0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2022-02-02  2:53 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=624e06b3cf5ad820b55cc8da03a0450d0fcc41d8

commit 624e06b3cf5ad820b55cc8da03a0450d0fcc41d8
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Feb 1 21:35:02 2022 -0500

    newlib: drop unused cache vars from Makefiles
    
    These aren't used in any of the makefiles, so there's no point in
    exporting these.  These are only checked in the configure script.

Diff:
---
 newlib/Makefile.in  | 2 --
 newlib/configure    | 8 ++------
 newlib/configure.ac | 2 --
 3 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/newlib/Makefile.in b/newlib/Makefile.in
index d2a0d4422..5d49279ce 100644
--- a/newlib/Makefile.in
+++ b/newlib/Makefile.in
@@ -407,8 +407,6 @@ htmldir = @htmldir@
 includedir = @includedir@
 infodir = @infodir@
 install_sh = @install_sh@
-libc_cv_cc_loop_to_function = @libc_cv_cc_loop_to_function@
-libc_cv_initfinit_array = @libc_cv_initfinit_array@
 libdir = @libdir@
 libexecdir = @libexecdir@
 libm_machine_dir = @libm_machine_dir@
diff --git a/newlib/configure b/newlib/configure
index 65b936303..ca8953933 100755
--- a/newlib/configure
+++ b/newlib/configure
@@ -636,8 +636,6 @@ LTLIBOBJS
 LIBOBJS
 HAVE_LONG_DOUBLE_FALSE
 HAVE_LONG_DOUBLE_TRUE
-libc_cv_cc_loop_to_function
-libc_cv_initfinit_array
 NEWLIB_PATCHLEVEL_VERSION
 NEWLIB_MINOR_VERSION
 NEWLIB_MAJOR_VERSION
@@ -12008,7 +12006,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12011 "configure"
+#line 12009 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12114,7 +12112,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12117 "configure"
+#line 12115 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -13300,7 +13298,6 @@ rm -f conftest*
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_initfinit_array" >&5
 $as_echo "$libc_cv_initfinit_array" >&6; }
-
 if test $libc_cv_initfinit_array = yes; then
 
 $as_echo "#define _HAVE_INITFINI_ARRAY 1" >>confdefs.h
@@ -13341,7 +13338,6 @@ $as_echo "#define _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1" >>confdefs.h
 fi
 
 
-
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
 $as_echo_n "checking for long double... " >&6; }
 if ${ac_cv_type_long_double+:} false; then :
diff --git a/newlib/configure.ac b/newlib/configure.ac
index c164e5a64..ce36ea19a 100644
--- a/newlib/configure.ac
+++ b/newlib/configure.ac
@@ -656,7 +656,6 @@ else
   libc_cv_initfinit_array=no
 fi
 rm -f conftest*])
-AC_SUBST(libc_cv_initfinit_array)
 if test $libc_cv_initfinit_array = yes; then
   AC_DEFINE(_HAVE_INITFINI_ARRAY, 1, [Define if the linker supports .preinit_array/.init_array/.fini_array sections.])
 fi
@@ -678,7 +677,6 @@ rm -f conftest*])
 if test $libc_cv_cc_loop_to_function = yes; then
   AC_DEFINE(_HAVE_CC_INHIBIT_LOOP_TO_LIBCALL, 1, [Define if compiler supports -fno-tree-loop-distribute-patterns.])
 fi
-AC_SUBST(libc_cv_cc_loop_to_function)
 
 AC_TYPE_LONG_DOUBLE
 dnl Export the setting for our installed headers to check.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-02  2:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-02  2:53 [newlib-cygwin] newlib: drop unused cache vars from Makefiles Michael Frysinger

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).