1 | # Add default firefox settings
|
---|
2 | . $topsrcdir/browser/config/mozconfig
|
---|
3 |
|
---|
4 | # Build in object dir, i.e. ../firefox-build
|
---|
5 | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../firefox-build
|
---|
6 |
|
---|
7 | # Where to install it
|
---|
8 | ac_add_options --prefix=/usr
|
---|
9 |
|
---|
10 | # Basic building options
|
---|
11 | ac_add_options --disable-tests
|
---|
12 | ac_add_options --disable-installer
|
---|
13 |
|
---|
14 | # Static build requires disabling shared libraries
|
---|
15 | # ac_add_options --enable-static
|
---|
16 | # ac_add_options --disable-shared
|
---|
17 |
|
---|
18 | # System libraries to use rather than internal snapshots
|
---|
19 | ac_add_options --with-system-jpeg
|
---|
20 | ac_add_options --with-system-zlib
|
---|
21 | ac_add_options --with-system-png
|
---|
22 | ac_add_options --enable-system-cairo
|
---|
23 |
|
---|
24 | # Graphics toolkit options
|
---|
25 | ac_add_options --enable-svg # enable svg support
|
---|
26 | ac_add_options --enable-canvas # enable html:canvas feature
|
---|
27 |
|
---|
28 | # Make sure Firefox has official stats and icons
|
---|
29 | mk_add_options BUILD_OFFICIAL=1
|
---|
30 | mk_add_options MOZILLA_OFFICIAL=1
|
---|
31 | export BUILD_OFFICIAL=1
|
---|
32 | export MOZILLA_OFFICIAL=1
|
---|
33 | ac_add_options --enable-official-branding
|
---|
34 |
|
---|
35 | # Extra build tweaks
|
---|
36 | ac_add_options \
|
---|
37 | --with-default-mozilla-five-home=/usr/lib/firefox-1.5 # MOZILLA_FIVE_HOME
|
---|
38 | ac_add_options --enable-xinerama # dual display support
|
---|
39 | ac_add_options --enable-reorder # function reordering
|
---|
40 | ac_add_options --enable-strip # enable stripping
|
---|
41 | # ac_add_options --enable-cpp-rtti # C++ RTTI
|
---|
42 | # ac_add_options --disable-pedantic # all warnings issued for ANSI C
|
---|
43 | # ac_add_options --with-user-appdir=.firefox # moves part of user profile
|
---|
44 | # ac_add_options --disable-logging # disable logging
|
---|
45 | ac_add_options --disable-accessibility # turn off accessibility
|
---|
46 |
|
---|
47 | # Options that are on by default in x86 Linux
|
---|
48 | # ac_add_options --enable-shared
|
---|
49 | # ac_add_options --disable-debug
|
---|
50 | # ac_add_options --enable-optimize
|
---|
51 | # ac_add_options --enable-default-toolkit=gtk2
|
---|
52 | # ac_add_options --enable-xft
|
---|
53 | # ac_add_options --disable-freetype2
|
---|
54 | # ac_add_options --enable-svg-renderer=cairo
|
---|
55 | # ac_add_options --with-pthreads
|
---|