See ticket:19139#comment:1 on why the environ variable configure check can probably be removed.
environ