Fix portability issue with some shells (#3970)

This commit is contained in:
Frédéric Fauberteau 2023-01-09 16:26:36 +01:00 committed by GitHub
parent 0b1800fc10
commit d26a9d583f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ EOF
if test "x`cat conftest.out`" != "xok"; then
AC_MSG_RESULT([failed])
X="`cat conftest.out`"
if test "[$3]" == "warn"; then
if test "[$3]" = "warn"; then
AC_MSG_WARN([$X])
else
AC_MSG_FAILURE([$X])