President Barack Obama says he supports recognising gay unions in a broad immigration bill pending in Congress but won't say whether he would sign legislation that fails to do so.
Obama says that recognising same-sex relationships in the bill is "the right thing to do". But he says it would be premature to telegraph what he will or won't do before lawmakers send him a bill.
Gay rights supporters are pushing for an amendment to the bill to allow gays to sponsor their partners to come to the US.
But Republicans, including some who helped draft the bill, have made it clear that amending the legislation in that fashion would cost their support.
Obama commented at a news conference Friday evening in San Jose, Costa Rica, with President Laura Chinchilla.