Move platform-specific stuff to configure (avoid relying on GNU make) Autodetect gcc in configure Autodetect X11DIR in configure Rename PREFIX etc in line with GNU conventions