configure: set HAVE_foo_PLATFORM as applicable
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 5 Dec 2016 21:32:30 +0000 (21:32 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 19 May 2017 18:44:09 +0000 (19:44 +0100)
commitf353f844a08c78f2aa225165c05dae31f5700845
tree88de044c90a7f3fb07956366920c9bc5c89a9b6a
parent2d35773221d63658bb764f90bd7be95f910f6309
configure: set HAVE_foo_PLATFORM as applicable

Rather than having multiple places that define the macros, do it just
once in configure. Makes existing code a bit shorter and easier to
manage as we fix the VL targets with follow-up commits.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
configure.ac
src/egl/Makefile.am
src/gbm/Makefile.am