diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2012-05-10 08:54:33 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2012-05-10 08:54:33 +0000 |
commit | cfc90d7af20630fb7568d12b98101059d97b6b72 (patch) | |
tree | 2aae8e0fc0040036891240449a51c7b0d1fb3035 | |
parent | 1b0ca5fc45fc68bdcbd547d48b3a8f139e1baeb5 (diff) | |
download | lvm2-cfc90d7af20630fb7568d12b98101059d97b6b72.tar.gz |
Add missing pkg init
-rw-r--r-- | WHATS_NEW | 1 | ||||
-rwxr-xr-x | configure | 3 | ||||
-rw-r--r-- | configure.in | 2 |
3 files changed, 5 insertions, 1 deletions
@@ -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). @@ -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 |