ugly ugly hack to possibly let people keep using e_hal for battery/temp/illume2 without using any command line options

SVN revision: 50943
This commit is contained in:
Mike Blumenkrantz 2010-08-09 19:43:34 +00:00
parent 068d07757f
commit 53b6a94ea4
1 changed files with 3 additions and 0 deletions

View File

@ -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