bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bad regexp in Libtool m4 for PGI compiler version checking


From: Ralf Wildenhues
Subject: Re: Bad regexp in Libtool m4 for PGI compiler version checking
Date: Sat, 14 Nov 2009 19:55:00 +0100
User-agent: Mutt/1.5.20 (2009-08-09)

Hello Brent,

* Brent LEBACK wrote on Sat, Nov 14, 2009 at 05:00:28PM CET:
> Ralf Wildenhues wrote:
> >* Ralf Wildenhues wrote on Sat, Nov 14, 2009 at 11:27:04AM CET:
> >>              case `$CC -V` in
> >>              *pgCC\ [1-5][^0-9]* | *pgcpp\ [1-5][^0-9]*)
> >>                old ...
> >>              *)
> >>                new ...
> >
> >D'oh.  That would have to be
> >                *pgCC\ [1-5][!0-9]* | *pgcpp\ [1-5][!0-9]*)

> The earliest PGI compiler version in use today is 3.x, so if the
> test was changed from [1-5] to [3-5], the fall through case would
> handle
> all past releases correctly and all future releases until the year
> 2030 in the current naming scheme.

Thanks, but I prefer not to work that way, unless we cannot do better:
it just creates another point in the future where we have to go back to
this again (when you hit version 30, that is).

So, can you maybe confirm that all versions between 3.x and current
use a dot after the major version?

Thanks,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]