#8411 closed patch
configure patch: detect more GCC versions
Reported by: | lordhoto | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | --Other-- |
Version: | Keywords: | ||
Cc: | Game: |
Description
Hi,
this patch will fix the configure script in the way, that it will detect gcc version as 3.4.3-20050110 and accept them.
Ticket imported from: #1171304. Ticket imported from: patches/516.
Attachments (1)
Change History (7)
by , 20 years ago
Attachment: | configure.patch added |
---|
comment:1 by , 20 years ago
comment:2 by , 20 years ago
i just copied it from the way it's done with 2.95.[0-9][-.]* ... i never used shell regex too... but maybe anyone else can fix it
comment:3 by , 20 years ago
* means something different in a shell pattern than in a regular expression. It simply matches any string.
3.[0-9].[0-9][-.]* will match anything looking like 3.4.3.anything or 3.4.3-anything.
comment:5 by , 20 years ago
Owner: | set to |
---|---|
Status: | new → closed |
Summary: | configure patch → configure patch: detect more GCC versions |
comment:6 by , 6 years ago
Component: | → --Other-- |
---|
Note:
See TracTickets
for help on using tickets.
Could you explain the logic behind the regex? In particular: [-.]* This means, if I read it right: Match an arbitary sequence of dashes and dots. How does that fit the version string you mention above? Maybe the shell does regex differently than I think (I never used shell regex much, only use regex inside Perl etc.)