-AC_PREREQ([2.68])
+AC_PREREQ([2.69])
dnl please read gstreamer/docs/random/autotools before changing this file
dnl initialize autoconf
dnl releases only do -Wall, git and prerelease does -Werror too
dnl use a three digit version number for releases, and four for git/pre
-AC_INIT([GStreamer Good Plug-ins],[1.5.0.1],[http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer],[gst-plugins-good])
+AC_INIT([GStreamer Good Plug-ins],[1.5.2.1],[http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer],[gst-plugins-good])
AG_GST_INIT
dnl initialize automake
-AM_INIT_AUTOMAKE([-Wno-portability 1.11 no-dist-gzip dist-xz tar-ustar subdir-objects])
+AM_INIT_AUTOMAKE([-Wno-portability 1.14 no-dist-gzip dist-xz tar-ustar subdir-objects])
dnl define PACKAGE_VERSION_* variables
AS_VERSION
[GStreamer API Version])
AG_GST_LIBTOOL_PREPARE
-AS_LIBTOOL(GST, 501, 0, 501)
+AS_LIBTOOL(GST, 502, 0, 502)
dnl *** required versions of GStreamer stuff ***
-GST_REQ=1.5.0.1
-GSTPB_REQ=1.5.0.1
+GST_REQ=1.5.2.1
+GSTPB_REQ=1.5.2.1
dnl *** autotools stuff ****
AC_MSG_CHECKING([Checking for video4linux2 header ...])
AC_CHECK_HEADER(linux/videodev2.h, [ HAVE_GST_V4L2=yes ],
[
- AC_CHECK_HEADER(sys/videodev2.h, [ HAVE_GST_V4L2=yes ])
+ AC_CHECK_HEADER(sys/videodev2.h, [ HAVE_GST_V4L2=yes ],
+ [
+ AC_CHECK_HEADER(sys/videoio.h, [ HAVE_GST_V4L2=yes ])
+ ])
])
if test "x$HAVE_VIDEODEV" = "xno"; then
AC_MSG_WARN([video4linux2 was not found])