summaryrefslogtreecommitdiffstats
path: root/karm/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'karm/configure.in.in')
-rw-r--r--karm/configure.in.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/karm/configure.in.in b/karm/configure.in.in
new file mode 100644
index 000000000..f17fa84ef
--- /dev/null
+++ b/karm/configure.in.in
@@ -0,0 +1,13 @@
+ac_ldflags_safe="$LDFLAGS"
+ac_libs_safe="$LIBS"
+LIBS="-lXext -lX11 $X_LDFLAGS"
+
+LIBXSS=""
+AC_CHECK_LIB(Xss, XScreenSaverAllocInfo, [LIBXSS="-lXext -lXss"])
+if test "x$LIBXSS" != "x"; then
+ AC_DEFINE(HAVE_LIBXSS,1,[Define if you have libXss installed])
+fi
+
+LIBS="$ac_libs_safe"
+LDFLAGS="$ac_ldflags_safe"
+AC_SUBST(LIBXSS)