Mesa (master): configure.ac: Fix test for whether to build src/gles

Kristian Høgsberg krh at kemper.freedesktop.org
Sun May 2 18:53:27 UTC 2010


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

Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Sun May  2 14:52:39 2010 -0400

configure.ac: Fix test for whether to build src/gles

---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index ef8a7ee..354c220 100644
--- a/configure.ac
+++ b/configure.ac
@@ -763,7 +763,7 @@ if test "x$enable_gles2" = xyes; then
     APIS="$APIS es2"
     ES2_SOURCES='$(ES2_SOURCES)'
 fi
-if test "x$enable_gles1" = xyes -o "x$enable_gles2"; then
+if test "x$enable_gles1" = xyes -o "x$enable_gles2" = xyes; then
     SRC_DIRS="$SRC_DIRS gles"
 fi
 AC_SUBST([API_DEFINES])




More information about the mesa-commit mailing list