# HG changeset patch # User diego # Date 1302527403 0 # Node ID dc853608cda31fdd1c7553aaa1d5f631aae3e861 # Parent d941d34d5b0f53477915bf4469e6693aef8ad09c Fix typo in v4l2 check. The sys_videoio_h variable was being set instead of read in the V4L2 check, resulting in V4L2 getting enabled unconditionally. diff -r d941d34d5b0f -r dc853608cda3 configure --- a/configure Sun Apr 10 11:12:45 2011 +0000 +++ b/configure Mon Apr 11 13:10:03 2011 +0000 @@ -7393,7 +7393,7 @@ _tv_v4l2=no if test "$_tv" = yes && linux ; then header_check_broken sys/time.h linux/videodev2.h && _tv_v4l2=yes - elif test "$_tv" = yes && sys_videoio_h=yes ; then + elif test "$_tv" = yes && test "$sys_videoio_h" = "yes" ; then _tv_v4l2=yes fi fi