[Mesa-dev] [PATCH 4/6] configure: remove FEATURE_GL/ES1/ES2

Andreas Boll andreas.boll.dev at gmail.com
Fri Apr 19 12:56:43 PDT 2013


From: Brian Paul <brianp at vmware.com>

Not used anymore.

v2: Andreas Boll <andreas.boll.dev at gmail.com>
    - split patch into two patches
---
 configure.ac |   13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/configure.ac b/configure.ac
index 50e60f6..cdc8fd9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -677,17 +677,6 @@ if test "x$enable_opengl" = xno -a \
 fi
 
 API_DEFINES=""
-if test "x$enable_opengl" = xno; then
-    API_DEFINES="$API_DEFINES -DFEATURE_GL=0"
-else
-    API_DEFINES="$API_DEFINES -DFEATURE_GL=1"
-fi
-if test "x$enable_gles1" = xyes; then
-    API_DEFINES="$API_DEFINES -DFEATURE_ES1=1"
-fi
-if test "x$enable_gles2" = xyes; then
-    API_DEFINES="$API_DEFINES -DFEATURE_ES2=1"
-fi
 AC_SUBST([API_DEFINES])
 
 AM_CONDITIONAL(HAVE_OPENGL, test "x$enable_opengl" = xyes)
@@ -946,7 +935,7 @@ DRI_DIRS=""
 case "$with_dri_drivers" in
 no) ;;
 yes)
-    # classic DRI drivers require FEATURE_GL to build
+    # classic DRI drivers
     if test "x$enable_opengl" = xyes; then
         DRI_DIRS="yes"
     fi
-- 
1.7.10.4



More information about the mesa-dev mailing list