fix configure #2

SVN revision: 53713
This commit is contained in:
Mike Blumenkrantz 2010-10-21 10:03:04 +00:00
parent 0b7ffc41f9
commit a4693a06df
1 changed files with 3 additions and 4 deletions

View File

@ -292,6 +292,7 @@ AC_ARG_ENABLE([device-udev],
[e_cv_want_device_udev=$enableval], [e_cv_want_device_udev=$enableval],
AC_CACHE_VAL([e_cv_want_device_udev], [e_cv_want_device_udev=yes])) AC_CACHE_VAL([e_cv_want_device_udev], [e_cv_want_device_udev=yes]))
eeze_mount=
if test "x$e_cv_want_device_udev" = "xyes";then if test "x$e_cv_want_device_udev" = "xyes";then
PKG_CHECK_EXISTS([eeze >= 1.0.0], PKG_CHECK_EXISTS([eeze >= 1.0.0],
[ [
@ -299,12 +300,11 @@ if test "x$e_cv_want_device_udev" = "xyes";then
AC_DEFINE_UNQUOTED([HAVE_EEZE],[1],[enable udev support]) AC_DEFINE_UNQUOTED([HAVE_EEZE],[1],[enable udev support])
AC_CHECK_LIB([eeze], [eeze_disk_function], AC_CHECK_LIB([eeze], [eeze_disk_function],
[ [
AM_CONDITIONAL([HAVE_EEZE_MOUNT], [true]) eeze_mount=yes
AC_DEFINE_UNQUOTED([HAVE_EEZE_MOUNT], [1], [enable eeze mounting]) AC_DEFINE_UNQUOTED([HAVE_EEZE_MOUNT], [1], [enable eeze mounting])
AC_MSG_NOTICE([eeze mounting enabled]) AC_MSG_NOTICE([eeze mounting enabled])
], ],
[ [
AM_CONDITIONAL([HAVE_EEZE_MOUNT], [false]),
AC_MSG_NOTICE([eeze mounting disabled]) AC_MSG_NOTICE([eeze mounting disabled])
] ]
) )
@ -312,12 +312,11 @@ if test "x$e_cv_want_device_udev" = "xyes";then
],[device_backend=ehal]) ],[device_backend=ehal])
else else
device_backend=ehal device_backend=ehal
AM_CONDITIONAL([HAVE_EEZE_MOUNT], [false])
fi fi
AC_MSG_RESULT($device_backend) AC_MSG_RESULT($device_backend)
AM_CONDITIONAL([HAVE_EEZE], [test "x${device_backend}" = "xeeze"]) AM_CONDITIONAL([HAVE_EEZE], [test "x${device_backend}" = "xeeze"])
AM_CONDITIONAL([HAVE_EEZE_MOUNT], [test "x${eeze_mount}" = "xyes"])
# doxygen program for documentation building # doxygen program for documentation building