[PATCH weston] configure: fix enable_simple_intel_dmabuf_client=auto

Pekka Paalanen ppaalanen at gmail.com
Mon Aug 17 00:27:40 PDT 2015


From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

When the user does not specify --enable nor
--disable-simple-intel-dmabuf-client, we want to autodetect based on
dependencies. cb512c018e8db66574b4e0d1263c52a05267918c implemented this,
but forgot to actually enable it if the autodetect comes positive.

Cc: Daniel Stone <daniel at fooishbar.org>
Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index aa29862..425f071 100644
--- a/configure.ac
+++ b/configure.ac
@@ -348,6 +348,7 @@ if ! test "x$enable_simple_intel_dmabuf_client" = "xno"; then
   if test "x$have_simple_dmabuf_client" = "xno" -a "x$enable_simple_intel_dmabuf_client" = "xyes"; then
     AC_MSG_ERROR([Intel dmabuf client explicitly enabled, but libdrm_intel couldn't be found])
   fi
+  enable_simple_intel_dmabuf_client="$have_simple_dmabuf_client"
 fi
 AM_CONDITIONAL(BUILD_SIMPLE_INTEL_DMABUF_CLIENT, test "x$enable_simple_intel_dmabuf_client" = "xyes")
 
-- 
2.4.6



More information about the wayland-devel mailing list