Commit 1556abd0 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

Configure: detect gcc's dependency generation capability more accurately.



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(cherry picked from commit 35c11bfc)
parent ce7d2e15
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1181,7 +1181,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--);