diff options
-rw-r--r-- | autoconf/ast_ext_lib.m4 | 2 |
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}" |