From 1556abd0438eeba0160fb5a1fe8c552ed8a63d7e Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sat, 10 Sep 2016 21:12:56 +0200 Subject: [PATCH] Configure: detect gcc's dependency generation capability more accurately. Reviewed-by: Rich Salz (cherry picked from commit 35c11bfc69e6b90fd1c4c4ca6ad3f500584ca939) --- Configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configure b/Configure index 4be1f33e53..9c183daaeb 100755 --- a/Configure +++ b/Configure @@ -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--); -- 2.25.1