[m-rev.] diff: workaround src dist problems on leopard

Julien Fischer juliensf at csse.unimelb.edu.au
Wed Jan 23 15:53:31 AEDT 2008


Estimated hours taken: 0.5
Branches: main

On Apple x86 Leopard systems use none as the base LLDS grade.
The asm_fast and reg grades both currently have problems
that prevent the source distribution from building out of the box
on this platform.

configure.in:
 	Use none as the base LLDS grade on x86 Leopard systems.

Julien.

Index: configure.in
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/configure.in,v
retrieving revision 1.513
diff -u -r1.513 configure.in
--- configure.in	22 Jan 2008 02:36:36 -0000	1.513
+++ configure.in	23 Jan 2008 04:46:55 -0000
@@ -2724,6 +2724,18 @@
  	fi
  fi

+# Force the use of the none grade on Apple x86/Darwin 9 (Leopard)
+# systems, since the default gcc supplied with that system doesn't
+# work with the either the reg or asm_fast grades.
+# XXX provide a workaround for the former; the latter is a problem
+# with gcc's Darwin support.
+#
+case "$host" in
+    i*86*apple*darwin9*)
+ 	BEST_LLDS_BASE_GRADE=none
+    ;;
+esac 
+
  # BEST_DEBUG_BASE_GRADE is the most efficient base grade that supports
  # debugging (`--trace deep').


--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list