configure's tests see the same compilation environment as the code. Per discussion with Stephan Szabo.