From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 312163858437 for ; Wed, 2 Feb 2022 02:53:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 312163858437 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Received: by smtp.gentoo.org (Postfix, from userid 559) id 2D14A3431EB; Wed, 2 Feb 2022 02:53:02 +0000 (UTC) From: Mike Frysinger To: newlib@sourceware.org Subject: [PATCH 1/2] newlib: drop unused cache vars from Makefiles Date: Tue, 1 Feb 2022 21:52:55 -0500 Message-Id: <20220202025256.32179-1-vapier@gentoo.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2022 02:53:08 -0000 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. --- 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 d2a0d4422f9a..5d49279ce48b 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 65b93630315e..ca8953933cda 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 c164e5a6494f..ce36ea19ac10 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. -- 2.34.1