summaryrefslogtreecommitdiff
path: root/qpid/cpp/configure.ac
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2009-07-08 13:50:09 +0000
committerTed Ross <tross@apache.org>2009-07-08 13:50:09 +0000
commit830aca1858d990c52637caea081cd0b6733e1beb (patch)
tree0f41196b22fc5d5dcce80888011646aef1be0579 /qpid/cpp/configure.ac
parent8ba033556fa6433b3180c5d3c8705c550256efd5 (diff)
downloadqpid-python-830aca1858d990c52637caea081cd0b6733e1beb.tar.gz
Added version check for SWIG in the configure script. This should properly disable SWIG for
distributions with too-old versions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@792139 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/configure.ac')
-rw-r--r--qpid/cpp/configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/configure.ac b/qpid/cpp/configure.ac
index da0f8c576f..24a8275cfd 100644
--- a/qpid/cpp/configure.ac
+++ b/qpid/cpp/configure.ac
@@ -150,7 +150,8 @@ 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_CHECK_PROG([SWIG], [swig], [swig])
+AC_PROG_SWIG(1.3.26)
+test ! -x "$SWIG" && SWIG=""
AC_ARG_WITH([swig],
[AS_HELP_STRING([--with-swig], [Use swig to generate qmf bindings.])],
[case "$withval" in