Attention is currently required from: Timur Davydov.
pespin has posted comments on this change by Timur Davydov. ( https://gerrit.osmocom.org/c/libosmocore/+/41878?usp=email )
Change subject: build: move netns/tun conditionals to configure.ac Move Linux-/embedded-specific conditional compilation out of the sources and into configure.ac. ......................................................................
Patch Set 1:
(1 comment)
File configure.ac:
https://gerrit.osmocom.org/c/libosmocore/+/41878/comment/316b243c_927c6d3e?u... : PS1, Line 242: AM_CONDITIONAL(ENABLE_TUN, test "x$embedded" != "xyes")
ENABLE_TUN is meant to be the inverse of EMBEDDED, so that tun.c is not built […]
In this patch, ENABLE_TUN is a noop, so it doesn't make sense to have a patch containing that imho.
I think you probably want to figure out what exactly is not available when building with emscripten and then add a check for that specific thing tundev.c depends on.