mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
configure.ac: fix dvdnav version check
Fixes #577864. This time for real.
This commit is contained in:
parent
e55f069fe6
commit
8268261fdb
1 changed files with 5 additions and 2 deletions
|
@ -709,7 +709,10 @@ AG_GST_CHECK_FEATURE(DVDNAV, [dvdnav library], resindvd, [
|
||||||
DVDNAV_MAJOR=`echo $DVDNAV_VERSION | cut -d. -f1 | sed s/[a-zA-Z\-].*//g`
|
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_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`
|
DVDNAV_MICRO=`echo $DVDNAV_VERSION | cut -d. -f3 | sed s/[a-zA-Z\-].*//g`
|
||||||
if [[ "$DVDNAV_MAJOR" -eq "4" ]] && \
|
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
|
[[ "$DVDNAV_MINOR" -lt "1" ]]; then
|
||||||
AC_MSG_WARN([libdvdnav >= 4.1.2 is required, you have $DVDNAV_VERSION])
|
AC_MSG_WARN([libdvdnav >= 4.1.2 is required, you have $DVDNAV_VERSION])
|
||||||
HAVE_DVDNAV="no"
|
HAVE_DVDNAV="no"
|
||||||
|
|
Loading…
Reference in a new issue