diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-03-19 23:16:19 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-03-19 23:16:19 +0000 |
commit | 576b1d81881c0439b835c1a14309cfe9b9a7a8ce (patch) | |
tree | 0842b8bcd2d08403fe5895c77a7ce868b2e6ce9a | |
parent | 1c001492592c18ca6ceb4c50ef7bc36805aad123 (diff) | |
download | xine-lib-576b1d81881c0439b835c1a14309cfe9b9a7a8ce.tar.gz xine-lib-576b1d81881c0439b835c1a14309cfe9b9a7a8ce.tar.bz2 |
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
-rw-r--r-- | configure.ac | 18 |
1 files 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]) |