keep a single copy of config-win32.h in version control repository - followup

Allow configure builds to generate src/config-win32.h

Skip checksrc on src/config-win32.h contents already checked at lib/config-win32.h

Allow multiple -W in checksrc.pl
This commit is contained in:
Yang Tse 2011-08-05 21:01:39 +02:00
parent 817b863466
commit c95fec5e5b
2 changed files with 11 additions and 6 deletions

View file

@ -62,7 +62,7 @@ while(1) {
next;
}
elsif($file =~ /-W(.*)/) {
$wlist = $1;
$wlist .= " $1 ";
$file = shift @ARGV;
next;
}
@ -79,7 +79,7 @@ if(!$file) {
}
do {
if($file ne "$wlist") {
if($wlist !~ / $file /) {
my $fullname = $file;
$fullname = "$dir/$file" if ($fullname !~ '^\.?\.?/');
scanfile($fullname);