public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] automake: Repair overlay build
@ 2019-05-24 21:43 Chris Wilson
  2019-05-26 11:03 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chris Wilson @ 2019-05-24 21:43 UTC (permalink / raw)
  To: igt-dev; +Cc: Daniel Vetter, Petri Latvala

This partially reverts commit 9141edea9931db0ca1dfcf476da8bdd370702cc4.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Petri Latvala <petri.latvala@intel.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>
---
 configure.ac | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 7467e6204..754a55851 100644
--- a/configure.ac
+++ b/configure.ac
@@ -122,6 +122,21 @@ case "$target_cpu" in
 		;;
 esac
 
+if test x"$build_x86" = xyes; then
+	PKG_CHECK_MODULES(OVERLAY_XVLIB, [xv x11 xext dri2proto >= 2.6], enable_overlay_xvlib=yes, enable_overlay_xvlib=no)
+	PKG_CHECK_MODULES(OVERLAY_XLIB, [cairo-xlib dri2proto >= 2.6], enable_overlay_xlib=yes, enable_overlay_xlib=no)
+
+	AC_CHECK_TOOL([LEG], [leg])
+	if test x"$LEG" != xleg; then
+		enable_overlay_xvlib="no"
+		enable_overlay_xlib="no"
+		AC_MSG_NOTICE([Failed to find leg, required for overlay, try : apt-get install peg])
+	fi
+else
+	enable_overlay_xvlib="no"
+	enable_overlay_xlib="no"
+	BUILD_SHADER_DEBUGGER="no"
+fi
 AM_CONDITIONAL(BUILD_X86, [test "x$build_x86" = xyes])
 
 AM_CONDITIONAL(BUILD_OVERLAY_XVLIB, [test "x$enable_overlay_xvlib" = xyes])
@@ -231,7 +246,6 @@ if test "x$NOUVEAU" = xyes; then
 fi
 AM_CONDITIONAL(HAVE_LIBDRM_NOUVEAU, [test "x$NOUVEAU" = xyes])
 
-# enable debug symbols
 AC_ARG_ENABLE(debug,
 	      AS_HELP_STRING([--disable-debug],
 			     [Build tests without debug symbols]),
-- 
2.20.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-03 12:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-24 21:43 [igt-dev] [PATCH i-g-t] automake: Repair overlay build Chris Wilson
2019-05-26 11:03 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-05-26 15:26 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-06-03 12:56 ` [igt-dev] [PATCH i-g-t] " Tvrtko Ursulin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox