summaryrefslogtreecommitdiffstats
path: root/karm/configure.in.in
blob: f17fa84ef995c1aba1fc4ab57126aa7abbe56c96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)