mono/mono — pull request #301 by directhex (2012-05-23 17:17:21+00:00)
Title: If Mono's configure script cannot determine the soname of libX11, assume libX11.so.6

The old behaviour is to try a couple of folders to find libX11.so.4, 5, and 6, and if it can't find any of those, assume no soname at all (i.e. libX11.so). It is reasonable to assume that users will be running at least XFree86 3.0, so reasonable to assume libX11.so.6 will be the soname in use.

The edge case "user compiles Mono without X.org installed" is much more common than "user has X386 1.0 -> XFree86 2.1.1 installed in a non-standard library folder, and expects a valid dllmap in /etc/mono/config"