summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2010-07-15 23:25:09 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2010-07-15 23:25:09 +0000
commit3299f13d9458ba3864428e306074d5a60ed93858 (patch)
tree762b0fbd855b6e9ac8806af2963d8a524336a1ca /autoconf
parent44ae0033be7dd83d0df10101e1d3c3306fb084ee (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: https://origsvn.digium.com/svn/asterisk/trunk@276830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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"
]
)