ac_add_options --prefix=/usr
ac_add_options --enable-application=browser
ac_add_options --enable-release
ac_add_options --enable-hardening
ac_add_options --enable-optimize
ac_add_options --enable-rust-simd
ac_add_options --enable-linker=lld
ac_add_options --enable-official-branding
ac_add_options --enable-strip
ac_add_options --enable-install-strip
ac_add_options --enable-jemalloc
ac_add_options --enable-system-pixman
ac_add_options --enable-system-ffi
ac_add_options --enable-dbus
ac_add_options --enable-replace-malloc
ac_add_options --enable-pulseaudio

ac_add_options --with-user-appdir=".firefox"
ac_add_options --with-system-zlib
ac_add_options --with-ccache
ac_add_options --with-unsigned-addon-scopes=app,system
ac_add_options --with-system-nspr
ac_add_options --with-system-nss

ac_add_options --disable-debug
ac_add_options --disable-debug-symbols
ac_add_options --disable-updater
ac_add_options --disable-crashreporter
ac_add_options --disable-necko-wifi
#ac_add_options --disable-elf-hack
ac_add_options --disable-bootstrap
ac_add_options --disable-tests
ac_add_options --without-wasm-sandboxed-libraries
ac_add_options --without-system-png
ac_add_options --without-system-icu

# The following is taken from the Linux From Scratch folks;
# The following option unsets Telemetry Reporting. With the Addons Fiasco,
# Mozilla was found to be collecting user's data, including saved passwords and
# web form data, without users consent. Mozilla was also found shipping updates
# to systems without the user's knowledge or permission.
# As a result of this, use the following command to permanently disable
# telemetry reporting in Firefox.
unset MOZ_TELEMETRY_REPORTING
mk_add_options AUTOCLOBBER=1
