chiark / gitweb /
configure: use POSIX conformant syntax for test
authorDave Reisner <dreisner@archlinux.org>
Sun, 5 Jan 2014 16:57:05 +0000 (11:57 -0500)
committerDave Reisner <dreisner@archlinux.org>
Sun, 5 Jan 2014 16:57:05 +0000 (11:57 -0500)
In shells like bash, == and = are equivalent in test contexts. In POSIX
compliant shells, == isn't a valid operator.

configure.ac

index d8a9356adbb204dd7927d882b81e2c0e77025225..7140627244e27abda0bde7c0393cbad5e64ca42e 100644 (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]))
 # ------------------------------------------------------------------------------
 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"
         AC_DEFINE(ENABLE_KDBUS, 1, [Define if kdbus support is to be enabled])
         have_kdbus=yes
         M4_DEFINES="$M4_DEFINES -DENABLE_KDBUS"