From a9ced05688bf5a1a8c8280e9476fc83e8fe3805e Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 28 Dec 2011 08:42:23 +0000 Subject: re #1393: error in detecting libavformat in mac os if ffmpeg was built and libbzip2-dev is installed. This caused ffmpeg to be built with dependency to libbz2, while our configure does not, causing link error during libavformat detection. This is temporarily fixed by adding libbz2 detection in aconfigure.ac git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3927 74dad513-b988-da41-8d7b-12977e46ad98 --- aconfigure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'aconfigure.ac') diff --git a/aconfigure.ac b/aconfigure.ac index 23315452..2a4e9e45 100644 --- a/aconfigure.ac +++ b/aconfigure.ac @@ -830,6 +830,9 @@ AC_ARG_ENABLE(ffmpeg, AC_CHECK_LIB(z, deflate) AC_CHECK_LIB(x264, x264_free) + dnl # libbz2, needed by matroskadec.o in ffmpeg 0.9 in mac os + AC_CHECK_LIB(bz2, BZ2_bzDecompressInit) + FFMPEG_PREFIX="" if test "x$with_ffmpeg" != "xno" -a "x$with_ffmpeg" != "x"; then FFMPEG_PREFIX=$with_ffmpeg -- cgit v1.2.3