Amid hardening positions by both political parties, House Speaker John Boehner said Thursday he's losing optimism that Democrats and Republicans can agree before their summer break on legislation to address the influx of young Central Americans across the U.S. border.

Boehner said any legislation that would send emergency funds to the border to alleviate the surge of migrants should be accompanied by a change in a 2008 law that he says is being abused. Most Democrats oppose that option, and the Democratic chairman of the Senate Foreign Relations Committee emphasized Thursday that he can't accept changing U.S. policy to speed the removal of Central American kids without court hearings.

Asked if he had confidence Republicans and Democrats could reach agreement by month's end, Boehner said: "I don't have as much optimism as I'd like to have." Congress leaves for a month long recess at the end of July.

President Barack Obama has asked for $3.7 billion in emergency spending to boost enforcement at the border and to increase housing for the border crossing minors. Republicans want to lower the amount and want changes in a law that would help speed up removals.

Read more at the Associated Press