# 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 http://mozilla.org/MPL/2.0/.

export WIN32_REDIST_DIR=$VCINSTALLDIR'redist\x86\Microsoft.VC'$MOZ_MSVCVERSION'0.CRT'

export MOZILLA_OFFICIAL=1

# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1

ac_add_options --enable-application=im
# ac_add_options --enable-extensions=purple
ac_add_options --enable-update-channel=nightly
ac_add_options --enable-optimize
ac_add_options --disable-debug
# The Windows 8 SDK is required for gamepad support.
ac_add_options --disable-gamepad
ac_add_options --enable-jemalloc

if [ `date +%m%d` = 1031 -o `date +%m%d` = 1101 ]; then
ac_add_options --with-branding=im/branding/halloween
fi
