summaryrefslogtreecommitdiff
path: root/source4/libcli/composite
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-02-11 02:07:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:41 -0500
commitecbde2c1c697f756743fb1b1a489373ee06deb65 (patch)
tree266ccaefb6a7717cb8c21286426318d6597ef8b0 /source4/libcli/composite
parent0de6851e83d075e8c001255990b2018acc4a56c2 (diff)
downloadsamba-ecbde2c1c697f756743fb1b1a489373ee06deb65.tar.gz
samba-ecbde2c1c697f756743fb1b1a489373ee06deb65.tar.bz2
samba-ecbde2c1c697f756743fb1b1a489373ee06deb65.zip
r5321: added a program that works out the minimal set of #include lines
needed for a C file in Samba. It tries compiling without each #include line in turn, and looks for any changes in the compiler output. Note that the output is not guaranteed correct, it might be that an include is needed onlyu on some platforms. To cope with this, it doesn't consider lines with the word "needed" on them. So add a comment like this: #include "foo.h" /* needed by systems without kerberos */ and it will know to skip it It also skips any include lines in a #if section. If you are brave, you can give it the option --remove and it will remove lines it thinks are not needed. Please review carefully before committing the results, and watch the build farm for breakage. (This used to be commit 348a5f1d4d272fffaad7680c8d24ef59829dbea2)
Diffstat (limited to 'source4/libcli/composite')
0 files changed, 0 insertions, 0 deletions