Set with_cv_(perl|ruby) = no if --without-(perl|ruby) is set.

Originally committed to SVN as r2533.
This commit is contained in:
Amar Takhar 2008-12-27 09:42:31 +00:00
parent bdbf8f4fe0
commit c0374c55d4

View file

@ -748,6 +748,8 @@ fi
if test "$with_cv_perl" = "yes"; then
with_automation="yes"
AC_DEFINE(WITH_PERL, 1, [Enable PERL support.])
else
with_cv_perl="no"
fi
AC_SUBST(PERL_CFLAGS)
@ -813,6 +815,8 @@ fi
if test "$with_cv_ruby" = "yes"; then
with_automation="yes"
AC_DEFINE(WITH_RUBY, 1, [Enable RUBY Automation.])
else
with_cv_ruby="no"
fi
AC_SUBST(RUBY_CFLAGS)