auxiliary/vl: Build vl_winsys_dri.c only when needed.
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 16 Feb 2015 18:22:16 +0000 (18:22 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 18 Feb 2015 11:02:50 +0000 (11:02 +0000)
commitdd7b6670a29ff3ed48ba44a9fecd1890363d914f
treec75af22e84bc36d7633743f3c1dd222a333baf2e
parent3018c4a56aab2ac1d8d5b228e6cbf13eea68b790
auxiliary/vl: Build vl_winsys_dri.c only when needed.

With commit c39dbfdd0f7(auxiliary/vl: bring back the VL code for the dri
targets) we did not fully consider users of dri-swrast alone. Thus we
ended up trying to compile the dri2 specific code on platform which lack
it - Cygwin for example.

Cc: "10.5" <mesa-stable@lists.freedesktop.org>
Reported-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
configure.ac
src/gallium/auxiliary/Makefile.am