Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: configure.in

Issue 29325961: Issue 2995 - Use a different update URL in release builds (Closed)
Patch Set: Created Sept. 5, 2015, 8 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | mobile/android/app/mobile.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dnl -*- Mode: Autoconf; tab-width: 4; indent-tabs-mode: nil; -*- 1 dnl -*- Mode: Autoconf; tab-width: 4; indent-tabs-mode: nil; -*-
2 dnl vi: set tabstop=4 shiftwidth=4 expandtab syntax=m4: 2 dnl vi: set tabstop=4 shiftwidth=4 expandtab syntax=m4:
3 dnl This Source Code Form is subject to the terms of the Mozilla Public 3 dnl This Source Code Form is subject to the terms of the Mozilla Public
4 dnl License, v. 2.0. If a copy of the MPL was not distributed with this 4 dnl License, v. 2.0. If a copy of the MPL was not distributed with this
5 dnl file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 dnl file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 6
7 dnl Process this file with autoconf to produce a configure script. 7 dnl Process this file with autoconf to produce a configure script.
8 dnl ======================================================== 8 dnl ========================================================
9 9
10 AC_PREREQ(2.13) 10 AC_PREREQ(2.13)
(...skipping 9011 matching lines...) Expand 10 before | Expand all | Expand 10 after
9022 USE_ICU=1 9022 USE_ICU=1
9023 fi 9023 fi
9024 9024
9025 MOZ_CONFIG_ICU() 9025 MOZ_CONFIG_ICU()
9026 9026
9027 if test -z "$JS_SHARED_LIBRARY"; then 9027 if test -z "$JS_SHARED_LIBRARY"; then
9028 AC_DEFINE(MOZ_STATIC_JS) 9028 AC_DEFINE(MOZ_STATIC_JS)
9029 fi 9029 fi
9030 AC_SUBST(JS_SHARED_LIBRARY) 9030 AC_SUBST(JS_SHARED_LIBRARY)
9031 9031
9032 dnl ========================================================
Felix Dahlke 2015/09/05 08:45:23 I'm not really good with autohell, but how I see i
9033 dnl Adblock Browser has it's own notion of a release build,
9034 dnl see: https://issues.adblockplus.org/ticket/2995
9035 dnl ========================================================
9036 if test "$ABB_RELEASE_BUILD"; then
9037 AC_DEFINE(ABB_RELEASE_BUILD)
9038 fi
9039
9032 MOZ_CREATE_CONFIG_STATUS() 9040 MOZ_CREATE_CONFIG_STATUS()
9033 9041
9034 # No need to run subconfigures when building with LIBXUL_SDK_DIR 9042 # No need to run subconfigures when building with LIBXUL_SDK_DIR
9035 if test "$COMPILE_ENVIRONMENT" -a -z "$LIBXUL_SDK_DIR"; then 9043 if test "$COMPILE_ENVIRONMENT" -a -z "$LIBXUL_SDK_DIR"; then
9036 MOZ_SUBCONFIGURE_ICU() 9044 MOZ_SUBCONFIGURE_ICU()
9037 MOZ_SUBCONFIGURE_FFI() 9045 MOZ_SUBCONFIGURE_FFI()
9038 fi 9046 fi
9039 9047
9040 # Hack around an Apple bug that affects the egrep that comes with OS X 10.7. 9048 # Hack around an Apple bug that affects the egrep that comes with OS X 10.7.
9041 # "env ARCHPREFERENCE=i386,x86_64 arch egrep" first tries to use the 32-bit 9049 # "env ARCHPREFERENCE=i386,x86_64 arch egrep" first tries to use the 32-bit
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
9270 fi # COMPILE_ENVIRONMENT && !LIBXUL_SDK_DIR 9278 fi # COMPILE_ENVIRONMENT && !LIBXUL_SDK_DIR
9271 9279
9272 export WRITE_MOZINFO=1 9280 export WRITE_MOZINFO=1
9273 dnl we need to run config.status after js/src subconfigure because we're 9281 dnl we need to run config.status after js/src subconfigure because we're
9274 dnl traversing its moz.build and we need its config.status for that. 9282 dnl traversing its moz.build and we need its config.status for that.
9275 dnl However, writing our own config.status needs to happen before 9283 dnl However, writing our own config.status needs to happen before
9276 dnl subconfigures because the setup surrounding subconfigures alters 9284 dnl subconfigures because the setup surrounding subconfigures alters
9277 dnl many AC_SUBSTed variables. 9285 dnl many AC_SUBSTed variables.
9278 MOZ_RUN_CONFIG_STATUS() 9286 MOZ_RUN_CONFIG_STATUS()
9279 unset WRITE_MOZINFO 9287 unset WRITE_MOZINFO
OLDNEW
« no previous file with comments | « no previous file | mobile/android/app/mobile.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld