]> git.sesse.net Git - vlc/commitdiff
Listen to autoconf warnings: cache-id must contain _cv_
authorRafaël Carré <funman@videolan.org>
Mon, 2 Jun 2008 23:32:40 +0000 (01:32 +0200)
committerRafaël Carré <funman@videolan.org>
Tue, 3 Jun 2008 06:29:53 +0000 (08:29 +0200)
configure.ac

index 198fbb4217aeef90f19bb540dc1541c60be7c6a1..49963faecb819fae12bf235bddb089881b202df8 100644 (file)
@@ -2408,7 +2408,7 @@ then
     
 
   AC_CACHE_CHECK([for new linux/videodev2.h],
-      [new_linux_videodev2_h],
+      [ac_cv_new_linux_videodev2_h],
       [AC_TRY_COMPILE([
           #include <sys/types.h>
           #   ifdef VIDEODEV2_H_FILE
@@ -2418,9 +2418,9 @@ then
          #   endif
          ],
           [struct v4l2_ext_controls ctrls; ctrls.ctrl_class = V4L2_CTRL_CLASS_MPEG; ],
-          new_linux_videodev2_h=yes,
-          new_linux_videodev2_h=no)])
-  if test "${new_linux_videodev2_h}" != "no"; then
+          ac_cv_new_linux_videodev2_h=yes,
+          ac_cv_new_linux_videodev2_h=no)])
+  if test "${ac_cv_new_linux_videodev2_h}" != "no"; then
     AC_DEFINE(HAVE_NEW_LINUX_VIDEODEV2_H, 1, [Define if new linux/videodev2.h present])
   fi
 fi