summaryrefslogtreecommitdiff
path: root/cpp/configure.ac
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-01-29 20:29:46 +0000
committerAlan Conway <aconway@apache.org>2008-01-29 20:29:46 +0000
commit5cc7ee2784983f4875d1b8eca2db75b431e91a6f (patch)
tree20f3e1133928e8df352e24b23231002bd4887576 /cpp/configure.ac
parentbbd5c6c55f47ec973cbf035271ee8a276cb11217 (diff)
downloadqpid-python-5cc7ee2784983f4875d1b8eca2db75b431e91a6f.tar.gz
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
Diffstat (limited to 'cpp/configure.ac')
-rw-r--r--cpp/configure.ac4
1 files changed, 2 insertions, 2 deletions
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