summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-06-22 12:39:18 +0200
committerwm4 <wm4@nowhere>2017-06-22 13:17:40 +0200
commit915722e035cf93fa142ab5b0a56215502bf18ea9 (patch)
tree922b05d89824026003e45b6c915b711f7f743f91
parente1bc592ce6036468c43549749270e99ec4af06a8 (diff)
downloadmpv-915722e035cf93fa142ab5b0a56215502bf18ea9.tar.bz2
mpv-915722e035cf93fa142ab5b0a56215502bf18ea9.tar.xz
build: remove Linux DVB test fragment
Most of the DVB test fragment was added in 2e399f39 by someone who wasn't asked for LGPL relicensing permission. Thus remove it. (For some weird reason, the configure check wasn't even for the later added actual DVB code.) Since DVB is disabled by default, this isn't too bad. But if someone enables it, and the system doesn't support it, he will receive a weird compilation error. That has to be good enough, until maybe someone adds a new check.
-rw-r--r--waftools/fragments/dvb.c12
-rw-r--r--wscript2
2 files changed, 1 insertions, 13 deletions
diff --git a/waftools/fragments/dvb.c b/waftools/fragments/dvb.c
deleted file mode 100644
index 4ec9e37311..0000000000
--- a/waftools/fragments/dvb.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <poll.h>
-#include <sys/ioctl.h>
-#include <stdio.h>
-#include <time.h>
-#include <unistd.h>
-#include <linux/dvb/dmx.h>
-#include <linux/dvb/frontend.h>
-#include <linux/dvb/video.h>
-#include <linux/dvb/audio.h>
-#include <linux/dvb/version.h>
-fe_bandwidth_t t;
-int main(void) {return 0;}
diff --git a/wscript b/wscript
index f117ddbad7..ac900d8590 100644
--- a/wscript
+++ b/wscript
@@ -840,7 +840,7 @@ radio_and_tv_features = [
} , {
'name': '--dvbin',
'desc': 'DVB input module',
- 'func': check_cc(fragment=load_fragment('dvb.c')),
+ 'func': check_true,
'default': 'disable',
}
]