From 576b1d81881c0439b835c1a14309cfe9b9a7a8ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Mon, 19 Mar 2007 23:16:19 +0000 Subject: Check for visibility flag only if the visibility attribute has been found, as we don't care otherwise. CVS patchset: 8718 CVS date: 2007/03/19 23:16:19 --- configure.ac | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/configure.ac b/configure.ac index 8ddbda98d..c03449984 100644 --- a/configure.ac +++ b/configure.ac @@ -2219,15 +2219,15 @@ dnl WARNING! Do not move this check behind the $(MULTIPASS_CFLAGS)! dnl (the alignment test macro does not like variables in the CFLAGS) AC_C_ATTRIBUTE_ALIGNED -CC_ATTRIBUTE_VISIBILITY -CC_FLAG_VISIBILITY([ - AC_DEFINE([EXPORTED], - [__attribute__((visibility("default")))], - [Mark a symbol as being exported if visibility is changed]) - VISIBILITY_FLAG="-fvisibility=hidden" - ], [ - AC_DEFINE([EXPORTED], [], [Dummy mark as being exported]) - ]) +CC_ATTRIBUTE_VISIBILITY([ + CC_FLAG_VISIBILITY([ + AC_DEFINE([EXPORTED], [__attribute__((visibility("default")))], + [Mark a symbol as being exported if visibility is changed]) + VISIBILITY_FLAG="-fvisibility=hidden" + ], [ + AC_DEFINE([EXPORTED], [], [Dummy mark as being exported]) + ]) +]) AC_SUBST([VISIBILITY_FLAG]) -- cgit v1.2.3