summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-25 22:08:22 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-25 22:08:22 +0000
commit0c778769ebd712f9683a02fa84996483c7b20295 (patch)
treedfb9bbe021a7e82b9b63b473e196c62b8bf0993c /configure
parentbaf31d5bfad6ac07c3e495cd6889dd51b4342662 (diff)
downloadmpv-0c778769ebd712f9683a02fa84996483c7b20295.tar.bz2
mpv-0c778769ebd712f9683a02fa84996483c7b20295.tar.xz
v4l detect fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3751 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index cf2f1d2969..a7b5e1e66b 100755
--- a/configure
+++ b/configure
@@ -2433,17 +2433,17 @@ fi
echores "$_tv"
echocheck "Video 4 Linux TV interface"
-if test "$_tv_v4l" = auto && test "$_tv" = yes && linux ; then
- _tv_v4l=no
- if test -c /dev/video0 ; then
+if test "$_tv_v4l" = auto ; then
+ _tv_v4l=no
+ if test "$_tv" = yes && linux ; then
+ if test -c /dev/video0 || test -c /dev/video ; then
cat > $TMPC <<EOF
#include <linux/videodev.h>
int main(void) { return 0; }
EOF
cc_check && _tv_v4l=yes
fi
-else
- _tv_v4l=no
+ fi
fi
if test "$_tv_v4l" = yes ; then
_def_tv_v4l='#define HAVE_TV_V4L 1'