6 if which nm 2>/dev/null >/dev/null; then
9 echo "check-internal-symbols.sh: 'nm' not found; skipping test"
13 test -z "$srcdir" && srcdir=.
14 test -z "$MAKE" && MAKE=make
17 so=.libs/libharfbuzz.so
18 if test -f "$so"; then
19 echo "Checking that we are exposing internal symbols"
20 if nm $so | grep ' T ' | grep -v ' T _fini\>\| T _init\>\| T hb_'; then
21 echo "Ouch, internal symbols exposed"
25 echo "check-internal-symbols.sh: libharfbuzz.so not found; skipping test"