configure: remove FEATURE_GL/ES1/ES2
authorBrian Paul <brianp@vmware.com>
Tue, 26 Feb 2013 15:49:34 +0000 (08:49 -0700)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Wed, 1 May 2013 19:34:48 +0000 (21:34 +0200)
Not used anymore.

v2: Andreas Boll <andreas.boll.dev@gmail.com>
    - split patch into two patches

Reviewed-by: Matt Turner <mattst88@gmail.com>
configure.ac

index d8555185c1697ec68d67b91469b1d27a5eb93d41..d7f241919d78071102af8ee7528fb65991941bcf 100644 (file)
@@ -688,17 +688,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)
@@ -957,7 +946,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