summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/configure.ac b/cpp/configure.ac
index 889bdfdd87..977fd732a5 100644
--- a/cpp/configure.ac
+++ b/cpp/configure.ac
@@ -150,7 +150,7 @@ test -z "$RUBY" && AC_MSG_ERROR([Missing ruby installation (try "yum install rub
specdir=`pwd`/$srcdir/../specs
AMQP_FINAL_XML=$specdir/amqp.0-10-qpid-errata.xml
-test -f $AMQP_FINAL_XML || AC_MSG_NOTICE([AMQP specs not present; source code will not be generated.])
+test -f $AMQP_FINAL_XML || test -d $srcdir/src/gen || AC_MSG_ERROR([Neither AMQP specs nor spec-generated code present; cannot build.])
AC_SUBST(AMQP_FINAL_XML)
AM_CONDITIONAL([GENERATE], [test -f $AMQP_FINAL_XML])