Mesa (master): build: Remove unused EGL_PLATFORMS.

Matt Turner mattst88 at kemper.freedesktop.org
Mon Jul 22 17:48:09 UTC 2013


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

Author: Matt Turner <mattst88 at gmail.com>
Date:   Sat Mar  9 17:26:43 2013 -0800

build: Remove unused EGL_PLATFORMS.

---

 configure.ac                               |    7 +------
 src/gallium/targets/egl-static/Makefile.am |    1 -
 2 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/configure.ac b/configure.ac
index 35f6797..c1f3d50 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1423,8 +1423,6 @@ AC_ARG_WITH([egl-platforms],
 	with_egl_platforms=""
     fi])
 
-EGL_PLATFORMS=""
-
 if test "x$with_egl_platforms" != "x" -a "x$enable_egl" != xyes; then
     AC_MSG_ERROR([cannot build egl state tracker without EGL library])
 fi
@@ -1478,8 +1476,6 @@ else
     EGL_NATIVE_PLATFORM="_EGL_INVALID_PLATFORM"
 fi
 
-EGL_PLATFORMS="$egl_platforms"
-
 if echo "$egl_platforms" | grep 'x11' >/dev/null 2>&1; then
     NEED_WINSYS_XLIB=yes
 fi
@@ -1493,7 +1489,6 @@ AM_CONDITIONAL(HAVE_EGL_DRIVER_DRI2, test "x$HAVE_EGL_DRIVER_DRI2" != "x")
 AM_CONDITIONAL(HAVE_EGL_DRIVER_GLX, test "x$HAVE_EGL_DRIVER_GLX" != "x")
 
 AC_SUBST([EGL_NATIVE_PLATFORM])
-AC_SUBST([EGL_PLATFORMS])
 AC_SUBST([EGL_CFLAGS])
 
 # If we don't have the X11 platform, set this define so we don't try to include
@@ -2184,7 +2179,7 @@ dnl EGL
 echo ""
 echo "        EGL:             $enable_egl"
 if test "$enable_egl" = yes; then
-    echo "        EGL platforms:   $EGL_PLATFORMS"
+    echo "        EGL platforms:   $egl_platforms"
 
     egl_drivers=""
     if test "x$HAVE_EGL_DRIVER_GLX" != "x"; then
diff --git a/src/gallium/targets/egl-static/Makefile.am b/src/gallium/targets/egl-static/Makefile.am
index e5bf7fc..90178f6 100644
--- a/src/gallium/targets/egl-static/Makefile.am
+++ b/src/gallium/targets/egl-static/Makefile.am
@@ -25,7 +25,6 @@
 #
 # The following variables are examined
 #
-#   EGL_PLATFORMS       - platforms to support
 #   EGL_CLIENT_APIS     - state trackers to support
 #   GALLIUM_WINSYS_DIRS - pipe drivers to support
 #




More information about the mesa-commit mailing list