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.
This commit is contained in:
Mike Frysinger 2022-02-01 21:35:02 -05:00
parent 041dd7ff26
commit 624e06b3cf
3 changed files with 2 additions and 10 deletions

View File

@ -407,8 +407,6 @@ htmldir = @htmldir@
includedir = @includedir@ includedir = @includedir@
infodir = @infodir@ infodir = @infodir@
install_sh = @install_sh@ 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@ libdir = @libdir@
libexecdir = @libexecdir@ libexecdir = @libexecdir@
libm_machine_dir = @libm_machine_dir@ libm_machine_dir = @libm_machine_dir@

8
newlib/configure vendored
View File

@ -636,8 +636,6 @@ LTLIBOBJS
LIBOBJS LIBOBJS
HAVE_LONG_DOUBLE_FALSE HAVE_LONG_DOUBLE_FALSE
HAVE_LONG_DOUBLE_TRUE HAVE_LONG_DOUBLE_TRUE
libc_cv_cc_loop_to_function
libc_cv_initfinit_array
NEWLIB_PATCHLEVEL_VERSION NEWLIB_PATCHLEVEL_VERSION
NEWLIB_MINOR_VERSION NEWLIB_MINOR_VERSION
NEWLIB_MAJOR_VERSION NEWLIB_MAJOR_VERSION
@ -12008,7 +12006,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF cat > conftest.$ac_ext <<_LT_EOF
#line 12011 "configure" #line 12009 "configure"
#include "confdefs.h" #include "confdefs.h"
#if HAVE_DLFCN_H #if HAVE_DLFCN_H
@ -12114,7 +12112,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF cat > conftest.$ac_ext <<_LT_EOF
#line 12117 "configure" #line 12115 "configure"
#include "confdefs.h" #include "confdefs.h"
#if HAVE_DLFCN_H #if HAVE_DLFCN_H
@ -13300,7 +13298,6 @@ rm -f conftest*
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_initfinit_array" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_initfinit_array" >&5
$as_echo "$libc_cv_initfinit_array" >&6; } $as_echo "$libc_cv_initfinit_array" >&6; }
if test $libc_cv_initfinit_array = yes; then if test $libc_cv_initfinit_array = yes; then
$as_echo "#define _HAVE_INITFINI_ARRAY 1" >>confdefs.h $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 fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
$as_echo_n "checking for long double... " >&6; } $as_echo_n "checking for long double... " >&6; }
if ${ac_cv_type_long_double+:} false; then : if ${ac_cv_type_long_double+:} false; then :

View File

@ -656,7 +656,6 @@ else
libc_cv_initfinit_array=no libc_cv_initfinit_array=no
fi fi
rm -f conftest*]) rm -f conftest*])
AC_SUBST(libc_cv_initfinit_array)
if test $libc_cv_initfinit_array = yes; then 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.]) AC_DEFINE(_HAVE_INITFINI_ARRAY, 1, [Define if the linker supports .preinit_array/.init_array/.fini_array sections.])
fi fi
@ -678,7 +677,6 @@ rm -f conftest*])
if test $libc_cv_cc_loop_to_function = yes; then 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.]) AC_DEFINE(_HAVE_CC_INHIBIT_LOOP_TO_LIBCALL, 1, [Define if compiler supports -fno-tree-loop-distribute-patterns.])
fi fi
AC_SUBST(libc_cv_cc_loop_to_function)
AC_TYPE_LONG_DOUBLE AC_TYPE_LONG_DOUBLE
dnl Export the setting for our installed headers to check. dnl Export the setting for our installed headers to check.