President Barack Obama's critics have a point in criticizing his handling of the gay marriage issue as evasive, politically devious and lacking in principle. I hate to say it, but it's bad enough to qualify as Lincolnesque.

Abraham Lincoln is remembered today for freeing the slaves. But he didn't start out with that policy, and he didn't get there quickly. He reached his ultimate position only by slowly and painfully "evolving"—while blacks waited and suffered in bondage.

When he came out for same-sex marriage, Obama won praise from gays, liberals and libertarians who have supported same-sex marriage all along. But he has also gotten sharp criticism from both left and right.

The Log Cabin Republicans, representing gays and lesbians, called the president "callous" for not speaking up sooner. One blogger jeered that if Obama "were on the Supreme Court, he would vote against us. Obama supports same-sex marriage, but he sees no constitutional mandate."

The conservative New York Post accused him of "a carefully calculated political ploy, designed for maximum political effect to shore up an increasingly unenthusiastic voter base"—the "epitome of cynicism."

It's not hard to make the case that Obama is a cold-blooded operator keenly interested in his own political fortunes. If he were principled, he would have stuck to the pro-gay marriage position he took in 1996. If he were fully committed to equal rights, he wouldn't agree to let states ban same-sex unions.

And what has he actually done to legalize gay marriage? Nothing. In his ABC News interview Wednesday, Obama merely said that "personally," he's for it. He took no concrete action.

Nor does he plan to. The next day, he stressed, "I'm not going to be spending most of my time talking about this." His shift could be taken as empty symbolism.

But if you think Obama has been slow, ineffectual and averse to political risks, you should have seen Lincoln's handling of slavery. Through the haze of history and myth, it's hard to remember that on this matter, Lincoln was often anything but inspiring.

"I have no purpose, directly or indirectly, to interfere with the institution of slavery in the states where it exists," he declared in 1858, and he reiterated that position in his first inaugural address.

Lincoln was anti-slavery in the sense that he opposed allowing it in new states and territories and thought halting its spread would eventually cause it to die. But he was in no hurry. Slavery, he said, "might be let alone for a hundred years, if it should live so long, in the States where it exists."

Once in office, Lincoln was endlessly faulted by abolitionists. He held off issuing the Emancipation Proclamation until the Civil War was nearly two years old—and his directive had little effect, since it liberated slaves only in Confederate states, which did not recognize his authority.

The slave states that remained in the Union were exempt. As for letting blacks vote, he didn't get around to a tentative endorsement until after the Confederate surrender.

Yet in the end, we know, it took Lincoln to abolish slavery and set the nation on the path toward racial equality. He is not remembered as the Great Emancipator for nothing.

Like him, Obama has to deal with hard political realities. Had he endorsed same-sex marriage four years ago, the White House would be occupied by John McCain, who supported the military's ban on gays. Were Obama to launch an all-out campaign for a federal law, he would pave the way for GOP victory that would set back the cause of gay rights.

He has done what he can, and more than any of his predecessors. There is something to be said for a president who, after much delay, takes even a mild stand in favor of same-sex marriage—and nudges the nation toward greater freedom and equality.

The former slave and black leader Frederick Douglass might have understood. What he said of Lincoln's approach to slavery could also be said of Obama on same-sex marriage: "Viewed from the genuine abolition ground, Mr. Lincoln seemed tardy, cold, dull, and indifferent. But measuring him by the sentiment of his country, a sentiment he was bound as a statesman to consult, he was swift, zealous, radical, and determined."

Today, the critics get their say. Years from now, it's what Obama did that will be remembered.