From 767ce95a11f63b4ff8fa5c597b79f9f063df1c1f Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 10 May 2012 08:54:33 +0000 Subject: [PATCH] Add missing pkg init --- WHATS_NEW | 1 + configure | 3 ++- configure.in | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) 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