summaryrefslogtreecommitdiff
path: root/libre/icecat/mozconfig.old
blob: a790aee48b0afb0f4dc2af8021c3f46c37e7c85e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# This is a better commented version of the .mozconfig used by the Parabola
# package < v9
. $topsrcdir/browser/config/mozconfig

ac_add_options --prefix=/usr
ac_add_options --libdir=/usr/lib

# System libraries
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --with-system-bz2
ac_add_options --with-system-png
ac_add_options --with-system-libevent
ac_add_options --with-system-libvpx
ac_add_options --enable-system-hunspell
ac_add_options --enable-system-sqlite
ac_add_options --enable-system-cairo
ac_add_options --with-pthreads

ac_add_options --enable-default-toolkit=cairo-gtk2

# Features
ac_add_options --enable-extensions=default

ac_add_options --enable-url-classifier
ac_add_options --enable-startup-notification
ac_add_options --enable-gio

ac_add_options --enable-canvas
ac_add_options --enable-canvas3d
ac_add_options --enable-places
ac_add_options --enable-smil
ac_add_options --enable-svg

ac_add_options --disable-javaxpcom
ac_add_options --enable-libnotify
ac_add_options --enable-printing
ac_add_options --enable-xinerama
ac_add_options --enable-xterm-updates

ac_add_options --disable-gnomevfs
ac_add_options --disable-crashreporter
ac_add_options --disable-update
ac_add_options --disable-tests
ac_add_options --disable-mochitest
ac_add_options --disable-installer

ac_add_options --disable-debug

# Optimization
ac_add_options --disable-pedantic
ac_add_options --disable-static
ac_add_options --enable-install-strip
ac_add_options --enable-jemalloc
ac_add_options --enable-optimize
ac_add_options --enable-strip

# PGO
ac_add_options --enable-profile-guided-optimization
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-pgo
mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/profileserver.py'
mk_add_options PYTHONPATH='$(OBJDIR)/_profile/pgo'

export MOZILLA_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1

# IceCat
ac_add_options --disable-official-branding
ac_add_options --with-branding=browser/branding/unofficial
ac_add_options --with-distribution-id=org.gnu.gnuzilla
ac_add_options --with-user-appdir=.gnuzilla

# Parabola
ac_add_options --disable-safe-browsing
export BUILD_OFFICIAL=1
mk_add_options BUILD_OFFICIAL=1