bug 76050, separate --with-extensions=venkman and --enable-jsd, fix xmlterm test as well. r=cls

This commit is contained in:
rginda%netscape.com 2001-05-15 20:47:28 +00:00
Родитель ceb7ed40de
Коммит 8878808230
1 изменённых файлов: 18 добавлений и 3 удалений

Просмотреть файл

@ -3427,6 +3427,20 @@ MOZ_ARG_ENABLE_BOOL(crypto,
[ --enable-crypto Enable crypto (Personal Security Manager)],
MOZ_PSM=1 )
dnl ========================================================
dnl =
dnl = --enable-jsd
dnl =
dnl = JS Debugger XPCOM component (js/jsd)
dnl =
dnl ========================================================
MOZ_JSDEBUGGER=
MOZ_ARG_ENABLE_BOOL(jsd,
[ --enable-jsd Enable JavaScript debug library],
MOZ_JSDEBUGGER=1)
dnl ========================================================
dnl =
dnl = --with-extensions=extension1,extension2,
@ -3457,13 +3471,14 @@ MOZ_ARG_WITH_STRING(extensions,
done ],
[ MOZ_EXTENSIONS="$MOZ_EXTENSIONS_DEFAULT" ] )
if test -z "$MOZ_ENABLE_GTK" && test `echo "$MOZ_EXTENSIONS" | grep -c xmlterm`; then
if test -z "$MOZ_ENABLE_GTK" && test `echo "$MOZ_EXTENSIONS" | grep -c xmlterm` -ne 0; then
AC_MSG_WARN([Cannot build xmlterm without gtk toolkit. Removing xmlterm from MOZ_EXTENSIONS.])
MOZ_EXTENSIONS=`echo $MOZ_EXTENSIONS | sed -e 's|xmlterm||'`
fi
if test `echo "$MOZ_EXTENSIONS" | grep -c venkman`; then
MOZ_JSDEBUGGER=1
if test -z "$MOZ_JSDEBUGGER" && test `echo "$MOZ_EXTENSIONS" | grep -c venkman` -ne 0; then
AC_MSG_WARN([Cannot build venkman without JavaScript debug library. Removing venkman from MOZ_EXTENSIONS.])
MOZ_EXTENSIONS=`echo $MOZ_EXTENSIONS | sed -e 's|venkman||'`
fi
dnl Disable jar packaging