diff options
| author | Stephen D. Huston <shuston@apache.org> | 2009-03-04 21:13:04 +0000 |
|---|---|---|
| committer | Stephen D. Huston <shuston@apache.org> | 2009-03-04 21:13:04 +0000 |
| commit | 6204925809e9920d1caf7bdf09943eb67e66957b (patch) | |
| tree | 0d33612c6d5075167e06d42ae86110f72c4a4ebc /qpid/cpp | |
| parent | d9489e40acd200bc36d3a638a51152021ac1e3aa (diff) | |
| download | qpid-python-6204925809e9920d1caf7bdf09943eb67e66957b.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@750154 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
| -rw-r--r-- | qpid/cpp/configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/configure.ac b/qpid/cpp/configure.ac index 90b943f047..889bdfdd87 100644 --- a/qpid/cpp/configure.ac +++ b/qpid/cpp/configure.ac @@ -150,8 +150,9 @@ 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.]) AC_SUBST(AMQP_FINAL_XML) -AM_CONDITIONAL([GENERATE], [ls $AMQP_FINAL_XML >/dev/null]) +AM_CONDITIONAL([GENERATE], [test -f $AMQP_FINAL_XML]) # URL and download URL for the package. URL=http://rhm.et.redhat.com/qpidc |
