OSDN Git Service

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 29f2150..e7c2340 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 32b481b..5c40ae8 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