diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-01 21:56:35 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-01 21:56:35 +0000 |
commit | c7f232ad3c7808ae38cc3eefea633a69615864a4 (patch) | |
tree | 7896dd86b9a3133a19c8b9b3fbc6ee42ab98f29f | |
parent | a8b440d0846010d613fee8093bc922b0dff98a10 (diff) | |
download | xine-lib-c7f232ad3c7808ae38cc3eefea633a69615864a4.tar.gz xine-lib-c7f232ad3c7808ae38cc3eefea633a69615864a4.tar.bz2 |
Fix test for visibility attributes. Patch thanks to Matt Messier.
CVS patchset: 8782
CVS date: 2007/04/01 21:56:35
-rw-r--r-- | m4/attributes.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/attributes.m4 b/m4/attributes.m4 index 1901cc2c8..eaa788c5f 100644 --- a/m4/attributes.m4 +++ b/m4/attributes.m4 @@ -147,7 +147,7 @@ AC_DEFUN([CC_ATTRIBUTE_VISIBILITY], [ CFLAGS="$ac_save_CFLAGS" ]) - if eval test [x$]AS_TR_SH([cc_cv_attribute_visibility_$1]); then + if eval test [x$]AS_TR_SH([cc_cv_attribute_visibility_$1]) = xyes; then AC_DEFINE(AS_TR_CPP([SUPPORT_ATTRIBUTE_VISIBILITY_$1]), 1, [Define this if the compiler supports __attribute__((visibility("$1")))]) ifelse([$2], , [:], [$2]) else |