From 94de5d103585c8d1c258ec624b8a59f17dba673b Mon Sep 17 00:00:00 2001 From: Roman Bogorodskiy Date: Fri, 27 Nov 2015 18:35:51 +0300 Subject: [PATCH] configure: print x11 extensions summary Print summary of X11 extensions that were found by configure. --- configure.ac | 8 ++++++++ m4/x11.m4 | 29 +++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/configure.ac b/configure.ac index ca1602670..03dc2c1b2 100644 --- a/configure.ac +++ b/configure.ac @@ -276,4 +276,12 @@ AC_MSG_RESULT([Compiling with these options: Imlib2 Library... $imlib2_found SVG Support (librsvg)... $librsvg_found ]) +AC_MSG_RESULT([X11 extensions support:]) +X11_EXT_RESULT_XKB +X11_EXT_RESULT_XRANDR +X11_EXT_RESULT_SHAPE +X11_EXT_RESULT_XINERAMA +X11_EXT_RESULT_SYNC +X11_EXT_RESULT_AUTH +AC_MSG_RESULT AC_MSG_RESULT([configure complete, now type "make"]) diff --git a/m4/x11.m4 b/m4/x11.m4 index f3b1ede1f..f25ab6c09 100644 --- a/m4/x11.m4 +++ b/m4/x11.m4 @@ -93,6 +93,11 @@ AC_DEFUN([X11_EXT_XKB], fi ]) +AC_DEFUN([X11_EXT_RESULT_XKB], +[ + AC_MSG_RESULT([ xkb: $XKB]) +]) + # X11_EXT_XRANDR() # # Check for the presence of the "XRandR" X Window System extension. @@ -158,6 +163,11 @@ AC_DEFUN([X11_EXT_XRANDR], fi ]) +AC_DEFUN([X11_EXT_RESULT_XRANDR], +[ + AC_MSG_RESULT([ randr: $XRANDR]) +]) + # X11_EXT_SHAPE() # # Check for the presence of the "Shape" X Window System extension. @@ -220,6 +230,10 @@ AC_DEFUN([X11_EXT_SHAPE], fi ]) +AC_DEFUN([X11_EXT_RESULT_SHAPE], +[ + AC_MSG_RESULT([ shape: $SHAPE]) +]) # X11_EXT_XINERAMA() # @@ -280,6 +294,11 @@ AC_DEFUN([X11_EXT_XINERAMA], fi ]) +AC_DEFUN([X11_EXT_RESULT_XINERAMA], +[ + AC_MSG_RESULT([ xinerama: $XINERAMA]) +]) + # X11_EXT_SYNC() # # Check for the presence of the "Sync" X Window System extension. @@ -342,6 +361,11 @@ AC_DEFUN([X11_EXT_SYNC], fi ]) +AC_DEFUN([X11_EXT_RESULT_SYNC], +[ + AC_MSG_RESULT([ sync: $SYNC]) +]) + # X11_EXT_AUTH() # # Check for the presence of the "Xau" X Window System extension. @@ -395,6 +419,11 @@ AC_DEFUN([X11_EXT_AUTH], fi ]) +AC_DEFUN([X11_EXT_RESULT_AUTH], +[ + AC_MSG_RESULT([ auth: $AUTH]) +]) + # X11_SM() # # Check for the presence of SMlib for session management.