Modify bindings for axis event detection.
[profile/ivi/weston.git] / configure.ac
index c6e1e96..f60b208 100644 (file)
@@ -73,7 +73,7 @@ AC_ARG_ENABLE(drm-compositor, [  --enable-drm-compositor],,
 AM_CONDITIONAL(ENABLE_DRM_COMPOSITOR, test x$enable_drm_compositor = xyes)
 if test x$enable_drm_compositor = xyes; then
   AC_DEFINE([BUILD_DRM_COMPOSITOR], [1], [Build the DRM compositor])
-  PKG_CHECK_MODULES(DRM_COMPOSITOR, [libudev >= 136 libdrm >= 2.4.30 gbm])
+  PKG_CHECK_MODULES(DRM_COMPOSITOR, [libudev >= 136 libdrm >= 2.4.30 gbm mtdev])
 fi
 
 
@@ -167,7 +167,7 @@ AC_ARG_ENABLE(tests,
              AS_HELP_STRING([--disable-tests],
                             [do not build unit tests [default=enabled]]),,
              enable_tests=yes)
-AM_CONDITIONAL(BUILD_TESTS, test x$enable_tests == xyes)
+AM_CONDITIONAL(BUILD_TESTS, test x$enable_tests = xyes)
 
 if test "x$GCC" = "xyes"; then
        GCC_CFLAGS="-Wall -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden"