* [PATCH 4/4] Show warning message when libudev not found and we're using --enable-udev_sync
@ 2010-01-08 14:53 Peter Rajnoha
0 siblings, 0 replies; only message in thread
From: Peter Rajnoha @ 2010-01-08 14:53 UTC (permalink / raw)
To: lvm-devel
We use libudev to get the udev state and if it's not running, we just disable the udev sync
code. If the library function we need is not found, we just assume that udev is not running.
But that could be misleading if we don't spot the "no" in the configure process. So it's
better to show a warning to emphasize it a little...
Peter
diff --git a/configure.in b/configure.in
index 8db301c..68edb5f 100644
--- a/configure.in
+++ b/configure.in
@@ -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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-08 14:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-08 14:53 [PATCH 4/4] Show warning message when libudev not found and we're using --enable-udev_sync Peter Rajnoha
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.