Skip to contentSkip to conversation

LVM2 configure.in

PATCH [email protected] 1 participant 1 message Jan 11, 2010

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: prajnoha at sourceware.org 2010-01-11 15:51:44

Modified files:
. : configure.in

Log message:
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.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.in.diff?cvsroot=lvm2&r1=1.121&r2=1.122

configure.in +2 -0
@@ -669,6 +669,8 @@
 			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