summaryrefslogtreecommitdiff
path: root/gobject
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2005-08-06 15:34:38 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-08-06 15:34:38 +0000
commitddad5d479e342e45d7cb0a561fefc87590e17eb7 (patch)
tree9b892de216b196294877a55ae1c85bde5706be95 /gobject
parentcb3f32383e1291d15648f87c4993e018d7209e25 (diff)
downloadglib-ddad5d479e342e45d7cb0a561fefc87590e17eb7.tar.gz
Improve ABI checks
Diffstat (limited to 'gobject')
-rw-r--r--gobject/ChangeLog2
-rwxr-xr-xgobject/abicheck.sh4
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 <mclasen@redhat.com>
+
+ * 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