summaryrefslogtreecommitdiffstats
path: root/scripts/checkconfig.pl
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-10-09 00:00:47 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-10-09 00:00:47 +0000
commitd6434e1042f3b0a6dfe1b1f615af369486f9b1fa (patch)
treee2be02f33984c48ec019c654051d27964e42c441 /scripts/checkconfig.pl
parent609d1e803baf519487233b765eb487f9ec227a18 (diff)
Merge with 2.3.19.
Diffstat (limited to 'scripts/checkconfig.pl')
-rw-r--r--scripts/checkconfig.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/checkconfig.pl b/scripts/checkconfig.pl
index b82aa1a8b..fc352e436 100644
--- a/scripts/checkconfig.pl
+++ b/scripts/checkconfig.pl
@@ -25,12 +25,12 @@ foreach $file (@ARGV)
m+/\*+o && (s+/\*.*?\*/+ +go, (s+/\*.*$+ +o && ($fInComment = 1)));
# Pick up definitions.
- if ( m/^#/o )
+ if ( m/^\s*#/o )
{
- $iLinuxConfig = $. if m/^#\s*include\s*<linux\/config\.h>/o;
- $configList{uc $1} = 1 if m/^#\s*include\s*<config\/(\S*)\.h>/o;
- $configList{$1} = 1 if m/^#\s*define\s+CONFIG_(\w*)/o;
- $configList{$1} = 1 if m/^#\s*undef\s+CONFIG_(\w*)/o;
+ $iLinuxConfig = $. if m/^\s*#\s*include\s*<linux\/config\.h>/o;
+ $configList{uc $1} = 1 if m/^\s*#\s*include\s*<config\/(\S*)\.h>/o;
+ $configList{$1} = 1 if m/^\s*#\s*define\s+CONFIG_(\w*)/o;
+ $configList{$1} = 1 if m/^\s*#\s*undef\s+CONFIG_(\w*)/o;
}
# Look for usages.