wok-undigest view firefox/stuff/mozconfig @ rev 947

firefox: reducing log size
author Dominique Corbex <domcox@slitaz.org>
date Sun Mar 10 17:02:44 2013 +0100 (2013-03-10)
parents 6be72b7e925a
children ab8c3d68da92
line source
1 # mozconfig file for building Firefox (17.0.0esr) on SliTaz
3 # This file contains the options used in the Firefox build. You may
4 # need to specify additional options for your specific build needs.
5 # Use the information provided by running './configure --help' to
6 # help you determine if you need to add any additional options.
7 # Some additional options can be added by uncommenting the examples
8 # in this file or adding options by inserting a line containing
9 # 'ac_add_options --some-option-you-need'. Be aware that some accepted
10 # options, such as '--with-system-bz2', do not affect the build.
12 # ff for slitaz
13 ac_add_options --with-distribution-id=slitaz
15 # we want to build firefox
16 ac_add_options --enable-application=browser
18 # Create an object directory and specify to build the package in that
19 # directory. If desired, modify the location of the object directory
20 # to a directory inside the source tree by removing '../' from the
21 # line below:
22 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-firefox
24 # Specify arch option and level of optimization:
25 ac_add_options --enable-optimize="$CFLAGS -Wno-unused-function \
26 -Wno-unused-but-set-variable -Wno-unused-variable -Wno-variadic-macros"
28 # If you have a multicore machine you can speed up the build by running
29 # several jobs at once by uncommenting the following line and setting the
30 # value to number of CPU cores:
31 mk_add_options MOZ_MAKE_FLAGS="$MAKEFLAGS"
34 # Reduce the log size:
35 ac_add_options --silent
37 # Recommended dependencies:
38 ac_add_options --enable-system-sqlite
39 ac_add_options --with-system-libevent
40 ac_add_options --with-system-libvpx
41 ac_add_options --with-system-nspr
42 ac_add_options --with-system-nss
44 # Uncomment these lines if you have installed optional dependencies:
45 #ac_add_options --enable-system-hunspell
46 #ac_add_options --enable-startup-notification
48 # If you have installed DBus-Glib comment out this line:
49 # ac_add_options --disable-dbus
51 # If you have installed wireless-tools comment out this line:
52 ac_add_options --disable-necko-wifi
54 # If you have installed libnotify comment out this line:
55 ac_add_options --disable-libnotify
57 # If you have not installed Yasm then uncomment this line:
58 #ac_add_options --disable-webm
60 # If you do not want to play h264 videos then uncomment this line:
61 ac_add_options --enable-gstreamer
63 # If you have installed xulrunner uncomment following two lines:
64 #ac_add_options --with-system-libxul
65 #ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul)
67 # We dont use --enable-official-branding since we dont have any authorization
68 # to use trademarks per http://www.mozilla.org/foundation/trademarks/
69 ac_add_options --enable-official-branding
71 # It is recommended not to touch anything below this line
72 ac_add_options --prefix=/usr
74 ac_add_options --disable-crashreporter
75 ac_add_options --disable-installer
76 ac_add_options --disable-updater
77 ac_add_options --disable-debug
78 ac_add_options --disable-tests
80 ac_add_options --enable-strip
81 ac_add_options --enable-install-strip
83 ac_add_options --enable-gio
84 ac_add_options --enable-safe-browsing
85 ac_add_options --enable-url-classifier
87 ac_add_options --enable-system-ffi
88 ac_add_options --enable-system-pixman
90 ac_add_options --with-pthreads
92 ac_add_options --with-system-bz2
93 ac_add_options --with-system-jpeg
94 #ac_add_options --with-system-png
95 ac_add_options --with-system-zlib
97 ac_add_options --disable-gconf
98 #ac_add_options --enable-system-cairo # crash
99 ac_add_options --disable-logging