I see that already in 2009 most of the references to "thread-safe" were changed to talk about races instead. However the message output by configure still says "checking for a thread-safe mkdir -p"; would it be worth changing that too?
-- https://rrt.sc3d.org