From 9f8fc21b62307da7e63884b677af7e7af84cb5c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Tue, 10 May 2016 19:25:38 +0100 Subject: autotools: Check for SpeexDSP system library MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie07f49ec5a563f3b43a2442e05646c6a0b51ca41 Reviewed-on: https://code.wireshark.org/review/15349 Petri-Dish: João Valverde Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a7dffab5dc..15379961e7 100644 --- a/configure.ac +++ b/configure.ac @@ -2403,6 +2403,15 @@ AC_CHECK_FUNCS(sysconf) AC_CHECK_FUNCS(getifaddrs) AC_CHECK_FUNC(getexecname) +# +# Check for SpeexDSP (http://www.speex.org) +# +AS_IF([test "x$have_qt_multimedia_lib" = xyes], + [PKG_CHECK_MODULES(SPEEXDSP, speexdsp, [have_speexdsp=yes], [have_speexdsp=no])]) +AS_IF([test "x$have_speexdsp" = xyes], + [AC_DEFINE(HAVE_SPEEXDSP, 1, [Define to 1 if you have SpeexDSP])]) +AM_CONDITIONAL(HAVE_SPEEXDSP, [test "x$have_speexdsp" = "xyes"]) + # Check Bluetooth SBC codec for RTP Player # git://git.kernel.org/pub/scm/bluetooth/sbc.git AC_ARG_WITH([sbc], -- cgit v1.2.3