aboutsummaryrefslogtreecommitdiffhomepage
path: root/wscript
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-08-16 22:00:00 +0200
committerGravatar wm4 <wm4@nowhere>2014-08-16 22:00:00 +0200
commitd811f6a9ed1b2ae3d4f95a88696330b8d91777ef (patch)
tree0df2a025249c8fe20bf69ece86d32d1682d65748 /wscript
parentf8f3a1b4a196cd893abb7e9042f6a5cbea00affa (diff)
build: use pkg-config for xscreensaver
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 1 insertions, 2 deletions
diff --git a/wscript b/wscript
index d13b0533bc..13b0e31e51 100644
--- a/wscript
+++ b/wscript
@@ -549,8 +549,7 @@ video_output_features = [
'name': '--xss',
'desc': 'Xss screensaver extensions',
'deps': [ 'x11' ],
- 'func': check_statement('X11/extensions/scrnsaver.h',
- 'XScreenSaverSuspend(NULL, True)', use='x11', lib='Xss'),
+ 'func': check_pkg_config('xscrnsaver'),
} , {
'name': '--xext',
'desc': 'X extensions',