[m-rev.] diff: disable .NET backend by default

Julien Fischer juliensf at cs.mu.OZ.AU
Mon May 1 15:53:44 AEST 2006


Estimated hours taken: 0.1
Branches: main, release

Disable the .NET backend by default.  This is to prevent the installation
process breaking on Linux systems that have either DotGNU or Mono installed.

configure.in:
	Disable the .NET backend by default.

README.DotNET:
	Mention that configure must be invoked with `--enable-dotnet-grades'
	option in order to enable .NET support.

Julien.

Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.452
diff -u -r1.452 configure.in
--- configure.in	21 Apr 2006 01:04:46 -0000	1.452
+++ configure.in	1 May 2006 05:45:06 -0000
@@ -2776,9 +2776,13 @@
                           install profiling versions of the high level C grade],
 enable_hlc_prof_grades="$enableval",enable_hlc_prof_grades=no)

+# We don't enable the .NET grades by default because that may lead to
+# installation process breaking on Linux systems that have DotGNU or Mono
+# installed.
+#
 AC_ARG_ENABLE(dotnet-grades,
-[  --disable-dotnet-grades do not install the .NET grades],
-enable_dotnet_grades="$enableval",enable_dotnet_grades=yes)
+[  --enable-dotnet-grades  install the .NET grades],
+enable_dotnet_grades="$enableval",enable_dotnet_grades=no)

 # XXX The java backend is currently broken, so we don't
 # enable the java grade by default.
Index: README.DotNet
===================================================================
RCS file: /home/mercury1/repository/mercury/README.DotNet,v
retrieving revision 1.15
diff -u -r1.15 README.DotNet
--- README.DotNet	10 Mar 2006 03:54:09 -0000	1.15
+++ README.DotNet	1 May 2006 05:49:23 -0000
@@ -64,16 +64,17 @@
 	  after the line that says @echo off.
 	  Substitute your Visual Studio installation path for the default path
 	  given here.
-
-	- The Mercury distribution -- installed as usual.  Make sure
-	  the installation is run after the Microsoft .NET SDK is installed
-	  (run it again if necessary) so that the configuration scripts
-	  detect the installation path of the SDK.  If `configure' finds
-	  `ilasm' and `cl' then this has been successful.  You can install
-	  from either the source or binary distribution.

-	  If you're reading this file from somewhere other than the
-	  Mercury distribution, try the Mercury homepage at:
+	- The Mercury distribution -- installed as usual.  You invoke the
+	  configure with the option `--enable-dotnet-grades' in order to
+	  enable .NET support.  Make sure the installation is run after the
+	  Microsoft .NET SDK is installed (run it again if necessary) so that
+	  the configuration scripts detect the installation path of the SDK.
+	  If `configure' finds `ilasm' and `cl' then this has been successful.
+	  You can install from either the source or binary distribution.
+
+	  If you're reading this file from somewhere other than the Mercury
+	  distribution, try the Mercury homepage at:

 	  	<http://www.cs.mu.oz.au/mercury/>


--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list