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 | 2e477498713cbf3de503487e7cb1835c3fad3562 (patch) | |
| tree | cc915847ecba71c3758fbd591347c410326e78ba /cpp | |
| parent | d48922b905404c96d61c639b60875158cd9c9a70 (diff) | |
| download | qpid-python-2e477498713cbf3de503487e7cb1835c3fad3562.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@750154 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/configure.ac b/cpp/configure.ac index 90b943f047..889bdfdd87 100644 --- a/cpp/configure.ac +++ b/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 |
