3 egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glibconfig.h" > glibconfig.cpp
5 INCLUDES="-include ${top_builddir:-..}/config.h"
6 INCLUDES="$INCLUDES -include glibconfig.cpp"
8 cpp -DINCLUDE_VARIABLES -P $INCLUDES -DALL_FILES ${srcdir:-.}/gio.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi
11 nm -D -g --defined-only .libs/libgio-2.0.so | cut -d ' ' -f 3 | sort > actual-abi
13 diff -u expected-abi actual-abi && rm expected-abi actual-abi