[m-rev.] diff: Add the other Mono C# compiler names to the configure script

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Jul 16 12:25:26 AEST 2012


On Sun, 15 Jul 2012, Peter Ross wrote:

> ===================================================================
>
>
> Estimated hours taken: 0.1
> Branches: main, 11.07
>
> m4/mercury.m4:
> 	Add the other Mono C# compiler names to the configure script.
>
>
> Index: m4/mercury.m4
> ===================================================================
> RCS file: /home/mercury1/repository/mercury/m4/mercury.m4,v
> retrieving revision 1.7
> diff -u -r1.7 mercury.m4
> --- m4/mercury.m4	19 Jun 2012 12:42:53 -0000	1.7
> +++ m4/mercury.m4	14 Jul 2012 20:56:16 -0000
> @@ -248,9 +248,11 @@
> GACUTIL=`basename "$GACUTIL"`
>
> # Check for the C# (C sharp) compiler.
> +# mcs is the Mono C# compiler targetting all runtimes
> +# dmcs is the Mono C# compiler targeting the 4.0 runtime
> # gmcs is the Mono C# compiler targeting the 2.0 runtime (with generics).
> # cscc is the DotGNU C# compiler.
> -AC_PATH_PROGS([CANDIDATE_CSC], [csc gmcs cscc])
> +AC_PATH_PROGS([CANDIDATE_CSC], [csc mcs dmcs gmcs cscc])
> CANDIDATE_CSC=`basename "$CANDIDATE_CSC"`

You also need to update the invocation of AC_PATH_PROGs about 14 lines
or so down.

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list