diff options
| author | Stephen D. Huston <shuston@apache.org> | 2009-03-04 21:22:59 +0000 |
|---|---|---|
| committer | Stephen D. Huston <shuston@apache.org> | 2009-03-04 21:22:59 +0000 |
| commit | cb8530890459a8480ce3da178ec5ca6d8dd3e38d (patch) | |
| tree | 599facf287dbff50ff2880eed2aada29c644365b /qpid/cpp | |
| parent | 6204925809e9920d1caf7bdf09943eb67e66957b (diff) | |
| download | qpid-python-cb8530890459a8480ce3da178ec5ca6d8dd3e38d.tar.gz | |
Issue a useful message if not generating code from specs; fixes QPID-1709
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750155 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
| -rw-r--r-- | qpid/cpp/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/configure.ac b/qpid/cpp/configure.ac index 889bdfdd87..977fd732a5 100644 --- a/qpid/cpp/configure.ac +++ b/qpid/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]) |
