Set with_cv_(perl|ruby) = no if --without-(perl|ruby) is set.
Originally committed to SVN as r2533.
This commit is contained in:
parent
bdbf8f4fe0
commit
c0374c55d4
1 changed files with 4 additions and 0 deletions
|
@ -748,6 +748,8 @@ fi
|
||||||
if test "$with_cv_perl" = "yes"; then
|
if test "$with_cv_perl" = "yes"; then
|
||||||
with_automation="yes"
|
with_automation="yes"
|
||||||
AC_DEFINE(WITH_PERL, 1, [Enable PERL support.])
|
AC_DEFINE(WITH_PERL, 1, [Enable PERL support.])
|
||||||
|
else
|
||||||
|
with_cv_perl="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST(PERL_CFLAGS)
|
AC_SUBST(PERL_CFLAGS)
|
||||||
|
@ -813,6 +815,8 @@ fi
|
||||||
if test "$with_cv_ruby" = "yes"; then
|
if test "$with_cv_ruby" = "yes"; then
|
||||||
with_automation="yes"
|
with_automation="yes"
|
||||||
AC_DEFINE(WITH_RUBY, 1, [Enable RUBY Automation.])
|
AC_DEFINE(WITH_RUBY, 1, [Enable RUBY Automation.])
|
||||||
|
else
|
||||||
|
with_cv_ruby="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST(RUBY_CFLAGS)
|
AC_SUBST(RUBY_CFLAGS)
|
||||||
|
|
Loading…
Reference in a new issue