diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2012-10-01 14:34:07 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2012-10-03 14:59:59 +0200 |
commit | 98bcfdca837c8b56cc355e74672c932c1e8ed735 (patch) | |
tree | 07e24c1d8d1f9c723eb32eecf7b11b79820ccc30 | |
parent | 886656e4ac5e5c932d9fbe60d18c063136288a38 (diff) | |
download | lvm2-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_NEW | 1 | ||||
-rwxr-xr-x | configure | 3 | ||||
-rw-r--r-- | configure.in | 3 |
3 files changed, 7 insertions, 0 deletions
@@ -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. @@ -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 |