[m-rev.] diff: install `mmc --make' dependencies

Simon Taylor stayl at cs.mu.OZ.AU
Sat Apr 6 01:23:44 AEST 2002


Estimated hours taken: 0.25
Branches: main

When building the library, generate dependencies for use with `mmc --make'.

Bootstrap CVS tag: bootstrap_20020406_mmc_make

configure.in:
	Test for `--generate-mmc-deps'.

library/Mmakefile:
	Add `--generate-mmc-deps' to MCFLAGS.


Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.301
diff -u -u -r1.301 configure.in
--- configure.in	12 Mar 2002 16:32:22 -0000	1.301
+++ configure.in	5 Apr 2002 14:57:02 -0000
@@ -119,10 +119,10 @@
 		").
 EOF
 	if
-		# Test for the `--dotnet-library-version' option.
+		# Test for the `--generate-mmc-deps' option.
 		echo $BOOTSTRAP_MC conftest >&AC_FD_CC 2>&1 &&
 		$BOOTSTRAP_MC \
-			--dotnet-library-version 1.0.3300.0 \
+			--generate-mmc-deps \
 			--halt-at-warn $link_flags conftest \
 			</dev/null >&AC_FD_CC 2>&1 &&
 		test "`./conftest 2>&1 | tr -d '\015'`" = "Hello, world"
Index: library/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/library/Mmakefile,v
retrieving revision 1.87
diff -u -u -r1.87 Mmakefile
--- library/Mmakefile	11 Mar 2002 14:12:00 -0000	1.87
+++ library/Mmakefile	5 Apr 2002 14:57:15 -0000
@@ -32,6 +32,9 @@
 #     (in particular it relies on --no-reorder-disj).
 MCFLAGS += --strict-sequential
 
+# Generate dependencies for use by `mmc --make'.
+MCFLAGS += --generate-mmc-deps
+
 # Modules which use user-guided type specialization need to be
 # compiled with these flags to make sure all calls
 # to the builtin comparison routines are inlined.
--------------------------------------------------------------------------
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