Fix perl api test so that jar packaging is not always disabled.

This commit is contained in:
cls%seawood.org 2000-09-15 06:10:56 +00:00
parent aa0f12ff69
commit 9bd9de44d9
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -2762,7 +2762,7 @@ fi
echo $ac_n "checking for required perl version""... $ac_c" 1>&6
echo "configure:2764: checking for required perl version" >&5
_perl_version=`$PERL -V:apiversion`
if test `echo $_perl_version | grep -c $PERL_VERSION` = 1; then
if test `echo $_perl_version | grep -c $PERL_VERSION` = 0; then
echo "configure: warning: Perl 5.005 or higher is required. Disabling jar packaging" 1>&2
MOZ_DISABLE_JAR_PACKAGING=1
else

View File

@ -296,7 +296,7 @@ if test -z "$PERL"; then
fi
AC_MSG_CHECKING([for required perl version])
_perl_version=`$PERL -V:apiversion`
if test `echo $_perl_version | grep -c $PERL_VERSION` = 1; then
if test `echo $_perl_version | grep -c $PERL_VERSION` = 0; then
AC_MSG_WARN([Perl 5.005 or higher is required. Disabling jar packaging])
MOZ_DISABLE_JAR_PACKAGING=1
else