diff options
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 |