clear docs on exists wrt autovivification
[p5sagit/p5-mst-13.2.git] / Porting / checkcfgvar.pl
index e9f3cd0..dd4cbb5 100644 (file)
@@ -34,6 +34,7 @@ my @CFG = (
           "win32/config.vc64",
           "win32/config.ce",
           "configure.com",
+          "Porting/config.sh",
          );
 
 sub read_file {
@@ -86,7 +87,7 @@ for my $cfg (@CFG) {
     my %cfg;
     read_file($cfg,
              sub {
-                 return if /^\#/ || /^\s*$/;
+                 return if /^\#/ || /^\s*$/ || /^\:/;
                  if ($cfg eq 'configure.com') {
                      s/(\s*!.*|\s*)$//; # remove trailing comments or whitespace
                      return if ! /^\$\s+WC "(\w+)='(.*)'"$/;