Bug 1260327 - Switch buildconfig.html to using MOZ_CONFIGURE_OPTIONS. r?chmanchester draft
authorMike Hommey <mh+mozilla@glandium.org>
Wed, 13 Apr 2016 11:54:02 +0900
changeset 350315 07e4346376a33b1d38c55ebbf60b463dab36fa77
parent 350314 16fc531a1fc484cd4b5b71278a96735cf4304674
child 518288 346edec16c67bf7a782b867fe858e95242010269
push id15294
push userbmo:mh+mozilla@glandium.org
push dateWed, 13 Apr 2016 08:21:42 +0000
reviewerschmanchester
bugs1260327
milestone48.0a1
Bug 1260327 - Switch buildconfig.html to using MOZ_CONFIGURE_OPTIONS. r?chmanchester
old-configure.in
toolkit/content/buildconfig.html
toolkit/content/moz.build
--- a/old-configure.in
+++ b/old-configure.in
@@ -7470,18 +7470,16 @@ aurora|beta|release|esr)
 esac
 AC_SUBST(A11Y_LOG)
 if test -n "$A11Y_LOG"; then
     AC_DEFINE(A11Y_LOG)
 fi
 
 AC_SUBST(MOZILLA_VERSION)
 
-AC_SUBST(ac_configure_args)
-
 dnl Spit out some output
 dnl ========================================================
 
 dnl The following defines are used by xpcom
 _NON_GLOBAL_ACDEFINES="$_NON_GLOBAL_ACDEFINES
 CPP_THROW_NEW
 HAVE_CPP_AMBIGUITY_RESOLVING_USING
 HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR
--- a/toolkit/content/buildconfig.html
+++ b/toolkit/content/buildconfig.html
@@ -51,16 +51,16 @@
       <td>@CXX@</td>
       <td>@CXX_VERSION@</td>
 #ifndef BUILD_FASTER
       <td>@CXXFLAGS@ @CPPFLAGS@</td>
 #endif
     </tr>
   </tbody>
 </table>
-<h2>Configure arguments</h2>
-<p>@ac_configure_args@</p>
+<h2>Configure options</h2>
+<p>@MOZ_CONFIGURE_OPTIONS@</p>
 #ifdef ANDROID
 <h2>Package name</h2>
 <p>@ANDROID_PACKAGE_NAME@</p>
 #endif
 </body>
 </html>
--- a/toolkit/content/moz.build
+++ b/toolkit/content/moz.build
@@ -1,17 +1,17 @@
 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 TEST_DIRS += ['tests']
 
-for var in ('target', 'ac_configure_args', 'CC', 'CC_VERSION',
+for var in ('target', 'MOZ_CONFIGURE_OPTIONS', 'CC', 'CC_VERSION',
             'CXX', 'CXX_VERSION'):
     DEFINES[var] = CONFIG[var]
 
 DEFINES['CFLAGS'] = CONFIG['OS_CFLAGS']
 
 if CONFIG['OS_TARGET'] == 'Android':
     DEFINES['ANDROID_PACKAGE_NAME'] = CONFIG['ANDROID_PACKAGE_NAME']