diff options
| author | Gordon Sim <gsim@apache.org> | 2009-06-03 13:08:35 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2009-06-03 13:08:35 +0000 |
| commit | cc2a09e8fb6fadde25cdc0a010588131fb5fd2f6 (patch) | |
| tree | 22fbd9c42e87aa4723ccfc648c596acdc3218327 /qpid | |
| parent | d5f01a01e6ddb4eb552bf013750462734ae14e90 (diff) | |
| download | qpid-python-cc2a09e8fb6fadde25cdc0a010588131fb5fd2f6.tar.gz | |
Allow conrol at configure time over generation of qmf bindings via swig (--with-swig/--without-swig)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@781358 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid')
| -rw-r--r-- | qpid/cpp/configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qpid/cpp/configure.ac b/qpid/cpp/configure.ac index 408faf99b3..054ebb16f1 100644 --- a/qpid/cpp/configure.ac +++ b/qpid/cpp/configure.ac @@ -151,6 +151,13 @@ test -z "$RUBY" && AC_MSG_ERROR([Missing ruby installation (try "yum install rub # 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 to 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. |
