ac_add_options --prefix=/usr
ac_add_options --libdir=/usr/lib

ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --with-system-libevent
ac_add_options --with-system-libvpx
ac_add_options --with-system-icu
# XXX: the system's libpng doesn't have APNG support
ac_add_options --without-system-png
ac_add_options --enable-system-pixman
ac_add_options --enable-system-ffi

nspr_config_args="
 --libdir=${XBPS_CROSS_BASE}/usr/lib
 --includedir=${XBPS_CROSS_BASE}/usr/include/nspr"

nss_config_args="
 --libdir=${XBPS_CROSS_BASE}/usr/lib
 --includedir=${XBPS_CROSS_BASE}/usr/include/nss"

ac_add_options --disable-tests
ac_add_options --disable-crashreporter
ac_add_options --disable-updater
ac_add_options --disable-install-strip
ac_add_options --disable-strip
ac_add_options --disable-profiling
ac_add_options --enable-release
ac_add_options --enable-optimize="$CFLAGS"

ac_add_options --enable-official-branding
ac_add_options --enable-application=browser

ac_add_options --allow-addon-sideload
