Chamelium testing has a hard dependency on udev. This makes this
dependency explicit in configure instead of failing the build when it
is missing.

Signed-off-by: Paul Kocialkowski <paul.kocialkow...@linux.intel.com>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index dec3e923..a6ab9e4a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -194,6 +194,9 @@ if test "x$enable_chamelium" = xyes; then
                          [AC_MSG_ERROR([Failed to find xmlrpc, required by 
chamelium. Use --disable-chamelium to disable chamelium support.])])
        PKG_CHECK_MODULES(PIXMAN, pixman-1, [],
                          [AC_MSG_ERROR([Failed to find pixman, required by 
chamelium. Use --disable-chamelium to disable chamelium support.])])
+       if test x"$udev" != xyes; then
+               AC_MSG_ERROR([Failed to find udev, required by chamelium. Use 
--disable-chamelium to disable chamelium support.])
+       fi
        if test x"$glib" != xyes; then
                AC_MSG_ERROR([Failed to find glib, required by chamelium. Use 
--disable-chamelium to disable chamelium support.])
        fi
-- 
2.13.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to