nginx/auto/cc
Andrew Clayton 35510ddc94 Configure: fix gcc version detection in some corner cases
If the "gcc version ... " string appeared within "Configured with:", it
was picked up rather than the real gcc version string. This might then
break the configure scripts due to a malformed NGX_COMPILER macro.

The simple fix is to look for "gcc version ... " at the start of the
line, rather than anywhere within.

Suggested-by: Aleksei Bavshin <a.bavshin@nginx.com>
Closes: https://github.com/nginx/nginx/issues/1278
2026-05-01 22:43:35 +01:00
..
acc
bcc
ccc
clang
conf
gcc
icc
msvc
name
owc
sunc