Fix a duplicate _cv_ entry for ruby/perl that was stopping the AGI macro

from detecting proper support.

Originally committed to SVN as r2678.
This commit is contained in:
Amar Takhar 2009-01-08 09:34:17 +00:00
parent 1468be9860
commit 4dc6d0eca8

View file

@ -817,7 +817,7 @@ int main(int argc, char **argv) {
fi
fi
if test "$agi_cv_with_cv_perl" = "no" && test "$with_cv_perl" = "yes"; then
if test "$agi_cv_with_perl" = "no" && test "$with_cv_perl" = "yes"; then
AC_MSG_WARN([Perl detected, but it doesn't work...])
with_cv_perl="no"
fi
@ -884,7 +884,7 @@ int main(void) {
fi
fi
if test "$agi_cv_with_cv_ruby" = "no" && test "$with_cv_ruby" = "yes"; then
if test "$agi_cv_with_ruby" = "no" && test "$with_cv_ruby" = "yes"; then
AC_MSG_WARN([Ruby detected, but it doesn't work...])
with_cv_ruby="no"
fi