From e9d6116e5bd30639d6333ef95462fe300f47ccd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 6 Apr 2009 17:13:01 -0400 Subject: Use libudev in test case to only run gem tests for intel devices. --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 8be1e2a4..2e32c840 100644 --- a/configure.ac +++ b/configure.ac @@ -131,6 +131,13 @@ if test "x$HAVE_CAIRO" = xyes; then fi AM_CONDITIONAL(HAVE_CAIRO, [test "x$HAVE_CAIRO" = xyes]) +# For enumerating devices in test case +PKG_CHECK_MODULES(LIBUDEV, libudev, [HAVE_LIBUDEV=yes], [HAVE_LIBUDEV=no]) +if test "x$HAVE_LIBUDEV" = xyes; then + AC_DEFINE(HAVE_LIBUDEV, 1, [Have libudev support]) +fi +AM_CONDITIONAL(HAVE_LIBUDEV, [test "x$HAVE_LIBUDEV" = xyes]) + AC_SUBST(WARN_CFLAGS) AC_OUTPUT([ -- cgit v1.2.3