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)
+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 -----------------------------------
%{?fc4: %{expand: %%define GUILE 1}}
%{?fc4: %{expand: %%define PERL 1}}
%{?fc4: %{expand: %%define PYTHON 1}}
-%{?fc4: %{expand: %%define RUBY 0}}
+%{?fc4: %{expand: %%define RUBY 1}}
+%{?fc4: %{expand: %%define TCL 1}}
%{?fc5: %{expand: %%define CSHARP 1}}
%{?fc5: %{expand: %%define GUILE 1}}
%{?fc5: %{expand: %%define PERL 1}}
%{?fc5: %{expand: %%define PHP 1}}
%{?fc5: %{expand: %%define PYTHON 1}}
-%{?fc5: %{expand: %%define RUBY 0}}
+%{?fc5: %{expand: %%define RUBY 1}}
+%{?fc5: %{expand: %%define TCL 1}}
Summary: Graph Visualization Tools
Name: graphviz