summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2012-10-01 14:34:07 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2012-10-03 14:59:59 +0200
commit98bcfdca837c8b56cc355e74672c932c1e8ed735 (patch)
tree07e24c1d8d1f9c723eb32eecf7b11b79820ccc30
parent886656e4ac5e5c932d9fbe60d18c063136288a38 (diff)
downloadlvm2-98bcfdca837c8b56cc355e74672c932c1e8ed735.tar.gz
lvm2-98bcfdca837c8b56cc355e74672c932c1e8ed735.tar.xz
lvm2-98bcfdca837c8b56cc355e74672c932c1e8ed735.zip
configure: fix --enable-testing
Add missing pkg init for configure --enable-testing.
-rw-r--r--WHATS_NEW1
-rwxr-xr-xconfigure3
-rw-r--r--configure.in3
3 files changed, 7 insertions, 0 deletions
diff --git a/WHATS_NEW b/WHATS_NEW
index dc62d77d..1868f99c 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
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.
Add (p)artial attribute to lvs.
Don't try to issue discards to a missing PV to avoid segfault.
diff --git a/configure b/configure
index 52f0e369..13fb6d69 100755
--- a/configure
+++ b/configure
@@ -8704,6 +8704,9 @@ fi
$as_echo "$TESTING" >&6; }
if test "$TESTING" = yes; then
+ if test x$PKGCONFIG_INIT != x1; then
+ pkg_config_init
+ fi
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CUNIT" >&5
diff --git a/configure.in b/configure.in
index 1c908f94..2bdffcac 100644
--- a/configure.in
+++ b/configure.in
@@ -856,6 +856,9 @@ AC_ARG_ENABLE(testing,
AC_MSG_RESULT($TESTING)
if test "$TESTING" = yes; then
+ if test x$PKGCONFIG_INIT != x1; then
+ pkg_config_init
+ fi
PKG_CHECK_MODULES(CUNIT, cunit >= 2.0)
fi