blob: eeaa09b03d357d692a661a699dbd0654768572ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
dnl -----------------------------------------------------
dnl XRender check - stolen from kdelibs/tdefx
dnl -----------------------------------------------------
LIB_XRENDER=
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
KDE_CHECK_HEADER(X11/extensions/Xrender.h, [xrender_h=yes], [xrender_h=no])
if test "$xrender_h" = yes; then
KDE_CHECK_LIB(Xrender, XRenderComposite, [
LIB_XRENDER=-lXrender
AC_DEFINE_UNQUOTED(HAVE_XRENDER, 1, [Defined if your system has XRender support])
], [], -lXext -lX11 $X_EXTRA_LIBS)
fi
fi
AC_SUBST(LIB_XRENDER)
|