diff options
author | Michal Labedzki <michal.labedzki@tieto.com> | 2012-09-14 15:08:17 +0200 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-02-12 01:36:02 +0000 |
commit | 10084c344c89fdadc915e47bcece84a2ac511dc5 (patch) | |
tree | cf48eed191bfd99bd2087f2d7cb3a13fa3049047 /configure.ac | |
parent | ab3348eeb412d45acd89ffb7d0b39189b36399ce (diff) |
RTP: Add support for SBC codec in RTP Player
Add optional dependancy to libsbc to play Bluetooth SBC in
A2DP payload. Also simplify RTP Player and extent codec interface.
Change-Id: I52e1fce9c82e2885736354fe73c6c37168a4fda3
Reviewed-on: https://code.wireshark.org/review/19
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 3843403a4a..29ed59a562 100644 --- a/configure.ac +++ b/configure.ac @@ -2623,6 +2623,15 @@ AC_CHECK_FUNCS(mmap mprotect sysconf) dnl blank for now, but will be used in future AC_SUBST(wireshark_SUBDIRS) +# Check Bluetooth SBC codec for RTP Player +# git://git.kernel.org/pub/scm/bluetooth/sbc.git +PKG_CHECK_MODULES(SBC, sbc >= 1.0, [have_sbc=yes], [have_sbc=no]) +if (test "${have_sbc}" = "yes"); then + AC_DEFINE(HAVE_SBC, 1, [Define to support playing SBC by standalone BlueZ SBC library]) + CFLAGS="$CFLAGS $(pkg-config sbc --cflags)" + LIBS="$LIBS $(pkg-config sbc --libs)" +fi + dnl dnl check whether plugins should be enabled and, if they should be, dnl check for plugins directory - stolen from Amanda's configure.ac @@ -3053,3 +3062,4 @@ echo " Use gnutls library : $tls_message" echo " Use POSIX capabilities library : $libcap_message" echo " Use GeoIP library : $geoip_message" echo " Use nl library : $libnl_message" +echo " Use SBC codec library : $have_sbc" |