]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
check for proper openal symbol to enable functionality
authorAnthony Minessale <anthm@freeswitch.org>
Sun, 29 Jun 2014 20:22:46 +0000 (01:22 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Sun, 29 Jun 2014 20:23:07 +0000 (01:23 +0500)
configure.ac

index 61d4ca1645ac61d56eaa92918b4fb0d22a255282..1f23f842f84d2b3fd4f98c182da5e7649a41b074 100644 (file)
@@ -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