1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

Show a warning message when libudev not found and we're using --enable-udev_sync.

Just to emphasize what one can expect - we won't be able to get udev state
and we will consider that udev is not running at all.
This commit is contained in:
Peter Rajnoha 2010-01-11 15:51:44 +00:00
parent 4df024c40c
commit 55313cb6bf

View File

@ -669,6 +669,8 @@ if test x$UDEV_SYNC = xyes; then
AC_DEFINE([HAVE_UDEV_QUEUE_GET_UDEV_IS_ACTIVE], 1,
[Define to 1 if libudev's udev_queue_get_udev_is_active function is available.])
LIBS="-ludev $LIBS"
else
AC_MSG_WARN(It won't be possible to get udev state. We will assume that udev is not running.)
fi
fi