mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 10:51:40 +00:00
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:
@@ -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],
|
||||
|
Reference in New Issue
Block a user