summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index fce0fb2..a6c2b97 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,6 +42,12 @@ AC_TYPE_SIGNAL
PKG_CHECK_MODULES(X11PERF, x11 xmuu)
AC_SUBST(X11PERF_CFLAGS)
AC_SUBST(X11PERF_LIBS)
+PKG_CHECK_MODULES(XRENDER, xrender xft, have_xrender=yes, have_xrender=no)
+if test "x$have_xrender" = "xyes"; then
+ AC_DEFINE(XRENDER, 1, [Define to 1 if you have xrender and xft])
+ X11PERF_CFLAGS="$X11PERF_CFLAGS $XRENDER_CFLAGS"
+ X11PERF_LIBS="$X11PERF_LIBS $XRENDER_LIBS"
+fi
XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION