git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7db3bbc
)
Add note about new configure structure.
author
Jelmer Vernooij
<jelmer@samba.org>
Fri, 2 Jan 2004 13:47:13 +0000
(13:47 +0000)
committer
Jelmer Vernooij
<jelmer@samba.org>
Fri, 2 Jan 2004 13:47:13 +0000
(13:47 +0000)
(This used to be commit
43130f370b84828fce3eb5501464eb2c47138acc
)
source4/script/find_unused_header_checks.pl
patch
|
blob
|
history
diff --git
a/source4/script/find_unused_header_checks.pl
b/source4/script/find_unused_header_checks.pl
index 3caf9da453d44b80922bc4003f1f92f2774f9ce7..8251198aabcf4ca5f1a27dd4f7b51f1da22c8caf 100755
(executable)
--- a/
source4/script/find_unused_header_checks.pl
+++ b/
source4/script/find_unused_header_checks.pl
@@
-8,6
+8,8
@@
#
# You might want to specify configure.in again in the list of header files
# as well, because it also uses some includes.
+# Note that this script does not process any includes, so you might
+# have to run "cat configure.in */config.m4 > foo.in" first.
my %symbols;
@@
-30,7
+32,7
@@
while(<IN>) {
if(/AC_CHECK_HEADERS\(([\[]*)(.*)([\]]*)\)/) {
@hs = split / /, $2;
foreach(@hs) {
- if($symbols{$_} != 1) { print "
|$_|
\n"; }
+ if($symbols{$_} != 1) { print "
$_
\n"; }
}
}
}