1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

configure: update libcpg test

PKG_CHECK_MODULES needs old-way if;then;fi.
This commit is contained in:
Zdenek Kabelac 2014-06-06 10:29:47 +02:00
parent 14f482077d
commit f115a4a53f
2 changed files with 8 additions and 4 deletions

4
configure vendored
View File

@ -9149,7 +9149,8 @@ $as_echo "yes" >&6; }
HAVE_SACKPT=yes
fi
test "$HAVE_CPG" != yes &&
if test "$HAVE_CPG" != yes; then
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CPG" >&5
$as_echo_n "checking for CPG... " >&6; }
@ -9240,6 +9241,7 @@ else
$as_echo "yes" >&6; }
fi
fi
fi
################################################################################

View File

@ -847,7 +847,9 @@ if [[ "$BUILD_CMIRRORD" = yes ]]; then
[AC_MSG_RESULT([no libSaCkpt, compiling without it])
AC_DEFINE([CMIRROR_HAS_CHECKPOINT], 0, [Define to 0 to exclude libSaCkpt.])])
test "$HAVE_CPG" != yes && PKG_CHECK_MODULES(CPG, libcpg)
if test "$HAVE_CPG" != yes; then
PKG_CHECK_MODULES(CPG, libcpg)
fi
fi
################################################################################