]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Expand the correct value within AST_OPTION_ONLY.
authorSean Bright <sean@malleable.com>
Mon, 26 Jul 2010 15:41:13 +0000 (15:41 +0000)
committerSean Bright <sean@malleable.com>
Mon, 26 Jul 2010 15:41:13 +0000 (15:41 +0000)
(closes issue #17703)
Reported by: stuarth

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@279501 65c4cc65-6c06-0410-ace0-fbb531ad65f3

autoconf/ast_ext_lib.m4

index 5e675dbe9dce1f0d0562394ca58807b90f15f38d..0763c2b3a8d3eb077aa279f073f0a7338d853164 100644 (file)
@@ -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}"