opencv: make the plugin compile with all 2.4.x versions

https://bugzilla.gnome.org/show_bug.cgi?id=730141
This commit is contained in:
Nicola Murino 2014-05-20 07:18:39 +02:00 committed by Thiago Santos
parent 81d01f5db0
commit ab4d8d3d3c

View file

@ -2487,7 +2487,7 @@ AG_GST_CHECK_FEATURE(OPENCV, [opencv plugins], opencv, [
dnl a new version and the no-backward-compatibility define. (There doesn't
dnl seem to be a switch to suppress the warnings the cvcompat.h header
dnl causes.)
PKG_CHECK_MODULES(OPENCV, opencv >= 2.0.0 opencv <= 2.4.8 , [
PKG_CHECK_MODULES(OPENCV, opencv >= 2.0.0 opencv < 2.5.0 , [
AC_PROG_CXX
AC_LANG([C++])
OLD_CPPFLAGS=$CPPFLAGS