Zeta functions and oscillatory integrals for meromorphic functions