1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

configure: fix --enable-testing

Add missing pkg init for configure --enable-testing.
This commit is contained in:
Zdenek Kabelac 2012-10-01 14:34:07 +02:00
parent 886656e4ac
commit 98bcfdca83
3 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.98 - Version 2.02.98 -
================================= =================================
Add missing pkg init with --enable-testing in configure.in (2.02.71).
Fix inability to create, extend or convert to a large (> 1TiB) RAID LV. Fix inability to create, extend or convert to a large (> 1TiB) RAID LV.
Add (p)artial attribute to lvs. Add (p)artial attribute to lvs.
Don't try to issue discards to a missing PV to avoid segfault. Don't try to issue discards to a missing PV to avoid segfault.

3
configure vendored
View File

@ -8704,6 +8704,9 @@ fi
$as_echo "$TESTING" >&6; } $as_echo "$TESTING" >&6; }
if test "$TESTING" = yes; then if test "$TESTING" = yes; 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 CUNIT" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CUNIT" >&5

View File

@ -856,6 +856,9 @@ AC_ARG_ENABLE(testing,
AC_MSG_RESULT($TESTING) AC_MSG_RESULT($TESTING)
if test "$TESTING" = yes; then if test "$TESTING" = yes; then
if test x$PKGCONFIG_INIT != x1; then
pkg_config_init
fi
PKG_CHECK_MODULES(CUNIT, cunit >= 2.0) PKG_CHECK_MODULES(CUNIT, cunit >= 2.0)
fi fi