access: http: only warn on deflate errors
[vlc.git] / src / check_headers
blobd0b4bb765a6c89fc610db521b2d995fb5ab8c90b
1 #! /bin/sh
2 # Copyright © 2008 Rémi Denis-Courmont
4 cd "$(dirname "$0")" || exit $?
6 # Look for configure #defines in public headers.
7 # There are incorrect, as external users don't have our <config.h>.
8 regexp="$(cat ../config.h.in | \
9 sed -n -e 's/^#undef \([[:upper:][:digit:]_]*\)$/\1/p' | \
10 grep -v 'WORDS_BIGENDIAN' | \
11 grep -v 'UNICODE' | \
12 grep -v '__LIBVLC__' | \
13 xargs | \
14 sed -e 's/ /\\\(\\s\\\|$\\\)\\\| /g')"
15 regexp=" $regexp\$"
17 echo Looking for private defines in public headers...
18 ! grep -- "$regexp" "$@" || exit $?
19 echo "None found."