GNOME Bugzilla – Bug 172175
gmime configure false positive for Mono
Last modified: 2005-04-14 19:51:18 UTC
Version details: 2.1.14 configure gmime-2.1.14 on a box that has a command named `mcs' that *isn't* GNU Mono. One example is Tru64 UNIX, where mcs is part of the development toolchain, and is for manipulating the comment section (mcs) of an eCOFF-format object file. There are probably other examples. configure detects /usr/bin/mcs, and assumes its mono, and then bails when it can't find additional components it expects. My fix (attached) is to try run $CSC --version, and if that succeeds, then we assume it's Mono. An even better test would be to parse the output of --version and look for "GNU Mono". If you would like I can add that, but this was sufficient for my needs.
Created attachment 39465 [details] [review] don't assume mcs is GNU Mono -- run it and see if it acts like mono
patch applied to CVS