[Bug 6463] New: configure script fails to check for libsm