summaryrefslogtreecommitdiffstats
path: root/style/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'style/configure.in.in')
-rw-r--r--style/configure.in.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/style/configure.in.in b/style/configure.in.in
new file mode 100644
index 0000000..b0f4a88
--- /dev/null
+++ b/style/configure.in.in
@@ -0,0 +1,5 @@
+compile_kompmgr=yes
+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>])
+AM_CONDITIONAL(include_kompmgr, test "$compile_kompmgr" = "yes" )