Stability analysis on a predator-prey system with distributed delays