diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-04-03 23:10:28 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-04-03 23:10:28 +0100 |
commit | 8268261fdb7d0fe465b741076ca882df81ffc352 (patch) | |
tree | deed1806b2ab17db23c7b3f6506b17b14dc89436 /configure.ac | |
parent | e55f069fe6b201e3255aedbd339c3c319b65f2e9 (diff) | |
download | gstreamer-plugins-bad-8268261fdb7d0fe465b741076ca882df81ffc352.tar.gz |
configure.ac: fix dvdnav version check
Fixes #577864. This time for real.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 0d5e7e82b..e671123b8 100644 --- a/configure.ac +++ b/configure.ac @@ -709,8 +709,11 @@ AG_GST_CHECK_FEATURE(DVDNAV, [dvdnav library], resindvd, [ DVDNAV_MAJOR=`echo $DVDNAV_VERSION | cut -d. -f1 | sed s/[a-zA-Z\-].*//g` DVDNAV_MINOR=`echo $DVDNAV_VERSION | cut -d. -f2 | sed s/[a-zA-Z\-].*//g` DVDNAV_MICRO=`echo $DVDNAV_VERSION | cut -d. -f3 | sed s/[a-zA-Z\-].*//g` - if [[ "$DVDNAV_MAJOR" -eq "4" ]] && \ - [[ "$DVDNAV_MINOR" -lt "1" ]]; then + if [[ "$DVDNAV_MAJOR" -lt "4" ]]; then + AC_MSG_WARN([libdvdnav >= 4.1.2 is required, you have $DVDNAV_VERSION]) + HAVE_DVDNAV="no" + elif [[ "$DVDNAV_MAJOR" -eq "4" ]] && \ + [[ "$DVDNAV_MINOR" -lt "1" ]]; then AC_MSG_WARN([libdvdnav >= 4.1.2 is required, you have $DVDNAV_VERSION]) HAVE_DVDNAV="no" elif [[ "$DVDNAV_MAJOR" -eq "4" ]] && \ |