mirror of
https://github.com/mpv-player/mpv
synced 2025-01-20 06:11:10 +00:00
Add bzlib check for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28477 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
19e71dbc54
commit
ba38cd7c0e
15
configure
vendored
15
configure
vendored
@ -5986,6 +5986,21 @@ fi
|
||||
echores "$_zlib"
|
||||
|
||||
|
||||
echocheck "bzlib"
|
||||
bzlib=no
|
||||
def_bzlib='#define CONFIG_BZLIB 0'
|
||||
cat > $TMPC << EOF
|
||||
#include <bzlib.h>
|
||||
int main(void) { BZ2_bzlibVersion(); return 0; }
|
||||
EOF
|
||||
cc_check -lbz2 && bzlib=yes
|
||||
if test "$bzlib" = yes ; then
|
||||
def_bzlib='#define CONFIG_BZLIB 1'
|
||||
_ld_extra="$_ld_extra -lbz2"
|
||||
fi
|
||||
echores "$bzlib"
|
||||
|
||||
|
||||
echocheck "RTC"
|
||||
if test "$_rtc" = auto ; then
|
||||
cat > $TMPC << EOF
|
||||
|
Loading…
Reference in New Issue
Block a user