. $topsrcdir/browser/config/mozconfig

# System libraries
ac_add_options --disable-system-cairo
ac_add_options --enable-system-ffi
ac_add_options --enable-system-hunspell
ac_add_options --enable-system-pixman
ac_add_options --enable-system-sqlite
ac_add_options --with-pthreads
ac_add_options --with-system-bz2
ac_add_options --with-system-jpeg
ac_add_options --with-system-libevent
ac_add_options --with-system-libvpx
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-png
ac_add_options --with-system-zlib

# Features
ac_add_options --disable-crashreporter
ac_add_options --disable-gnomevfs
ac_add_options --disable-installer
ac_add_options --disable-safe-browsing
ac_add_options --disable-tests
ac_add_options --disable-updater
ac_add_options --enable-gio
#ac_add_options --enable-gstreamer
ac_add_options --enable-startup-notification

# Vendor settings
ac_add_options --enable-optimize="-pipe -O3"
ac_add_options --libdir=/usr/lib
ac_add_options --prefix=/usr
# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1

# Application settings
ac_add_options --disable-official-branding
# since with-user-appdir with .gnuzilla doesn't do the trick,
# use app-basename instead
ac_add_options --with-app-basename=icecat
ac_add_options --with-branding=browser/branding/unofficial
ac_add_options --with-distribution-id=org.gnu.gnuzilla
ac_add_options --with-user-appdir=.mozilla
export MOZ_PHOENIX=1
mk_add_options MOZ_PHOENIX=1

# Other
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/moz-objdir

# Build-generated