shithub: libdvdcss

Download patch

ref: 2dc7cfb1efb64920ab9eaf3d2b8023464fcd1e64
parent: 55cb13e7c12c6f14612437e26fa013fe9e9babd0
author: Diego Biurrun <diego@biurrun.de>
date: Wed Oct 22 10:16:08 EDT 2014

attributes.m4: Drop extra quoting from config.h text in CC_CHECK_ATTRIBUTE

The quotes were preventing an ifelse clause in the message from taking effect.

--- a/m4/attributes.m4
+++ b/m4/attributes.m4
@@ -131,8 +131,7 @@
   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])
 ])