From: Sean Bright Date: Mon, 26 Jul 2010 15:44:46 +0000 (+0000) Subject: Merged revisions 279502 via svnmerge from X-Git-Tag: 11.0.0-beta1~2556 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1017e457ef8571f2da14a18811a34d1edf3521ae;p=thirdparty%2Fasterisk.git Merged revisions 279502 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.8 ................ r279502 | seanbright | 2010-07-26 11:43:54 -0400 (Mon, 26 Jul 2010) | 12 lines 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: https://origsvn.digium.com/svn/asterisk/trunk@279503 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/autoconf/ast_ext_lib.m4 b/autoconf/ast_ext_lib.m4 index 80b28bf677..28a5521f86 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}"