[libdvdcss-devel] [PATCH 03/47] attributes.m4: Drop extra quoting from config.h text in CC_CHECK_ATTRIBUTE

Diego Biurrun diego at biurrun.de
Wed Oct 29 21:33:03 CET 2014


The quotes were preventing an ifelse clause in the message from taking effect.
---
 m4/attributes.m4 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/m4/attributes.m4 b/m4/attributes.m4
index 850a4ee..f8b2fc5 100644
--- a/m4/attributes.m4
+++ b/m4/attributes.m4
@@ -131,8 +131,7 @@ AC_DEFUN([CC_CHECK_ATTRIBUTE], [
   AS_IF([eval test x$]AS_TR_SH([cc_cv_attribute_$1])[ = xyes],
     [AC_DEFINE(
        AS_TR_CPP([SUPPORT_ATTRIBUTE_$1]), 1,
-         [Define this if the compiler supports __attribute__(( ifelse([$2], , [$1], [$2]) ))]
-         )
+       Define this if the compiler supports __attribute__((ifelse([$2], , [$1], [$2]))))
      $4],
     [$5])
 ])
-- 
1.9.1



More information about the libdvdcss-devel mailing list