build: Remove dead SHARED_GLAPI variable
authorMatt Turner <mattst88@gmail.com>
Sat, 19 Jan 2013 07:18:14 +0000 (23:18 -0800)
committerMatt Turner <mattst88@gmail.com>
Mon, 21 Jan 2013 04:06:46 +0000 (20:06 -0800)
The static Makefiles used it.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
configure.ac
src/gallium/targets/egl-static/Makefile.am

index 29f2150862614ef6a636e22623a2579f0f7815e0..e7c234016db5e0dfd2a443dc1df38596e94a2f77 100644 (file)
@@ -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
index 32b481b76eaefebab33e6ad941815f871c7c0ab3..5c40ae8e1458578e1625cd0653f9d5a8f64a14e8 100644 (file)
@@ -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