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