5 for backend in ${CLUTTER_BACKENDS}; do
7 x11) has_x11_backend=yes ;;
8 gdk) has_gdk_backend=yes ;;
13 if [ $has_x11_backend = "yes" ]; then
14 cppargs="$cppargs -DCLUTTER_WINDOWING_X11 -DCLUTTER_WINDOWING_GLX"
17 if [ $has_gdk_backend = "yes" ]; then
18 cppargs="$cppargs -DCLUTTER_WINDOWING_GDK"
21 cpp -P ${cppargs} ${srcdir:-.}/clutter.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE//' -e 's/ DATA//' | sort > expected-abi
23 nm -D -g --defined-only .libs/libclutter-1.0.so | cut -d ' ' -f 3 | egrep -v '^(__bss_start|_edata|_end)' | sort > actual-abi
24 diff -u expected-abi actual-abi && rm -f expected-abi actual-abi