diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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 <<EOF + for I in /dev/video /dev/video? ; do + if test -c $I ; then + cat > $TMPC <<EOF #include <stdlib.h> #include <linux/videodev.h> 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 |