From 89981ad4ab8372537cf9b250bf0febc5d92a2d6d Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 8 Aug 2016 15:43:22 +0200 Subject: configure: check for sctp.h Notice missing sctp header at configure time. Without this patch, the user only finds out at build time. Change-Id: I4b3e1f1894f13ac1175a71a5139c02a2633be26d --- configure.ac | 1 + 1 file changed, 1 insertion(+) 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)) -- cgit v1.2.3