In
Charlotte Brontë's 1849 novel
Shirley, the eponymous heroine is named
Shirley because her parents had wanted a boy and had planned to name him
Shirley. When they had a girl, she was named
Shirley anyway. Back then,
Shirley was considered to be very masculine, something like
Connor is today.
Obviously missing the point, parents began calling their daughters
Shirley after the novel was released, including
Shirley Temple's mother and father.
Miranda