configure detection for eeze_disk

SVN revision: 53711
This commit is contained in:
Mike Blumenkrantz 2010-10-21 08:59:41 +00:00
parent 0fe423836f
commit 522992eb90
1 changed files with 13 additions and 0 deletions

View File

@ -297,6 +297,18 @@ if test "x$e_cv_want_device_udev" = "xyes";then
[
device_backend=eeze
AC_DEFINE_UNQUOTED([HAVE_EEZE],[1],[enable udev support])
AC_CHECK_LIB([eeze], [eeze_disk_function],
[
AM_CONDITIONAL([HAVE_EEZE_MOUNT], [true])
AC_DEFINE_UNQUOTED([HAVE_EEZE_MOUNT], [1], [enable eeze mounting])
AC_MSG_NOTICE([eeze mounting enabled])
],
[
AM_CONDITIONAL([HAVE_EEZE_MOUNT], [false]),
AC_MSG_NOTICE([eeze mounting disabled])
]
)
],[device_backend=ehal])
else
device_backend=ehal
@ -305,6 +317,7 @@ AC_MSG_RESULT($device_backend)
AM_CONDITIONAL([HAVE_EEZE], [test "x${device_backend}" = "xeeze"])
# doxygen program for documentation building
EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])