From 4ef93bea1863f0658a62c08003916be62e5bbf0a Mon Sep 17 00:00:00 2001 From: ripley Date: Tue, 31 Dec 2024 14:40:51 +0000 Subject: [PATCH] reports from checkbashisms git-svn-id: https://svn.r-project.org/R/trunk@87499 00db46b3-68df-0310-9c12-caf00c1e9a41 --- configure | 6 +++--- configure.ac | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure index c38cc83cc0f..2c493a9c7bc 100755 --- a/configure +++ b/configure @@ -4383,7 +4383,7 @@ R_CONFIG_ARGS="${ac_configure_args}" ## Shortcut for musl which refuses to identify itself at C level -if test "${host_os}" == "linux-musl"; then +if test "${host_os}" = "linux-musl"; then printf "%s\n" "#define OS_MUSL 1" >>confdefs.h @@ -60383,7 +60383,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ as_fn_error $? "--with-newAccelerate requires macOS SDK >= 14.3." "$LINENO" 5 fi fi - if test "x${use_accelerate}" == xyes; then + if test "x${use_accelerate}" = xyes; then BUILD_NEW_ACCELERATE_TRUE= BUILD_NEW_ACCELERATE_FALSE='#' else @@ -60391,7 +60391,7 @@ else BUILD_NEW_ACCELERATE_FALSE= fi - if test "x${use_accelerate_lapack}" == xyes; then + if test "x${use_accelerate_lapack}" = xyes; then BUILD_NEW_ACCELERATE_LAPACK_TRUE= BUILD_NEW_ACCELERATE_LAPACK_FALSE='#' else diff --git a/configure.ac b/configure.ac index 68ab74f3726..c8f02879fbc 100644 --- a/configure.ac +++ b/configure.ac @@ -136,7 +136,7 @@ R_CONFIG_ARGS="${ac_configure_args}" AC_SUBST(R_CONFIG_ARGS) ## Shortcut for musl which refuses to identify itself at C level -if test "${host_os}" == "linux-musl"; then +if test "${host_os}" = "linux-musl"; then AC_DEFINE(OS_MUSL, 1, [Define if running on Linux-musl]) fi @@ -2995,9 +2995,9 @@ sdk_OK=no) dnl No longer used as we only build (or not) BLAS and LAPACK shims dnl AC_DEFINE(USE_NEW_ACCELERATE, 1, [Define to use Apple's (new) Accelerate]) fi -AM_CONDITIONAL(BUILD_NEW_ACCELERATE, [test "x${use_accelerate}" == xyes]) +AM_CONDITIONAL(BUILD_NEW_ACCELERATE, [test "x${use_accelerate}" = xyes]) AM_CONDITIONAL(BUILD_NEW_ACCELERATE_LAPACK, - [test "x${use_accelerate_lapack}" == xyes]) + [test "x${use_accelerate_lapack}" = xyes]) dnl record compiler versions CC_VER=`${CC} --version | ${SED} -n 1p`