From 16d53cf82d08019c9e4065dc50ca585ffba46c5f Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Tue, 8 Dec 2009 17:14:13 +0800 Subject: [PATCH] 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 --- configure.ac | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/configure.ac b/configure.ac index aa60df2..4d3a8c3 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}" + -- 2.11.0