mirror of
https://github.com/mpv-player/mpv
synced 2025-03-03 12:47:49 +00:00
Check for requirements at configure-time, not at run-time.
patch by Vladimir Voroshilov, voroshil <at> gmail <dot> com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19614 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
04e2fc2336
commit
63a2e5b07f
3
configure
vendored
3
configure
vendored
@ -6720,6 +6720,9 @@ else
|
||||
fi
|
||||
echores "$_radio_v4l"
|
||||
|
||||
if test "$_radio_v4l" = no && test "$_radio_v4l2" = no && test "$_radio" = yes ; then
|
||||
die "Radio driver requires V4L or V4L2!"
|
||||
fi
|
||||
|
||||
echocheck "Video 4 Linux 2/IVTV PVR interface"
|
||||
if test "$_pvr" = auto ; then
|
||||
|
@ -1,5 +1,3 @@
|
||||
|
||||
#include "config.h"
|
||||
/*
|
||||
* Radio support
|
||||
*
|
||||
@ -32,9 +30,7 @@
|
||||
#undef USE_RADIO_CAPTURE
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_RADIO_V4L) && !defined(HAVE_RADIO_V4L2)
|
||||
#error "This driver requires V4L1 or V4L2!"
|
||||
#endif
|
||||
#include "config.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
Loading…
Reference in New Issue
Block a user