Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
Attach a file by drag & drop or click to upload