diff --git a/autoconf/ast_ext_lib.m4 b/autoconf/ast_ext_lib.m4 index a9f1d6cda4..16b2931a6e 100644 --- a/autoconf/ast_ext_lib.m4 +++ b/autoconf/ast_ext_lib.m4 @@ -54,7 +54,7 @@ AC_ARG_WITH([$1], AC_HELP_STRING([--with-$1=PATH], [use $3 in PATH]), ;; esac ], - [m4_ifval($4, [$2="$4"])]) + [m4_ifval($4, [$2="$4"], [:])]) AC_SUBST($2) ]) diff --git a/configure b/configure index 1a247b4912..c2d3897e18 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac Revision: 298961 . +# From configure.ac Revision: 299754 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.65 for asterisk trunk. # @@ -10928,7 +10928,7 @@ if test "${with_sounds_cache+set}" = set; then : ;; *) if test "x${withval}" = "x"; then - SOUNDS_CACHE_DIR="${HOME}/.asterisk_sounds_cache" + : else SOUNDS_CACHE_DIR="${withval}" fi @@ -10936,7 +10936,7 @@ if test "${with_sounds_cache+set}" = set; then : esac else - SOUNDS_CACHE_DIR="${HOME}/.asterisk_sounds_cache" + : fi diff --git a/configure.ac b/configure.ac index 447580f4d6..01c36bb51b 100644 --- a/configure.ac +++ b/configure.ac @@ -435,7 +435,7 @@ AST_EXT_LIB_SETUP([RADIUS], [Radius Client], [radius]) AST_EXT_LIB_SETUP([RESAMPLE], [LIBRESAMPLE], [resample]) AST_EXT_LIB_SETUP([SDL], [Sdl], [sdl]) AST_EXT_LIB_SETUP([SDL_IMAGE], [Sdl Image], [SDL_image]) -AST_OPTION_ONLY([sounds-cache], [SOUNDS_CACHE_DIR], [cached sound tarfiles], [${HOME}/.asterisk_sounds_cache]) +AST_OPTION_ONLY([sounds-cache], [SOUNDS_CACHE_DIR], [cached sound tarfiles], []) AST_EXT_LIB_SETUP([SPANDSP], [SPANDSP], [spandsp]) AST_EXT_LIB_SETUP([SS7], [ISDN SS7], [ss7]) AST_EXT_LIB_SETUP([SPEEX], [Speex], [speex])