configure.ac: Fix test for whether to build src/gles
authorKristian Høgsberg <krh@bitplanet.net>
Sun, 2 May 2010 18:52:39 +0000 (14:52 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Sun, 2 May 2010 18:52:39 +0000 (14:52 -0400)
configure.ac

index ef8a7eef82bc699c44e395489f6897226c75e8ac..354c220b5c900f9325efe795bed2d7a68b6f4025 100644 (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])