configure: Use check_lib2 for bzlib.

Functions are exported as WINAPI in win32, so it is not picked up by check_lib.

Originally committed as revision 15957 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ramiro Polla 2008-11-30 00:19:16 +00:00
parent 13367a46bc
commit 632948bd5a

2
configure vendored
View File

@ -1830,7 +1830,7 @@ if ! enabled_any memalign memalign_hack && enabled need_memalign ; then
fi fi
disabled zlib || check_lib zlib.h zlibVersion -lz || disable zlib disabled zlib || check_lib zlib.h zlibVersion -lz || disable zlib
disabled bzlib || check_lib bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib
# check for some common methods of building with pthread support # check for some common methods of building with pthread support
# do this before the optional library checks as some of them require pthreads # do this before the optional library checks as some of them require pthreads