configure.ac: rework wayland-protocols handling
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 20 Jul 2017 16:53:01 +0000 (17:53 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 24 Jul 2017 09:23:41 +0000 (10:23 +0100)
commit166852ee957ff25a1d14dcaa7512917343130fa4
tree38164309bc370eeb4657caa266d3fa7ebf29870a
parentfeef47bb593306aee2854e9bd146543c44d68468
configure.ac: rework wayland-protocols handling

At dist/distcheck time we need to ensure that all the files and their
respective dependencies are handled.

At the moment we'll bail out as the linux-dmabuf rules are guarded in a
conditional. Move them outside of it and drop the sources from
BUILT_SOURCES.

Thus the files will be generated only as needed, which will happen only
after the wayland-protocols dependency is enforced in configure.ac.

v2: add dependency tracking for the header

Cc: Andres Gomez <agomez@igalia.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Andres Gomez <agomez@igalia.com>
configure.ac
src/egl/Makefile.am