From 5ee88aea4d362007ceaf69a7c761ec8427edd792 Mon Sep 17 00:00:00 2001 From: nicodvb Date: Tue, 29 Aug 2006 21:09:58 +0000 Subject: [PATCH] accept dvdnav version >= 0.2.0; the previous code failed because the check test 020 -ge 0110 failed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19597 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index b3be97ab8e..3dc9856ccf 100755 --- a/configure +++ b/configure @@ -5175,7 +5175,8 @@ EOF _dvdnavlibs=`$_dvdnavconfig --libs` _dvdnavvsn=`$_dvdnavconfig --version | sed "s/\.//g"` _used_css= - test "$_dvdnavvsn" -ge 0110 && cc_check -I$_dvdnavdir $_dvdnavlibs $_used_css $_ld_dl $_ld_pthread && _dvdnav=yes + _dvdnavmajor=`echo $_dvdnavvsn | cut -d. -f2` + test "$_dvdnavmajor" -ge 2 -o "$_dvdnavvsn" -ge 0110 && cc_check -I$_dvdnavdir $_dvdnavlibs $_used_css $_ld_dl $_ld_pthread && _dvdnav=yes fi if test "$_dvdnav" = yes ; then _largefiles=yes