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

Andreas Boll andreas.boll.dev at gmail.com
Sun Jan 20 05:23:43 PST 2013


Reviewed-by: Andreas Boll <andreas.boll.dev at gmail.com>

2013/1/19 Matt Turner <mattst88 at gmail.com>:
> 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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list