We have a 1987 XJ6. The auto function on the AC works intermittently. Any ideas on what might cause this issue?

Thanks Hal