v4l2: Remove obsolete definition GST_V4L2_MISSING_BUFDECL
authorDan Kegel <dank@kegel.com>
Sun, 2 Feb 2014 17:57:03 +0000 (09:57 -0800)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 4 Feb 2014 13:06:13 +0000 (14:06 +0100)
The only use was removed by 9edc0c0365f79ab07ff2e65461c6696e3931a3f0

https://bugzilla.gnome.org/show_bug.cgi?id=723446

configure.ac

index 1bbdfa0505c1eba22bd8720abd3242ef7109d27e..f1bfc4813a944c01845a89a6641b4b197fd09ded 100644 (file)
@@ -544,31 +544,6 @@ return 0;
     ])
 
   if [ test x$HAVE_GST_V4L2 = xyes ]; then
-    dnl check for missing v4l2_buffer declaration (see #135919)
-    MISSING_DECL=0
-    AC_MSG_CHECKING(struct v4l2_buffer declaration)
-    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
-#include <sys/types.h>
-#ifdef __sun /* Solaris */
-#include <sys/types.h>
-#include <sys/videodev2.h>
-#elif __FreeBSD__
-#include <linux/videodev2.h>
-#else /* Linux */
-#include <linux/types.h>
-#define _LINUX_TIME_H
-#define __user
-#include <linux/videodev2.h>
-#endif
-    ]], [[
-struct v4l2_buffer buf;
-buf.index = 0;
-return 0;
-    ]])],[ AC_MSG_RESULT(yes) ],[ MISSING_DECL=1 && AC_MSG_RESULT(no) ])
-    if [ test x$MISSING_DECL = x1 ]; then
-      AC_DEFINE(GST_V4L2_MISSING_BUFDECL, 1, [struct v4l2_buffer missing])
-    fi
-
     dnl check for XOverlay libraries
     AG_GST_CHECK_XV
   fi