aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2016-08-08 15:43:22 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2016-08-08 15:46:25 +0200
commit89981ad4ab8372537cf9b250bf0febc5d92a2d6d (patch)
treecab339df09d95630e1b509f8d4ef3ee82d84f281 /configure.ac
parentcd7e778f966a1631d68e581e45810e0e813fd6c6 (diff)
configure: check for sctp.hneels/check_sctp_h
Notice missing sctp header at configure time. Without this patch, the user only finds out at build time. Change-Id: I4b3e1f1894f13ac1175a71a5139c02a2633be26d
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 64a7a1e..6c41b9b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,6 +50,7 @@ AC_SEARCH_LIBS([sctp_send], [sctp], [
], [
AC_MSG_ERROR([sctp_send not found in searched libs])])
LIBS=$old_LIBS
+AC_CHECK_HEADERS(netinet/sctp.h,,AC_MSG_ERROR(netinet/sctp.h not found))
AC_CHECK_HEADERS(dahdi/user.h,,AC_MSG_WARN(DAHDI input driver will not be built))