aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-07-18 11:04:00 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-07-18 11:04:00 +0200
commit5d0b852bd60fd54c24316b5bc35d44ca5530b200 (patch)
tree1ed4c97661268dd5b55ab868a01c393f18243cb9 /configure.ac
parent4714fe46d8ee1bfd43fbe936d1d50402411e3446 (diff)
downloadODR-SourceCompanion-5d0b852bd60fd54c24316b5bc35d44ca5530b200.tar.gz
ODR-SourceCompanion-5d0b852bd60fd54c24316b5bc35d44ca5530b200.tar.bz2
ODR-SourceCompanion-5d0b852bd60fd54c24316b5bc35d44ca5530b200.zip
Decode AAC to measure audio levels
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index eb9e5e3..6811e1d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,6 +30,19 @@ AC_CHECK_LIB([rt], [clock_gettime], [], [AC_MSG_ERROR([library rt is missing])])
AC_CHECK_LIB(zmq, zmq_init, , AC_MSG_ERROR(ZeroMQ libzmq is required))
+AC_CHECK_LIB(fdk-aac, aacEncOpen, , AC_MSG_ERROR(The FDK-AAC library is required))
+# We need to have the ODR fdk-aac, the upstream one doesn't support DAB+
+AC_MSG_CHECKING([for DAB+ support in FDK-AAC])
+AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include <fdk-aac/aacenc_lib.h>]],
+ [[char dummy[TT_DABPLUS];]])],
+ [
+ AC_MSG_RESULT([yes])
+ ],
+ [
+ AC_MSG_RESULT([no])
+ AC_MSG_ERROR(["Your FDK-AAC does not support DAB+, make sure you have installed the ODR version!"])
+ ]
+ )
AM_CONDITIONAL([IS_GIT_REPO], [test -d '.git'])