# needed symbols are not lagging after how Configure thinks the world
# is laid out.
#
-# VMS is not handled here, due to their own rather elaborate DCL scripting.
+# VMS is probably not handled properly here, due to their own
+# rather elaborate DCL scripting.
#
use strict;
"win32/config.vc",
"win32/config.vc64",
"wince/config.ce",
+ "configure.com",
);
sub read_file {
read_file($cfg,
sub {
return if /^\#/ || /^\s*$/;
+ return if $cfg eq 'configure.com' &&
+ ! /^\$ WC "(\w+)='(.*)'"$/;
# foo='bar'
# foo=bar
# $foo='bar' # VOS 5.8.x specialty
}
elsif (/^\$?(\w+)=(.*)$/) {
$cfg{$1}++;
+ }
+ elsif (/^\$ WC "(\w+)='(.*)'"$/) {
+ $cfg{$1}++;
} else {
warn "$cfg:$.:$_";
}