summaryrefslogtreecommitdiffstats
path: root/src/gbm/Makefile.am
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-12-05 21:32:30 +0000
committerEmil Velikov <[email protected]>2017-05-19 19:44:09 +0100
commitf353f844a08c78f2aa225165c05dae31f5700845 (patch)
tree88de044c90a7f3fb07956366920c9bc5c89a9b6a /src/gbm/Makefile.am
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: [email protected] Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gbm/Makefile.am')
-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