1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
%%ifdef DEB_BUILD_GNU_TYPE
ac_add_options --build=@DEB_BUILD_GNU_TYPE@
%%endif
ac_add_options --host=@DEB_HOST_GNU_TYPE@
ac_add_options --prefix=/usr
ac_add_options --with-l10n-base=@TOPSRCDIR@/@DEB_BUILDDIR@/l10n
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/@MOZ_OBJDIR@
ac_add_options --enable-release
ac_add_options --disable-install-strip
ac_add_options --disable-updater
ac_add_options --enable-application=browser
ac_add_options --enable-startup-notification
ac_add_options --with-distribution-id=com.ubuntu
%%if DEB_HOST_ARCH == armel
%%if DISTRIB_VERSION < 1210
ac_add_options --enable-thumb2
%%else
ac_add_options --disable-methodjit
%%endif
%%endif
%%ifdef MOZ_NO_OPTIMIZE
ac_add_options --disable-optimize
%%else
%%ifndef MOZ_VALGRIND
ac_add_options --enable-optimize
%%else
ac_add_options --enable-optimize="-g -O -freorder-blocks"
%%endif
%%endif
%%ifdef MOZ_VALGRIND
ac_add_options --disable-jemalloc
ac_add_options --enable-valgrind
%%endif
%%ifdef DEB_PARALLEL_JOBS
mk_add_options MOZ_MAKE_FLAGS=-j@DEB_PARALLEL_JOBS@
%%endif
ac_add_options --enable-tests
%%ifdef MOZ_ENABLE_BREAKPAD
ac_add_options --enable-crashreporter
%%else
ac_add_options --disable-crashreporter
%%endif
ac_add_options @MOZ_BRANDING_OPTION@
%%ifdef MOZ_BUILD_PGO
mk_add_options MOZ_PGO=1
mk_add_options PROFILE_GEN_SCRIPT='xvfb-run -a @MOZ_PYTHON@ @TOPSRCDIR@/@MOZ_OBJDIR@/_profile/pgo/profileserver.py 10'
%%endif
ac_add_options --enable-update-channel=@MOZ_UPDATE_CHANNEL@
%%ifdef MOZ_DEBUG
ac_add_options --enable-debug
%%else
ac_add_options --disable-debug
%%endif
ac_add_options --disable-elf-hack
%%if MOZ_APP_NAME != MOZ_DEFAULT_APP_NAME
ac_add_options --with-app-name=@MOZ_APP_NAME@
%%endif
%%ifdef MOZ_APP_PROFILE
ac_add_options --with-app-profile=@MOZ_APP_PROFILE@
%%endif
%%if MOZ_UPDATE_CHANNEL == nightly
ac_add_options --enable-profiling
%%endif
# Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys .
# Note: these are for Ubuntu use ONLY. For your own distribution,
# please get your own set of keys.
# Included with permission from Paweł Hajdan.
# Feel free to contact Chad Miller (chad.miller@canonical.com) or Chris
# Coulson (chris.coulson@canonical.com) for more info
ac_add_options --with-google-api-keyfile=@TOPSRCDIR@/debian/ga
|