2016-01-10 00:40:17 +00:00
|
|
|
# sh
|
|
|
|
# Build configuration script for Arch Linux
|
|
|
|
#
|
|
|
|
# See http://www.mozilla.org/build/unix.html for build instructions.
|
|
|
|
#
|
|
|
|
|
|
|
|
# ALARM options
|
|
|
|
ac_add_options --disable-elf-hack
|
|
|
|
|
|
|
|
##############################
|
|
|
|
# tweak the following according to your wishes
|
|
|
|
##############################
|
|
|
|
ac_add_options --disable-debug
|
|
|
|
ac_add_options --enable-optimize
|
|
|
|
ac_add_options --enable-strip
|
|
|
|
#ac_add_options --enable-debug
|
|
|
|
#ac_add_options --disable-optimize
|
2016-07-02 19:50:57 +00:00
|
|
|
|
|
|
|
##############################
|
|
|
|
# I build on a 4-cpu machine ; comment out or adapt to your own case
|
|
|
|
##############################
|
2016-01-10 00:40:17 +00:00
|
|
|
mk_add_options MOZ_MAKE_FLAGS="-s -j4"
|
|
|
|
|
|
|
|
##############################
|
|
|
|
# DO NOT MODIFY BELOW THIS LINE
|
|
|
|
##############################
|
2016-07-02 19:50:57 +00:00
|
|
|
ac_add_options --enable-application=bluegriffon
|
2016-01-10 00:40:17 +00:00
|
|
|
# System directories
|
2016-07-02 19:50:57 +00:00
|
|
|
mk_add_options MOZ_TOOLKIT_SEARCH=
|
2016-01-10 00:40:17 +00:00
|
|
|
ac_add_options --prefix=/usr
|
|
|
|
|
|
|
|
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/bg
|
2016-07-02 19:50:57 +00:00
|
|
|
mk_add_options MOZ_MEDIA_NAVIGATOR=1
|
2016-01-10 00:40:17 +00:00
|
|
|
|
|
|
|
# System libraries
|
|
|
|
ac_add_options --with-system-nspr
|
|
|
|
ac_add_options --with-system-nss
|
|
|
|
ac_add_options --with-system-libevent
|
|
|
|
ac_add_options --with-system-libvpx
|
|
|
|
ac_add_options --enable-system-hunspell
|
|
|
|
ac_add_options --enable-system-sqlite
|
|
|
|
#ac_add_options --enable-system-ffi
|
|
|
|
#ac_add_options --enable-system-cairo
|
|
|
|
ac_add_options --enable-system-pixman
|
|
|
|
ac_add_options --with-system-jpeg
|
|
|
|
ac_add_options --with-system-png
|
|
|
|
ac_add_options --with-system-zlib
|
|
|
|
ac_add_options --with-system-bz2
|
|
|
|
ac_add_options --with-pthreads
|
2016-07-02 19:50:57 +00:00
|
|
|
|
|
|
|
# Features
|
|
|
|
ac_add_options --disable-necko-wifi
|
2016-01-10 00:40:17 +00:00
|
|
|
ac_add_options --disable-tests
|
|
|
|
ac_add_options --enable-default-toolkit=cairo-gtk2
|
|
|
|
ac_add_options --disable-crashreporter
|
|
|
|
ac_add_options --enable-safe-browsing
|
|
|
|
ac_add_options --enable-gio
|
|
|
|
ac_add_options --disable-updater
|
|
|
|
ac_add_options --disable-update-packaging
|
|
|
|
ac_add_options --disable-webrtc
|
|
|
|
ac_add_options --enable-startup-notification
|
|
|
|
ac_add_options --enable-pulseaudio
|
|
|
|
ac_add_options --disable-debug-symbols
|
|
|
|
ac_add_options --enable-media-navigator
|
2016-07-02 19:50:57 +00:00
|
|
|
|