Bug 1256990 - Move tar detection to moz.configure. r=chmanchester

This commit is contained in:
Mike Hommey 2016-03-15 18:04:12 +09:00
parent 8c8c40342a
commit 9015326e32
4 changed files with 2 additions and 14 deletions

@ -260,6 +260,7 @@ def wanted_mozconfig_variables(help):
'MOZ_BUILD_APP',
'PERL',
'RPMBUILD',
'TAR',
'UNZIP',
'XARGS',
'ZIP',

@ -451,14 +451,6 @@ AC_SUBST(INTEL_CXX)
dnl ========================================================
dnl Checks for programs.
dnl ========================================================
AC_MSG_CHECKING([for tar archiver])
AC_CHECK_PROGS(TAR, gnutar gtar tar, "")
if test -z "$TAR"; then
AC_MSG_WARN([no tar archiver found in \$PATH])
fi
AC_MSG_RESULT([$TAR])
AC_SUBST(TAR)
if test -z "$COMPILE_ENVIRONMENT"; then
NSINSTALL_BIN='$(PYTHON) $(topsrcdir)/config/nsinstall.py'
fi

@ -114,6 +114,7 @@ perl_version_check('5.006')
# Miscellaneous programs
# ==============================================================
check_prog('DOXYGEN', ('doxygen',), allow_missing=True)
check_prog('TAR', ('gnutar', 'gtar', 'tar'))
check_prog('UNZIP', ('unzip',))
check_prog('XARGS', ('xargs',))
check_prog('ZIP', ('zip',))

@ -5687,12 +5687,6 @@ if test "$OS_ARCH" = "WINNT"; then
fi
fi
AC_CHECK_PROGS(TAR, gnutar gtar tar, "")
if test -z "$TAR"; then
AC_MSG_ERROR([no tar archiver found in \$PATH])
fi
AC_SUBST(TAR)
AC_CHECK_PROGS(WGET, wget, "")
AC_SUBST(WGET)