From: Andy Polyakov Date: Sat, 10 Sep 2016 19:12:56 +0000 (+0200) Subject: Configure: detect gcc's dependency generation capability more accurately. X-Git-Tag: OpenSSL_1_1_1-pre1~3551 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=35c11bfc69e6b90fd1c4c4ca6ad3f500584ca939;p=oweals%2Fopenssl.git Configure: detect gcc's dependency generation capability more accurately. Reviewed-by: Rich Salz --- diff --git a/Configure b/Configure index f4a44cb7b4..36734d3bad 100755 --- a/Configure +++ b/Configure @@ -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--);