[m-rev.] diff: configure output format fix

Zoltan Somogyi zs at cs.mu.OZ.AU
Tue Jul 3 12:44:25 AEST 2001


configure.in:
	Fix a problem that caused the output of two tests to come out
	intermingled.

Zoltan.

Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.267
diff -u -b -r1.267 configure.in
--- configure.in	2001/06/27 09:04:52	1.267
+++ configure.in	2001/07/01 15:47:01
@@ -2291,6 +2291,7 @@
 	AC_DEFINE(MR_CANNOT_USE_STRUCTURE_ASSIGNMENT)
 fi
 #-----------------------------------------------------------------------------#
+AC_PATH_PROG(GCC,gcc)
 AC_MSG_CHECKING(whether Mercury supports shared libraries on this system)
 # We ought to use $target here rather than $host - but we don't
 # support cross-compilation at the moment anyhow.
@@ -2299,7 +2300,6 @@
 # see Mmake.common.in for documentation on the meaning of these variables
 LINK_SHARED_OBJ="$CC -shared"
 LINK_SHARED_OBJ_SH="$CC -shared"
-AC_PATH_PROG(GCC,gcc)
 if test "$GCC" != ""; then
 	SHARED_LIBS='`gcc -print-libgcc-file-name` $(MATH_LIB) -lc'
 	SHARED_LIBS_SH='`gcc -print-libgcc-file-name` $MATH_LIB -lc'
--------------------------------------------------------------------------
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