configure: fix (again) check for DB API: 5.4 is Not Recent Enough

Maybe testing the version is clearer, but testing for < 5 is not
enough, my version is 5.4 and does not yet have those new enums.

If you git blame to this and have a version > 5.4 that does not
either, please feel free to join along and bump the version.
This commit is contained in:
Vincent Penquerc'h 2014-01-14 17:08:36 +00:00
parent a8151d78fc
commit 25ec217cf9

View file

@ -2067,7 +2067,7 @@ AG_GST_CHECK_FEATURE(DVB, [DVB Source], dvb, [
AC_CHECK_HEADER(linux/dvb/version.h, [
AC_MSG_CHECKING([for up-to-date dvb API])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <linux/dvb/version.h>]], [[
#if DVB_API_VERSION < 5
#if DVB_API_VERSION < 5 || (DVB_API_VERSION == 5 && DVB_API_VERSION_MINOR <= 4)
#error "Incompatible dvb API"
#endif
]])], [ AC_MSG_RESULT(yes)