diff --git a/configure b/configure index 156da3743f..98879f896e 100755 --- a/configure +++ b/configure @@ -3762,14 +3762,17 @@ echocheck "Video 4 Linux TV interface" if test "$_tv_v4l" = auto ; then _tv_v4l=no if test "$_tv" = yes && linux ; then - if test -c /dev/video? || test -c /dev/video ; then - cat > $TMPC < $TMPC < #include int main(void) { return 0; } EOF - cc_check && _tv_v4l=yes - fi + cc_check && _tv_v4l=yes + break + fi + done fi fi if test "$_tv_v4l" = yes ; then