--enable-embedded doesn't work as expected
--enable-embedded is supposed to automatically set flags like --disable-libsctp. In theory that
is implemented, but in practise it doesn't work, as the actual check is still performed, even if later down the configure[.ac] script we set ENABLE_LIBSCTP to "false". So we perform the check (and abort in case it isn't present), but later would discard the result.
Re-ordering the blocks in configure.ac to first have the embedded handling doesn't help. I guess we would need to take the "$embedded" variable into account somehow in each of the enable/disable clauses?
Unless somebody knows a quick fix, it's not worth spending time on right now, but just for the record...