aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-15 23:25:09 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-15 23:25:09 +0000
commitceff8cd7884ba1c07c236938ced5553730f3c33e (patch)
tree762b0fbd855b6e9ac8806af2963d8a524336a1ca /autoconf
parent9823a33ff4e1bed6e77b715ed10980d0a744f7d1 (diff)
Quote AC_SUBST within m4_ifval, so it does not get prematurely expanded.
(closes issue #17654) Reported by: pprindeville Patches: issue17654.diff uploaded by qwell (license 4) Tested by: qwell, pprindeville git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276830 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/ast_gcc_attribute.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconf/ast_gcc_attribute.m4 b/autoconf/ast_gcc_attribute.m4
index f291dbbd6..9d70b5a49 100644
--- a/autoconf/ast_gcc_attribute.m4
+++ b/autoconf/ast_gcc_attribute.m4
@@ -29,7 +29,7 @@ AC_COMPILE_IFELSE(
)
fi
-m4_ifval([$4],AC_SUBST($4))
+m4_ifval([$4],[AC_SUBST($4)])
CFLAGS="$saved_CFLAGS"
]
)