configure: Disable Ruby bindings by default.
authorIan Abbott <abbotti@mev.co.uk>
Fri, 20 Apr 2012 09:11:57 +0000 (10:11 +0100)
committerIan Abbott <abbotti@mev.co.uk>
Fri, 20 Apr 2012 09:11:57 +0000 (10:11 +0100)
The SWIG Ruby bindings do not build cleanly from scratch.  They need an
existing installation of comedilib.  So disable them in the default
configuration.  They can be enabled with the --enable-ruby-bindings
configure option.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
configure.ac

index cd8cb729a76f9262d20ce19833367c2a13f90ed8..e17c986e18d250f2f3ac12db817044702ccab01d 100644 (file)
@@ -133,8 +133,8 @@ AS_COMPILER_FLAG([-Wno-unused-function],[PYTHON_QUIET="$PYTHON_QUIET -Wno-unused
 AC_SUBST(PYTHON_QUIET)
 
 # ruby
-AC_ARG_ENABLE([ruby-binding], [  --disable-ruby-binding        Disable building of Ruby binding],
-       [ENABLE_RUBY=$enableval], [ENABLE_RUBY="yes"])
+AC_ARG_ENABLE([ruby-binding], [  --enable-ruby-binding Enable building of Ruby binding],
+       [ENABLE_RUBY=$enableval], [ENABLE_RUBY="no"])
 if test "$ENABLE_RUBY" == "yes" && test "$SWIG" != "no"; then
        AC_PATH_PROG(RUBY, ruby, no)
        if test "$RUBY" != "no" ; then