updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / xulrunner-linden-cvs / mozconfig
blob2339db00f668b3c9bee92efbd3fdc08d22bf32bf
1 # ***** BEGIN LICENSE BLOCK *****
2 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License. You may obtain a copy of the License at
7 # http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
12 # License.
14 # The Original Code is the Mozilla Mac OS X Universal Binary Packaging System
16 # The Initial Developer of the Original Code is Google Inc.
17 # Portions created by the Initial Developer are Copyright (C) 2006
18 # the Initial Developer. All Rights Reserved.
20 # Contributor(s):
21 #  Mark Mentovai <mark@moxienet.com> (Original Author)
23 # Alternatively, the contents of this file may be used under the terms of
24 # either the GNU General Public License Version 2 or later (the "GPL"), or
25 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
26 # in which case the provisions of the GPL or the LGPL are applicable instead
27 # of those above. If you wish to allow use of your version of this file only
28 # under the terms of either the GPL or the LGPL, and not to allow others to
29 # use your version of this file under the terms of the MPL, indicate your
30 # decision by deleting the provisions above and replace them with the notice
31 # and other provisions required by the GPL or the LGPL. If you do not delete
32 # the provisions above, a recipient may use your version of this file under
33 # the terms of any one of the MPL, the GPL or the LGPL.
35 # ***** END LICENSE BLOCK *****
37 mk_add_options MOZ_UNIFY_BDATE=1
39 # $MOZ_BUILD_APP is only defined when sourced by configure.  That's not a
40 # problem, because the variables it affects only need to be set for
41 # configure.
42 #if test -n "$MOZ_BUILD_APP" ; then
43 if /bin/true ; then
44   TARGET_CPU=$MOZ_BUILD_APP
46   GCC_VERSION=4.4.1
47   
48   CC="gcc"
49   CXX="g++"
50   #CC="ccache gcc-$GCC_VERSION -fno-stack-protector"
51   #CXX="ccache g++-$GCC_VERSION -fno-stack-protector"
53   # These must be set for cross builds, and don't hurt straight builds.
54   RANLIB=ranlib
55   AR=ar
56   AS=$CC
57   LD=ld
58   STRIP="strip -x -S"
61 CURRENTDIR=`pwd`
63 # parallel build (adjust to taste)
64 mk_add_options MOZ_MAKE_FLAGS=-j4
66 mk_add_options MOZ_CO_PROJECT=xulrunner
67 ac_add_options --enable-application=xulrunner
68 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../objdir-mozilla-linux
69 ac_add_options --enable-optimize
70 ac_add_options --disable-debug
71 ac_add_options --disable-static
72 ac_add_options --enable-shared
73 ac_add_options --disable-ldap
74 ac_add_options --disable-mailnews
75 ac_add_options --enable-extensions=default
76 ac_add_options --enable-crypto
77 ac_add_options --disable-composer
78 ac_add_options --enable-single-profile
79 ac_add_options --disable-profilesharing
80 ac_add_options --disable-profilelocking
81 ac_add_options --disable-accessibility
82 ac_add_options --enable-jsd
83 ac_add_options --disable-installer
84 ac_add_options --enable-xpinstall
85 ac_add_options --disable-postscript
86 ac_add_options --disable-mathml
87 ac_add_options --enable-xpfe-components
88 ac_add_options --disable-dtd-debug
89 ac_add_options --disable-logging
90 ac_add_options --disable-tests
91 ac_add_options --enable-necko-protocols=http,file,about,res,jar,data
92 ac_add_options --enable-image-decoders=png,gif,jpeg
93 #ac_add_options --enable-svg
94 #ac_add_options --enable-svg-renderer=cairo
95 ac_add_options --disable-javaxpcom
96 ac_add_options --disable-activex
97 ac_add_options --disable-activex-scripting
98 #ac_add_options --enable-canvas
99 ac_add_options --disable-canvas # TOFU
101 ac_add_options --enable-cpp-rtti
102 #ac_add_options --with-gtk-prefix=/tmp/GTKBUILD
103 #ac_add_options --with-glib-prefix=/tmp/GTKBUILD
104 ac_add_options --disable-pango
105 #ac_add_options --enable-pango
106 #ac_add_options --enable-freetype2
107 ac_add_options --disable-gnomevfs
108 ac_add_options --disable-gnomeui
109 ac_add_options --disable-xinerama
110 ac_add_options --disable-system-cairo
111 #ac_add_options --disable-xft
113 ac_add_options --with-system-jpeg
114 ac_add_options --prefix=/opt/xulrunner-linden/