aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-05-03 19:23:42 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-05-03 19:23:42 +0200
commitc68b20647b3d7a01f374ce7148fd4cbb1a0aaec7 (patch)
treec0800caa4c0dc4f3646f236baf674f7edf218050 /configure.ac
parente5f1510f07d22f8dbc5abd593ecfbffe1a8a571d (diff)
downloadfdk-aac-dabplus-c68b20647b3d7a01f374ce7148fd4cbb1a0aaec7.tar.gz
fdk-aac-dabplus-c68b20647b3d7a01f374ce7148fd4cbb1a0aaec7.tar.bz2
fdk-aac-dabplus-c68b20647b3d7a01f374ce7148fd4cbb1a0aaec7.zip
Add configure check for libfec
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index cd6ee2f..f6ef962 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,6 +16,10 @@ LT_INIT
AC_CHECK_LIB([m], [sin])
+AC_SEARCH_LIBS([init_rs_char], [fec], [], [
+ AC_MSG_ERROR([unable to find libfec])
+])
+
AX_BOOST_BASE([1.41.0], [], AC_MSG_ERROR([BOOST 1.41 or later is required]))
AC_CHECK_LIB([boost_system], [main], [], [AC_MSG_ERROR([library boost_system is missing])])
AC_CHECK_LIB([boost_thread], [main], [], [AC_MSG_ERROR([library boost_thread is missing])])