. "$topsrcdir/build/mozconfig.comm-support"

TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir/$commreltopsrcdir}

. "$TOOLTOOL_DIR/build/mozconfig.win-common"
. "$TOOLTOOL_DIR/build/mozconfig.common"
. "$TOOLTOOL_DIR/build/win64/mozconfig.vs-latest"
. "$TOOLTOOL_DIR/suite/config/mozconfigs/mozconfig.win.common"
. "$TOOLTOOL_DIR/suite/config/mozconfigs/common"

ac_add_options --target=x86_64-pc-mingw32
ac_add_options --host=x86_64-pc-mingw32

ac_add_options --enable-application=suite
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --enable-jemalloc
ac_add_options --enable-profiling
ac_add_options --enable-calendar

# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1

# Package js shell
export MOZ_PACKAGE_JSSHELL=1

# Set up mapi includes (must be done after visual studio setup)
export INCLUDE=$INCLUDE:/c/Office\ 2010\ Developer\ Resources/Outlook\ 2010\ MAPI\ Headers
mk_export_correct_style INCLUDE
