diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-12-05 08:18:09 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-12-05 08:18:09 +0000 |
commit | a7ed001e7fceca987c5a2b4b2c26a477a7e8abe3 (patch) | |
tree | 12213c467cc271f71789859c11525495a9440d3f /Build/source/libs/harfbuzz/harfbuzz-0.9.24/src/check-static-inits.sh | |
parent | 2cebd12975f569781b4d3575862a2dbef8a39a21 (diff) |
harfbuzz 0.9.25
git-svn-id: svn://tug.org/texlive/trunk@32329 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/harfbuzz/harfbuzz-0.9.24/src/check-static-inits.sh')
-rwxr-xr-x | Build/source/libs/harfbuzz/harfbuzz-0.9.24/src/check-static-inits.sh | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/Build/source/libs/harfbuzz/harfbuzz-0.9.24/src/check-static-inits.sh b/Build/source/libs/harfbuzz/harfbuzz-0.9.24/src/check-static-inits.sh deleted file mode 100755 index bb0a7ff630d..00000000000 --- a/Build/source/libs/harfbuzz/harfbuzz-0.9.24/src/check-static-inits.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh - -LC_ALL=C -export LC_ALL - -test -z "$srcdir" && srcdir=. -stat=0 - - -if which objdump 2>/dev/null >/dev/null; then - : -else - echo "check-static-inits.sh: 'objdump' not found; skipping test" - exit 77 -fi - -OBJS=.libs/*.o -if test "x`echo $OBJS`" = "x$OBJS" 2>/dev/null >/dev/null; then - echo "check-static-inits.sh: object files not found; skipping test" - exit 77 -fi - -echo "Checking that no object file has static initializers" -for obj in $OBJS; do - if objdump -t "$obj" | grep '[.]ctors'; then - echo "Ouch, $obj has static initializers" - stat=1 - fi -done - -echo "Checking that no object file has lazy static C++ constructors/destructors or other such stuff" -for obj in $OBJS; do - if objdump -t "$obj" | grep '__c'; then - echo "Ouch, $obj has lazy static C++ constructors/destructors or other such stuff" - stat=1 - fi -done - -exit $stat |