From: Peter Rajnoha <prajnoha@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH 4/4] Show warning message when libudev not found and we're using --enable-udev_sync
Date: Fri, 08 Jan 2010 15:53:27 +0100 [thread overview]
Message-ID: <4B4746E7.3000304@redhat.com> (raw)
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
reply other threads:[~2010-01-08 14:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B4746E7.3000304@redhat.com \
--to=prajnoha@redhat.com \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.