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:
parent
2047a15a17
commit
146ccaafd5
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue