[PATCH wayland] build: fix ./configure --disable-dtd-validation
sardemff7+wayland at sardemff7.net
Mon Feb 29 16:11:03 UTC 2016
On 29/02/2016 13:59, Pekka Paalanen wrote:
> From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> When configured with --disable-dtd-validation:
> CPPAS src/dtddata.o
> src/dtddata.S: Assembler messages:
> src/dtddata.S:39: Error: file not found: src/wayland.dtd.embed
> Makefile:1520: recipe for target 'src/dtddata.o' failed
> This is because the variable name used does not match the implicit
> variable name in autoconf.
> Fix the variable name, making both --disable-dtd-validation and
> --enable-dtd-validation to what they should.
> Do not try to build dtddata.S if dtd-validation is disabled. It depends
> on wayland.dtd.embed which is created by configure only if
> dtd-validation is enabled.
> If not building dtddata.S, also make sure the extern definitions in
> scanner.c are compiled out.
> Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=575212
> Reported-by: leio at gentoo.org
> Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
Reviewed-by: Quentin Glidic <sardemff7+git at sardemff7.net>
Quentin “Sardem FF7” Glidic
More information about the wayland-devel