diff options
author | Dylan Simon <dylan@dylex.net> | 2009-09-27 14:44:35 -0400 |
---|---|---|
committer | Sung-Jin Park <sj76.park@samsung.com> | 2013-09-02 23:37:56 -0400 |
commit | 8a78b5283dd40bc38d2c1065f290a68a9c0d65bf (patch) | |
tree | 36a25fc8b364053ea0c126013eabaa7cb69075b8 /configure.ac | |
parent | 221d31fb2f3b2a2989a983cb30f866f57b683f52 (diff) | |
download | xeyes-8a78b5283dd40bc38d2c1065f290a68a9c0d65bf.tar.gz xeyes-8a78b5283dd40bc38d2c1065f290a68a9c0d65bf.tar.bz2 xeyes-8a78b5283dd40bc38d2c1065f290a68a9c0d65bf.zip |
Add xrender support
Optionally draw all components (except shape) with xrender.
Enabled by default. Xlib rendering can be restored by
"configure --without-xrender" or "xeyes +render".
Change-Id: Ib63621e450e6f75ef76a160634ae2186a7db9456
Signed-off-by: Dylan Simon <dylan@dylex.net>
Signed-off-by: James Cloos <cloos@jhcloos.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 188d2ca..d1fb5a5 100644 --- a/configure.ac +++ b/configure.ac @@ -43,6 +43,15 @@ XEYES_CFLAGS="$CWARNFLAGS $XEYES_CFLAGS" AC_SUBST(XEYES_CFLAGS) AC_SUBST(XEYES_LIBS) +dnl Optional dependencies +AC_ARG_WITH(xrender, AC_HELP_STRING([--with-xrender],[Use Xrender for rendering (Default is YES)]),use_xrender="$withval",use_xrender="try") +if test x$use_xrender != xno ; then + PKG_CHECK_MODULES(XRENDER, [xrender >= 0.4]) + XEYES_CFLAGS="$XEYES_CFLAGS $XRENDER_CFLAGS" + XEYES_LIBS="$XEYES_LIBS $XRENDER_LIBS" + AC_DEFINE([XRENDER],1,[Define to use X Render Extension]) +fi + XORG_MANPAGE_SECTIONS XORG_RELEASE_VERSION XORG_CHANGELOG |