# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# This file specifies the build flags for Firefox.  You can use it by adding:
#  . $topsrcdir/browser/config/mozconfig
# to the top of your mozconfig file.

ac_add_options --enable-application=browser
ac_add_options --enable-optimize=-O2 # Gentoo's default optimization
ac_add_options --disable-pedantic # disable_update_strip
ac_add_options --disable-updater # disable_update_strip
ac_add_options --disable-strip # disable_update_strip
ac_add_options --disable-install-strip # disable_update_strip
ac_add_options --disable-installer # disable_update_strip
ac_add_options --disable-strip-libs # disable_update_strip
ac_add_options --disable-profilelocking # basic_profile
ac_add_options --enable-single-profile # basic_profile
ac_add_options --disable-profilesharing # basic_profile
ac_add_options --with-system-zlib # system_libs
ac_add_options --enable-pango # system_libs
ac_add_options --enable-svg # system_libs
ac_add_options --with-system-bz2 # system_libs
ac_add_options --enable-default-toolkit=cairo-gtk2 # 
ac_add_options --enable-official-branding # +!bindist
ac_add_options --disable-debug # -debug
ac_add_options --disable-tests # -debug
ac_add_options --disable-debug-symbols # disabled by Gentoo
ac_add_options --enable-startup-notification # +startup-notification
ac_add_options --enable-necko-wifi # +wifi
ac_add_options --enable-dbus # +dbus
ac_add_options --enable-ogg # required
ac_add_options --enable-wave # required
ac_add_options --with-system-nspr # 
ac_add_options --with-nspr-prefix=/usr # 
ac_add_options --with-system-nss # 
ac_add_options --with-nss-prefix=/usr # 
ac_add_options --x-includes=/usr/include # 
ac_add_options --x-libraries=/usr/lib64 # 
ac_add_options --with-system-libevent=/usr # 
ac_add_options --prefix=/usr # 
ac_add_options --libdir=/usr/lib64 # 
ac_add_options --enable-system-hunspell # Gentoo default
ac_add_options --disable-gnomevfs # 
ac_add_options --disable-gnomeui # 
ac_add_options --enable-gio # 
ac_add_options --disable-crashreporter # 
ac_add_options --with-system-png # Gentoo default
ac_add_options --enable-system-ffi # 
ac_add_options --disable-gold # Gentoo default to honor system linker
ac_add_options --disable-gconf # 
export MOZ_JEMALLOC3=1
ac_add_options --enable-jemalloc # 
ac_add_options --enable-replace-malloc # 
ac_add_options --target=x86_64-pc-linux-gnu # 
ac_add_options --build=x86_64-pc-linux-gnu # 
ac_add_options --enable-gstreamer=1.0 # +gstreamer
ac_add_options --disable-pulseaudio # -pulseaudio
ac_add_options --disable-system-cairo # -system-cairo
ac_add_options --disable-system-sqlite # -system-sqlite
ac_add_options --without-system-jpeg # -system-jpeg
ac_add_options --without-system-icu # -system-icu
ac_add_options --disable-intl-api # -system-icu
ac_add_options --without-system-libvpx # -system-libvpx
ac_add_options --with-google-api-keyfile=/var/tmp/portage_notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/google-api-key # 
ac_add_options --disable-mailnews # 
ac_add_options --with-default-mozilla-five-home=/usr/lib64/firefox # 
ac_add_options --enable-ion # 
mk_add_options MOZ_OBJDIR=/var/tmp/portage_notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/ff
ac_add_options --enable-extensions=default
