diff options
| author | Ted Ross <tross@apache.org> | 2011-01-27 17:04:40 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2011-01-27 17:04:40 +0000 |
| commit | 4317c6c71cc1701ad85b2fdfa21caf4f39bbdf68 (patch) | |
| tree | 802d2290ed55e9134862a854c4e2d97194e76ff3 /cpp/configure.ac | |
| parent | 248b21aed2d7aa3181802f73033aa8206d0ed828 (diff) | |
| download | qpid-python-4317c6c71cc1701ad85b2fdfa21caf4f39bbdf68.tar.gz | |
QPID-3009 - Perl binding to Qpid messaging
Applied patch contributed by Hao Chang Yu
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064199 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/configure.ac')
| -rw-r--r-- | cpp/configure.ac | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/cpp/configure.ac b/cpp/configure.ac index 546dd0d280..dc92cd0b44 100644 --- a/cpp/configure.ac +++ b/cpp/configure.ac @@ -198,7 +198,7 @@ if test -n "$RUBY" ; then fi AM_CONDITIONAL([HAVE_RUBY_DEVEL], [test -f $RUBY_INC/ruby.h && test -n "$SWIG"]) -# Python bindings: To build python wrappers, the ruby-devel files must be present. +# Python bindings: To build python wrappers, the python-devel files must be present. AM_PATH_PYTHON() if test -n "$PYTHON" ; then @@ -228,6 +228,16 @@ if test -n "$PYTHON" ; then fi AM_CONDITIONAL([HAVE_PYTHON_DEVEL], [test -f $PYTHON_INC/Python.h && test -n "$SWIG"]) + +# Perl bindings: + +AC_CHECK_PROG([H2XS], [h2xs], [h2xs]) +if test -n "$H2XS" ; then + AC_CHECK_FILE("$libdir/perl5/CORE/perl.h", [AC_SUBST([PERL_INC], "-I$libdir/perl5/CORE")]) +fi +AM_CONDITIONAL([HAVE_PERL_DEVEL], [test -n "$H2XS" && test -n "$SWIG"]) + + specdir=`pwd`/$srcdir/../specs AMQP_FINAL_XML=$specdir/amqp.0-10-qpid-errata.xml AC_SUBST(AMQP_FINAL_XML) @@ -526,6 +536,7 @@ AC_CONFIG_FILES([ bindings/qpid/Makefile bindings/qpid/ruby/Makefile bindings/qpid/python/Makefile + bindings/qpid/perl/Makefile bindings/qmf/Makefile bindings/qmf/ruby/Makefile bindings/qmf/python/Makefile |
