I don't even think he'd leave for West Ham outside of those circumstances.
Then I think you're kidding yourself. He'd be gone in a shot.
Allardyce will do the business with West Ham this season though, so I think you're safe for now. I reckon a couple of other, big budget Championship clubs, could twist Di Canio's arm too though.