summaryrefslogtreecommitdiffstats
path: root/krdc/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'krdc/configure.in.in')
-rw-r--r--krdc/configure.in.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/krdc/configure.in.in b/krdc/configure.in.in
new file mode 100644
index 00000000..23a47a75
--- /dev/null
+++ b/krdc/configure.in.in
@@ -0,0 +1,14 @@
+KDE_CHECK_HEADER(X11/extensions/xf86vmode.h, [
+ AC_DEFINE(HAVE_VIDMODE_EXTENSION, 1, [defined if XFree86's VidMode extension is supported])
+ LIBXF86VIDMODE="-lXext -lXxf86vm"
+], ,
+[
+#include <X11/Xlib.h>
+])
+AC_SUBST(LIBXF86VIDMODE)
+
+KDE_CHECK_SSL()
+
+if test "$have_ssl" != yes || test "x$kde_use_qt_mac" = "xyes"; then
+ DO_NOT_COMPILE="$DO_NOT_COMPILE krdc"
+fi