From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id CDD5F385DC27; Wed, 2 Feb 2022 02:53:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CDD5F385DC27 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] newlib: rename libc_cv_ prefix to newlib_cv_ X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: 624e06b3cf5ad820b55cc8da03a0450d0fcc41d8 X-Git-Newrev: d5ebf5277ed397b87428510fff49d4a1b584c85d Message-Id: <20220202025320.CDD5F385DC27@sourceware.org> Date: Wed, 2 Feb 2022 02:53:20 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2022 02:53:20 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3Dd5ebf5277ed= 397b87428510fff49d4a1b584c85d commit d5ebf5277ed397b87428510fff49d4a1b584c85d Author: Mike Frysinger Date: Tue Feb 1 21:37:00 2022 -0500 newlib: rename libc_cv_ prefix to newlib_cv_ =20 We've been using both libc_cv_ and newlib_cv_ for our cache vars. Let's consolidate on newlib_cv_ to avoid conflicts with glibc which is already using the libc_cv_ prefix. Diff: --- newlib/configure | 26 +++++++++++++------------- newlib/configure.ac | 18 +++++++++--------- newlib/configure.host | 2 +- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/newlib/configure b/newlib/configure index ca8953933..a39a3e51a 100755 --- a/newlib/configure +++ b/newlib/configure @@ -13269,7 +13269,7 @@ $as_echo "#define _ICONV_FROM_ENCODING_WIN_1258 1" = >>confdefs.h =20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for .preinit_array/.init= _array/.fini_array support" >&5 $as_echo_n "checking for .preinit_array/.init_array/.fini_array support...= " >&6; } -if ${libc_cv_initfinit_array+:} false; then : +if ${newlib_cv_initfinit_array+:} false; then : $as_echo_n "(cached) " >&6 else cat > conftest.c < /dev/null; then - libc_cv_initfinit_array=3Dyes + newlib_cv_initfinit_array=3Dyes else - libc_cv_initfinit_array=3Dno + newlib_cv_initfinit_array=3Dno fi else - libc_cv_initfinit_array=3Dno + newlib_cv_initfinit_array=3Dno fi 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 =3D yes; then +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_initfinit_arra= y" >&5 +$as_echo "$newlib_cv_initfinit_array" >&6; } +if test $newlib_cv_initfinit_array =3D yes; then =20 $as_echo "#define _HAVE_INITFINI_ARRAY 1" >>confdefs.h =20 @@ -13308,7 +13308,7 @@ fi __attribute__ ((__optimize__))" >&5 $as_echo_n "checking if $CC accepts -fno-tree-loop-distribute-patterns wit= h \ __attribute__ ((__optimize__))... " >&6; } -if ${libc_cv_cc_loop_to_function+:} false; then : +if ${newlib_cv_cc_loop_to_function+:} false; then : $as_echo_n "(cached) " >&6 else cat > conftest.c <&5 @@ -13325,13 +13325,13 @@ if { ac_try=3D'${CC-cc} $CFLAGS $CPPFLAGS -c $as_echo "$as_me:${as_lineno-$LINENO}: \$? =3D $ac_status" >&5 test $ac_status =3D 0; }; } then - libc_cv_cc_loop_to_function=3Dyes + newlib_cv_cc_loop_to_function=3Dyes fi rm -f conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_loop_to_funct= ion" >&5 -$as_echo "$libc_cv_cc_loop_to_function" >&6; } -if test $libc_cv_cc_loop_to_function =3D yes; then +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $newlib_cv_cc_loop_to_fun= ction" >&5 +$as_echo "$newlib_cv_cc_loop_to_function" >&6; } +if test $newlib_cv_cc_loop_to_function =3D yes; then =20 $as_echo "#define _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1" >>confdefs.h =20 diff --git a/newlib/configure.ac b/newlib/configure.ac index ce36ea19a..2e6a80a5f 100644 --- a/newlib/configure.ac +++ b/newlib/configure.ac @@ -637,7 +637,7 @@ fi; NEWLIB_ICONV_DEFINES =20 AC_CACHE_CHECK(for .preinit_array/.init_array/.fini_array support, - libc_cv_initfinit_array, [dnl + newlib_cv_initfinit_array, [dnl cat > conftest.c <&AS_MESSAGE_LOG_FD]) then if ${READELF} -S conftest | grep -e INIT_ARRAY > /dev/null; then - libc_cv_initfinit_array=3Dyes + newlib_cv_initfinit_array=3Dyes else - libc_cv_initfinit_array=3Dno + newlib_cv_initfinit_array=3Dno fi else - libc_cv_initfinit_array=3Dno + newlib_cv_initfinit_array=3Dno fi rm -f conftest*]) -if test $libc_cv_initfinit_array =3D yes; then +if test $newlib_cv_initfinit_array =3D yes; then AC_DEFINE(_HAVE_INITFINI_ARRAY, 1, [Define if the linker supports .prein= it_array/.init_array/.fini_array sections.]) fi =20 AC_CACHE_CHECK(if $CC accepts -fno-tree-loop-distribute-patterns with \ -__attribute__ ((__optimize__)), libc_cv_cc_loop_to_function, [dnl +__attribute__ ((__optimize__)), newlib_cv_cc_loop_to_function, [dnl cat > conftest.c <