Bug 780222 - Remove redundant check-sync-dirs call in js/src/Makefile.in. r=ted

--HG--
extra : rebase_source : 05faaef0dfb039ff5405fb756bcbd3267f476a3f
This commit is contained in:
Siddharth Agarwal 2012-08-07 02:38:38 +05:30
Родитель c18e108e90
Коммит 2f58914b99
5 изменённых файлов: 14 добавлений и 36 удалений

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

@ -402,7 +402,20 @@ cleansrcdir:
build/autoconf/clean-config.sh; \
fi;
## Sanity check $X and js/src/$X are in sync
# Because the SpiderMonkey can be distributed and built independently
# of the Mozilla source tree, it contains its own copies of many of
# the files used by the top-level Mozilla build process, from the
# 'config' and 'build' subtrees.
#
# To make it simpler to keep the copies in sync, we follow the policy
# that the SpiderMonkey copies must always be exact copies of those in
# the containing Mozilla tree. If you've made a change in one, it
# belongs in the other as well. If the change isn't right for both
# places, then that's something to bring up with the other developers.
#
# Some files are reasonable to diverge; for example,
# js/src/config/autoconf.mk.in doesn't need most of the stuff in
# config/autoconf.mk.in.
.PHONY: check-sync-dirs
check-sync-dirs: check-sync-dirs-build check-sync-dirs-config
check-sync-dirs-%:

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

@ -8994,7 +8994,6 @@ if test -z "$MOZ_NATIVE_NSPR"; then
fi
ac_configure_args="$ac_configure_args --with-dist-dir=../../dist"
ac_configure_args="$ac_configure_args --prefix=$dist"
ac_configure_args="$ac_configure_args --with-sync-build-files=$_topsrcdir"
if test "$MOZ_MEMORY"; then
ac_configure_args="$ac_configure_args --enable-jemalloc"
fi

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

@ -490,29 +490,6 @@ distclean clean::
endif
endif
# Because the SpiderMonkey can be distributed and built independently
# of the Mozilla source tree, it contains its own copies of many of
# the files used by the top-level Mozilla build process, from the
# 'config' and 'build' subtrees.
#
# To make it simpler to keep the copies in sync, we follow the policy
# that the SpiderMonkey copies must always be exact copies of those in
# the containing Mozilla tree. If you've made a change in one, it
# belongs in the other as well. If the change isn't right for both
# places, then that's something to bring up with the other developers.
#
# Some files are reasonable to diverge; for example,
# js/config/autoconf.mk.in doesn't need most of the stuff in
# config/autoconf.mk.in.
check-sync-dirs-cmd = $(PYTHON) $(srcdir)/config/check-sync-dirs.py
check-sync-dirs:
$(check-sync-dirs-cmd) $(srcdir)/config $(MOZ_SYNC_BUILD_FILES)/config
$(check-sync-dirs-cmd) $(srcdir)/build $(MOZ_SYNC_BUILD_FILES)/build
ifdef MOZ_SYNC_BUILD_FILES
check:: check-sync-dirs
endif
# The "find any vanilla new/new[] calls" script is tailored to Linux, so
# only run it there. That should be enough to catch any such calls that
# creep in.

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

@ -27,8 +27,6 @@ TOP_DIST = @TOP_DIST@
MOZ_JS_LIBS = @MOZ_JS_LIBS@
MOZ_SYNC_BUILD_FILES = @MOZ_SYNC_BUILD_FILES@
MOZ_DEBUG = @MOZ_DEBUG@
MOZ_DEBUG_SYMBOLS = @MOZ_DEBUG_SYMBOLS@
MOZ_DEBUG_ENABLE_DEFS = @MOZ_DEBUG_ENABLE_DEFS@

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

@ -4212,15 +4212,6 @@ if test "$MOZ_DEBUG" -o "$NS_TRACE_MALLOC"; then
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS=
fi
MOZ_ARG_WITH_STRING(sync-build-files,
[ --with-sync-build-files=DIR
Check that files in 'config' and 'build' match
their originals in 'DIR/config' and 'DIR/build'.
This helps keep the SpiderMonkey build machinery
in sync with Mozilla's, on which it is based.],
[MOZ_SYNC_BUILD_FILES=$withval ] )
AC_SUBST(MOZ_SYNC_BUILD_FILES)
dnl ========================================================
dnl =
dnl = Maintainer debug option (no --enable equivalent)