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.
26 lines
882 B
26 lines
882 B
if test "x$with_composite" != "xno"; then
|
|
dnl XComposite check
|
|
KDE_CHECK_HEADER(X11/extensions/Xcomposite.h, [xcomposite_h=yes], [xcomposite_h=no], [#include <X11/Xlib.h>])
|
|
if test "$xcomposite_h" = yes; then
|
|
KDE_CHECK_LIB(Xcomposite, XCompositeQueryExtension, [
|
|
LIB_XCOMPOSITE=-lXcomposite
|
|
AC_DEFINE_UNQUOTED(HAVE_XCOMPOSITE, 1, [Define if you have the XComposite extension])
|
|
], [], -lXext -lX11 $X_EXTRA_LIBS)
|
|
else
|
|
LIB_XCOMPOSITE=
|
|
fi
|
|
AC_SUBST(LIB_XCOMPOSITE)
|
|
fi
|
|
|
|
dnl XFixes check
|
|
KDE_CHECK_HEADER(X11/extensions/Xfixes.h, [xfixes_h=yes], [xfixes_h=no], [#include <X11/Xlib.h>])
|
|
if test "$xfixes_h" = yes; then
|
|
KDE_CHECK_LIB(Xfixes, XFixesQueryExtension, [
|
|
LIB_XFIXES=-lXfixes
|
|
AC_DEFINE_UNQUOTED(HAVE_XFIXES, 1, [Define if you have the XFixes extension])
|
|
], [], -lXext -lX11 $X_EXTRA_LIBS)
|
|
else
|
|
LIB_XFIXES=
|
|
fi
|
|
AC_SUBST(LIB_XFIXES)
|