summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2012-05-10 08:54:33 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2012-05-10 08:54:33 +0000
commitcfc90d7af20630fb7568d12b98101059d97b6b72 (patch)
tree2aae8e0fc0040036891240449a51c7b0d1fb3035
parent1b0ca5fc45fc68bdcbd547d48b3a8f139e1baeb5 (diff)
downloadlvm2-cfc90d7af20630fb7568d12b98101059d97b6b72.tar.gz
Add missing pkg init
-rw-r--r--WHATS_NEW1
-rwxr-xr-xconfigure3
-rw-r--r--configure.in2
3 files changed, 5 insertions, 1 deletions
diff --git a/WHATS_NEW b/WHATS_NEW
index 3a9e41592..0cf2418a7 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
Version 2.02.96 -
================================
+ Add missing pkg init --with-systemdsystemunitdir in configure.in (2.02.92).
Fix division by zero if PV with zero PE count is used during vgcfgrestore.
Add initial support for thin pool lvconvert.
Fix lvrename for thin volumes (regression in for_each_sub_lv() 2.02.89).
diff --git a/configure b/configure
index 8dcfb0fa5..a7907a64f 100755
--- a/configure
+++ b/configure
@@ -10243,7 +10243,8 @@ fi
if test "${with_systemdsystemunitdir+set}" = set; then :
withval=$with_systemdsystemunitdir; systemdsystemunitdir=$withval
else
- pkg_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
+ test x$PKGCONFIG_INIT != x1 && pkg_config_init
+ pkg_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
fi
diff --git a/configure.in b/configure.in
index 32a4886cd..5e8c6f982 100644
--- a/configure.in
+++ b/configure.in
@@ -1293,6 +1293,8 @@ AC_ARG_WITH(systemdsystemunitdir,
AC_HELP_STRING([--with-systemdsystemunitdir=DIR],
[systemd service files in DIR]),
systemdsystemunitdir=$withval,
+ dnl -- init pkgconfig if required
+ test x$PKGCONFIG_INIT != x1 && pkg_config_init
pkg_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd))
if test -n "$pkg_systemdsystemunitdir"; then