qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject svn commit: r885536 - /qpid/trunk/qpid/cpp/configure.ac
Date Mon, 30 Nov 2009 18:55:13 GMT
Author: astitcher
Date: Mon Nov 30 18:55:13 2009
New Revision: 885536

URL: http://svn.apache.org/viewvc?rev=885536&view=rev
Log:
Rearranged chack for ruby so that we only need ruby if we need to generate code

Modified:
    qpid/trunk/qpid/cpp/configure.ac

Modified: qpid/trunk/qpid/cpp/configure.ac
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/configure.ac?rev=885536&r1=885535&r2=885536&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/configure.ac (original)
+++ qpid/trunk/qpid/cpp/configure.ac Mon Nov 30 18:55:13 2009
@@ -146,8 +146,6 @@
 # It requires several external tools and files, which we check for here.
 
 AC_CHECK_PROG([RUBY], [ruby], [ruby])
-test -n "$RUBY" && generate=yes
-test -z "$RUBY" && AC_MSG_ERROR([Missing ruby installation (try "yum install ruby").])
 
 # Swig binding generator is needed for the script (Ruby, Python, etc.) bindings.
 AC_PROG_SWIG(1.3.26)
@@ -239,6 +237,7 @@
 AMQP_FINAL_XML=$specdir/amqp.0-10-qpid-errata.xml
 AC_SUBST(AMQP_FINAL_XML)
 AM_CONDITIONAL([GENERATE], [test -f $AMQP_FINAL_XML])
+test -f $AMQP_FINAL_XML -a -z "$RUBY" && AC_MSG_ERROR([Missing ruby installation
(try "yum install ruby").])
 
 # URL and download URL for the package.
 URL=http://rhm.et.redhat.com/qpidc



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message