From: Dave Reisner Date: Sun, 5 Jan 2014 16:57:05 +0000 (-0500) Subject: configure: use POSIX conformant syntax for test X-Git-Tag: v209~527 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=146ccaafd5c9d4f2798240b049f595f70f45f77b;ds=sidebyside 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 d8a9356ad..714062724 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"