configure: simplify video outputs summary.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 23 Jul 2012 15:54:58 +0000 (17:54 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 24 Jul 2012 13:57:57 +0000 (15:57 +0200)
configure.ac

index b3a26ef..7ef92f3 100644 (file)
@@ -453,11 +453,13 @@ yesno() {
     test $1 -eq 1 && echo yes || echo no
 }
 
+VIDEO_OUTPUTS=""
+AS_IF([test $USE_X11 -eq 1], [VIDEO_OUTPUTS="$VIDEO_OUTPUTS x11"])
+AS_IF([test $USE_GLX -eq 1], [VIDEO_OUTPUTS="$VIDEO_OUTPUTS glx"])
+
 echo
 echo $PACKAGE configuration summary:
 echo
 echo VA-API version ................... : $VA_VERSION_STR
-echo GLX support ...................... : $(yesno $USE_GLX)
-echo VA/X11 support ................... : $(yesno $USE_X11)
-echo VA/GLX support ................... : $(yesno $HAVE_VA_GLX)
+echo Video outputs .................... : $VIDEO_OUTPUTS
 echo