diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-08-29 21:09:58 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-08-29 21:09:58 +0000 |
commit | 5ee88aea4d362007ceaf69a7c761ec8427edd792 (patch) | |
tree | f85398eaf33592af296d1a2b4f1ac9e64d9eb505 /configure | |
parent | d81f4ecd8d502d8751227fe53b50e6acc6c1ee72 (diff) | |
download | mpv-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-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |