1 ac_add_options --enable-application=browser
2 mk_add_options MOZ_CO_PROJECT=browser
3 ac_add_options --prefix=/usr --libdir=/usr/lib
5 ## System libs are preferred
6 ac_add_options --with-system-nss --with-system-jpeg --with-pthreads --with-system-zlib
7 ac_add_options --with-system-bz2 --with-system-png --enable-system-cairo --with-system-hunspell
8 ac_add_options --with-system-sqlite --with-system-nspr --with-system-libevent
11 ac_add_options --disable-installer --disable-updater
12 ac_add_options --enable-official-branding
13 ac_add_options --enable-startup-notification
16 ac_add_options --disable-pedantic --enable-jemalloc --enable-xterm-updates
17 ### Reverse these lines (enable vs disable) for a debug build
18 ac_add_options --enable-optimize="-O2" --disable-debug --disable-tests
19 ac_add_options --enable-profile-guided-optimization
20 ac_add_options --enable-strip --enable-install-strip
23 ## Edit these as you see fit
24 ac_add_options --disable-crashreporter --disable-parental-controls
25 ac_add_options --enable-printing --enable-xinerama
26 ac_add_options --enable-default-toolkit=cairo-gtk2 # cairo-gtk2-dfb, cairo-gtk2, or cairo-qt
27 ac_add_options --enable-places --enable-svg --enable-pango --enable-canvas
28 ac_add_options --enable-smil --disable-java-xpcom
29 # Enabling this breaks PGO with 3.6, on x86_64. Please test enabled with later versions.
30 ac_add_options --disable-canvas3d
31 # This is disabled in order to speed Firefox up, it prevents checking Google
32 # for every single URL Firefox processes. If you're using this package, it's likely you already
33 # know enough to be safe online, or are paranoid (perhaps with reason) about
34 # Google getting your URLs. Also, this is GNU/Linux, we have somewhat less to fear ;-)
35 ac_add_options --disable-safe-browsing
38 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-pgo
39 mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/profileserver.py'
40 export BUILD_OFFICIAL=1
41 export MOZILLA_OFFICIAL=1
42 mk_add_options BUILD_OFFICIAL=1
43 mk_add_options MOZILLA_OFFICIAL=1
45 # Want to change the compiler?