There are a whole raft of things which can cause the compressor to not engage. The ECM will prevent it if the refrigerant pressure is low or the pressure sensor is bad, the HVAC brain will prevent it if any of the temperature sensors (cabin, evap, ambient) reads cold, and the BCM will prevent it if the blower feedback shows the blower isn't working. The clutch is actually driven by the IPDM, which is located next to the battery on an M. You can test the clutch circuit by using the IPDM Auto Active Test, described on page PG-22 here:
https://www.nicoclub.com/service-manual ... 8%2FPG.pdf
If the clutch clicks during the AAT then it's probably healthy and your problem is something else upstream. If so, first thing to try is adding about half a pound of refrigerant and see if the system will kick on. If it does, the system may just have bled down over years or you might have a leak. Get a UV dye kit, add some dye, and run it a bit. If the UV flashlight and glasses don't show any yellow splotches then you probably just need an evac and recharge. A/C systems do lose refrigerant over time just like a tire loses air, refrigerant molecules are simply much larger than air molecules and leach out much more slowly. If half a pound doesn't wake it up then things get complicated, you probably have a bad sensor somewhere.