Adding initial support for building mozilla with autoconf version of NSS. r=bryner
git-svn-id: svn://10.0.0.236/trunk@91738 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -37,10 +37,6 @@ else
|
||||
|
||||
DIRS = config build
|
||||
|
||||
ifdef MOZ_L10N
|
||||
DIRS += l10n
|
||||
endif
|
||||
|
||||
ifdef MOZ_JAVA_SUPPLEMENT
|
||||
DIRS += \
|
||||
java/util \
|
||||
@@ -120,7 +116,7 @@ DIRS += \
|
||||
sun-java \
|
||||
profile \
|
||||
themes \
|
||||
accessible \
|
||||
accessible \
|
||||
$(NULL)
|
||||
|
||||
# This must preceed xpfe
|
||||
@@ -164,6 +160,10 @@ endif # BUILD_MODULES == all
|
||||
|
||||
STATIC_MAKEFILES := $(NSPRPUB_DIR) directory/c-sdk/ldap
|
||||
|
||||
ifdef MOZ_NSS_AUTOCONF
|
||||
STATIC_MAKEFILES += security
|
||||
endif
|
||||
|
||||
GARBAGE_DIRS += dist
|
||||
DIST_GARBAGE = config.cache config.log config.status config-defs.h \
|
||||
dependencies.beos config/autoconf.mk config/myrules.mk config/myconfig.mk \
|
||||
|
||||
@@ -83,6 +83,7 @@ MOZ_ENDER_LITE = @MOZ_ENDER_LITE@
|
||||
MOZ_LDAP_XPCOM = @MOZ_LDAP_XPCOM@
|
||||
MOZ_LDAP_XPCOM_EXPERIMENTAL = @MOZ_LDAP_XPCOM_EXPERIMENTAL@
|
||||
XPCOM_USE_LEA = @XPCOM_USE_LEA@
|
||||
MOZ_NSS_AUTOCONF = @MOZ_NSS_AUTOCONF@
|
||||
|
||||
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS = @MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS@
|
||||
MOZ_COMPONENT_NSPR_LIBS=@MOZ_COMPONENT_NSPR_LIBS@
|
||||
|
||||
@@ -4358,6 +4358,7 @@ AC_SUBST(LIB_SUFFIX)
|
||||
AC_SUBST(OBJ_SUFFIX)
|
||||
AC_SUBST(BIN_SUFFIX)
|
||||
AC_SUBST(USE_N32)
|
||||
AC_SUBST(MOZ_NSS_AUTOCONF)
|
||||
|
||||
if test "$USING_HCC"; then
|
||||
CC='${topsrcdir}/build/hcc'
|
||||
@@ -4547,3 +4548,7 @@ if test "$MOZ_LDAP_XPCOM"; then
|
||||
AC_OUTPUT_SUBDIRS(directory/c-sdk/ldap)
|
||||
fi
|
||||
|
||||
if test "$MOZ_NSS_AUTOCONF"; then
|
||||
ac_configure_args="$_SUBDIR_CONFIG_ARGS --with-dist-prefix=$MOZ_BUILD_ROOT/dist --with-mozilla"
|
||||
AC_OUTPUT_SUBDIRS(security)
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user