Saudi Arabia, Turkey, and Pakistan have signed the Mecca Joint Defence Agreement, a new security pact stating that an armed attack on one member will be treated as an attack on all three.