[asterisk-commits] pabelanger: branch 1.6.2 r301220 - in /branches/1.6.2: ./ autoconf/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Jan 9 15:38:30 CST 2011


Author: pabelanger
Date: Sun Jan  9 15:38:24 2011
New Revision: 301220

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=301220
Log:
SOUND_CACHE_DIR now defaults to empty

Sounds files included in the Asterisk tarball were being ignored and
re-downloaded.  Users wanting to cache the files can still override the setting
using the --with-sounds-cache option.

(closes issue #18589)
Reported by: pabelanger
Patches:
      issue18589.patch uploaded by pabelanger (license 224)
      Tested by: pabelanger

Review: https://reviewboard.asterisk.org/r/1074/

Modified:
    branches/1.6.2/autoconf/ast_ext_lib.m4
    branches/1.6.2/configure
    branches/1.6.2/configure.ac

Modified: branches/1.6.2/autoconf/ast_ext_lib.m4
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/autoconf/ast_ext_lib.m4?view=diff&rev=301220&r1=301219&r2=301220
==============================================================================
--- branches/1.6.2/autoconf/ast_ext_lib.m4 (original)
+++ branches/1.6.2/autoconf/ast_ext_lib.m4 Sun Jan  9 15:38:24 2011
@@ -54,7 +54,7 @@
 		;;
 	esac
 	],
-	[m4_ifval($4, [$2="$4"])])
+	[m4_ifval($4, [$2="$4"], [:])])
 AC_SUBST($2)
 ])
 

Modified: branches/1.6.2/configure.ac
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/configure.ac?view=diff&rev=301220&r1=301219&r2=301220
==============================================================================
--- branches/1.6.2/configure.ac (original)
+++ branches/1.6.2/configure.ac Sun Jan  9 15:38:24 2011
@@ -343,7 +343,7 @@
 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])




More information about the asterisk-commits mailing list