Author: seanbright Date: Mon Oct 27 12:55:43 2014 New Revision: 426235 URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=426235 Log: configure: Add autoconf check for libopus.
Because opus transcoding support cannot be included in the standard Asterisk distribution, a few codec_opus implementations have popped up. To make it easier for people to drop in opus support in their own installations, this patch adds configure checks for libopus. Review: https://reviewboard.asterisk.org/r/4106/ ........ Merged revisions 426234 from http://svn.asterisk.org/svn/asterisk/branches/13 Modified: trunk/ (props changed) trunk/build_tools/menuselect-deps.in trunk/configure trunk/configure.ac trunk/include/asterisk/autoconfig.h.in trunk/makeopts.in Propchange: trunk/ ------------------------------------------------------------------------------ Binary property 'branch-13-merged' - no diff available. Modified: trunk/build_tools/menuselect-deps.in URL: http://svnview.digium.com/svn/asterisk/trunk/build_tools/menuselect-deps.in?view=diff&rev=426235&r1=426234&r2=426235 ============================================================================== --- trunk/build_tools/menuselect-deps.in (original) +++ trunk/build_tools/menuselect-deps.in Mon Oct 27 12:55:43 2014 @@ -41,6 +41,7 @@ NEON29=@PBX_NEON29@ OGG=@PBX_OGG@ OPENH323=@PBX_OPENH323@ +OPUS=@PBX_OPUS@ OSPTK=@PBX_OSPTK@ OSS=@PBX_OSS@ PGSQL=@PBX_PGSQL@ Modified: trunk/configure.ac URL: http://svnview.digium.com/svn/asterisk/trunk/configure.ac?view=diff&rev=426235&r1=426234&r2=426235 ============================================================================== --- trunk/configure.ac (original) +++ trunk/configure.ac Mon Oct 27 12:55:43 2014 @@ -448,6 +448,7 @@ AST_EXT_LIB_SETUP([NEWT], [newt], [newt]) AST_EXT_LIB_SETUP([OGG], [OGG], [ogg]) AST_EXT_LIB_SETUP([OPENR2], [MFR2], [openr2]) +AST_EXT_LIB_SETUP([OPUS], [Opus], [opus]) AST_EXT_LIB_SETUP([OSPTK], [OSP Toolkit], [osptk]) AST_EXT_LIB_SETUP([OSS], [Open Sound System], [oss]) AST_EXT_LIB_SETUP([PGSQL], [PostgreSQL], [postgres]) @@ -2127,6 +2128,8 @@ AST_EXT_LIB_CHECK([OPENR2], [openr2], [openr2_chan_new], [openr2.h]) +AST_EXT_LIB_CHECK([OPUS], [opus], [opus_encoder_create], [opus/opus.h]) + if test "${USE_PWLIB}" != "no"; then if test -n "${PWLIB_DIR}"; then PWLIBDIR="${PWLIB_DIR}" Modified: trunk/include/asterisk/autoconfig.h.in URL: http://svnview.digium.com/svn/asterisk/trunk/include/asterisk/autoconfig.h.in?view=diff&rev=426235&r1=426234&r2=426235 ============================================================================== --- trunk/include/asterisk/autoconfig.h.in (original) +++ trunk/include/asterisk/autoconfig.h.in Mon Oct 27 12:55:43 2014 @@ -550,6 +550,9 @@ /* Define to 1 if CRYPTO has the OpenSSL SRTP Extension Support feature. */ #undef HAVE_OPENSSL_SRTP + +/* Define to 1 if you have the Opus library. */ +#undef HAVE_OPUS /* Define this to indicate the ${OSPTK_DESCRIP} library */ #undef HAVE_OSPTK Modified: trunk/makeopts.in URL: http://svnview.digium.com/svn/asterisk/trunk/makeopts.in?view=diff&rev=426235&r1=426234&r2=426235 ============================================================================== --- trunk/makeopts.in (original) +++ trunk/makeopts.in Mon Oct 27 12:55:43 2014 @@ -211,6 +211,9 @@ OGG_INCLUDE=@OGG_INCLUDE@ OGG_LIB=@OGG_LIB@ +OPUS_INCLUDE=@OPUS_INCLUDE@ +OPUS_LIB=@OPUS_LIB@ + OSPTK_INCLUDE=@OSPTK_INCLUDE@ OSPTK_LIB=@OSPTK_LIB@ -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- svn-commits mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/svn-commits
