Remove xmlterm from MOZ_EXTENSIONS and issue a warning if we are not building with the gtk toolkit. Bug #67250

git-svn-id: svn://10.0.0.236/trunk@89095 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cls%seawood.org
2001-03-09 05:55:28 +00:00
parent 81cbe11f44
commit fb533bc5db

View File

@@ -3396,6 +3396,12 @@ MOZ_ARG_WITH_STRING(extensions,
fi
done ],
[ MOZ_EXTENSIONS="$MOZ_EXTENSIONS_DEFAULT" ] )
if test -z "$MOZ_ENABLE_GTK" && test `echo "$MOZ_EXTENSIONS" | grep -c xmlterm`; 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
dnl ========================================================
_cpp_md_flag=