aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-04 01:36:46 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-04 01:36:46 +0000
commite9161a9851c240ca87d34331c199d972ef6617c7 (patch)
tree14ca9aab060161a963d60345df6ba6798d58432f /autoconf
parent4141762831dd6cca22e411bd51a2ae89015e48bd (diff)
If there's a default, turn it on, even when the option isn't specified.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@267819 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/ast_ext_lib.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/autoconf/ast_ext_lib.m4 b/autoconf/ast_ext_lib.m4
index 112b90f65..80b28bf67 100644
--- a/autoconf/ast_ext_lib.m4
+++ b/autoconf/ast_ext_lib.m4
@@ -53,7 +53,8 @@ AC_ARG_WITH([$1], AC_HELP_STRING([--with-$1=PATH], [use $3 in PATH]),
fi
;;
esac
- ])
+ ],
+ [m4_ifval($4, [$2="$4"])])
AC_SUBST($2)
])