wok view firefox/stuff/mozconfig @ rev 19146
Up zstd (0.6.1), openssh (7.2p2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 21 17:19:27 2016 +0200 (2016-05-21) |
parents | dbd41e6636de |
children | 1ed1fa7d10cd |
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-all -Wno-extra -Wno-empty-body \
26 -Wno-type-limits -Wno-unused-result -Wno-attributes -Wno-enum-compare \
27 -Wno-multichar"
29 # Issue all warnings demanded by strict ANSI C
30 ac_add_options --disable-pedantic
32 # If you have a multicore machine you can speed up the build by running
33 # several jobs at once by uncommenting the following line and setting the
34 # value to number of CPU cores:
35 mk_add_options MOZ_MAKE_FLAGS="-j$(grep processor /proc/cpuinfo | wc -l)"
37 # Reduce the log size:
38 ac_add_options --silent
40 # Recommended dependencies:
41 ac_add_options --enable-system-sqlite
42 ac_add_options --with-system-libevent
43 ac_add_options --with-system-libvpx
44 ac_add_options --with-system-nspr
45 ac_add_options --with-system-nss
47 # Uncomment these lines if you have installed optional dependencies:
48 #ac_add_options --enable-system-hunspell
49 #ac_add_options --enable-startup-notification
51 # If you have installed DBus-Glib comment out this line:
52 # ac_add_options --disable-dbus
54 # If you have installed wireless-tools comment out this line:
55 ac_add_options --disable-necko-wifi
57 # If you have installed libnotify comment out this line:
58 ac_add_options --disable-libnotify
60 # If you have not installed Yasm then uncomment this line:
61 #ac_add_options --disable-webm
63 # If you do not want to play h264 videos then uncomment this line:
64 #ac_add_options --enable-gstreamer
66 # If you have installed xulrunner uncomment following two lines:
67 #ac_add_options --with-system-libxul
68 #ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul)
70 # We dont use --enable-official-branding since we dont have any authorization
71 # to use trademarks per http://www.mozilla.org/foundation/trademarks/
72 ac_add_options --enable-official-branding
74 # It is recommended not to touch anything below this line
75 ac_add_options --prefix=/usr
77 ac_add_options --disable-crashreporter
78 ac_add_options --disable-installer
79 ac_add_options --disable-updater
80 ac_add_options --disable-debug
81 ac_add_options --disable-tests
83 ac_add_options --enable-strip
84 ac_add_options --enable-install-strip
86 ac_add_options --enable-gio
87 ac_add_options --enable-safe-browsing
88 ac_add_options --enable-url-classifier
90 ac_add_options --enable-system-ffi
91 ac_add_options --enable-system-pixman
93 ac_add_options --enable-shared-js
94 ac_add_options --with-pthreads
96 ac_add_options --with-system-bz2
97 ac_add_options --with-system-jpeg
98 #ac_add_options --with-system-png # features missing
99 ac_add_options --with-system-zlib
101 ac_add_options --disable-gconf
102 #ac_add_options --enable-system-cairo # crash
103 ac_add_options --disable-logging