summaryrefslogtreecommitdiff
path: root/cpp/configure.ac
diff options
context:
space:
mode:
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