summaryrefslogtreecommitdiffstats
path: root/kwin/kompmgr/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'kwin/kompmgr/configure.in.in')
-rw-r--r--kwin/kompmgr/configure.in.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/kwin/kompmgr/configure.in.in b/kwin/kompmgr/configure.in.in
new file mode 100644
index 000000000..bbabdd73c
--- /dev/null
+++ b/kwin/kompmgr/configure.in.in
@@ -0,0 +1,8 @@
+if test "x$with_composite" != "xno"; then
+ KDE_CHECK_HEADERS(X11/extensions/Xdamage.h,,compile_kompmgr=no,[#include <X11/Xlib.h>])
+ KDE_CHECK_HEADERS(X11/extensions/Xcomposite.h,,compile_kompmgr=no,[#include <X11/Xlib.h>])
+ KDE_CHECK_HEADERS(X11/extensions/Xrender.h,,compile_kompmgr=no,[#include <X11/Xlib.h>])
+else
+ compile_kompmgr=no
+fi
+AM_CONDITIONAL(include_kompmgr, test x"$compile_kompmgr" != x"no" )