Fix option check condition

This commit is contained in:
Ervin Hegedus 2025-05-15 21:50:02 +02:00
parent d7b38f034e
commit 2ed32f2035
No known key found for this signature in database
GPG Key ID: 5FA5BC3F5EC41F61

View File

@ -26,7 +26,7 @@ AS_CASE(["${with_pcre2}"],
[yes], [test_paths="/usr/local/libpcre2 /usr/local/pcre2 /usr/local /opt/libpcre2 /opt/pcre2 /opt /usr"],
[test_paths="${with_pcre2}"])
if test "x${with_pcre}" != "x" || test "x${with_pcre}" != "xno"; then
if test "x${with_pcre}" != "x" && test "x${with_pcre}" != "xno"; then
AC_MSG_NOTICE([pcre specified; omitting check for pcre2])
else
AC_MSG_CHECKING([for libpcre2 config script])