You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
585 B
16 lines
585 B
|
|
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)
|