[m-rev.] diff: make configure warn about dodgy versions of gcc

Julien Fischer juliensf at cs.mu.OZ.AU
Fri Sep 23 16:28:16 AEST 2005


On Fri, 23 Sep 2005, Peter Moulder wrote:

> On Thu, Sep 22, 2005 at 10:51:35PM +1000, Julien Fischer wrote:
> > +	case "`$CC --version < /dev/null`" in
> > +	*2.96*|*3.0*|*3.3.1*|*4.0*)
> > +		AC_MSG_ERROR(
>
> This will give an error for gcc-3.4.0 (but not other 3.4.x) and gcc-4.3.0.
>
> Suggest
> +	*\ 2.96*|*\ 3.0*|*\ 3.3.1*|*\ 4.0*)
>
Ah, you're right.  It also looks like versions less than 3.0
didn't print out the FSF copyright message, so it should be
something like:

	2.96|3.0|*\ 3.3.1*|*\ 4.0*)

Cheers,
Julien.
--------------------------------------------------------------------------
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