Antoine Dodson says if his newborn son turns out to be gay he'd still love him ... but he'd do his best to change him and make him straight.
Dodson -- who became famous in 2010 when he fended off a rape and told a reporter, "Hide ya kids, hide ya wife, hide ya husbands ... cause they rapin' everybody out here" -- said last year he was disavowing his homosexuality and becoming a straight family man.
Dodson tells TMZ ... he believes living a gay lifestyle is wrong and anti-religious, but he would love his son regardless. He says, "I wouldn't be shocked because I lived that life before," adding, "I would try and get him help."
Dodson continued, "Even if he couldn't be fixed it doesn't matter because I still support him no matter what."
Benevolent of him.