diff --git a/autoconf/ast_ext_lib.m4 b/autoconf/ast_ext_lib.m4 index 112b90f658..80b28bf677 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 bbcce92ad3..ad5711a1e2 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