mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-27 01:57:55 +03:00
Add missing pkg_config_init check with --enable-udev_sync.
This commit is contained in:
parent
d1ca1d9cb0
commit
c52cf64cea
3
configure
vendored
3
configure
vendored
@ -8767,6 +8767,9 @@ fi
|
|||||||
$as_echo "$UDEV_SYNC" >&6; }
|
$as_echo "$UDEV_SYNC" >&6; }
|
||||||
|
|
||||||
if test x$UDEV_SYNC = xyes; then
|
if test x$UDEV_SYNC = xyes; then
|
||||||
|
if test x$PKGCONFIG_INIT != x1; then
|
||||||
|
pkg_config_init
|
||||||
|
fi
|
||||||
|
|
||||||
pkg_failed=no
|
pkg_failed=no
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
|
{ $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)
|
AC_MSG_RESULT($UDEV_SYNC)
|
||||||
|
|
||||||
if test x$UDEV_SYNC = xyes; then
|
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"])
|
PKG_CHECK_MODULES(UDEV, libudev >= 143, [UDEV_PC="libudev"])
|
||||||
AC_DEFINE([UDEV_SYNC_SUPPORT], 1, [Define to 1 to enable synchronisation with udev processing.])
|
AC_DEFINE([UDEV_SYNC_SUPPORT], 1, [Define to 1 to enable synchronisation with udev processing.])
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user