mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
configure: update libcpg test
PKG_CHECK_MODULES needs old-way if;then;fi.
This commit is contained in:
parent
14f482077d
commit
f115a4a53f
4
configure
vendored
4
configure
vendored
@ -9149,7 +9149,8 @@ $as_echo "yes" >&6; }
|
|||||||
HAVE_SACKPT=yes
|
HAVE_SACKPT=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
test "$HAVE_CPG" != yes &&
|
if test "$HAVE_CPG" != yes; then
|
||||||
|
|
||||||
pkg_failed=no
|
pkg_failed=no
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CPG" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CPG" >&5
|
||||||
$as_echo_n "checking for CPG... " >&6; }
|
$as_echo_n "checking for CPG... " >&6; }
|
||||||
@ -9240,6 +9241,7 @@ else
|
|||||||
$as_echo "yes" >&6; }
|
$as_echo "yes" >&6; }
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -847,7 +847,9 @@ if [[ "$BUILD_CMIRRORD" = yes ]]; then
|
|||||||
[AC_MSG_RESULT([no libSaCkpt, compiling without it])
|
[AC_MSG_RESULT([no libSaCkpt, compiling without it])
|
||||||
AC_DEFINE([CMIRROR_HAS_CHECKPOINT], 0, [Define to 0 to exclude libSaCkpt.])])
|
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
|
fi
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
@ -911,7 +913,7 @@ fi
|
|||||||
dnl -- Enable testing
|
dnl -- Enable testing
|
||||||
AC_MSG_CHECKING(whether to enable unit testing)
|
AC_MSG_CHECKING(whether to enable unit testing)
|
||||||
AC_ARG_ENABLE(testing,
|
AC_ARG_ENABLE(testing,
|
||||||
AC_HELP_STRING([--enable-testing],
|
AC_HELP_STRING([--enable-testing],
|
||||||
[enable testing targets in the makefile]),
|
[enable testing targets in the makefile]),
|
||||||
TESTING=$enableval, TESTING=no)
|
TESTING=$enableval, TESTING=no)
|
||||||
AC_MSG_RESULT($TESTING)
|
AC_MSG_RESULT($TESTING)
|
||||||
@ -925,7 +927,7 @@ fi
|
|||||||
dnl -- Enable valgrind awareness of memory pools
|
dnl -- Enable valgrind awareness of memory pools
|
||||||
AC_MSG_CHECKING(whether to enable valgrind awareness of pools)
|
AC_MSG_CHECKING(whether to enable valgrind awareness of pools)
|
||||||
AC_ARG_ENABLE(valgrind_pool,
|
AC_ARG_ENABLE(valgrind_pool,
|
||||||
AC_HELP_STRING([--enable-valgrind-pool],
|
AC_HELP_STRING([--enable-valgrind-pool],
|
||||||
[enable valgrind awareness of pools]),
|
[enable valgrind awareness of pools]),
|
||||||
VALGRIND_POOL=$enableval, VALGRIND_POOL=no)
|
VALGRIND_POOL=$enableval, VALGRIND_POOL=no)
|
||||||
AC_MSG_RESULT($VALGRIND_POOL)
|
AC_MSG_RESULT($VALGRIND_POOL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user