Hello,
It seems to me that here is a logical error: https://github.com/bitcoin/bitcoin/blob/07ce278455757fb46dab95fb9b97a3f6b1b84faf/configure.ac#L47-L53
All code below "hopes" that CXXFLAGS_overridden is no when CXXFLAGS is empty. Right?
In my opinion the variable name a bit confusing. I read entire configure.ac file several times and still not sure if I understood it correctly. What do you think about "can_override_cxxflags" name?