[m-rev.] trivial diff: remove configure.in link work-around

Simon Taylor stayl at cs.mu.OZ.AU
Fri May 3 15:09:54 AEST 2002


Estimated hours taken: 0.2
Branches: main, release

configure.in:
	Remove a work-around for a linking problem on murlibobo.
	The proper work-around is to not use GNU strip.

Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.303
diff -u -u -r1.303 configure.in
--- configure.in	2002/04/29 08:21:53	1.303
+++ configure.in	2002/05/03 04:56:29
@@ -73,17 +73,6 @@
 esac
 #-----------------------------------------------------------------------------#
 
-# When statically linked on Compaq Tru64 UNIX V5.1, the conftest executable
-# fails with message "sh: Cannot allocate space for bss."
-case "$host" in
-	alpha*-osf5*)
-		link_flags=
-		;;
-	*)	
-		link_flags='--link-flags "--static"'
-		;;
-esac
-	
 MERCURY_MSG("looking for an already installed Mercury compiler to bootstrap with...")
 AC_PATH_PROG(BOOTSTRAP_MC,mmc)
 if test "$BOOTSTRAP_MC" != ""; then
@@ -124,7 +113,7 @@
 		echo $BOOTSTRAP_MC conftest >&AC_FD_CC 2>&1 &&
 		$BOOTSTRAP_MC \
 			--generate-mmc-deps \
-			--halt-at-warn $link_flags conftest \
+			--halt-at-warn --link-flags --static conftest \
 			</dev/null >&AC_FD_CC 2>&1 &&
 		test "`./conftest 2>&1 | tr -d '\015'`" = "Hello, world" &&
 		$BOOTSTRAP_MC --output-grade-string --no-mercury-stdlib-dir \
--------------------------------------------------------------------------
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