summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2006-02-14 02:48:22 +0000
committerEric Anholt <anholt@freebsd.org>2006-02-14 02:48:22 +0000
commit32393ee83c8ad63dbb54aab709cdd4dc5802a74c (patch)
tree91324201bfe3dfbfd1d441384b82521133bd1c3a /configure.ac
parentd121367a04832aafb27800283bac5ce35365d84e (diff)
Detect when Render is available and turn those tests on.
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