mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-13 17:18:32 +03:00
Add missing pkg_config_init check with --enable-udev_sync.
This commit is contained in:
parent
900a267655
commit
86ba564a9e
3
configure
vendored
3
configure
vendored
@ -8767,6 +8767,9 @@ fi
|
||||
$as_echo "$UDEV_SYNC" >&6; }
|
||||
|
||||
if test x$UDEV_SYNC = xyes; then
|
||||
if test x$PKGCONFIG_INIT != x1; then
|
||||
pkg_config_init
|
||||
fi
|
||||
|
||||
pkg_failed=no
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
|
||||
|
@ -803,6 +803,10 @@ AC_ARG_ENABLE(udev_sync,
|
||||
AC_MSG_RESULT($UDEV_SYNC)
|
||||
|
||||
if test x$UDEV_SYNC = xyes; then
|
||||
dnl -- init pkgconfig if required
|
||||
if test x$PKGCONFIG_INIT != x1; then
|
||||
pkg_config_init
|
||||
fi
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user