SALEM, N.H. - Mitt Romney is warning Pakistan of significant consequences unless it starts acting more like an American ally.

The Republican presidential candidate says Pakistan is playing both sides -- going after the Taliban in some cases and helping it in others.

The former Massachusetts governor tells a New Hampshire audience that the solution is as simple as saying to Pakistan that it's either with America or with the Taliban.

If Pakistan chooses the Taliban, Romney says there will be "very significant consequences."

Romney didn't clarify what those consequences might be. His comments came while campaigning in the state which holds the first presidential primary next week.

When he sought the Republican nomination four years ago, Romney criticized his rival Barack Obama for supporting military action inside Pakistan.