6 test -z "$srcdir" && srcdir=.
10 if which nm 2>/dev/null >/dev/null; then
13 echo "check-internal-symbols.sh: 'nm' not found; skipping test"
19 so=`echo .libs/libharfbuzz$suffix`
20 if test -f "$so"; then
21 echo "Checking that we are not exposing internal symbols"
22 if nm "$so" | grep ' [BCDGINRSTVW] ' | grep -v ' T _fini\>\| T _init\>\| T hb_'; then
23 echo "Ouch, internal symbols exposed"
30 echo "check-internal-symbols.sh: libharfbuzz shared library not found; skipping test"