summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
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