author Mike Hommey <>
Thu, 14 Apr 2016 17:07:57 +0900
changeset 331182 19192644236646c8c4bec4d475bc3fd628608846
parent 330490 d1ff10330267d97b6dd9556c685d35cbf013ce2e
child 333485 35e0d7dd7cd7bff301b75756361b36b275102404
child 334164 3f0264791127a848fe26837db974c3c60eba999e
permissions -rw-r--r--
Bug 1257448 - Move --enable-jemalloc and MOZ_JEMALLOC4 to moz.configure. r=nalexander At the same time, allow to enable jemalloc 4 with --enable-jemalloc=4. MOZ_JEMALLOC4 will be deprecated later. This also changes the semantics for freebsd, where the system jemalloc is used, relying on MOZ_MEMORY being unset (default on freebsd) and MOZ_JEMALLOC4 to be set. In this new setup, MOZ_JEMALLOC4 implies --enable-jemalloc=4, which still works because of the corresponding changes to old-configure.

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at

# Common mozconfig for official builds.
# Add options to this file that will be inherited by all in-tree mozconfigs.
# This is useful for eg try builds with nondefault options that apply to all
# architectures, though note that if you want to override options set in
# another mozconfig file, you'll need to use mozconfig.common.override instead
# of this file.

mk_add_options AUTOCLOBBER=1

ac_add_options --enable-crashreporter

ac_add_options --enable-release

ac_add_options --enable-js-shell

. "$topsrcdir/build/mozconfig.automation"