Commit 2dc7cfb1 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

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.
parent 55cb13e7
...@@ -131,8 +131,7 @@ AC_DEFUN([CC_CHECK_ATTRIBUTE], [ ...@@ -131,8 +131,7 @@ AC_DEFUN([CC_CHECK_ATTRIBUTE], [
AS_IF([eval test x$]AS_TR_SH([cc_cv_attribute_$1])[ = xyes], AS_IF([eval test x$]AS_TR_SH([cc_cv_attribute_$1])[ = xyes],
[AC_DEFINE( [AC_DEFINE(
AS_TR_CPP([SUPPORT_ATTRIBUTE_$1]), 1, 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], $4],
[$5]) [$5])
]) ])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment