From: Benjamin Close Date: Thu, 5 Jun 2008 05:00:09 +0000 (+0930) Subject: Correct the check for XI2, not every shell supports ==, but they do = X-Git-Url: https://diplodocus.org/git/xorg-xinput/commitdiff_plain/6482e8ef8039eba98de03f0bb708d1151bc1577e?ds=sidebyside;hp=--cc Correct the check for XI2, not every shell supports ==, but they do = Signed-off-by: Peter Hutterer --- 6482e8ef8039eba98de03f0bb708d1151bc1577e diff --git a/configure.ac b/configure.ac index dfbad9e..d6a19ba 100644 --- a/configure.ac +++ b/configure.ac @@ -18,7 +18,7 @@ LIBS="$XINPUT_LIBS $LIBS" AC_CHECK_LIB(Xi, XSetClientPointer, have_xi2=yes AC_DEFINE(HAVE_XI2, 1, [Enabling XI 2 calls]), have_xi2=no) -AM_CONDITIONAL(HAVE_XI2, test "x$have_xi2" == xyes) +AM_CONDITIONAL(HAVE_XI2, [test "x$have_xi2" = "xyes"]) AC_SUBST(XINPUT_CFLAGS) AC_SUBST(XINPUT_LIBS)