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
This commit is contained in:
parent
3f70fcd417
commit
d37d3c8181
|
@ -31,6 +31,8 @@ AS_CASE(["$LD"],[*clang*],
|
|||
[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
|
||||
|
|
Loading…
Reference in New Issue