summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2012-07-12 15:17:04 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2012-07-12 15:17:04 +0800
commit32a8cbd8bb1652473e49f933545b6ace716fd5dd (patch)
tree4a69f17365bd9f72cd1f0039b2754eb5d5958d11
parentcc86031259117b3cd5607865858c9054cd44db0e (diff)
Fix compiling error
egl test case depends on va-egl Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0202ec9..bfcd89a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -221,7 +221,7 @@ fi
AC_SUBST(EGL_DEPS_CFLAGS)
AC_SUBST(EGL_DEPS_LIBS)
AM_CONDITIONAL(USE_EGL, test "$USE_EGL" = "yes")
-AM_CONDITIONAL(BUILD_EGL_TEST, [test "x$libglesv1_cm" = "xyes"])
+AM_CONDITIONAL(BUILD_EGL_TEST, [test "x$USE_EGL" = "xyes" && test "x$libglesv1_cm" = "xyes"])
# We only need the headers, we don't link against the DRM libraries
LIBVA_CFLAGS="$DRM_CFLAGS"