Configure: detect gcc's dependency generation capability more accurately.
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
cc2cb7bf63
commit
35c11bfc69
1 changed files with 1 additions and 1 deletions
|
@ -1198,7 +1198,7 @@ if ($^O ne "VMS" && !$disabled{makedepend}) {
|
|||
# We know that GNU C version 3 and up as well as all clang
|
||||
# versions support dependency generation
|
||||
$config{makedepprog} = $ccpcc
|
||||
if (/clang/ || (/gcc/ && $compiler_major > 3));
|
||||
if (/clang/ || (/gcc/ && $compiler_major >= 3));
|
||||
$ecc = "clang" if /clang/;
|
||||
$ecc = "gcc" if /gcc/;
|
||||
last if ($config{makedepprog} || !$lines--);
|
||||
|
|
Loading…
Reference in a new issue