mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
protocol: validate the protocol against a dtd
The scanner is not very forgiving if the protocol doesn't match it's expectations and crashes without much of a notice. Thus, validate the protocol against a DTD. Move the protocol subdir forward so we validate first before trying anything else, and install the DTD so we can validate weston's protocols as well.
This commit is contained in:
parent
16b2dab4e4
commit
05f95c85c8
4 changed files with 47 additions and 2 deletions
|
|
@ -87,6 +87,9 @@ fi
|
|||
AC_PATH_PROG(XSLTPROC, xsltproc)
|
||||
AM_CONDITIONAL([HAVE_XSLTPROC], [test "x$XSLTPROC" != "x"])
|
||||
|
||||
AC_PATH_PROG(XMLLINT, xmllint)
|
||||
AM_CONDITIONAL([HAVE_XMLLINT], [test "x$XMLLINT" != "x"])
|
||||
|
||||
AC_MSG_CHECKING([for docbook manpages stylesheet])
|
||||
MANPAGES_STYLESHEET=http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
|
||||
AC_PATH_PROGS_FEATURE_CHECK([XSLTPROC_TMP], [xsltproc],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue