]> sourceware.org Git - lvm2.git/blobdiff - configure.in
Fix error message when pvmove LV activation fails with name already in use.
[lvm2.git] / configure.in
index 434c97e99ffd3129607e83252bcc2306975b82a8..c056984d8a1210b6d9026f5d3ef18ff1a7f7148c 100644 (file)
@@ -740,7 +740,12 @@ if [[ "x$BUILD_CMIRRORD" = xyes ]]; then
        if  test x$PKGCONFIG_INIT != x1; then
                pkg_config_init
        fi
-       PKG_CHECK_MODULES(SACKPT, libSaCkpt)
+
+       AC_DEFINE([CMIRROR_HAS_CHECKPOINT], 1, [Define to 1 to include libSaCkpt.])
+       PKG_CHECK_MODULES(SACKPT, libSaCkpt, [HAVE_SACKPT=yes],
+               [AC_MSG_RESULT([no libSaCkpt, compiling without it])
+               AC_DEFINE([CMIRROR_HAS_CHECKPOINT], 0, [Define to 0 to exclude libSaCkpt.])])
+
        if test x$HAVE_CPG != xyes; then
                PKG_CHECK_MODULES(CPG, libcpg)
        fi
This page took 0.023726 seconds and 5 git commands to generate.