wok-next annotate firefox/stuff/mozconfig @ rev 18105
Up tinc (1.0.25)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 11:20:03 2015 +0200 (2015-06-01) |
parents | dbd41e6636de |
children |
rev | line source |
---|---|
domcox@14210 | 1 # mozconfig file for building Firefox (17.0.0esr) on SliTaz |
domcox@14210 | 2 |
domcox@14210 | 3 # This file contains the options used in the Firefox build. You may |
domcox@14210 | 4 # need to specify additional options for your specific build needs. |
domcox@14210 | 5 # Use the information provided by running './configure --help' to |
domcox@14210 | 6 # help you determine if you need to add any additional options. |
domcox@14210 | 7 # Some additional options can be added by uncommenting the examples |
domcox@14210 | 8 # in this file or adding options by inserting a line containing |
domcox@14210 | 9 # 'ac_add_options --some-option-you-need'. Be aware that some accepted |
domcox@14210 | 10 # options, such as '--with-system-bz2', do not affect the build. |
domcox@14210 | 11 |
domcox@14210 | 12 # ff for slitaz |
domcox@14210 | 13 ac_add_options --with-distribution-id=slitaz |
domcox@14210 | 14 |
domcox@14210 | 15 # we want to build firefox |
domcox@14210 | 16 ac_add_options --enable-application=browser |
domcox@14210 | 17 |
domcox@14210 | 18 # Create an object directory and specify to build the package in that |
domcox@14210 | 19 # directory. If desired, modify the location of the object directory |
domcox@14210 | 20 # to a directory inside the source tree by removing '../' from the |
domcox@14210 | 21 # line below: |
domcox@14210 | 22 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-firefox |
domcox@14210 | 23 |
domcox@14210 | 24 # Specify arch option and level of optimization: |
domcox@14210 | 25 ac_add_options --enable-optimize="$CFLAGS -Wno-all -Wno-extra -Wno-empty-body \ |
domcox@14210 | 26 -Wno-type-limits -Wno-unused-result -Wno-attributes -Wno-enum-compare \ |
domcox@14210 | 27 -Wno-multichar" |
domcox@14210 | 28 |
domcox@14210 | 29 # Issue all warnings demanded by strict ANSI C |
domcox@14210 | 30 ac_add_options --disable-pedantic |
domcox@14210 | 31 |
domcox@14210 | 32 # If you have a multicore machine you can speed up the build by running |
domcox@14210 | 33 # several jobs at once by uncommenting the following line and setting the |
domcox@14210 | 34 # value to number of CPU cores: |
domcox@14210 | 35 mk_add_options MOZ_MAKE_FLAGS="-j$(grep processor /proc/cpuinfo | wc -l)" |
domcox@14210 | 36 |
domcox@14210 | 37 # Reduce the log size: |
domcox@14210 | 38 ac_add_options --silent |
domcox@14210 | 39 |
domcox@14210 | 40 # Recommended dependencies: |
domcox@14210 | 41 ac_add_options --enable-system-sqlite |
domcox@14210 | 42 ac_add_options --with-system-libevent |
domcox@14210 | 43 ac_add_options --with-system-libvpx |
domcox@14210 | 44 ac_add_options --with-system-nspr |
domcox@14210 | 45 ac_add_options --with-system-nss |
domcox@14210 | 46 |
domcox@14210 | 47 # Uncomment these lines if you have installed optional dependencies: |
domcox@14210 | 48 #ac_add_options --enable-system-hunspell |
domcox@14210 | 49 #ac_add_options --enable-startup-notification |
domcox@14210 | 50 |
domcox@14210 | 51 # If you have installed DBus-Glib comment out this line: |
domcox@14210 | 52 # ac_add_options --disable-dbus |
domcox@14210 | 53 |
domcox@14210 | 54 # If you have installed wireless-tools comment out this line: |
domcox@14210 | 55 ac_add_options --disable-necko-wifi |
domcox@14210 | 56 |
domcox@14210 | 57 # If you have installed libnotify comment out this line: |
domcox@14210 | 58 ac_add_options --disable-libnotify |
domcox@14210 | 59 |
domcox@14210 | 60 # If you have not installed Yasm then uncomment this line: |
domcox@14210 | 61 #ac_add_options --disable-webm |
domcox@14210 | 62 |
domcox@14210 | 63 # If you do not want to play h264 videos then uncomment this line: |
domcox@14315 | 64 #ac_add_options --enable-gstreamer |
domcox@14210 | 65 |
domcox@14210 | 66 # If you have installed xulrunner uncomment following two lines: |
domcox@14210 | 67 #ac_add_options --with-system-libxul |
domcox@14210 | 68 #ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul) |
domcox@14210 | 69 |
domcox@14210 | 70 # We dont use --enable-official-branding since we dont have any authorization |
domcox@14210 | 71 # to use trademarks per http://www.mozilla.org/foundation/trademarks/ |
domcox@14210 | 72 ac_add_options --enable-official-branding |
domcox@14210 | 73 |
domcox@14210 | 74 # It is recommended not to touch anything below this line |
domcox@14210 | 75 ac_add_options --prefix=/usr |
domcox@14210 | 76 |
domcox@14210 | 77 ac_add_options --disable-crashreporter |
domcox@14210 | 78 ac_add_options --disable-installer |
domcox@14210 | 79 ac_add_options --disable-updater |
domcox@14210 | 80 ac_add_options --disable-debug |
domcox@14210 | 81 ac_add_options --disable-tests |
domcox@14210 | 82 |
domcox@14210 | 83 ac_add_options --enable-strip |
domcox@14210 | 84 ac_add_options --enable-install-strip |
domcox@14210 | 85 |
domcox@14210 | 86 ac_add_options --enable-gio |
domcox@14210 | 87 ac_add_options --enable-safe-browsing |
domcox@14210 | 88 ac_add_options --enable-url-classifier |
domcox@14210 | 89 |
domcox@14210 | 90 ac_add_options --enable-system-ffi |
domcox@14210 | 91 ac_add_options --enable-system-pixman |
domcox@14210 | 92 |
domcox@14210 | 93 ac_add_options --enable-shared-js |
domcox@14210 | 94 ac_add_options --with-pthreads |
domcox@14210 | 95 |
domcox@14210 | 96 ac_add_options --with-system-bz2 |
domcox@14210 | 97 ac_add_options --with-system-jpeg |
domcox@14210 | 98 #ac_add_options --with-system-png # features missing |
domcox@14210 | 99 ac_add_options --with-system-zlib |
domcox@14210 | 100 |
domcox@14210 | 101 ac_add_options --disable-gconf |
domcox@14210 | 102 #ac_add_options --enable-system-cairo # crash |
domcox@14210 | 103 ac_add_options --disable-logging |