summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>2015-08-17 09:59:13 +0300
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2015-08-17 16:04:19 +0300
commit8358305927d07def49e952cdd47e6788ae1c5873 (patch)
tree8968c93f9a3933647855656d6a1e054c0da6a63d
parentf2bf50ea891375cc1b17df3563a6bd8a19ae5253 (diff)
configure: fix enable_simple_intel_dmabuf_client=auto
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. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Daniel Stone <daniels@collabora.com>
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index aa29862b..425f0715 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")