Pakistani Prime Minister Nawaz Sharif accused nuclear-armed rival India on Wednesday of putting unacceptable conditions on dialogue with Pakistan and said the world would ignore the dangers of rising tensions in South Asia at its own peril.
Speaking to the annual United Nations General Assembly, Sharif said Pakistan could not ignore India's "unprecedented" arms build-up and would "take whatever measures are necessary to maintain credible deterrence."
India has accused Pakistan of being behind a deadly attack on an army base in the disputed Kashmir region on Sunday in which 18 soldiers were killed and said it had the right to respond when and where it chose.
Pakistan has rejected the allegation and accused India of apportioning blame before the incident had been properly investigated.
Sharif said Pakistan wanted peace with India and had repeatedly offered dialogue.
"But India has posed unacceptable preconditions to engage in dialogue," he said. "Talks are in the interests of both countries. They are essential to resolve our differences, especially the Jammu and Kashmir dispute, and to avert the danger of any escalation."