[m-dev.] diff: fix for gcc 2.7.2.3
Fergus Henderson
fjh at cs.mu.OZ.AU
Wed Feb 21 00:22:42 AEDT 2001
For both main and release (version-0_10_y) branches.
configure.in:
Don't pass `-fno-gcse' for gcc versions < 2.8, since some
of them (e.g. gcc 2.7.2.3) complain about that option.
Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.247
diff -u -u -r1.247 configure.in
--- configure.in 2001/02/08 16:48:31 1.247
+++ configure.in 2001/02/21 04:37:51
@@ -1481,7 +1481,7 @@
LIBRARY_PATH_FOR_GOTOS=
case $ac_cv_prog_gcc in yes)
case "`$CC --version < /dev/null`" in
- 2.8*) CFLAGS_FOR_GOTOS="-fno-defer-pop -fno-function-cse" ;;
+ 2.[0-8]*) CFLAGS_FOR_GOTOS="-fno-defer-pop -fno-function-cse" ;;
*) CFLAGS_FOR_GOTOS="-fno-defer-pop -fno-function-cse -fno-gcse" ;;
esac
case "$host" in
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list