summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-01-09 14:01:22 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-01-09 14:01:24 +0100
commit55c3b37dcd0f87bf4478e5617fb700f020ee0d00 (patch)
tree24f6fb167a695fc555bade7d558735036c99c4ba
parent7ec4c1f0ee2e4e04248cbb2d276094f8cb05ba6b (diff)
configure.ac: Check for sctp_recvmsg instead of sctp_send
sctp_send is not used at all in libosmo-sccp. sctp_recvmsg is used though. Change-Id: Iac90c5f531a136fb3535404a6fdfd4c2d7a594aa
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 11b5fe8..9cf517a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,14 +35,14 @@ PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.3.0)
PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.7.0)
old_LIBS=$LIBS
-AC_SEARCH_LIBS([sctp_send], [sctp], [
+AC_SEARCH_LIBS([sctp_recvmsg], [sctp], [
AC_DEFINE(HAVE_LIBSCTP, 1, [Define 1 to enable SCTP support])
AC_SUBST(HAVE_LIBSCTP, [1])
if test -n "$ac_lib"; then
AC_SUBST(LIBSCTP_LIBS, [-l$ac_lib])
fi
], [
- AC_MSG_ERROR([sctp_send not found in searched libs])])
+ AC_MSG_ERROR([sctp_recvmsg not found in searched libs])])
LIBS=$old_LIBS
AC_ARG_ENABLE(sanitize,