Correct the check of files to depend on against known generated ones
authorRichard Levitte <levitte@openssl.org>
Sat, 19 Mar 2016 00:29:01 +0000 (01:29 +0100)
committerRichard Levitte <levitte@openssl.org>
Sat, 19 Mar 2016 00:29:01 +0000 (01:29 +0100)
The check was erroneously inversed

Reviewed-by: Rich Salz <rsalz@openssl.org>
Configure

index 060df73..5060be0 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1596,9 +1596,9 @@ EOF
                 # and that there are lines to build it in a BEGINRAW..ENDRAW
                 # section or in the Makefile template.
                 if (! -f $d
-                    || !(grep { $d eq $_ }
-                         map { cleanfile($srcdir, $_, $blddir) }
-                         (@generated_headers, @generated_by_make_headers))) {
+                    || (grep { $d eq $_ }
+                        map { cleanfile($srcdir, $_, $blddir) }
+                        (@generated_headers, @generated_by_make_headers))) {
                     $d = cleanfile($buildd, $_, $blddir);
                 }
                 # Take note if the file to depend on is being renamed