trivial diff: configure.in test for up-to-date compiler

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Mar 12 06:31:42 AEDT 1998


configure.in:
	Update the test for whether the previous compiler
	is sufficiently up-to-date: make it use "impure".

Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.122
diff -u -u -r1.122 configure.in
--- configure.in	1998/02/26 09:42:24	1.122
+++ configure.in	1998/03/11 19:28:20
@@ -81,11 +81,9 @@
 		:- implementation.
 		main --> io__write_string("Hello, world\n").
 
-		:- pred foo(int).
-		:- mode foo(out) is semidet.
+		:- impure pred foo(int).
 		:- mode foo(in) is semidet.
-		:- pragma c_code(foo(X::in), "").
-		:- pragma c_code(foo(X::out), "").
+		:- pragma c_code(foo(_X::in), "").
 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