[m-rev.] diff: don't install bogus `.par' grades
Fergus Henderson
fjh at cs.mu.OZ.AU
Sun Feb 16 14:10:01 AEDT 2003
Estimated hours taken: 0.5
Branches: main, release
configure.in:
Don't build the `.par' grade for systems that don't support it.
Workspace: /home/ceres/fjh/mercury
Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.354
diff -u -d -r1.354 configure.in
--- configure.in 13 Feb 2003 08:03:46 -0000 1.354
+++ configure.in 14 Feb 2003 10:45:27 -0000
@@ -2490,8 +2490,8 @@
# add `.debug' (--debug) grades
LIBGRADES="$LIBGRADES $BEST_DEBUG_BASE_GRADE.gc.tr.debug"
-# Add the .par (thread-safe) grade
-if test "$enable_par_grades" = yes; then
+# Add the .par (thread-safe) grade, if it is supported for this system
+if test "$enable_par_grades" = yes -a "$CFLAGS_FOR_THREADS" != ""; then
LIBGRADES="$LIBGRADES hlc.par.gc"
fi
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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