зеркало из https://github.com/mozilla/pjs.git
Bug 464088 - Option to build NSS without dbm, non-nss changes r=ted
This commit is contained in:
Родитель
cba2d3cd64
Коммит
0ef0082280
|
@ -464,6 +464,7 @@ NSS_CONFIG = @NSS_CONFIG@
|
|||
NSS_CFLAGS = @NSS_CFLAGS@
|
||||
NSS_LIBS = @NSS_LIBS@
|
||||
NSS_DEP_LIBS = @NSS_DEP_LIBS@
|
||||
NSS_DISABLE_DBM = @NSS_DISABLE_DBM@
|
||||
|
||||
XPCOM_GLUE_LDOPTS = @XPCOM_GLUE_LDOPTS@
|
||||
XPCOM_STANDALONE_GLUE_LDOPTS = @XPCOM_STANDALONE_GLUE_LDOPTS@
|
||||
|
|
|
@ -5154,6 +5154,14 @@ MOZ_ARG_DISABLE_BOOL(plugins,
|
|||
MOZ_PLUGINS=,
|
||||
MOZ_PLUGINS=1)
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Disable building dbm
|
||||
dnl ========================================================
|
||||
MOZ_ARG_DISABLE_BOOL(dbm,
|
||||
[ --disable-dbm Disable building dbm],
|
||||
NSS_DISABLE_DBM=1,
|
||||
NSS_DISABLE_DBM=)
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Open JVM Interface (OJI) support
|
||||
dnl ========================================================
|
||||
|
@ -7987,6 +7995,7 @@ AC_SUBST(NSS_CFLAGS)
|
|||
AC_SUBST(NSS_LIBS)
|
||||
AC_SUBST(NSS_DEP_LIBS)
|
||||
AC_SUBST(MOZ_NATIVE_NSS)
|
||||
AC_SUBST(NSS_DISABLE_DBM)
|
||||
|
||||
AC_SUBST(CFLAGS)
|
||||
AC_SUBST(CXXFLAGS)
|
||||
|
|
|
@ -42,9 +42,12 @@ VPATH = @srcdir@
|
|||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
ifndef NSS_DISABLE_DBM
|
||||
ifdef MOZ_MORK
|
||||
DIRS = mdb mork
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef MOZ_MORKREADER
|
||||
DIRS += morkreader
|
||||
endif
|
||||
|
|
|
@ -55,7 +55,12 @@ SMIME3_LIB = $(DLL_PREFIX)smime3$(DLL_SUFFIX)
|
|||
SSL3_LIB = $(DLL_PREFIX)ssl3$(DLL_SUFFIX)
|
||||
SOFTOKEN3_LIB = $(DLL_PREFIX)softokn3$(DLL_SUFFIX)
|
||||
SOFTOKEN3_CHK = $(DLL_PREFIX)softokn3.chk
|
||||
|
||||
ifndef NSS_DISABLE_DBM
|
||||
NSSDBM3_LIB = $(DLL_PREFIX)nssdbm3$(DLL_SUFFIX)
|
||||
else
|
||||
NSSDBM3_LIB =
|
||||
endif
|
||||
|
||||
ifndef MOZ_NATIVE_NSS
|
||||
ifneq (,$(filter OS2 WINCE WINNT,$(OS_ARCH)))
|
||||
|
@ -163,6 +168,9 @@ DEFAULT_GMAKE_FLAGS += NSPR_LIB_DIR=$(NSPR_LIB_DIR)
|
|||
DEFAULT_GMAKE_FLAGS += MOZILLA_CLIENT=1
|
||||
DEFAULT_GMAKE_FLAGS += NO_MDUPDATE=1
|
||||
DEFAULT_GMAKE_FLAGS += NSS_ENABLE_ECC=1
|
||||
ifdef NSS_DISABLE_DBM
|
||||
DEFAULT_GMAKE_FLAGS += NSS_DISABLE_DBM=1
|
||||
endif
|
||||
ABS_topsrcdir := $(shell cd $(topsrcdir); pwd)
|
||||
ifneq ($(ABS_topsrcdir),$(MOZ_BUILD_ROOT))
|
||||
DEFAULT_GMAKE_FLAGS += BUILD_TREE=$(MOZ_BUILD_ROOT)
|
||||
|
@ -263,7 +271,9 @@ endif
|
|||
libs::
|
||||
ifndef MOZ_NATIVE_NSS
|
||||
$(MAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS)
|
||||
ifndef NSS_DISABLE_DBM
|
||||
$(MAKE) -C $(topsrcdir)/security/dbm $(DEFAULT_GMAKE_FLAGS)
|
||||
endif
|
||||
$(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS)
|
||||
ifdef ENABLE_TESTS
|
||||
# Need certutil binary for mochitest certificates generation
|
||||
|
@ -282,7 +292,9 @@ ifndef SKIP_CHK
|
|||
$(INSTALL) -m 644 $(DIST)/lib/$(SOFTOKEN3_CHK) $(DIST)/bin
|
||||
endif
|
||||
$(INSTALL) -m 755 $(DIST)/lib/$(SOFTOKEN3_LIB) $(DIST)/bin
|
||||
ifndef NSS_DISABLE_DBM
|
||||
$(INSTALL) -m 755 $(DIST)/lib/$(NSSDBM3_LIB) $(DIST)/bin
|
||||
endif
|
||||
$(INSTALL) -m 755 $(DIST)/lib/$(NSS3_LIB) $(DIST)/bin
|
||||
$(INSTALL) -m 755 $(DIST)/lib/$(NSSUTIL3_LIB) $(DIST)/bin
|
||||
$(INSTALL) -m 755 $(DIST)/lib/$(SSL3_LIB) $(DIST)/bin
|
||||
|
|
Загрузка…
Ссылка в новой задаче