@ -342,19 +342,19 @@ if test x$enable_simple_egl_clients = xyes; then
[egl glesv2 wayland-client wayland-egl wayland-cursor])
[egl glesv2 wayland-client wayland-egl wayland-cursor])
fi
fi
AC_ARG_ENABLE(simple-intel- dmabuf-client,
AC_ARG_ENABLE(simple-dmabuf-intel -client,
AS_HELP_STRING([--disable-simple-intel- dmabuf-client],
AS_HELP_STRING([--disable-simple-dmabuf-intel -client],
[do not build the simple intel dmabuf client]),,
[do not build the simple dmabuf intel client]),,
enable_simple_intel_ dmabuf_client="auto")
enable_simple_dmabuf_intel _client="auto")
if ! test "x$enable_simple_intel_ dmabuf_client" = "xno"; then
if ! test "x$enable_simple_dmabuf_intel _client" = "xno"; then
PKG_CHECK_MODULES(SIMPLE_DMABUF_CLIENT, [wayland-client libdrm libdrm_intel],
PKG_CHECK_MODULES(SIMPLE_DMABUF_INTEL_ CLIENT, [wayland-client libdrm libdrm_intel],
have_simple_dmabuf_client=yes, have_simple_dmabuf_client=no)
have_simple_dmabuf_intel_ client=yes, have_simple_dmabuf_intel _client=no)
if test "x$have_simple_dmabuf_client" = "xno" -a "x$enable_simple_intel_ dmabuf_client" = "xyes"; then
if test "x$have_simple_dmabuf_intel_ client" = "xno" -a "x$enable_simple_dmabuf_intel _client" = "xyes"; then
AC_MSG_ERROR([Intel dmabuf client explicitly enabled, but libdrm_intel couldn't be found])
AC_MSG_ERROR([Intel dmabuf client explicitly enabled, but libdrm_intel couldn't be found])
fi
fi
enable_simple_intel_ dmabuf_client="$have_simple_dmabuf_client"
enable_simple_dmabuf_intel _client="$have_simple_dmabuf_intel _client"
fi
fi
AM_CONDITIONAL(BUILD_SIMPLE_INTEL_ DMABUF_CLIENT, test "x$enable_simple_intel_ dmabuf_client" = "xyes")
AM_CONDITIONAL(BUILD_SIMPLE_DMABUF_INTEL _CLIENT, test "x$enable_simple_dmabuf_intel _client" = "xyes")
AC_ARG_ENABLE(clients, [ --enable-clients],, enable_clients=yes)
AC_ARG_ENABLE(clients, [ --enable-clients],, enable_clients=yes)
AM_CONDITIONAL(BUILD_CLIENTS, test x$enable_clients = xyes)
AM_CONDITIONAL(BUILD_CLIENTS, test x$enable_clients = xyes)