diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-28 16:21:05 -0500 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 13:01:21 +0200 |
commit | 9816a810e6197aaaf549e4fe04e77cd2a9d2e865 (patch) | |
tree | 66a255842cffbc4e0eb905629e464cc2874ef978 | |
parent | 9a8068ea3fd3844b4b8f73893a852406b3d08f12 (diff) | |
download | UXP-9816a810e6197aaaf549e4fe04e77cd2a9d2e865.tar UXP-9816a810e6197aaaf549e4fe04e77cd2a9d2e865.tar.gz UXP-9816a810e6197aaaf549e4fe04e77cd2a9d2e865.tar.lz UXP-9816a810e6197aaaf549e4fe04e77cd2a9d2e865.tar.xz UXP-9816a810e6197aaaf549e4fe04e77cd2a9d2e865.zip |
Issue #251 - Move --disable-dbm to ac configure
Also Tag #1467
-rw-r--r-- | build/moz.configure/old.configure | 1 | ||||
-rw-r--r-- | old-configure.in | 17 | ||||
-rw-r--r-- | toolkit/moz.configure | 2 | ||||
-rw-r--r-- | toolkit/nss.configure | 16 |
4 files changed, 18 insertions, 18 deletions
diff --git a/build/moz.configure/old.configure b/build/moz.configure/old.configure index df955f001..72c294706 100644 --- a/build/moz.configure/old.configure +++ b/build/moz.configure/old.configure @@ -166,6 +166,7 @@ def old_configure_options(*options): '--enable-cookies', '--enable-cpp-rtti', '--enable-crashreporter', + '--enable-dbm', '--enable-dbus', '--enable-debug-js-modules', '--enable-jetpack', diff --git a/old-configure.in b/old-configure.in index c99c49eec..d438d9ea3 100644 --- a/old-configure.in +++ b/old-configure.in @@ -2159,6 +2159,7 @@ MOZ_PLACES=1 MOZ_SERVICES_HEALTHREPORT=1 MOZ_SERVICES_SYNC=1 MOZ_USERINFO=1 +NSS_DISABLE_DBM= MOZ_MAILNEWS= MOZ_MAILNEWS_OAUTH2= MOZ_LDAP_XPCOM= @@ -2700,6 +2701,22 @@ x86_64 | arm | aarch64 | x86 | ppc* | ia64) esac dnl ========================================================= +dnl = NSS DBM (BerkeleyDB) Support +dnl = NOTE: Because we don't expressly control the name of +dnl = this var --disable-dbm means NSS_DISABLE_DBM=1 +dnl ========================================================= +MOZ_ARG_DISABLE_BOOL(dbm, +[ --disable-dbm Disable DBM support in nss], + NSS_DISABLE_DBM=1, + NSS_DISABLE_DBM=) + +if test -n "$NSS_DISABLE_DBM"; then + AC_DEFINE(NSS_DISABLE_DBM) +fi + +AC_SUBST(NSS_DISABLE_DBM) + +dnl ========================================================= dnl = Don't fold mailnews related comps into libXUL dnl ========================================================= MOZ_ARG_ENABLE_BOOL(incomplete-external-linkage, diff --git a/toolkit/moz.configure b/toolkit/moz.configure index ca7f91e6e..128402257 100644 --- a/toolkit/moz.configure +++ b/toolkit/moz.configure @@ -559,8 +559,6 @@ option('--enable-ipdl-tests', help='Enable expensive IPDL tests') set_config('MOZ_IPDL_TESTS', depends_if('--enable-ipdl-tests')(lambda _: True)) -include('nss.configure') - # Network protocol support # ============================================================== @depends(check_build_environment, '--help') diff --git a/toolkit/nss.configure b/toolkit/nss.configure deleted file mode 100644 index 0febafb34..000000000 --- a/toolkit/nss.configure +++ /dev/null @@ -1,16 +0,0 @@ -# -*- Mode: python; 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/. - - -# DBM support in NSS -# ============================================================== -@depends(build_project, '--help') -def dbm_default(build_project, _): - return True - -option('--enable-dbm', default=dbm_default, help='Enable building DBM') - -set_config('NSS_DISABLE_DBM', depends('--enable-dbm')(lambda x: not x)) |