From 998281c7a865da06d9c6fb832484a20d9f9e5e21 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 21 Apr 2024 14:17:08 -0700 Subject: Present: add -ext present that prints version & screen capabilities Signed-off-by: Alan Coopersmith Part-of: --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b09d1d8..c3d3543 100644 --- a/configure.ac +++ b/configure.ac @@ -138,6 +138,12 @@ PKG_CHECK_MODULES(DPY_XTST, xtst, AC_CHECK_HEADERS([X11/extensions/record.h],,,[#include ]) CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"]) +PKG_CHECK_MODULES(DPY_XPRESENT, xpresent, + [SAVE_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $DPY_XPRESENT_CFLAGS $DPY_X11_CFLAGS" + AC_CHECK_HEADERS([X11/extensions/Xpresent.h],,,[#include ]) + CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"]) + dnl Allow checking code with lint, sparse, etc. XORG_WITH_LINT -- cgit v1.2.3