From e9161a9851c240ca87d34331c199d972ef6617c7 Mon Sep 17 00:00:00 2001 From: tilghman Date: Fri, 4 Jun 2010 01:36:46 +0000 Subject: 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 --- autoconf/ast_ext_lib.m4 | 3 ++- configure | 4 +++- 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 -- cgit v1.2.3