зеркало из https://github.com/mozilla/pjs.git
Clean up options
This commit is contained in:
Родитель
6f23659d77
Коммит
3facba41d8
25
configure.in
25
configure.in
|
@ -2606,16 +2606,6 @@ MOZ_ARG_DISABLE_BOOL(mailnews,
|
|||
MOZ_MAIL_NEWS= )
|
||||
AC_SUBST(MOZ_MAIL_NEWS)
|
||||
|
||||
dnl Libeditor can be build as plaintext-only,
|
||||
dnl or as a full html and text editing component.
|
||||
dnl We build both by default.
|
||||
MOZ_PLAINTEXT_EDITOR_ONLY=
|
||||
MOZ_ARG_ENABLE_BOOL(plaintext-editor-only,
|
||||
[ --enable-plaintext-editor-only Allow only plaintext editing],
|
||||
MOZ_PLAINTEXT_EDITOR_ONLY=1 )
|
||||
dnl Note the #define is MOZILLA, not MOZ, for compat with the Mac build.
|
||||
AC_SUBST(MOZ_PLAINTEXT_EDITOR_ONLY)
|
||||
|
||||
dnl =========================================================
|
||||
dnl = LDAP
|
||||
dnl =========================================================
|
||||
|
@ -2731,6 +2721,19 @@ if test "$ACCESSIBILITY"; then
|
|||
AC_DEFINE(ACCESSIBILITY)
|
||||
fi
|
||||
|
||||
dnl ========================================================
|
||||
dnl Libeditor can be build as plaintext-only,
|
||||
dnl or as a full html and text editing component.
|
||||
dnl We build both by default.
|
||||
dnl ========================================================
|
||||
MOZ_PLAINTEXT_EDITOR_ONLY=
|
||||
MOZ_ARG_ENABLE_BOOL(plaintext-editor-only,
|
||||
[ --enable-plaintext-editor-only
|
||||
Allow only plaintext editing],
|
||||
MOZ_PLAINTEXT_EDITOR_ONLY=1 )
|
||||
dnl Note the #define is MOZILLA, not MOZ, for compat with the Mac build.
|
||||
AC_SUBST(MOZ_PLAINTEXT_EDITOR_ONLY)
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Enable compilation of specific extension modules
|
||||
dnl ========================================================
|
||||
|
@ -3320,7 +3323,7 @@ if test -z "$with_user_appdir" && test "$enable_homedir"; then
|
|||
with_user_appdir=$enable_homedir
|
||||
fi
|
||||
MOZ_ARG_WITH_STRING(user-appdir,
|
||||
[ --with-user-appdir=DIR Set user-specific appdir (default=.mozilla)],
|
||||
[ --with-user-appdir=DIR Set user-specific appdir (default=.mozilla)],
|
||||
[ val=`echo $withval`
|
||||
if echo "$val" | grep "\/" >/dev/null; then
|
||||
AC_MSG_ERROR("Homedir must be single relative path.")
|
||||
|
|
Загрузка…
Ссылка в новой задаче