[Mesa-dev] [PATCH 09/13] glx: automake: scons: remove unneeded GLX_SHARED_GLAPI define

Emil Velikov emil.l.velikov at gmail.com
Fri Apr 28 13:14:25 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

There's no users in-tree that use it.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/glx/Makefile.am | 2 --
 src/glx/SConscript  | 3 ---
 2 files changed, 5 deletions(-)

diff --git a/src/glx/Makefile.am b/src/glx/Makefile.am
index 41e4939a0b7..b306bcc08db 100644
--- a/src/glx/Makefile.am
+++ b/src/glx/Makefile.am
@@ -20,7 +20,6 @@
 # IN THE SOFTWARE.
 
 if HAVE_SHARED_GLAPI
-SHARED_GLAPI_CFLAGS = -DGLX_SHARED_GLAPI
 SHARED_GLAPI_LIB = $(top_builddir)/src/mapi/shared-glapi/libglapi.la
 endif
 
@@ -42,7 +41,6 @@ AM_CFLAGS = \
 	-I$(top_builddir)/src/mapi/glapi \
 	-I$(top_srcdir)/src/mapi/glapi \
 	$(VISIBILITY_CFLAGS) \
-	$(SHARED_GLAPI_CFLAGS) \
 	$(EXTRA_DEFINES_XF86VIDMODE) \
 	-D_REENTRANT \
 	-DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\" \
diff --git a/src/glx/SConscript b/src/glx/SConscript
index 9727803d5a3..ca94d79519c 100644
--- a/src/glx/SConscript
+++ b/src/glx/SConscript
@@ -40,9 +40,6 @@ if env['HAVE_XF86VIDMODE']:
     env.Append(CPPDEFINES = ['XF86VIDMODE'])
     env.PkgUseModules('XF86VIDMODE')
 
-if False: # XXX: SHARED_GLAPI
-    env.Append(CPPDEFINES = ['GLX_SHARED_GLAPI'])
-
 sources = [
     'clientattrib.c',
     'clientinfo.c',
-- 
2.12.1



More information about the mesa-dev mailing list