[systemd-commits] configure.ac
Dave Reisner
dreisner at kemper.freedesktop.org
Sun Jan 5 08:58:25 PST 2014
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 146ccaafd5c9d4f2798240b049f595f70f45f77b
Author: Dave Reisner <dreisner at archlinux.org>
Date: Sun Jan 5 11:57:05 2014 -0500
configure: use POSIX conformant syntax for test
In shells like bash, == and = are equivalent in test contexts. In POSIX
compliant shells, == isn't a valid operator.
diff --git a/configure.ac b/configure.ac
index d8a9356..7140627 100644
--- a/configure.ac
+++ b/configure.ac
@@ -816,7 +816,7 @@ AM_CONDITIONAL(ENABLE_MULTI_SEAT_X, [test "$have_multi_seat_x" = "yes"])
# ------------------------------------------------------------------------------
have_kdbus=no
AC_ARG_ENABLE(kdbus, AS_HELP_STRING([--enable-kdbus], [do connect to kdbus by default]))
-if test "x$enable_kdbus" == "xyes"; then
+if test "x$enable_kdbus" = "xyes"; then
AC_DEFINE(ENABLE_KDBUS, 1, [Define if kdbus support is to be enabled])
have_kdbus=yes
M4_DEFINES="$M4_DEFINES -DENABLE_KDBUS"
More information about the systemd-commits
mailing list