Ticket #3030: xulrunner-mozconfig

File xulrunner-mozconfig, 5.4 KB (added by Robert L. Inglis, 14 years ago)
Line 
1# This file contains the options used in the Xulrunner build. You may
2# need to specify additional options for your specific build needs.
3# Use the information provided by running './configure --help' to
4# help you determine if you need to add any additional options.
5# Some additional options can be added by uncommenting the examples
6# in this file or adding options by inserting a line containing
7# 'ac_add_options --some-option-you-need'. Be aware that some accepted
8# options, such as '--with-system-bz2', do not affect the build.
9
10# specify that we want to build xulrunner
11ac_add_options --enable-application=xulrunner
12
13# Create an object directory and specify to build the package in that
14# directory. If desired, modify the location of the object directory
15# to a directory inside the source tree by removing '../' from the
16# line below.
17mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../xulrunner-build
18
19# Specify the installation prefix. If you would prefer Xulrunner
20# installed in a different prefix, modify the line below to fit
21# your needs (the config will always be written to /etc/gre.d)
22ac_add_options --prefix=/usr
23
24# apply a minimal level of optimization (-O)
25ac_add_options --enable-optimize=-O3
26
27# These options are used so that the Xulrunner binaries are linked to
28# the system-installed copies of the specified libraries instead of
29# the source tree code which may not be the most recent versions.
30# With the exception of libsqlite3, the libraries are statically linked.
31
32# (Options to use system installed libraries)
33# Using the shipped version of libsqlite3 has been reported to cause
34# problems with other applications which were using sqlite3.
35# Only comment this line if you know exactly what you are doing!
36ac_add_options --enable-system-sqlite
37
38# Comment this only if you want to use whatever patched version of cairo
39# is in the shipped mozilla tree, together with the system headers.
40ac_add_options --enable-system-cairo
41
42# Comment this if you have not installed lcms.
43ac_add_options --enable-system-lcms
44
45# Comment this if you did not build libjpeg before GTK+-2.
46ac_add_options --with-system-jpeg
47
48# These two options enable support for building Xulrunner with
49# system-installed versions of the Network Security Services (NSS)
50# and Netscape Portable Runtime (NSPR) libraries. Comment them if
51# you wish to use the included copies (not recommended).
52ac_add_options --with-system-nspr
53ac_add_options --with-system-nss
54
55# Comment this if you have not built png with the apng patch.
56ac_add_options --with-system-png
57
58# The pthreads option is only used when building nspr
59# Uncomment this if you build the included nspr.
60#ac_add_options --with-pthreads
61
62# zlib is included in LFS. Do not comment this line.
63ac_add_options --with-system-zlib
64
65# (Options to disable parts of the package)
66# This option is used to disable the a11y support in the Xulrunner
67# binaries. Comment out this option if you require a11y support.
68ac_add_options --disable-accessibility
69
70# Uncomment this if you did not build curl.
71ac_add_options --disable-crashreporter
72
73# Comment this if you have built dbus-glib.
74# ac_add_options --disable-dbus
75
76# Comment this if you have gnome-vfs and libgnomeui, and wish to
77# integrate xulrunner into your gnome desktop
78ac_add_options --disable-gnomevfs
79
80# This option is added so that the Mozilla Installer program is not
81# built or installed. The program is not required for a BLFS
82# installation of Xulrunner.
83ac_add_options --disable-installer
84
85# If you enable javaxpcom, you must have a java compiler installed.
86ac_add_options --disable-javaxpcom
87
88# mochitest often causes problems
89ac_add_options --disable-mochitest
90
91# This option is added so that test libraries and programs are not
92# built. These would only be required for debugging purposes.
93ac_add_options --disable-tests
94
95# Disable the updater, which is not appropriate if you build from source
96ac_add_options --disable-updater
97
98# (options to add extra parts of the package)
99# This option is used to enable source tree included LDAP support in
100# the Xulrunner binaries.
101###################################################################
102#
103# NOTE: You must uncomment this option if there is any chance of
104# compiling the OpenOffice package from source code using this copy
105# of Xulrunner for your Mozilla support.
106#
107# This has NOT been tested, the current status of OpenOffice
108# and xulrunner is unknown! (Remove this comment before release)
109#
110###################################################################
111ac_add_options --enable-ldap
112
113# Use the anti-phishing measures (a blacklist of sites).
114ac_add_options --enable-safe-browsing
115
116# This option is used so that the debugging symbols are removed from
117# the installed binaries during the installation process. Comment out
118# this option if you may have a need to retain the debugging symbols
119# in the installed binaries (the resulting binaries will be about 7MB
120# bigger).
121ac_add_options --enable-strip
122
123# Uncomment this option if you desire support for dual-monitor
124# display using the X-Window Xinerama libraries.
125#ac_add_options --enable-xinerama
126
127# Neck WiFi scanning libiw-dev or wireless-tools-devel. Uncomment if
128# you have built this support.
129ac_add_options --disable-necko-wifi
130
131# This option identifies the default binary directory of the Xulrunner
132# installation and is used to locate Xulrunner's installed files. This
133# option is is only used for development purposes.
134ac_add_options --with-default-mozilla-five-home=/usr/lib/xulrunner-1.9.2