diff: update bootstrap suitability test

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Apr 7 23:12:51 AEST 1999


Estimated hours taken: 0.5

configure.in:
	Change the test to see if mmc is sufficiently up-to-date to
	check whether we have unchecked_left_shift; versions which don't
	have that are too old for us to bootstrap with.

Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.158
diff -u -r1.158 configure.in
--- configure.in	1999/04/03 17:29:18	1.158
+++ configure.in	1999/04/07 13:05:46
@@ -81,13 +81,11 @@
 		:- import_module io.
 		:- pred main(io__state::di, io__state::uo) is det.
 		:- implementation.
+		:- import_module int.
 		main --> 
-			io__write_string(promise_only_solution(hello)).
-
-		:- pred hello(string).
-		:- mode hello(out) is cc_multi.
-		hello("Hello, world\n").
-		hello("Hello, world\n").
+			% check that we have unchecked_left_shift
+			{ _X = unchecked_left_shift(2,2) },
+			print("Hello, world\n").
 EOF
 	if
 	 	 echo $BOOTSTRAP_MC conftest >&AC_FD_CC 2>&1 &&

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.



More information about the developers mailing list