summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2010-06-04 01:36:46 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2010-06-04 01:36:46 +0000
commit4beb87bc29a0f40ff06cc78ea41c655c79af055a (patch)
tree14ca9aab060161a963d60345df6ba6798d58432f /autoconf
parent3c3d054ef2e659ec9c0d7156732ddbb3654cfa84 (diff)
If there's a default, turn it on, even when the option isn't specified.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@267819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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)
])