summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-05-02 14:52:39 -0400
committerKristian Høgsberg <krh@bitplanet.net>2010-05-03 12:22:29 -0400
commitdf104eaa47ae0162253e2edc6f033e4f667852fd (patch)
tree87b06b64f846aacba9ec4c1c64716067216748c9
parentebf84d9a2cbbb6b36c46ca6488ba79d1f09ade03 (diff)
configure.ac: Fix test for whether to build src/gles
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ff79ed4a11..9281267905 100644
--- a/configure.ac
+++ b/configure.ac
@@ -758,7 +758,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])