The swig generation of qmf bindings is not working for me (I believe the version of swig I have is at least part of the problem). Unless there are objections I'd like to apply the attached patch (or something similar) to allow the generation of these bindings to be disabled if desired.

--Gordon.
Index: configure.ac
===================================================================
--- configure.ac	(revision 781324)
+++ configure.ac	(working copy)
@@ -151,6 +151,13 @@
 
 # Swig binding generator is needed for the script (Ruby, Python, etc.) bindings.
 AC_CHECK_PROG([SWIG], [swig], [swig])
+AC_ARG_WITH([swig],
+  [AS_HELP_STRING([--with-swig], [Use swig t generate qmf bindings.])],
+  [case "$withval" in
+    yes) test -z "$SWIG" && AC_MSG_ERROR([swig not found.]) ;;
+    no) SWIG="" ;;
+    *)   AC_MSG_ERROR([Bad value ${withval} for --with-swig.]) ;;
+   esac])
 AM_CONDITIONAL([HAVE_SWIG], [test -n "$SWIG"])
 
 # Ruby bindings: To build ruby wrappers, the ruby-devel files must be present.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to