Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure.ac: Avoid more bashisms #529

Merged
merged 1 commit into from May 19, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions configure.ac
Expand Up @@ -67,7 +67,7 @@ if test "x$with_s390" != "xno"; then
AS_IF([test "x$on_s390" = "xno" -a "x$with_s390" = "xyes"],
[LIBBLOCKDEV_SOFT_FAILURE([s390 support requested, but not on s390 arch])
AM_CONDITIONAL(WITH_S390, false)],
[test "x$on_s390" == "xyes" -a "x$with_s390" != "xno"],
[test "x$on_s390" = "xyes" -a "x$with_s390" != "xno"],
[AC_SUBST(WITH_S390, 1)
AM_CONDITIONAL(WITH_S390, true)
],
Expand All @@ -86,7 +86,7 @@ AC_ARG_WITH([python2],
AC_SUBST(WITH_PYTHON2, 0)
if test "x$with_python2" != "xno"; then
AC_PATH_PROG([python2], [python2], [no])
AS_IF([test "x$python2" == "xno"],
AS_IF([test "x$python2" = "xno"],
[if test "x$with_python2" = "xyes"; then
LIBBLOCKDEV_SOFT_FAILURE([Python2 support requested, but python2 is not available])
fi],
Expand Down