From 5cc7ee2784983f4875d1b8eca2db75b431e91a6f Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 29 Jan 2008 20:29:46 +0000 Subject: Re-enabled build of cluster code when openais is installed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@616507 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/configure.ac') diff --git a/cpp/configure.ac b/cpp/configure.ac index 6de1472aa0..dcdb1d5616 100644 --- a/cpp/configure.ac +++ b/cpp/configure.ac @@ -138,10 +138,10 @@ AC_SUBST(DOWNLOAD_URL) AC_CHECK_HEADERS([boost/shared_ptr.hpp uuid/uuid.h],, AC_MSG_ERROR([Missing required header files.])) -# Check for cluster requirements. Need openais 0.80.3 or higher.x1 +# Check for cluster requirements. save_ldflags=$LDFLAGS LDFLAGS="$LDFLAGS -L/usr/lib/openais -L/usr/lib64/openais" -AC_CHECK_LIB([cpg],[cpg_local_get],[cpg_lib=yes],[cpg_lib=no]) +AC_CHECK_LIB([cpg],[cpg_initialize],[cpg_lib=yes],[cpg_lib=no]) AC_CHECK_HEADER([openais/cpg.h],[cpg_h=yes]) test x$cpg_lib = xyes -a x$cpg_h = xyes && enable_CLUSTER=yes -- cgit v1.2.1