[asterisk-commits] seanbright: branch 13 r426234 - in /branches/13: ./ build_tools/ include/aste...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Oct 27 12:54:40 CDT 2014


Author: seanbright
Date: Mon Oct 27 12:54:32 2014
New Revision: 426234

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=426234
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/

Modified:
    branches/13/build_tools/menuselect-deps.in
    branches/13/configure
    branches/13/configure.ac
    branches/13/include/asterisk/autoconfig.h.in
    branches/13/makeopts.in

Modified: branches/13/build_tools/menuselect-deps.in
URL: http://svnview.digium.com/svn/asterisk/branches/13/build_tools/menuselect-deps.in?view=diff&rev=426234&r1=426233&r2=426234
==============================================================================
--- branches/13/build_tools/menuselect-deps.in (original)
+++ branches/13/build_tools/menuselect-deps.in Mon Oct 27 12:54:32 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: branches/13/configure.ac
URL: http://svnview.digium.com/svn/asterisk/branches/13/configure.ac?view=diff&rev=426234&r1=426233&r2=426234
==============================================================================
--- branches/13/configure.ac (original)
+++ branches/13/configure.ac Mon Oct 27 12:54:32 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: branches/13/include/asterisk/autoconfig.h.in
URL: http://svnview.digium.com/svn/asterisk/branches/13/include/asterisk/autoconfig.h.in?view=diff&rev=426234&r1=426233&r2=426234
==============================================================================
--- branches/13/include/asterisk/autoconfig.h.in (original)
+++ branches/13/include/asterisk/autoconfig.h.in Mon Oct 27 12:54:32 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: branches/13/makeopts.in
URL: http://svnview.digium.com/svn/asterisk/branches/13/makeopts.in?view=diff&rev=426234&r1=426233&r2=426234
==============================================================================
--- branches/13/makeopts.in (original)
+++ branches/13/makeopts.in Mon Oct 27 12:54:32 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@
 




More information about the asterisk-commits mailing list