From c7f232ad3c7808ae38cc3eefea633a69615864a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sun, 1 Apr 2007 21:56:35 +0000 Subject: Fix test for visibility attributes. Patch thanks to Matt Messier. CVS patchset: 8782 CVS date: 2007/04/01 21:56:35 --- m4/attributes.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3