aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-26 15:43:54 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-26 15:43:54 +0000
commit49f9e730751ae45e3ff5d28e4a13712c306aaae9 (patch)
tree8c1203956bab112290af0edc485012a909ddf85b /autoconf
parent2d09b286a77ac7527118f09b9b510341589268d7 (diff)
Merged revisions 279501 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r279501 | seanbright | 2010-07-26 11:41:13 -0400 (Mon, 26 Jul 2010) | 5 lines Expand the correct value within AST_OPTION_ONLY. (closes issue #17703) Reported by: stuarth ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279502 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/ast_ext_lib.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconf/ast_ext_lib.m4 b/autoconf/ast_ext_lib.m4
index 80b28bf67..28a5521f8 100644
--- a/autoconf/ast_ext_lib.m4
+++ b/autoconf/ast_ext_lib.m4
@@ -46,7 +46,7 @@ AC_ARG_WITH([$1], AC_HELP_STRING([--with-$1=PATH], [use $3 in PATH]),
unset $2
;;
*)
- if test "x${$2}" = "x"; then
+ if test "x${withval}" = "x"; then
m4_ifval($4, [$2="$4"], [:])
else
$2="${withval}"