Skip to content

Commit

Permalink
reports from checkbashisms
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@87499 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
ripley committed Dec 31, 2024
1 parent 74b2dd7 commit 4ef93be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -60383,15 +60383,15 @@ 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
BUILD_NEW_ACCELERATE_TRUE='#'
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
Expand Down
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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`
Expand Down

0 comments on commit 4ef93be

Please sign in to comment.