Define a HAVE_GNUC_VISIBILITY automake conditional.

2005-02-04  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Define a HAVE_GNUC_VISIBILITY automake
	conditional.

	* glib/Makefile.am (TESTS): Only check the abi if
	the compiler supports visibility, otherwise we
	know there will be (harmless) extra symbols.
	(#166181, Ed Avis)
This commit is contained in:
Matthias Clasen
2005-02-05 03:02:20 +00:00
committed by Matthias Clasen
parent d2c401d55a
commit 1adf109e5d
7 changed files with 45 additions and 0 deletions

View File

@@ -20,8 +20,10 @@ gobjectalias.h: gobject.symbols
$(PERL) $(srcdir)/makegobjectalias.pl < $(srcdir)/gobject.symbols > gobjectalias.h
if OS_LINUX
if HAVE_GNUC_VISIBILITY
TESTS = abicheck.sh
endif
endif
libglib = $(top_builddir)/glib/libglib-2.0.la