]> code.ossystems Code Review - openembedded-core.git/commit
site: Remove sctp related configs
authorPau Espin Pedrol <pespin@sysmocom.de>
Tue, 14 Jan 2020 13:57:13 +0000 (14:57 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jan 2020 22:21:31 +0000 (22:21 +0000)
commit6a641e744507c8c17fa3d7273cb2e5b512ca0242
treeb5c2ce75b04222cda1e994586cf8bcfae0442bdd
parent103316d50d4947b3c3500eb5cbc4845702a62d22
site: Remove sctp related configs

They are preventing autotools from checking netinet/sctp.h existence
successfuly which in turn makes configure.ac files with lines similar to
this to fail, even if DEPENDS="lksctp-tools" and netinet/sctp.h is
clearly available under recipe-sysroot/:
AC_CHECK_HEADERS(netinet/sctp.h,,AC_MSG_ERROR(netinet/sctp.h not found))

This is the case for new libosmo-netif versionsi (meta-telephony branch
laforge/nightly), which expects netinet/sctp.h to be available if default
flag --enable-libsctp is used.

Without this patch, do_configure will fail unless following line is used
in the recipe:
CACHED_CONFIGUREVARS += "${@bb.utils.contains('PACKAGECONFIG', 'libsctp', 'ac_cv_header_netinet_sctp_h=yes', '',d)}"

So removing ac_cv_header_netinet_sctp_h would be enough, but I couldn't
find any good information on why the other 2 variables were set in site
config files, hence no good reason to keep them.

Signed-off-by: Pau Espin Pedrol <pespin@sysmocom.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/site/arm-common
meta/site/ix86-common
meta/site/nios2-linux
meta/site/powerpc32-linux
meta/site/sh-common