diff options
| author | Ted Ross <tross@apache.org> | 2009-07-08 13:50:09 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2009-07-08 13:50:09 +0000 |
| commit | 72aad0466057d5546bcad7cbd63c43b501b78b68 (patch) | |
| tree | b08e94e74f2fac431ebad259665eb31b18785cb7 /cpp/configure.ac | |
| parent | c1624ea57c4097b30c155844e66ebbbe2dddc20e (diff) | |
| download | qpid-python-72aad0466057d5546bcad7cbd63c43b501b78b68.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/qpid@792139 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/configure.ac')
| -rw-r--r-- | cpp/configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/configure.ac b/cpp/configure.ac index da0f8c576f..24a8275cfd 100644 --- a/cpp/configure.ac +++ b/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 |
