summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript10
1 files changed, 10 insertions, 0 deletions
diff --git a/wscript b/wscript
index 4cf92d977d..56f03202c1 100644
--- a/wscript
+++ b/wscript
@@ -235,6 +235,11 @@ iconv support use --disable-iconv.",
'desc': 'fchmod()',
'func': check_statement('sys/stat.h', 'fchmod(0, 0)'),
}, {
+ 'name': 'vt.h',
+ 'desc': 'vt.h',
+ 'func': check_statement(['sys/vt.h', 'sys/ioctl.h'],
+ 'int m; ioctl(0, VT_GETMODE, &m)'),
+ }, {
'name': 'glibc-thread-name',
'desc': 'GLIBC API for setting thread name',
'func': check_statement('pthread.h',
@@ -632,6 +637,11 @@ video_output_features = [
'desc': 'CACA',
'func': check_pkg_config('caca', '>= 0.99.beta18'),
}, {
+ 'name': '--drm',
+ 'desc': 'DRM',
+ 'deps': [ 'vt.h' ],
+ 'func': check_pkg_config('libdrm'),
+ }, {
'name': '--jpeg',
'desc': 'JPEG support',
'func': check_cc(header_name=['stdio.h', 'jpeglib.h'],