[Mono-list] Autoconf macros to correctly detect Mono C# mcs

Michael Meeks michael@ximian.com
Tue, 02 Dec 2003 19:41:21 +0000


Hi William,

On Wed, 2003-11-26 at 22:32, William S Fulton wrote:
> We need to detect whether C# is installed on Unix systems and are using a simple 
> autoconf macro to look for mcs. Unfortunately there is another program called 
> mcs and so it incorrectly detects mcs. Does anyone know of any better autoconf 
> macros to detect whether mcs installed and whether or not it is a working C# 
> compiler?

	The 'right' way to do this is not by creating yet another 'mono-config'
shell script, or installing great whacks of m4 on the system [ unless
this is perhaps helpful for new Makefile rules or something ], but to
install a simple pkgconfig file, and use that (IMHO).

	HTH,

		Michael.

-- 
 michael@ximian.com  <><, Pseudo Engineer, itinerant idiot