[systemd-commits] configure.ac
Dave Reisner
dreisner at kemper.freedesktop.org
Thu Dec 25 08:44:10 PST 2014
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0a7f0fcc79772d257e0c42358ad472a37a8ab151
Author: Dave Reisner <dreisner at archlinux.org>
Date: Thu Dec 25 11:41:06 2014 -0500
configure.ac: keep posix compat for string tests
'==' and '=' are equivalent in /bin/bash, but POSIX compliant shells do
not understand '==.'
diff --git a/configure.ac b/configure.ac
index 2348dac..1df3a18 100644
--- a/configure.ac
+++ b/configure.ac
@@ -566,7 +566,7 @@ AM_CONDITIONAL(HAVE_XZ, [test "$have_xz" = "yes"])
# ------------------------------------------------------------------------------
have_lz4=no
AC_ARG_ENABLE(lz4, AS_HELP_STRING([--enable-lz4], [Enable optional LZ4 support]))
-AS_IF([test "x$enable_lz4" == "xyes"], [
+AS_IF([test "x$enable_lz4" = "xyes"], [
AC_CHECK_HEADERS(lz4.h,
[AC_DEFINE(HAVE_LZ4, 1, [Define in LZ4 is available]) have_lz4=yes],
[AC_MSG_ERROR([*** LZ4 support requested but headers not found])])
More information about the systemd-commits
mailing list