configure: Add --with-download-cache option

To make building without an internet connection easier, a new
./configure option '--with-download-cache' was added that sets
the cache for externals (like pjproject, the codecs and the DPMA),
AND the sounds files.  It can also be specified as an environment
variable named "AST_DOWNLOAD_CACHE".  The existing
'--with-sounds-cache' option / SOUNDS_CACHE_DIR env variable and
'--with-externals-cache' option / EXTERNALS_CACHE_DIR env variable
remain and if specified, will override '--with-downloads-cache'.

Change-Id: I5c3cf15ee61e8fe191b52732303e969854f8d861
This commit is contained in:
George Joseph
2017-08-09 07:01:33 -06:00
parent 0493f08468
commit 363d61ef58
7 changed files with 56 additions and 10 deletions

View File

@@ -17,6 +17,13 @@ Core
* VP9 is now a supported passthrough video codec and it can be used by
specifying "vp9" in the allow line.
Build System
------------------
* A '--with-download-cache' option is now available which is equivalent to
setting '--with-sounds-cache' and '--with-externals-cache' to the same
value. The download cache can also be set via the AST_DOWNLOAD_CACHE
environment variable.
res_pjsip
------------------
* The "external_media_address" on transports is now resolved using dnsmgr and