summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2012-01-13 11:12:02 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2012-01-13 11:12:02 +0800
commitf908ee08ef94a6b204103c19bda7edf2a6a24379 (patch)
treebe5b44b9d834a2a3cd54f3f27502326f89cf6b48
parentcff1adedd3c9ee5348c7b992d50f87569625f142 (diff)
Don't build egl case without 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 3ccdcbe..8917b6a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -208,7 +208,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"