[Libva] [PATCH 1/5] build: Add a small summary at the end of configure

Damien Lespiau damien.lespiau at gmail.com
Thu Dec 16 08:12:47 PST 2010


From: Damien Lespiau <damien.lespiau at intel.com>

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 <damien.lespiau at intel.com>
---
 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



More information about the Libva mailing list