mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Require libudev >= 143 when compiling with udev support.
Old versions of libudev < 143 were experimental and unstable. Require recent and stable versions only (version 143 is old enough anyway).
This commit is contained in:
parent
a1e22157d3
commit
71b29ddcc4
@ -1,5 +1,6 @@
|
||||
Version 1.02.64 -
|
||||
===================================
|
||||
Require libudev >= 143 when compiling with udev support.
|
||||
Use word alignment for dm_pool_strdup() and dm_pool_strndup().
|
||||
Use dm_snprintf() to fix signess warning in dm_set_dev_dir().
|
||||
Use unsigned loop counter to fix signess warning in _other_node_ops().
|
||||
|
@ -803,9 +803,7 @@ AC_ARG_ENABLE(udev_sync,
|
||||
AC_MSG_RESULT($UDEV_SYNC)
|
||||
|
||||
if test x$UDEV_SYNC = xyes; then
|
||||
AC_CHECK_LIB(udev, udev_queue_get_udev_is_active,
|
||||
[UDEV_PC="libudev"; UDEV_LIBS="-ludev"],
|
||||
[AC_MSG_ERROR([bailing out... libudev library is required])])
|
||||
PKG_CHECK_MODULES(UDEV, libudev >= 143, [UDEV_PC="libudev"])
|
||||
AC_DEFINE([UDEV_SYNC_SUPPORT], 1, [Define to 1 to enable synchronisation with udev processing.])
|
||||
fi
|
||||
|
||||
|
@ -29,7 +29,6 @@
|
||||
# include <sys/types.h>
|
||||
# include <sys/ipc.h>
|
||||
# include <sys/sem.h>
|
||||
# define LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE
|
||||
# include <libudev.h>
|
||||
#endif
|
||||
|
||||
|
@ -45,7 +45,6 @@
|
||||
# include <sys/types.h>
|
||||
# include <sys/ipc.h>
|
||||
# include <sys/sem.h>
|
||||
# define LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE
|
||||
# include <libudev.h>
|
||||
#endif
|
||||
|
||||
|
@ -43,7 +43,6 @@ extern char *optarg;
|
||||
#endif
|
||||
|
||||
#ifdef UDEV_SYNC_SUPPORT
|
||||
# define LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE
|
||||
# include <libudev.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user