Serbia and Montenegro sign anti-Austria-Hungarian pact.