summaryrefslogtreecommitdiffstats
path: root/src/mesa/Makefile.am
diff options
context:
space:
mode:
authorAkihiko Odaki <[email protected]>2016-06-26 10:54:35 +0900
committerEmil Velikov <[email protected]>2016-07-07 15:58:11 +0100
commit42968424fb4100f2035badf236b005cc8d62a592 (patch)
treea7e85373a756ccfeb0a559d6306a2fe74d193ab8 /src/mesa/Makefile.am
parent7a9d6abcae63a6f837fa161246ecf1f14840e77b (diff)
mesa: don't install GLX files if GLX is not built
Cc: "11.2 12.0" <[email protected]> Signed-off-by: Akihiko Odaki <[email protected]> [Emil Velikov: Drop guards around dri_interface.h, add stable tag] Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/Makefile.am')
-rw-r--r--src/mesa/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am
index 6d7a3cc9486..037384ad662 100644
--- a/src/mesa/Makefile.am
+++ b/src/mesa/Makefile.am
@@ -33,8 +33,10 @@ if HAVE_OSMESA
SUBDIRS += drivers/osmesa
endif
+if HAVE_GLX
gldir = $(includedir)/GL
gl_HEADERS = $(top_srcdir)/include/GL/*.h
+endif
include Makefile.sources
@@ -159,8 +161,10 @@ libmesa_sse41_la_SOURCES = \
libmesa_sse41_la_CFLAGS = $(AM_CFLAGS) $(SSE41_CFLAGS)
+if HAVE_GLX
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gl.pc
+endif
MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D)
YACC_GEN = $(AM_V_GEN)$(YACC) $(YFLAGS)