changeset 19591:f2a78abda66f

accept dvdnav version >= 0.2.0; the previous code failed because the check test 020 -ge 0110 failed
author nicodvb
date Tue, 29 Aug 2006 21:09:58 +0000
parents 9b2084cd9e48
children 9e580236e5c7
files configure
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Aug 29 21:05:35 2006 +0000
+++ b/configure	Tue Aug 29 21:09:58 2006 +0000
@@ -5175,7 +5175,8 @@
   _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