diff options
author | Benny Prijono <bennylp@teluu.com> | 2011-12-28 08:42:23 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2011-12-28 08:42:23 +0000 |
commit | a9ced05688bf5a1a8c8280e9476fc83e8fe3805e (patch) | |
tree | b8b2d5fcdf3f933a96887b78d129b10af7ab4232 /aconfigure.ac | |
parent | da99d7b15e81dd5e3cca93c1dfa702a3bb41f379 (diff) |
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
Diffstat (limited to 'aconfigure.ac')
-rw-r--r-- | aconfigure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
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 |