[Mesa-dev] [PATCH] build: Remove dead SHARED_GLAPI variable

Matt Turner mattst88 at gmail.com
Fri Jan 18 23:18:52 PST 2013


The static Makefiles used it.
---
 configure.ac                               |    4 ----
 src/gallium/targets/egl-static/Makefile.am |    1 -
 2 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index b5ce311..e9325ee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -722,16 +722,12 @@ if test "x$enable_dri" = xno; then
     enable_shared_glapi=no
 fi
 
-# TODO: Get rid of SHARED_GLAPI variable
-SHARED_GLAPI="0"
 if test "x$enable_shared_glapi" = xyes; then
-    SHARED_GLAPI="1"
     # libGL will use libglapi for function lookups (IN_DRI_DRIVER means to use
     # the remap table)
     DEFINES="$DEFINES -DIN_DRI_DRIVER"
     CORE_DIRS="mapi/shared-glapi"
 fi
-AC_SUBST([SHARED_GLAPI])
 AM_CONDITIONAL(HAVE_SHARED_GLAPI, test "x$enable_shared_glapi" = xyes)
 
 dnl
diff --git a/src/gallium/targets/egl-static/Makefile.am b/src/gallium/targets/egl-static/Makefile.am
index 32b481b..5c40ae8 100644
--- a/src/gallium/targets/egl-static/Makefile.am
+++ b/src/gallium/targets/egl-static/Makefile.am
@@ -28,7 +28,6 @@
 #   EGL_PLATFORMS       - platforms to support
 #   EGL_CLIENT_APIS     - state trackers to support
 #   GALLIUM_WINSYS_DIRS - pipe drivers to support
-#   SHARED_GLAPI        - st/mesa can be statically linked or not
 #
 include $(top_srcdir)/src/gallium/Automake.inc
 
-- 
1.7.8.6



More information about the mesa-dev mailing list