diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-04-12 16:51:53 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-04-12 16:51:53 +0000 |
commit | e11bd56e02b5eb1296988b2abed3942f700997e3 (patch) | |
tree | f3835067e29b400b0e78e9213310576125b9426e | |
parent | 0df9d22764a6c490d5bccda37ae58270de8a78f0 (diff) | |
download | gst-plugins-bad-e11bd56e02b5eb1296988b2abed3942f700997e3.tar.gz gst-plugins-bad-e11bd56e02b5eb1296988b2abed3942f700997e3.tar.bz2 gst-plugins-bad-e11bd56e02b5eb1296988b2abed3942f700997e3.zip |
Fixes #110138
Original commit message from CVS:
Fixes #110138
-rw-r--r-- | configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 759eaa60..b328a278 100644 --- a/configure.ac +++ b/configure.ac @@ -522,6 +522,19 @@ GST_CHECK_FEATURE(DVDNAV, [dvdnav library], dvdnavsrc, [ translit(dnm, m, l) AC_SUBST(DVDNAV_LIBS) translit(dnm, m, l) AC_SUBST(DVDNAV_CFLAGS) GST_CHECK_CONFIGPROG(DVDNAV, dvdnav-config) + if test x"$HAVE_DVDNAV" = x"yes"; then + dnl check version + DVDNAV_VERSION=`dvdnav-config --version|head -n 1|sed 's/^.*) //'|sed 's/ (.*)//'` + 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 -lt 0 ] || \ + [ $DVDNAV_MINOR -lt 1 ] || \ + [ $DVDNAV_MICRO -lt 4 ]; then + AC_MSG_WARN([libdvdnav >= 0.1.4 is required, you have $DVDNAV_VERSION]) + HAVE_DVDNAV="no" + fi + fi AS_SCRUB_INCLUDE(DVDNAV_CFLAGS) ]) |