summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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])])