From: Ian Abbott Date: Fri, 20 Apr 2012 09:11:57 +0000 (+0100) Subject: configure: Disable Ruby bindings by default. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=82456b6f98cc3f02eb9ff15ef1f9e273732f57ab;p=comedilib.git configure: Disable Ruby bindings by default. 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 --- diff --git a/configure.ac b/configure.ac index cd8cb72..e17c986 100644 --- a/configure.ac +++ b/configure.ac @@ -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