From 810717cae08ebe32a6cdd09160e83a7f5f6bfeca Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 30 Jun 2014 01:22:46 +0500 Subject: [PATCH] check for proper openal symbol to enable functionality --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 61d4ca1645..1f23f842f8 100644 --- a/configure.ac +++ b/configure.ac @@ -493,6 +493,10 @@ AC_ARG_ENABLE(srtp, AM_CONDITIONAL([ENABLE_SRTP],[test "${enable_srtp}" = "yes"]) +have_openal=no +AC_CHECK_LIB(openal, alMidiGainSOFT, [have_openal="yes"]) +AM_CONDITIONAL([HAVE_OPENAL],[test "${have_openal}" = "yes"]) + AC_ARG_ENABLE(zrtp, [AS_HELP_STRING([--enable-zrtp], [Compile with zrtp Support])],,[enable_zrtp="no"]) if test "x$enable_zrtp" = "xyes" ; then