From 27a4fd5047b3c6413bbd692c1862da3a6f45ff4d Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 13 Apr 2017 18:02:29 +0100 Subject: [PATCH] glx: automake: scons: remove unneeded GLX_SHARED_GLAPI define MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit There's no users in-tree that use it. Signed-off-by: Emil Velikov Reviewed-by: Nicolai Hähnle --- 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.30.2