mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Fix perl api test so that jar packaging is not always disabled.
This commit is contained in:
parent
aa0f12ff69
commit
9bd9de44d9
2
configure
vendored
2
configure
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user