Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure: print x11 extensions summary #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
29 changes: 29 additions & 0 deletions m4/x11.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -220,6 +230,10 @@ AC_DEFUN([X11_EXT_SHAPE],
fi
])

AC_DEFUN([X11_EXT_RESULT_SHAPE],
[
AC_MSG_RESULT([ shape: $SHAPE])
])

# X11_EXT_XINERAMA()
#
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down