Ninja: Record showIncludes detection in configure log Also avoid running the detection multiple times.