From b11fc7795cd1a6d74c9bb50b922d928f4a17722d Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 14 Jan 2020 14:57:13 +0100 Subject: 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. (From OE-Core rev: 6a641e744507c8c17fa3d7273cb2e5b512ca0242) Signed-off-by: Pau Espin Pedrol Signed-off-by: Richard Purdie --- meta/site/sh-common | 4 ---- 1 file changed, 4 deletions(-) (limited to 'meta/site/sh-common') diff --git a/meta/site/sh-common b/meta/site/sh-common index 97c96934d7..6bda1c237c 100644 --- a/meta/site/sh-common +++ b/meta/site/sh-common @@ -31,10 +31,6 @@ ac_cv_time_r_type=${ac_cv_time_r_type=POSIX} # apache ac_cv_sizeof_ssize_t=${ac_cv_sizeof_ssize_t=4} -ac_cv_header_netinet_sctp_h=${ac_cv_header_netinet_sctp_h=no} -ac_cv_header_netinet_sctp_uio_h=${ac_cv_header_netinet_sctp_uio_h=no} -ac_cv_sctp=${ac_cv_sctp=no} - # ssh ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_dirent_have_space_d_name=yes} ac_cv_have_broken_snprintf=${ac_cv_have_broken_snprintf=no} -- cgit v1.2.3-54-g00ecf