laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmo-sccp/+/16773 )

Change subject: configure.ac: Check for sctp_recvmsg instead of sctp_send
......................................................................

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
---
M configure.ac
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



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(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,

--
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/16773
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: Iac90c5f531a136fb3535404a6fdfd4c2d7a594aa
Gerrit-Change-Number: 16773
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pes...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-MessageType: merged

Reply via email to