Mesa (master): autoconf: Remove unused APIS.

Chia-I Wu olv at kemper.freedesktop.org
Mon May 31 02:43:54 UTC 2010


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

Author: Chia-I Wu <olv at lunarg.com>
Date:   Mon May 31 10:25:22 2010 +0800

autoconf: Remove unused APIS.

It was used by glapi, which has been moved to mapi.

---

 configs/autoconf.in |    1 -
 configure.ac        |    5 -----
 2 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/configs/autoconf.in b/configs/autoconf.in
index 0b5be0c..b7e8d8e 100644
--- a/configs/autoconf.in
+++ b/configs/autoconf.in
@@ -15,7 +15,6 @@ ASM_FLAGS = @ASM_FLAGS@
 PIC_FLAGS = @PIC_FLAGS@
 DEFINES = @DEFINES@
 API_DEFINES = @API_DEFINES@
-APIS = @APIS@
 GLES_OVERLAY = @GLES_OVERLAY@
 CFLAGS = @CPPFLAGS@ @CFLAGS@ \
 	$(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(ASM_FLAGS) $(DEFINES)
diff --git a/configure.ac b/configure.ac
index db4f6d7..c4a4f95 100644
--- a/configure.ac
+++ b/configure.ac
@@ -751,21 +751,17 @@ AC_ARG_ENABLE([gles-overlay],
     [enable_gles_overlay=no])
 
 API_DEFINES=""
-APIS=""
 GLES_OVERLAY=0
 if test "x$enable_opengl" = xno; then
     API_DEFINES="$API_DEFINES -DFEATURE_GL=0"
 else
     API_DEFINES="$API_DEFINES -DFEATURE_GL=1"
-    APIS="$APIS gl"
 fi
 if test "x$enable_gles1" = xyes; then
     API_DEFINES="$API_DEFINES -DFEATURE_ES1=1"
-    APIS="$APIS es1"
 fi
 if test "x$enable_gles2" = xyes; then
     API_DEFINES="$API_DEFINES -DFEATURE_ES2=1"
-    APIS="$APIS es2"
 fi
 if test "x$enable_gles_overlay" = xyes -o \
     "x$enable_gles1" = xyes -o "x$enable_gles2" = xyes; then
@@ -775,7 +771,6 @@ if test "x$enable_gles_overlay" = xyes -o \
     fi
 fi
 AC_SUBST([API_DEFINES])
-AC_SUBST([APIS])
 AC_SUBST([GLES_OVERLAY])
 
 dnl If $with_dri_drivers is yes, directories will be added through




More information about the mesa-commit mailing list