summaryrefslogtreecommitdiff
path: root/src/gbm
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-12-05 21:32:30 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2017-05-19 19:44:09 +0100
commitf353f844a08c78f2aa225165c05dae31f5700845 (patch)
tree88de044c90a7f3fb07956366920c9bc5c89a9b6a /src/gbm
parent2d35773221d63658bb764f90bd7be95f910f6309 (diff)
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>
Diffstat (limited to 'src/gbm')
-rw-r--r--src/gbm/Makefile.am1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gbm/Makefile.am b/src/gbm/Makefile.am
index e34c1d4b1f5..60b09245065 100644
--- a/src/gbm/Makefile.am
+++ b/src/gbm/Makefile.am
@@ -28,7 +28,6 @@ libgbm_la_LIBADD = \
$(DLOPEN_LIBS)
if HAVE_PLATFORM_WAYLAND
-AM_CPPFLAGS = -DHAVE_WAYLAND_PLATFORM
AM_CFLAGS += $(WAYLAND_CFLAGS)
libgbm_la_LIBADD += $(top_builddir)/src/egl/wayland/wayland-drm/libwayland-drm.la $(WAYLAND_LIBS)
endif