Change in osmo-iuh[for-1.0]: configure.ac: Ensure netinet/sctp.h is present

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Jan 7 12:52:18 UTC 2021


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-iuh/+/22014 )


Change subject: configure.ac: Ensure netinet/sctp.h is present
......................................................................

configure.ac: Ensure netinet/sctp.h is present

we unconditionally depend on this header file, yet nothing
in configure.ac ensures its presence.  Building on a clean
Debian 10 with all existing dependencies installed passes
configure but fails at compilation time.

Change-Id: I0a4407ef6ee512ad5ea8775d90acfe1c4fa67cd0
---
M configure.ac
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/14/22014/1

diff --git a/configure.ac b/configure.ac
index 692db57..c186855 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,6 +31,8 @@
   [AS_CASE(["${host_os}"],
      [*linux*],[archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'])])
 
+AC_CHECK_HEADERS(netinet/sctp.h,,AC_MSG_ERROR(netinet/sctp.h not found))
+
 dnl check for pkg-config (explained in detail in libosmocore/configure.ac)
 AC_PATH_PROG(PKG_CONFIG_INSTALLED, pkg-config, no)
 if test "x$PKG_CONFIG_INSTALLED" = "xno"; then

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/22014
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-iuh
Gerrit-Branch: for-1.0
Gerrit-Change-Id: I0a4407ef6ee512ad5ea8775d90acfe1c4fa67cd0
Gerrit-Change-Number: 22014
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210107/52bfc65a/attachment.htm>


More information about the gerrit-log mailing list