зеркало из https://github.com/mozilla/pjs.git
Added --{enable,disable}-build-nspr --{enable,disable}-build-xpfe.
This commit is contained in:
Родитель
71081000e8
Коммит
6b95778b26
|
@ -28,7 +28,7 @@ DIRS = \
|
|||
config \
|
||||
$(NULL)
|
||||
|
||||
ifndef MOZ_NATIVE_NSPR
|
||||
ifdef MOZ_BUILD_NSPR
|
||||
DIRS += \
|
||||
nsprpub \
|
||||
$(NULL)
|
||||
|
@ -79,8 +79,9 @@ DIRS += \
|
|||
sun-java \
|
||||
$(NULL)
|
||||
|
||||
|
||||
ifdef MOZ_BUILD_XPFE
|
||||
DIRS += xpfe
|
||||
endif
|
||||
|
||||
ifdef MOZ_MAIL_NEWS
|
||||
DIRS += mailnews
|
||||
|
@ -101,4 +102,3 @@ real_install: install
|
|||
real_clobber: clobber
|
||||
|
||||
real_depend: depend
|
||||
|
||||
|
|
|
@ -58,6 +58,9 @@ MOZ_INSURIFYING = @MOZ_INSURIFYING@
|
|||
MOZ_INSURE_DIRS = @MOZ_INSURE_DIRS@
|
||||
MOZ_INSURE_EXCLUDE_DIRS = @MOZ_INSURE_EXCLUDE_DIRS@
|
||||
|
||||
MOZ_BUILD_XPFE = @MOZ_BUILD_XPFE@
|
||||
MOZ_BUILD_NSPR = @MOZ_BUILD_NSPR@
|
||||
|
||||
# Should the extra CFLAGS only be added in Makefile.ins that need them?
|
||||
OS_CFLAGS = @CFLAGS@ $(DSO_CFLAGS)
|
||||
OS_INCLUDES = $(NSPR_CFLAGS) $(JPEG_CFLAGS) $(PNG_CFLAGS) $(ZLIB_CFLAGS)
|
||||
|
|
24
configure.in
24
configure.in
|
@ -596,6 +596,28 @@ MOZ_ARG_ENABLE_BOOL(tests,
|
|||
[ --enable-tests enable test stubs],
|
||||
ENABLE_TESTS=1)
|
||||
|
||||
dnl build mozilla/xpfe by default
|
||||
MOZ_BUILD_XPFE=1
|
||||
|
||||
MOZ_ARG_ENABLE_BOOL(build-xpfe,
|
||||
[ --enable-build-xpfe build mozilla/xpfe],
|
||||
MOZ_BUILD_XPFE=1)
|
||||
|
||||
MOZ_ARG_DISABLE_BOOL(build-xpfe,
|
||||
[ --disable-build-xpfe dont build mozilla/xpfe],
|
||||
MOZ_BUILD_XPFE= )
|
||||
|
||||
dnl build mozilla/nsprpub by default
|
||||
MOZ_BUILD_NSPR=1
|
||||
|
||||
MOZ_ARG_ENABLE_BOOL(build-nspr,
|
||||
[ --enable-build-nspr build mozilla/nsprpub],
|
||||
MOZ_BUILD_NSPR=1)
|
||||
|
||||
MOZ_ARG_DISABLE_BOOL(build-nspr,
|
||||
[ --disable-build-nspr dont build mozilla/nsprpub],
|
||||
MOZ_BUILD_NSPR= )
|
||||
|
||||
MOZ_ARG_ENABLE_STRING(homedir,
|
||||
[ --enable-homedir=\$val set the homedir to \$val],
|
||||
dnl [ Location of the mozilla user directory (default is ~/.mozilla).],
|
||||
|
@ -653,6 +675,8 @@ AC_SUBST(MOZ_INSURE_DIRS)
|
|||
AC_SUBST(MOZ_INSURE_EXCLUDE_DIRS)
|
||||
AC_SUBST(MOZ_INSURIFYING)
|
||||
AC_SUBST(MOZ_MAIL_NEWS)
|
||||
AC_SUBST(MOZ_BUILD_XPFE)
|
||||
AC_SUBST(MOZ_BUILD_NSPR)
|
||||
AC_SUBST(MOZ_LDAP)
|
||||
AC_SUBST(MOZ_EDITOR)
|
||||
AC_SUBST(UNIX_SKIP_ASSERTS)
|
||||
|
|
Загрузка…
Ссылка в новой задаче