mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-06 00:31:27 +00:00
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.
This commit is contained in:
parent
d87117c770
commit
c65990b115
11
configure.in
11
configure.in
@ -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, :)
|
||||
|
Loading…
x
Reference in New Issue
Block a user