<p>Harald Welte has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12846">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">configure.ac: Check for libsctp<br><br>Since we merged the SGs interface, we include <netinet/sctp.h>, which<br>is provided by libsctp.<br><br>Change-Id: Id2321e4cb3800929cea56785e5c5bd7480408806<br>---<br>M configure.ac<br>1 file changed, 11 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/46/12846/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/configure.ac b/configure.ac</span><br><span>index 17f4b90..f8787cf 100644</span><br><span>--- a/configure.ac</span><br><span>+++ b/configure.ac</span><br><span>@@ -46,6 +46,17 @@</span><br><span> PKG_CHECK_MODULES(LIBOSMOMGCPCLIENT, libosmo-mgcp-client >= 1.5.0)</span><br><span> PKG_CHECK_MODULES(LIBOSMOGSUPCLIENT, libosmo-gsup-client >= 1.0.0)</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+old_LIBS=$LIBS</span><br><span style="color: hsl(120, 100%, 40%);">+AC_SEARCH_LIBS([sctp_send], [sctp], [</span><br><span style="color: hsl(120, 100%, 40%);">+      AC_DEFINE(HAVE_LIBSCTP, 1, [Define 1 to enable SCTP support])</span><br><span style="color: hsl(120, 100%, 40%);">+ AC_SUBST(HAVE_LIBSCTP, [1])</span><br><span style="color: hsl(120, 100%, 40%);">+   if test -n "$ac_lib"; then</span><br><span style="color: hsl(120, 100%, 40%);">+          AC_SUBST(LIBSCTP_LIBS, [-l$ac_lib])</span><br><span style="color: hsl(120, 100%, 40%);">+   fi</span><br><span style="color: hsl(120, 100%, 40%);">+    ], [</span><br><span style="color: hsl(120, 100%, 40%);">+  AC_MSG_ERROR([sctp_send not found in searched libs])])</span><br><span style="color: hsl(120, 100%, 40%);">+LIBS=$old_LIBS</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> AC_ARG_ENABLE(sanitize,</span><br><span>  [AS_HELP_STRING(</span><br><span>             [--enable-sanitize],</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12846">change 12846</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/12846"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-msc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Id2321e4cb3800929cea56785e5c5bd7480408806 </div>
<div style="display:none"> Gerrit-Change-Number: 12846 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Harald Welte <laforge@gnumonks.org> </div>