Mozilla configuration is in a .mozconfig file, and controls many things, such as whether to build Mozilla or Firefox. It can be in your /boot/home folder or the Mozilla folder you may have created.
Open StyledEdit (or your preferred editor) and add the following lines to the end of the file:
#** START OF USER MODIFICATIONS **
# This is a comment, and has the # character in front.
# Uncomment this line to Build firefox
# . $topsrcdir/browser/config/mozconfig
# Uncomment this line to buiild Thunderbird
#. $topsrcdir/mail/config/mozconfig
# Uncomment this line to build Calander (Sunbird)
#. $topsrcdir/calendar/sunbird/config/mozconfig
# Comment this out if not building Mozilla suite (SeaMonkey)
mk_add_options MOZ_CO_PROJECT=suite
ac_add_options --enable-application=suite
# These should point to your glib and libIDL configuration make sure they do.
export GLIB_CONFIG=/boot/home/glib-libIDL-beos/glib/bin/glib-config
mk_add_options GLIB_CONFIG=/boot/home/glib-libIDL-beos/glib/bin/glib-config
export LIBIDL_CONFIG=/boot/home/glib-libIDL-beos/libIDL/bin/libIDL-config
mk_add_options LIBIDL_CONFIG=/boot/home/glib-libIDL-beos/libIDL/bin/libIDL-config
# These points to the CVS where Mozilla sources are and should not change
export CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot
mk_add_options CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot
# Use this to place all the object files in a seperate directory
# (Useful for building multiple projects from the same tree)
# mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/some_subdir
# These are the settings I recommend you ONLY CHANGE if you want to experiment
# on you own and AFTER you've done A FEW SUCCESSFUL BUILDS.
# I spent a week trying different configurations and this is a nice one.
# Trust me.
# Make sure not to use --disable-cpp-rtti -- it is required on BeOS (it is also
# on by default for this OS)
#Automatic updater is not currently supported on BeOS and does not build. So don't build it.
ac_add_options --disable-updater
# Some other stuff I've disabled.
ac_add_options --disable-accessibility
# Don't think printing is working, but I don't know.
# Maybe you can uncomment this if you want to try.
ac_add_options --disable-postscript
# We don't have Java for BeOS yet. While this builds fine, it is not useful.
ac_add_options --disable-oji
# No need to build ipv6 in BeOS right now as BeOS don't have ip version 6.
ac_add_options --disable-ipv6
# Assume Cairo support is not available
ac_add_options --disable-svg
ac_add_options --disable-canvas
# These are for debugging purposes.
ac_add_options --disable-debug
ac_add_options --disable-tests
ac_add_options --disable-logging
ac_add_options --disable-dtd-debug
# Disables jsd, a requirement for venkman (JavaScript Debugger)
ac_add_options --disable-jsd
# Don't be to hard on us while we're building.
# It's mostly for developers and debugging purposes.
ac_add_options --disable-pedantic
# Strip the objects, makes files smaller at the expense of not being able to debug properly.
ac_add_options --enable-strip
ac_add_options --enable-strip-libs
# Optimizing for size. It's basically same as -O2 but tries to reduce size also.
# -O2 should work, both of those may introduce bugs though (-O3 had many problems before)
ac_add_options --enable-optimize=-Os
# The first optimize doesn't work very well for mozilla builds.
# It prevents URL drop-down menu from smart browsing to work. So use that one instead.
#ac_add_options --enable-optimize
###########################
# Optional features, disabled by default
# You might want to enable these features by removing the # in front of the
# ac_add_options lines.
# Calendar extension
# ac_add_options --enable-calendar
# Uncommenting this may add speedups (and maybe decrease stability)
# but BUILD IT COMMENTED FIRST
#ac_add_options --enable-reorder
# Don't use cpp exceptions. Other BeOS programs usually don't use this so why should we?
# ac_add_options --enable-cpp-exceptions
# Make Firefox call itself Firefox and not "Deer Park"
# ac_add_options --enable-official-branding
#** END OF USER MODIFICATIONS **