[PATCH libinputmapper 01/13] Drop special udev handling

Peter Hutterer peter.hutterer at who-t.net
Tue Aug 27 18:00:12 PDT 2013


We have a hard dependency so PKG_CHECK_MODULE will take care of all this.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 configure.ac | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/configure.ac b/configure.ac
index 79f6041..781012b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,13 +38,7 @@ LT_INIT
 # Dependencies
 #
 
-PKG_CHECK_MODULES([UDEV], [libudev >= 172],
-                  [have_udev=yes], [have_udev=no])
-AC_SUBST(UDEV_CFLAGS)
-AC_SUBST(UDEV_LIBS)
-if test ! "x$have_udev" = "xyes" ; then
-        AC_ERROR([libudev >= 172 is required for libinputmapper])
-fi
+PKG_CHECK_MODULES([UDEV], [libudev >= 172])
 
 # TODO: check for linux/input.h
 
-- 
1.8.2.1



More information about the Input-tools mailing list