Make no-engine work again.
diff --git a/Configure b/Configure
index e046673..3fabec5 100755
--- a/Configure
+++ b/Configure
@@ -1423,6 +1423,7 @@
 			}
 		}
 	$sdirs = 0 unless /\\$/;
+        s/engines // if (/^DIRS=/ && $disabled{"engine"});
 	s/^VERSION=.*/VERSION=$version/;
 	s/^MAJOR=.*/MAJOR=$major/;
 	s/^MINOR=.*/MINOR=$minor/;