adding some debug output to configure