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

Diego Biurrun git at videolan.org
Thu Oct 30 17:16:28 CET 2014


libdvdcss | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Oct 22 14:16:08 2014 +0200| [2dc7cfb1efb64920ab9eaf3d2b8023464fcd1e64] | committer: Diego Biurrun

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.

> http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=2dc7cfb1efb64920ab9eaf3d2b8023464fcd1e64
---

 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])
 ])



More information about the libdvdcss-devel mailing list