We're going to start checking for perl modules to avoid build bustage down the road. For now, disable jar packaging if we do not have the required modules.

git-svn-id: svn://10.0.0.236/trunk@79742 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cls%seawood.org
2000-09-21 07:14:29 +00:00
parent c7023b3ce4
commit 82afea4c09
2 changed files with 388 additions and 365 deletions

742
mozilla/configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -303,6 +303,17 @@ if test "$_perl_res" != 0; then
AC_MSG_ERROR([Perl $PERL_VERSION or higher is required.])
fi
AC_MSG_CHECKING([for File::stat])
$PERL -e 'use File::stat;'
_perl_res=$?
if test $_perl_res != 0; then
AC_MSG_RESULT([no])
AC_MSG_WARN([Perl module File::stat not available. Make sure that you have a complete perl installation. Disabling jar packaging.])
MOZ_DISABLE_JAR_PACKAGING=1
else
AC_MSG_RESULT([yes])
fi
AC_PATH_PROG(WHOAMI, whoami, :)
AC_PATH_PROG(AUTOCONF, autoconf, :)
AC_PATH_PROG(UNZIP, unzip, :)