From fcba57669709c1d3a195f1e44af27f3046ace305 Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 18 Oct 2005 21:09:42 +0000 Subject: [PATCH] disable ruby --- configure.ac | 30 +++++++++++++++--------------- graphviz.spec.in | 4 ++-- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/configure.ac b/configure.ac index 88a723566..08d74cfd8 100644 --- a/configure.ac +++ b/configure.ac @@ -441,21 +441,21 @@ AM_CONDITIONAL(WITH_PYTHON, [test "x$PYTHON" != "x"]) dnl ----------------------------------- dnl INCLUDES and LIBS for RUBY -AC_CHECK_PROG(RUBY,ruby,ruby) -if test "x$RUBY" != "x"; then - RUBY_INCLUDES="-I`ruby $TOP_DIR/config/config_ruby.rb INCLUDES`" - RUBY_LIBS="-L`ruby $TOP_DIR/config/config_ruby.rb lib` -lruby" - save_CPPFLAGS=$CPPFLAGS - CPPFLAGS="$CPPFLAGS $RUBY_INCLUDES" - AC_CHECK_HEADER(ruby.h,,[ - AC_MSG_WARN([Unable to find header ruby.h. The Ruby packages will not be built]) - RUBY= - ]) - CPPFLAGS=$save_CPPFLAGS -fi -AC_SUBST(RUBY_INCLUDES) -AC_SUBST(RUBY_LIBS) -AM_CONDITIONAL(WITH_RUBY, [test "x$RUBY" != "x"]) +#AC_CHECK_PROG(RUBY,ruby,ruby) +#if test "x$RUBY" != "x"; then +# RUBY_INCLUDES="-I`ruby $TOP_DIR/config/config_ruby.rb INCLUDES`" +# RUBY_LIBS="-L`ruby $TOP_DIR/config/config_ruby.rb lib` -lruby" +# save_CPPFLAGS=$CPPFLAGS +# CPPFLAGS="$CPPFLAGS $RUBY_INCLUDES" +# AC_CHECK_HEADER(ruby.h,,[ +# AC_MSG_WARN([Unable to find header ruby.h. The Ruby packages will not be built]) +# RUBY= +# ]) +# CPPFLAGS=$save_CPPFLAGS +#fi +#AC_SUBST(RUBY_INCLUDES) +#AC_SUBST(RUBY_LIBS) +#AM_CONDITIONAL(WITH_RUBY, [test "x$RUBY" != "x"]) dnl ----------------------------------- dnl INCLUDES and LIBS for TCL diff --git a/graphviz.spec.in b/graphviz.spec.in index d4496a996..7d8ff92b5 100644 --- a/graphviz.spec.in +++ b/graphviz.spec.in @@ -21,7 +21,7 @@ %{?fc4: %{expand: %%define GUILE 1}} %{?fc4: %{expand: %%define PERL 1}} %{?fc4: %{expand: %%define PYTHON 1}} -%{?fc4: %{expand: %%define RUBY 1}} +%{?fc4: %{expand: %%define RUBY 0}} %{?fc5: %{expand: %%define CSHARP 1}} %{?fc5: %{expand: %%define GUILE 1}} @@ -30,7 +30,7 @@ %{?fc5: %{expand: %%define PERL 1}} %{?fc5: %{expand: %%define PHP 1}} %{?fc5: %{expand: %%define PYTHON 1}} -%{?fc5: %{expand: %%define RUBY 1}} +%{?fc5: %{expand: %%define RUBY 0}} Summary: Graph Visualization Tools Name: graphviz -- 2.40.0