6 test -z "$srcdir" && srcdir=.
9 test "x$HBHEADERS" = x && HBHEADERS=`find . -maxdepth 1 -name 'hb*.h'`
10 test "x$HBSOURCES" = x && HBSOURCES=`find . -maxdepth 1 -name 'hb-*.cc' -or -name 'hb-*.hh'`
15 for x in $HBHEADERS $HBSOURCES; do
16 echo "$x" | grep '[^h]$' -q && continue;
17 x=`echo "$x" | sed 's@.*/@@'`
18 tag=`echo "$x" | tr 'a-z.-' 'A-Z_'`
19 lines=`grep "\<$tag\>" "$x" | wc -l`
20 if test "x$lines" != x3; then
21 echo "Ouch, header file $x does not have correct preprocessor guards"