Cache sound tarfiles in a common directory, such that a clean reinstall does not force a re-download of the tarballs.

(closes issue #15370)
 Reported by: pprindeville
 Patches: 
       asterisk-trunk-bugid15370.patch uploaded by pprindeville (license 347)
 Tested by: pprindeville, tilghman, seanbright


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@263724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2010-05-17 23:49:15 +00:00
parent e3ac20a7f6
commit 4c034c1f72
6 changed files with 29724 additions and 7317 deletions

View File

@@ -36,6 +36,27 @@ AC_DEFUN([AST_EXT_LIB_SETUP],
AC_SUBST([PBX_$1])
])
# AST_OPTION_ONLY([option name], [option variable], [option description], [default value])
AC_DEFUN([AST_OPTION_ONLY],
[
AC_ARG_WITH([$1], AC_HELP_STRING([--with-$1=PATH], [use $3 in PATH]),
[
case ${withval} in
n|no)
unset $2
;;
*)
if test "x${$2}" = "x"; then
m4_ifval($4, [$2="$4"], [:])
else
$2="${withval}"
fi
;;
esac
])
AC_SUBST($2)
])
# AST_EXT_LIB_SETUP_DEPENDENT([package symbol name], [package friendly name], [master package symbol name], [master package option name])
AC_DEFUN([AST_EXT_LIB_SETUP_DEPENDENT],