Bug 1426553 - Autoconf-related changes to spidermonkey jobs. r=nalexander

On Debian, the autoconf binary is autoconf2.13 while it is autoconf-2.13
on Centos.

In make-source-package.sh, we need to run autoconf to generate the
old-configure to include in the package, so try both.

In hazard-analysis.sh, we actually don't need autoconf itself, so just
copy configure.in to configure.

--HG--
extra : rebase_source : d21075394c69cd7cd6738da645173eb29f4a1259
This commit is contained in:
Mike Hommey 2017-12-21 09:41:19 +09:00
Родитель cffd7e8396
Коммит 40aecc07ad
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -7,7 +7,7 @@ set -e
: ${MKDIR:=mkdir}
: ${TAR:=tar}
: ${AUTOCONF:=autoconf-2.13}
: ${AUTOCONF:=$(which autoconf-2.13 autoconf2.13 | head -1)}
: ${SRCDIR:=$(cd $(dirname $0); pwd 2>/dev/null)}
: ${MOZJS_NAME:=mozjs}
# The place to gather files to be added to the tarball.

Просмотреть файл

@ -39,7 +39,8 @@ function build_js_shell () {
(
unset MOZ_OBJDIR
unset MOZCONFIG
( cd $JS_SRCDIR; autoconf-2.13 )
cp -P $JS_SRCDIR/configure.in $JS_SRCDIR/configure
chmod +x $JS_SRCDIR/configure
if [[ -z "$HAZ_DEP" ]]; then
[ -d $HAZARD_SHELL_OBJDIR ] && rm -rf $HAZARD_SHELL_OBJDIR
fi