summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-29 21:09:58 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-29 21:09:58 +0000
commit5ee88aea4d362007ceaf69a7c761ec8427edd792 (patch)
treef85398eaf33592af296d1a2b4f1ac9e64d9eb505 /configure
parentd81f4ecd8d502d8751227fe53b50e6acc6c1ee72 (diff)
downloadmpv-5ee88aea4d362007ceaf69a7c761ec8427edd792.tar.bz2
mpv-5ee88aea4d362007ceaf69a7c761ec8427edd792.tar.xz
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
Diffstat (limited to 'configure')
-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