Fix configure error.
authorXiang, Haihao <haihao.xiang@intel.com>
Tue, 10 Apr 2012 06:04:06 +0000 (14:04 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 10 Apr 2012 06:04:06 +0000 (14:04 +0800)
......
checking for GLESv1_CM... no
configure: error: Package requirements (glesv1_cm) were not met:

No package 'glesv1_cm' found

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
configure.ac

index 7d47a00..ba371d6 100644 (file)
@@ -212,7 +212,7 @@ if test "$enable_egl" = "yes"; then
     LIBS="$saved_LIBS"
 
     libglesv1_cm="no"
-    PKG_CHECK_MODULES([GLESv1_CM], [glesv1_cm], [libglesv1_cm="yes"], [])
+    PKG_CHECK_MODULES([GLESv1_CM], [glesv1_cm], [libglesv1_cm="yes"], [libglesv1_cm="no"])
 fi
 AC_SUBST(EGL_DEPS_CFLAGS)
 AC_SUBST(EGL_DEPS_LIBS)