1
0
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:
Alasdair Kergon 2011-04-28 16:54:32 +00:00
parent 900a267655
commit 86ba564a9e
2 changed files with 7 additions and 0 deletions

3
configure vendored
View File

@ -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

View File

@ -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