6 test -z "$srcdir" && srcdir=.
9 test "x$HBHEADERS" = x && HBHEADERS=`cd "$srcdir"; find . -maxdepth 1 -name 'hb*.h'`
10 test "x$EGREP" = x && EGREP='grep -E'
13 echo 'Checking that all public symbols are exported with HB_EXTERN'
15 for x in $HBHEADERS; do
16 test -f "$srcdir/$x" -a ! -f "$x" && x="$srcdir/$x"
17 $EGREP -B1 -n '^hb_' /dev/null "$x" |
18 $EGREP -v '(^--|:hb_|-HB_EXTERN )' -A1