From: Ondřej Surý Date: Fri, 8 Mar 2019 13:56:16 +0000 (+0100) Subject: Remove config.h check from util/checklibs.sh X-Git-Tag: v9.15.0~106^2~3 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=ccfe54f541cb7cf4512fbb2e71bca1172f02995b;p=thirdparty%2Fbind9.git Remove config.h check from util/checklibs.sh --- diff --git a/util/checklibs.sh b/util/checklibs.sh index fa51403ba16..b5b89390e2f 100755 --- a/util/checklibs.sh +++ b/util/checklibs.sh @@ -54,21 +54,6 @@ list=`git grep -l uintptr_t lib bin | echo "$list" } -# -# Check for missing #include -# -list=`git ls-files -c bin lib | grep '\.c$' | - xargs grep -L '#include ["<]config.h[">]' | - grep -vE -e '(/win32/|bin/pkcs11/|lib/dns/rdata|lib/bind/)' \ - -e '(ifiter_|lib/dns/gen.c|lib/dns/spnego_asn1.c)' \ - -e '(lib/isc/entropy.c|lib/isc/fsaccess.c)' \ - -e '(bin/tests/virtual-time/vtwrapper.c|symtbl.c|version.c)'` -[ -n "$list" ] && { - status=1 - echo 'Missing #include "config.h":' - echo "$list" -} - list=`git ls-files -c lib bin | grep '\.vcxproj\.in$' | xargs grep -L '' | awk '{a[$2]++;} END { for (g in a) if (a[g] != 1) print g;}'`