Skip to content

Commit 2ed32f2

Browse files
committed
Fix option check condition
1 parent d7b38f0 commit 2ed32f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/find_pcre2.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AS_CASE(["${with_pcre2}"],
2626
[yes], [test_paths="/usr/local/libpcre2 /usr/local/pcre2 /usr/local /opt/libpcre2 /opt/pcre2 /opt /usr"],
2727
[test_paths="${with_pcre2}"])
2828
29-
if test "x${with_pcre}" != "x" || test "x${with_pcre}" != "xno"; then
29+
if test "x${with_pcre}" != "x" && test "x${with_pcre}" != "xno"; then
3030
AC_MSG_NOTICE([pcre specified; omitting check for pcre2])
3131
else
3232
AC_MSG_CHECKING([for libpcre2 config script])

0 commit comments

Comments
 (0)