diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-02-05 03:02:20 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-02-05 03:02:20 +0000 |
commit | 1adf109e5dc26e8107b9f080db8d4869431fb81b (patch) | |
tree | 1039deb0a4a02977c7c536a3387ce8ac270082d4 /configure.in | |
parent | d2c401d55a60891b9c4ed0bde1cc113653c78e82 (diff) |
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)
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in index ec42a3375..00671c50a 100644 --- a/configure.in +++ b/configure.in @@ -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 |