From 53b6a94ea47e74354663959c8c36475956a06130 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 9 Aug 2010 19:43:34 +0000 Subject: [PATCH] ugly ugly hack to possibly let people keep using e_hal for battery/temp/illume2 without using any command line options SVN revision: 50943 --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index ee8ca3d9e..7d2ab8b34 100644 --- a/configure.ac +++ b/configure.ac @@ -291,8 +291,11 @@ AC_ARG_ENABLE([device-udev], AC_CACHE_VAL([e_cv_want_device_udev], [e_cv_want_device_udev=yes])) if test "x$e_cv_want_device_udev" = "xyes";then + PKG_CHECK_EXISTS([eeze], +[ device_backend=eeze AC_DEFINE_UNQUOTED([HAVE_EEZE],[1],[enable udev support]) +],[device_backend=ehal]) else device_backend=ehal fi