# Build only the JS shell
ac_add_options --enable-project=js
ac_add_options --enable-shared-js

# Standalone SpiderMonkey can not use jemalloc (see https://bugzilla.mozilla.org/show_bug.cgi?id=1465038)
ac_add_options --disable-jemalloc

# Disable unneeded build parts
ac_add_options --without-intl-api
ac_add_options --disable-js-shell
ac_add_options --disable-tests

# Pass extra options from build.sh
for option in ${MOZCONFIG_OPTIONS}; do
	ac_add_options "$option"
done

# Setup output dir
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/${BUILD_DIR}
