[m-rev.] for review: SHARED_LIBS

Zoltan Somogyi zs at cs.mu.OZ.AU
Thu Sep 12 15:12:33 AEST 2002


Estimated hours taken: 0.2

configure.in:
	Fix a bug: the variable SHARED_LIBS is destined to be put on the right
	hand side of a make variable definition, so wrap the make variable names
	inside it in ().

Zoltan.

Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.317
diff -u -b -r1.317 configure.in
--- configure.in	11 Sep 2002 19:00:07 -0000	1.317
+++ configure.in	12 Sep 2002 05:04:32 -0000
@@ -2393,7 +2393,7 @@
 LINK_SHARED_OBJ="$CC -shared"
 LINK_SHARED_OBJ_SH="$CC -shared"
 if test "$GCC" = "yes"; then
-	SHARED_LIBS='`$CC -print-libgcc-file-name` $(MATH_LIB) -lc'
+	SHARED_LIBS='`$(CC) -print-libgcc-file-name` $(MATH_LIB) -lc'
 	SHARED_LIBS_SH='`$CC -print-libgcc-file-name` $MATH_LIB -lc'
 else
 	SHARED_LIBS='$(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