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 | fd6337ce1b4658da62bb3e1dfe067f9d78457bb6 (patch) | |
| tree | 20b68ac330f9e3d9d820c327c4395ab76154d8e1 /cpp | |
| parent | 2e477498713cbf3de503487e7cb1835c3fad3562 (diff) | |
| download | qpid-python-fd6337ce1b4658da62bb3e1dfe067f9d78457bb6.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/qpid@750155 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/configure.ac | 2 |
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]) |
