Make it work regardless of --enable-debug

svn path=/trunk/; revision=5683
This commit is contained in:
Matthias Clasen 2007-08-08 22:06:47 +00:00
parent 24e24fed8b
commit c4b9053e16
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-08-08 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols:
* glib/Makefile.am:
* glib/abicheck.sh: Make it work regardless of --enable-debug
2007-08-08 Tristan Van Berkom <tvb@gnome.org>
* docs/reference/gobject/tmpl/gparamspec.sgml: Fixed minor typo in docs.

View File

@ -36,6 +36,7 @@ galiasdef.c: glib.symbols
if OS_LINUX
if HAVE_GNUC_VISIBILITY
TESTS_ENVIRONMENT = GLIB_DEBUG_FLAGS="$(GLIB_DEBUG_FLAGS)"
TESTS = abicheck.sh pltcheck.sh
endif
endif

View File

@ -3,7 +3,7 @@
egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glibconfig.h" > glibconfig.cpp
INCLUDES="-include ${top_builddir:-..}/config.h"
INCLUDES="$INCLUDES -include glibconfig.cpp"
INCLUDES="$INCLUDES -include glibconfig.cpp $GLIB_DEBUG_FLAGS"
cpp -P -DINCLUDE_INTERNAL_SYMBOLS -DINCLUDE_VARIABLES -DG_STDIO_NO_WRAP_ON_UNIX -DALL_FILES $INCLUDES "${srcdir:-.}/glib.symbols" | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi
rm -f glibconfig.cpp