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

@ -1,3 +1,13 @@
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)
2005-02-02 Tor Lillqvist <tml@novell.com>
* glib/gwin32.h: Remove unnecessary MSVC-only typedef for

View File

@ -1,3 +1,13 @@
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)
2005-02-02 Tor Lillqvist <tml@novell.com>
* glib/gwin32.h: Remove unnecessary MSVC-only typedef for

View File

@ -1,3 +1,13 @@
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)
2005-02-02 Tor Lillqvist <tml@novell.com>
* glib/gwin32.h: Remove unnecessary MSVC-only typedef for

View File

@ -1,3 +1,13 @@
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)
2005-02-02 Tor Lillqvist <tml@novell.com>
* glib/gwin32.h: Remove unnecessary MSVC-only typedef for

View File

@ -760,6 +760,7 @@ int main (int argc, char **argv)
}
],g_have_gnuc_visibility=yes,g_have_gnuc_visibility=no)
AC_MSG_RESULT($g_have_gnuc_visibility)
AM_CONDITIONAL(HAVE_GNUC_VISIBILITY, [test x$g_have_gnuc_visibility = xyes])
# check for bytesex stuff
AC_C_BIGENDIAN

View File

@ -20,8 +20,10 @@ galias.h: glib.symbols
$(PERL) $(srcdir)/makegalias.pl < $(srcdir)/glib.symbols > galias.h
if OS_LINUX
if HAVE_GNUC_VISIBILITY
TESTS = abicheck.sh
endif
endif
BUILT_SOURCES = galias.h

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