[Debian-ha-commits] [pacemaker] 08/69: Use PKG_CHECK_MODULES to check for libqb version

Christoph Berg myon at debian.org
Tue Jan 26 09:14:24 UTC 2016


This is an automated email from the git hooks/post-receive script.

myon pushed a commit to branch debian/master
in repository pacemaker.

commit 836e034b5e81d63f7d7a002e3e190a161656051f
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date:   Tue Dec 15 12:49:34 2015 +0100

    Use PKG_CHECK_MODULES to check for libqb version
---
 configure.ac | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/configure.ac b/configure.ac
index 9f6204e..a2fbb90 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1028,7 +1028,7 @@ if test x${enable_no_stack} = xyes; then
     SUPPORT_CS=no
 fi
 
-PKG_CHECK_MODULES(libqb, libqb, HAVE_libqb=1, HAVE_libqb=0)
+PKG_CHECK_MODULES(libqb, libqb >= 0.13, HAVE_libqb=1, HAVE_libqb=0)
 AC_CHECK_HEADERS(qb/qbipc_common.h)
 AC_CHECK_LIB(qb, qb_ipcs_connection_auth_set)
 
@@ -1037,12 +1037,6 @@ PCMK_FEATURES="$PCMK_FEATURES libqb-logging libqb-ipc"
 
 AC_CHECK_FUNCS(qb_ipcs_connection_get_buffer_size, AC_DEFINE(HAVE_IPCS_GET_BUFFER_SIZE,  1, [Have qb_ipcc_get_buffer_size function]))
 
-if
-   ! pkg-config --atleast-version 0.13 libqb
-then
-   AC_MSG_FAILURE(Version of libqb is too old: v0.13 or greater requried)
-fi
-
 LIBS="$LIBS $libqb_LIBS"
 
 AC_CHECK_HEADERS(heartbeat/hb_config.h)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/pacemaker.git



More information about the Debian-HA-Commits mailing list