[m-rev.] diff: enable par grades on MacOS X
Peter Ross
pro at missioncriticalit.com
Tue May 6 22:26:10 AEST 2003
===================================================================
Estimated hours taken: 0.25
Branches: main
configure.in:
Enable the parallel grades under MacOS X.
Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.361
diff -u -r1.361 configure.in
--- configure.in 6 May 2003 10:38:04 -0000 1.361
+++ configure.in 6 May 2003 12:24:28 -0000
@@ -2121,6 +2121,16 @@
esac
;;
+ # Theoretically we should change this check to *apple*darwin*)
+ # as darwin should be the same whether or not we are on a powerpc or
+ # an i386, but since we don't have access to an i386 with darwin
+ # installed to test this, we currently restrict ourselves to the
+ # powerpc architecture.
+ *powerpc*apple*darwin*)
+ CFLAGS_FOR_THREADS="-DMR_THREAD_SAFE -DGC_MACOSX_THREADS"
+ THREAD_LIBS=""
+ ;;
+
### # The threads stuff on Digital Unix (OSF) is not yet enabled because
### # the Boehm garbage collector doesn't support threads on that platform
### # XXX probably we should enable it but report an error if you try to
--------------------------------------------------------------------------
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