From: Damien Lespiau <[email protected]>

It's quite useful to be able to see what we are going to build, esp. as
the i965 driver is not enabled by default. Obviously the summary can be
extended with extra information.

Signed-off-by: Damien Lespiau <[email protected]>
---
 configure.ac |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index aa60df2..39d3932 100644
--- a/configure.ac
+++ b/configure.ac
@@ -175,3 +175,25 @@ AC_OUTPUT([
        libva-tpi.pc
 ])
 
+# Print a small summary
+
+echo ""
+echo "libva - ${LIBVA_VERSION}"
+echo ""
+
+echo " • Global :"
+echo "     Prefix: ${prefix}"
+echo ""
+
+AS_IF([test x$enable_i965_driver = xyes], [DRIVERS="i965 $DRIVERS"])
+AS_IF([test x$enable_dummy_driver = xyes], [DRIVERS="dummy $DRIVERS"])
+
+echo " • Drivers: ${DRIVERS}"
+
+AS_IF([test x$USE_GLX = xyes], [BACKENDS="glx $BACKENDS"])
+BACKENDS="x11 $BACKENDS"
+AS_IF([test x$enable_dummy_backend = xyes], [BACKENDS="dummy $BACKENDS"])
+
+echo " • Winsys : ${BACKENDS}"
+
+echo ""
-- 
1.7.2.1

_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to