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:
742
mozilla/configure
vendored
742
mozilla/configure
vendored
File diff suppressed because it is too large
Load Diff
@@ -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, :)
|
||||
|
||||
Reference in New Issue
Block a user