The French news agency , AFP , quotes Spanish anti-terror services as saying authorities were alerted when a group linked to al-Qaida posted a document on the Internet calling for " a war against the infidel Spanish state . "