summaryrefslogtreecommitdiff
path: root/cpp/configure.ac
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-08-01 21:14:26 +0000
committerAlan Conway <aconway@apache.org>2007-08-01 21:14:26 +0000
commit16de059e3d522762f4e2a4c23bcb5aa2516a0b37 (patch)
tree22dc548d6939ff146aa3293b759ee2cff0716612 /cpp/configure.ac
parent0844ecfe586705c20a9a7830e47afcb52281c969 (diff)
downloadqpid-python-16de059e3d522762f4e2a4c23bcb5aa2516a0b37.tar.gz
Propagate --disable-cluster to spec file
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@561952 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/configure.ac')
-rw-r--r--cpp/configure.ac12
1 files changed, 7 insertions, 5 deletions
diff --git a/cpp/configure.ac b/cpp/configure.ac
index 86a0347248..49b7e5f298 100644
--- a/cpp/configure.ac
+++ b/cpp/configure.ac
@@ -153,12 +153,14 @@ fi
AM_CONDITIONAL([CLUSTER], [test x$enable_CLUSTER = xyes])
if test x$enable_CLUSTER = xyes; then
CPPFLAGS+=" -DCLUSTER"
- REQUIRES_OPENAIS="Requires: openais"
- AC_SUBST(REQUIRES_OPENAIS)
- REQUIRES_OPENAIS_DEVEL="Requires: openais-devel"
- AC_SUBST(REQUIRES_OPENAIS_DEVEL)
+ SPEC_REQUIRES_OPENAIS="Requires: openais"
+ AC_SUBST(SPEC_REQUIRES_OPENAIS)
+ SPEC_REQUIRES_OPENAIS_DEVEL="Requires: openais-devel"
+ AC_SUBST(SPEC_REQUIRES_OPENAIS_DEVEL)
else
- LDFLAGS=$save_ldflags
+ SPEC_CONFIGURE_OPTS=--disable-cluster
+ AC_SUBST(SPEC_CONFIGURE_OPTS)
+ LDFLAGS=$save_ldflags
fi
# Files to generate