Skip to content

Commit 75c3427

Browse files
authored
Merge pull request #11083 from thesamesam/bashism
build: fix bashisms in configure
2 parents 609e733 + 08a558d commit 75c3427

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ompi/mca/op/avx/configure.m4

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -315,15 +315,15 @@ AC_DEFUN([MCA_ompi_op_avx_CONFIG],[
315315
[$op_sse3_support],
316316
[SSE3 supported in the current build])
317317
AM_CONDITIONAL([MCA_BUILD_ompi_op_has_avx512_support],
318-
[test "$op_avx512_support" == "1"])
318+
[test "$op_avx512_support" = "1"])
319319
AM_CONDITIONAL([MCA_BUILD_ompi_op_has_avx2_support],
320-
[test "$op_avx2_support" == "1"])
320+
[test "$op_avx2_support" = "1"])
321321
AM_CONDITIONAL([MCA_BUILD_ompi_op_has_avx_support],
322-
[test "$op_avx_support" == "1"])
322+
[test "$op_avx_support" = "1"])
323323
AM_CONDITIONAL([MCA_BUILD_ompi_op_has_sse41_support],
324-
[test "$op_sse41_support" == "1"])
324+
[test "$op_sse41_support" = "1"])
325325
AM_CONDITIONAL([MCA_BUILD_ompi_op_has_sse3_support],
326-
[test "$op_sse3_support" == "1"])
326+
[test "$op_sse3_support" = "1"])
327327
AC_SUBST(MCA_BUILD_OP_AVX512_FLAGS)
328328
AC_SUBST(MCA_BUILD_OP_AVX2_FLAGS)
329329
AC_SUBST(MCA_BUILD_OP_AVX_FLAGS)

opal/mca/memory/patcher/configure.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ AC_DEFUN([MCA_opal_memory_patcher_CONFIG],[
5151
# Per the above logic, memory patcher no longer supports MacOS/Darwin,
5252
# so we no longer support Darwin-specific logic for intercept_mmap.
5353
# See issue #6853: mmap infinite recurse in opal/mca/memory/patcher
54-
AS_IF([test "$opal_memory_patcher_happy" == "yes"], [
54+
AS_IF([test "$opal_memory_patcher_happy" = "yes"], [
5555
AC_CHECK_FUNCS([__curbrk])
5656
AC_CHECK_HEADERS([linux/mman.h sys/syscall.h])
5757
AC_CHECK_DECLS([__syscall], [], [], [#include <sys/syscall.h>])

0 commit comments

Comments
 (0)