rev |
line source |
domcox@6080
|
1 # from Linux from scratch
|
domcox@6080
|
2
|
domcox@6080
|
3 # This file contains the options used in the Thunderbird build. You may
|
domcox@6080
|
4 # need to specify additional options for your specific build needs.
|
domcox@6080
|
5 # Use the information provided by running './configure --help' to
|
domcox@6080
|
6 # help you determine if you need to add any additional options.
|
domcox@6080
|
7 # Some additional options can be added by uncommenting the examples
|
domcox@6080
|
8 # in this file or adding options by inserting a line containing
|
domcox@6080
|
9 # 'ac_add_options --some-option-you-need'. Be aware that some accepted
|
domcox@6080
|
10 # options, such as '--with-system-bz2', do not affect the build.
|
domcox@6080
|
11
|
domcox@6080
|
12 # slitaz
|
domcox@6080
|
13 ac_add_options --with-distribution-id=slitaz
|
domcox@6080
|
14
|
domcox@6080
|
15 # specify that we want to build thunderbird
|
domcox@6080
|
16 ac_add_options --enable-application=mail
|
domcox@6080
|
17
|
domcox@6080
|
18 # sepcify that we want to build the Lightning calendar extension as per the
|
domcox@6080
|
19 # Mozilla distributed Thunderbird.
|
domcox@6080
|
20 # ac_add_options --enable-calendar
|
domcox@6080
|
21
|
domcox@6080
|
22 # Create an object directory and specify to build the package in that
|
domcox@6080
|
23 # directory. If desired, modify the location of the object directory
|
domcox@6080
|
24 # to a directory inside the source tree by removing '../' from the
|
domcox@6080
|
25 # line below.
|
domcox@6080
|
26 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../thunderbird-build
|
domcox@6080
|
27
|
domcox@6080
|
28 # Specify the installation prefix. If you would prefer Xulrunner
|
domcox@6080
|
29 # installed in a different prefix, modify the line below to fit
|
domcox@6080
|
30 # your needs (the config will always be written to /etc/gre.d)
|
domcox@6080
|
31 ac_add_options --prefix=/usr
|
domcox@6080
|
32
|
domcox@6080
|
33 # apply a minimal level of optimization (-O)
|
domcox@6080
|
34 ac_add_options --enable-optimize
|
domcox@6080
|
35
|
domcox@6080
|
36 # These options are used so that the Xulrunner binaries are linked to
|
domcox@6080
|
37 # the system-installed copies of the specified libraries instead of
|
domcox@6080
|
38 # the source tree code which may not be the most recent versions.
|
domcox@6080
|
39 # With the exception of libsqlite3, the libraries are statically linked.
|
domcox@6080
|
40
|
domcox@6080
|
41 # (Options to use system installed libraries)
|
domcox@6080
|
42 # Using the shipped version of libsqlite3 has been reported to cause
|
domcox@6080
|
43 # problems with other applications which were using sqlite3.
|
domcox@6080
|
44 # Only comment this line if you know exactly what you are doing!
|
domcox@11863
|
45 ac_add_options --enable-system-sqlite
|
domcox@6080
|
46
|
domcox@6080
|
47 # Comment this only if you want to use whatever patched version of cairo
|
domcox@6080
|
48 # is in the shipped mozilla tree, together with the system headers.
|
domcox@6080
|
49 ac_add_options --enable-system-cairo
|
domcox@6080
|
50
|
domcox@6080
|
51 # Comment this if you have not installed lcms.
|
domcox@6080
|
52 # ac_add_options --enable-system-lcms
|
domcox@6080
|
53
|
domcox@6080
|
54 # Comment this if you did not build libjpeg before GTK+-2.
|
domcox@6080
|
55 ac_add_options --with-system-jpeg
|
domcox@6080
|
56
|
domcox@6080
|
57 # These two options enable support for building Thunderbird with
|
domcox@6080
|
58 # system-installed versions of the Network Security Services (NSS)
|
domcox@6080
|
59 # and Netscape Portable Runtime (NSPR) libraries. Comment them if
|
domcox@6080
|
60 # you wish to use the included copies (not recommended).
|
domcox@11863
|
61 #ac_add_options --with-system-nspr
|
domcox@6080
|
62 ac_add_options --with-system-nss
|
domcox@6080
|
63
|
domcox@6080
|
64 # Comment this if you have not built png with the apng patch.
|
domcox@11863
|
65 # ac_add_options --with-system-png
|
domcox@6080
|
66
|
domcox@6080
|
67 # The pthreads option is only used when building nspr
|
domcox@6080
|
68 # Uncomment this if you build the included nspr.
|
domcox@12352
|
69 ac_add_options --with-pthreads
|
domcox@6080
|
70
|
domcox@6080
|
71 # zlib is included in LFS. Do not comment this line.
|
domcox@6080
|
72 ac_add_options --with-system-zlib
|
domcox@11863
|
73 ac_add_options --with-system-bz2
|
domcox@6080
|
74
|
domcox@6080
|
75 # (Options to disable parts of the package)
|
domcox@6080
|
76 # This option is used to disable the a11y support in the Xulrunner
|
domcox@6080
|
77 # binaries. Comment out this option if you require a11y support.
|
domcox@6080
|
78 ac_add_options --disable-accessibility
|
domcox@6080
|
79
|
domcox@6080
|
80 # Uncomment this if you did not build curl.
|
domcox@12352
|
81 # Use --disable-crashreporter to disable the crash reporter.
|
domcox@11863
|
82 ac_add_options --disable-crashreporter
|
domcox@6080
|
83
|
domcox@6080
|
84 # Comment this if you have built dbus-glib.
|
domcox@6080
|
85 # ac_add_options --disable-dbus
|
domcox@6080
|
86
|
domcox@6080
|
87 # Comment this if you have gnome-vfs and libgnomeui, and wish to
|
domcox@6080
|
88 # integrate thunderbird into your gnome desktop
|
domcox@6080
|
89 ac_add_options --disable-gnomevfs
|
domcox@6080
|
90
|
domcox@6080
|
91 # This option is added so that the Mozilla Installer program is not
|
domcox@6080
|
92 # built or installed. The program is not required for a BLFS
|
domcox@6080
|
93 # installation of Xulrunner.
|
domcox@6080
|
94 ac_add_options --disable-installer
|
domcox@6080
|
95
|
domcox@6080
|
96 # Enable the build of static internal libs (this is currently required, until
|
domcox@6080
|
97 # Thunderbird 3.1, DO NOT COMMENT, see note below about XulRunner).
|
domcox@11863
|
98 ac_add_options --enable-static
|
domcox@6080
|
99
|
domcox@6080
|
100 # This option is added so that test libraries and programs are not
|
domcox@6080
|
101 # built. These would only be required for debugging purposes.
|
domcox@6080
|
102 ac_add_options --disable-tests
|
domcox@6080
|
103
|
domcox@6080
|
104 # Disable the updater, which is not appropriate if you build from source
|
domcox@6080
|
105 ac_add_options --disable-updater
|
domcox@6080
|
106
|
domcox@6080
|
107 # (options to add extra parts of the package)
|
domcox@6080
|
108 # This option causes the installed binaries to have the official
|
domcox@6080
|
109 # Thunderbird name embedded in them. Due to license restrictions, you
|
domcox@6080
|
110 # may not distribute binaries created using this option. It also
|
domcox@6080
|
111 # means you get a popup EULA when you first run thunderbird.
|
domcox@12352
|
112 ac_add_options --enable-official-branding
|
domcox@6080
|
113
|
domcox@6080
|
114 # This option is used to enable source tree included LDAP support in
|
domcox@6080
|
115 # the Firefox binaries. This used to be required for mozab support in
|
domcox@6080
|
116 # OpenOffice, however, is now deprecated.
|
domcox@11863
|
117 # note: --disable-ldap breaks thunderbird build
|
domcox@11863
|
118 #ac_add_options --disable-ldap
|
domcox@6080
|
119
|
domcox@6080
|
120 # This option is used so that the debugging symbols are removed from
|
domcox@6080
|
121 # the installed binaries during the installation process. Comment out
|
domcox@6080
|
122 # this option if you may have a need to retain the debugging symbols
|
domcox@6080
|
123 # in the installed binaries (the resulting binaries will be about 7MB
|
domcox@6080
|
124 # bigger).
|
domcox@12352
|
125 #ac_add_options --enable-strip
|
domcox@6080
|
126
|
domcox@6080
|
127 # Uncomment this option if you desire support for dual-monitor
|
domcox@6080
|
128 # display using the X-Window Xinerama libraries.
|
domcox@6080
|
129 #ac_add_options --enable-xinerama
|
domcox@6080
|
130
|
domcox@6080
|
131 # Enable strong cryptography (This is explicitly required if you plan to use
|
domcox@6080
|
132 # the enigmail extension for Thunderbird).
|
domcox@6080
|
133 ac_add_options --enable-crypto
|
domcox@6080
|
134
|
domcox@6080
|
135 # Point to the xulrunner libraries - comment these for a standalone client
|
domcox@6080
|
136 # DO NOT UNCOMMENT THESE - System XULRunner is broken until Thunderbird
|
domcox@6080
|
137 # development catches up with XULRunner-1.9.2 (TB-3.1, est. April 6, 2010).
|
domcox@6080
|
138 #ac_add_options --with-system-libxul
|
domcox@6080
|
139 #ac_add_options --with-default-mozilla-five-home=/usr/lib/xulrunner-devel-1.9.2.8
|
domcox@6080
|
140
|
domcox@11863
|
141 # disable webm video format
|
domcox@11863
|
142 ac_add_options --disable-webm
|
domcox@11863
|
143
|
domcox@11863
|
144 # disable debug
|
domcox@11863
|
145 ac_add_options --disable-debug
|
domcox@11863
|
146
|
domcox@11863
|
147 # disable JavaScript debug library
|
domcox@11863
|
148 #ac_add_options --disable-jsd
|
domcox@11863
|
149
|
domcox@11863
|
150 # disable printing support
|
domcox@11863
|
151 ac_add_options --disable-printing
|
domcox@11863
|
152
|
domcox@11863
|
153 # disable building of ANGLE for WebGL->D3D translation
|
domcox@11863
|
154 ac_add_options --disable-angle
|
domcox@11863
|
155
|
domcox@11863
|
156 # do not build test libraries & programs
|
domcox@11863
|
157 ac_add_options --disable-tests
|
domcox@11863
|
158
|
domcox@11863
|
159 # disable feed handling and processing components
|
domcox@11863
|
160 ac_add_options --disable-feeds
|
domcox@11863
|
161
|
domcox@11863
|
162 # disable mozStorage module and related components
|
domcox@12352
|
163 #ac_add_options --disable-storage
|
domcox@11863
|
164
|
domcox@11863
|
165 # disable logging facilities
|
domcox@11863
|
166 ac_add_options --disable-logging
|
domcox@11863
|
167
|
domcox@11863
|
168 # use system libevent
|
domcox@11863
|
169 ac_add_options --with-system-libevent
|
domcox@11863
|
170
|
domcox@11863
|
171 # disable java
|
domcox@12352
|
172 #ac_add_options --disable-javaxpcom
|