From 1adf109e5dc26e8107b9f080db8d4869431fb81b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 5 Feb 2005 03:02:20 +0000 Subject: Define a HAVE_GNUC_VISIBILITY automake conditional. 2005-02-04 Matthias Clasen * 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) --- configure.in | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.in') 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 -- cgit v1.2.3