Module: Mesa
Branch: master
Commit: 27a4fd5047b3c6413bbd692c1862da3a6f45ff4d
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=27a4fd5047b3c6413bbd692c1862da3a6f45ff4d

Author: Emil Velikov <[email protected]>
Date:   Thu Apr 13 18:02:29 2017 +0100

glx: automake: scons: remove unneeded GLX_SHARED_GLAPI define

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

Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>

---

 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 41e4939a0b..b306bcc08d 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 9727803d5a..ca94d79519 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',

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to