aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--autoconf/ast_ext_lib.m43
-rwxr-xr-xconfigure4
2 files changed, 5 insertions, 2 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)
])
diff --git a/configure b/configure
index bbcce92ad..ad5711a1e 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac Revision: 267399 .
+# From configure.ac Revision: 267775 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for asterisk trunk.
#
@@ -11049,6 +11049,8 @@ if test "${with_sounds_cache+set}" = set; then
;;
esac
+else
+ SOUNDS_CACHE_DIR="${HOME}/.asterisk_sounds_cache"
fi