Mesa (master): build: Remove dead SHARED_GLAPI variable

Matt Turner mattst88 at kemper.freedesktop.org
Mon Jan 21 04:04:15 UTC 2013


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

Author: Matt Turner <mattst88 at gmail.com>
Date:   Fri Jan 18 23:18:14 2013 -0800

build: Remove dead SHARED_GLAPI variable

The static Makefiles used it.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Andreas Boll <andreas.boll.dev at gmail.com>

---

 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 29f2150..e7c2340 100644
--- a/configure.ac
+++ b/configure.ac
@@ -725,16 +725,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
 




More information about the mesa-commit mailing list