From ddad5d479e342e45d7cb0a561fefc87590e17eb7 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 6 Aug 2005 15:34:38 +0000 Subject: [PATCH] Improve ABI checks --- gobject/ChangeLog | 2 ++ gobject/abicheck.sh | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gobject/ChangeLog b/gobject/ChangeLog index 564e06a9e..407a82804 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,4 +1,6 @@ 2005-08-05 Matthias Clasen + + * abicheck.sh: Also check exported variables * === Released 2.7.7 === diff --git a/gobject/abicheck.sh b/gobject/abicheck.sh index 53aaa5d43..0e1d4e6cd 100755 --- a/gobject/abicheck.sh +++ b/gobject/abicheck.sh @@ -5,9 +5,9 @@ egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glibconfig.h" > glibconfig.cpp INCLUDES="-include ${top_builddir:-..}/config.h" INCLUDES="$INCLUDES -include glibconfig.cpp" -cpp -P $INCLUDES -DALL_FILES ${srcdir:-.}/gobject.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi +cpp -DINCLUDE_VARIABLES -P $INCLUDES -DALL_FILES ${srcdir:-.}/gobject.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi rm glibconfig.cpp -nm -D .libs/libgobject-2.0.so | grep " T " | cut -d ' ' -f 3 | sort > actual-abi +nm -D .libs/libgobject-2.0.so | grep " [BDTR] " | cut -d ' ' -f 3 | sort > actual-abi diff -u expected-abi actual-abi && rm expected-abi actual-abi