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

This commit is contained in:
Kristian Høgsberg 2010-05-02 14:52:39 -04:00
parent aa8606fb23
commit 2df3c361ef
1 changed files with 1 additions and 1 deletions

View File

@ -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])