> ac_add_options --with-pthreads --enable-libxul
> ac_add_options --enable-ipc --disable-static
> ac_add_options --disable-installer --disable-updater
> ac_add_options --disable-pedantic --enable-jemalloc --enable-xterm-
> updates
> ac_add_options --enable-optimize --disable-debug
All of these flags are either useless or the default, so please don't
use them.
> --disable-startup-
> notification
Why?
> ac_add_options --disable-parental-controls
This is meaningless on LInux where the OS doesn't have builtin parental
control support, but I'm pretty sure it would break your windows build?
Why bother specifying it?
> --disable-java-xpcom
Default.
> ac_add_options --disable-xprint --enable-gconf --enable-gnomevfs
> ac_add_options --enable-extensions=default --enable-printing
> ac_add_options --enable-pango --enable-canvas --enable-canvas3d --
> enable-svg
> ac_add_options --enable-smil --enable-shared-js --enable-url-
> classifier
> ac_add_options --enable-places --enable-gio --enable-libnotify
> ac_add_options --disable-safe-browsing
> ac_add_options --disable-accessibility --disable-composer
> ac_add_options --disable-freetypetest --disable-glibtest
> ac_add_options --disable-ldap --disable-libIDLtest
> ac_add_options --disable-logging --disable-mailnews
> ac_add_options --disable-necko-wifi --disable-profilesharing
> ac_add_options --enable-dbus --enable-faststart
> ac_add_options --enable-gnomeui --enable-raw
> ac_add_options --enable-svg --enable-universalchardet
> ac_add_options --enable-threads=posix
Why are you specifying any of these? Just let the defaults do their work.
--BDS
Our configure script has a lot of options that are very old and not
well-maintained. Every option you specify increases the possibility
that your build will not complete properly. In general, you should
start with an empty mozconfig, and only add options if you find it
necessary. Just because an option *looks* like something you would
want doesn't mean that it will do anything useful. Here's the
mozconfig that I'd suggest you start with, if you'd like to do a PGO
build:
--------
# Build Firefox
ac_add_options --enable-application=browser
# Enable PGO compilation
mk_add_options MOZ_PGO=1
# Use the default PGO profiling script
mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON)
@MOZ_OBJDIR@/_profile/pgo/profileserver.py'
# If you have a multi-core system, use parallel make
mk_add_options MOZ_MAKE_FLAGS="-j4"
--------
Then simply use `make -f client.mk` and you should wind up with a
Firefox build in a "obj-x86_64-unknown-linux-gnu" directory.
-Ted