aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-09-18 21:38:05 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-10-07 00:50:18 (GMT)
commit0f3e3269987706e5658741089a7bfa2de0cb237c (patch)
tree180645bc075c97be2d18b6725ea4af7f0245fc0a
parent857de416fd59f54c538f9ebf4979f2b859e1b39c (diff)
Fix XScreenSaver extension check
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 8ce33d6..c879762 100644
--- a/configure.ac
+++ b/configure.ac
@@ -145,10 +145,10 @@ if test x"$no_x" != x"yes"; then
fi
dnl check for XSs
- PKG_CHECK_MODULES(XSS, xscrnsaver >= 1.2.0,
- AC_DEFINE([HAVE_XSSEXTENSION],,[XScrnSaver support])
- AC_SUBST(XSS_LIBS)
- X11_LIBS="$X11_LIBS $XSS_LIBS",)
+ AC_CHECK_LIB([Xss],[XScreenSaverSuspend],
+ [AC_DEFINE([HAVE_XSSEXTENSION],,[XSs support])
+ X11_LIBS="$X11_LIBS -lXss"],,
+ [$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS -lXext])
dnl check for Xvidmode
AC_CHECK_LIB([Xxf86vm],[XF86VidModeGetModeLine],

Privacy Policy