changeset 33164:dc853608cda3

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.
author diego
date Mon, 11 Apr 2011 13:10:03 +0000
parents d941d34d5b0f
children 0c17a7d0f6ef
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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