Oscillatory integrals and point configurations