I think automatically configuring features based on what's supported locally is just a really bad idea.
One of my first major contributions to Mozilla back in 2008-2009 was ripping out all the code that automatically configured the set of features enabled in Firefox, turning it into errors instead. This meant that everyone knew exactly the set of configure features enabled for a build of Firefox.