s/ENABLE_RUBY/WITH_RUBY/ for consistency.
This didn't happen in r666490 because the Ruby stuff was developed
in a separate branch.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@675857 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/configure.ac b/configure.ac
index 3e1d1ac..4ef8d19 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,7 +70,7 @@
if test "$with_ruby" = "yes"; then
AC_PATH_PROG([RUBY], [ruby])
fi
-AM_CONDITIONAL(ENABLE_RUBY, [test -n "$RUBY"])
+AM_CONDITIONAL(WITH_RUBY, [test -n "$RUBY"])
AC_C_CONST
AC_C_INLINE
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 32240ae..3cb592c 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -17,7 +17,7 @@
SUBDIRS += erl
endif
-if ENABLE_RUBY
+if WITH_RUBY
SUBDIRS += rb
endif
diff --git a/test/Makefile.am b/test/Makefile.am
index bac5b06..dab0f4e 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -8,7 +8,7 @@
SUBDIRS += py
endif
-if ENABLE_RUBY
+if WITH_RUBY
SUBDIRS += rb
endif