aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-26 15:41:13 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-26 15:41:13 +0000
commit84033bcfff057b66838fd27161e62f35430f9835 (patch)
tree0bdd73f2f3cac0cc28c6ec635e61b36dd70f0fa8
parent22e75348a4dcf7ca5b95078613fab0bfb9a8f553 (diff)
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.6.2@279501 f38db490-d61c-443f-a65b-d21fe96a405b
-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 5e675dbe9..0763c2b3a 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}"