aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d1a38ccf2..77fa73c04 100644
--- a/configure.ac
+++ b/configure.ac
@@ -696,7 +696,7 @@ AC_MSG_RESULT($enable_ruby_doc)
if test "x$enable_ruby_doc" = "xyes" ; then
AC_MSG_CHECKING([for syntax])
- if ruby -rubygems -e "require 'syntax/convertors/html'" >/dev/null 2>/dev/null ; then
+ if $RUBY -rubygems -e "require 'syntax/convertors/html'" >/dev/null 2>/dev/null ; then
AC_MSG_RESULT([yes])
else
AC_MSG_ERROR([syntax (http://syntax.rubyforge.org) is needed to build Ruby documentation])