6 test -z "$srcdir" && srcdir=.
10 if which ldd 2>/dev/null >/dev/null; then
13 echo "check-libstdc++.sh: 'ldd' not found; skipping test"
18 for suffix in so dylib; do
19 so=.libs/libharfbuzz.$suffix
20 if ! test -f "$so"; then continue; fi
22 echo "Checking that we are not linking to libstdc++"
23 if ldd $so | grep 'libstdc[+][+]'; then
24 echo "Ouch, linked to libstdc++"
30 echo "check-libstdc++.sh: libharfbuzz shared library not found; skipping test"