diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 7aea4d12e..cd159115e 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -398,7 +398,11 @@ fi | |||
398 | # check for libopus(audio) library | 398 | # check for libopus(audio) library |
399 | opus=0 | 399 | opus=0 |
400 | AC_CHECK_LIB(opus,opus_decode_float, | 400 | AC_CHECK_LIB(opus,opus_decode_float, |
401 | [AC_CHECK_HEADER([opus/opus.h],opus=1)]) | 401 | [AC_CHECK_HEADER([opus/opus.h], |
402 | [AC_CHECK_DECL([OPUS_SET_GAIN],[opus=1],[],[[#include <opus/opus.h>]] | ||
403 | )] | ||
404 | )] | ||
405 | ) | ||
402 | if test "$opus" = 1 | 406 | if test "$opus" = 1 |
403 | then | 407 | then |
404 | AC_DEFINE([HAVE_OPUS],[1],[Have libopus library]) | 408 | AC_DEFINE([HAVE_OPUS],[1],[Have libopus library]) |