US President Donald Trump says he would not sign any immigration deal that didn't include funding for the border wall.