]> granicus.if.org Git - graphviz/commitdiff
disable ruby
authorellson <devnull@localhost>
Tue, 18 Oct 2005 21:09:42 +0000 (21:09 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 21:09:42 +0000 (21:09 +0000)
configure.ac
graphviz.spec.in

index 88a723566aada6cc67ad8156a75133bc979a0bec..08d74cfd88eb4437dfacdc74242f6f762f4e6e26 100644 (file)
@@ -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
index d4496a996be4e864e160b7025155c9edec8cf430..7d8ff92b5b33af927bbd2a7c459b111779faf0b0 100644 (file)
@@ -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