Skip to content

Commit 0e1df01

Browse files
authored
Merge pull request #2883 from Polynomial-C/v2_avoid_bashisms
build: Avoid bashisms
2 parents 916bded + 4b9edad commit 0e1df01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/find_pcre2.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ AS_CASE(["${with_pcre2}"],
2525
[yes], [test_paths="/usr/local/libpcre2 /usr/local/pcre2 /usr/local /opt/libpcre2 /opt/pcre2 /opt /usr"],
2626
[test_paths="${with_pcre2}"])
2727
28-
if test "x${with_pcre2}" == "x" || test "x${with_pcre2}" == "xno"; then
28+
if test "x${with_pcre2}" = "x" || test "x${with_pcre2}" = "xno"; then
2929
AC_MSG_NOTICE([pcre2 not specified; omitting check])
3030
else
3131

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ AC_ARG_ENABLE(large-stream-input,
696696
AS_HELP_STRING([--enable-large-stream-input],
697697
[Enable optimization for large stream input]),
698698
[
699-
if test "$enableval" == "yes"; then
699+
if test "$enableval" = "yes"; then
700700
large_stream_input="-DMSC_LARGE_STREAM_INPUT"
701701
MODSEC_EXTRA_CFLAGS="$MODSEC_EXTRA_CFLAGS $large_stream_input"
702702
else

0 commit comments

Comments
 (0)