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.
This commit is contained in:
Dave Reisner 2014-01-05 11:57:05 -05:00
parent 2047a15a17
commit 146ccaafd5
1 changed files with 1 additions and 1 deletions

View File

@ -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"