glx: automake: scons: remove unneeded GLX_SHARED_GLAPI define
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 13 Apr 2017 17:02:29 +0000 (18:02 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 4 May 2017 17:11:59 +0000 (18:11 +0100)
There's no users in-tree that use it.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/glx/Makefile.am
src/glx/SConscript

index 41e4939a0b720e70c030adc24f205f4c8c4a97e4..b306bcc08db1efebe96f4a9819f8abdb863b0a4d 100644 (file)
@@ -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)\" \
index 9727803d5a33ef886d2817b8e73843848e233327..ca94d79519c0c745fe8643917ca5be7507f6c022 100644 (file)
@@ -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',