summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ef8a7eef82b..354c220b5c9 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])