summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
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'