diff options
author | George Joseph <gjoseph@digium.com> | 2017-08-09 07:01:33 -0600 |
---|---|---|
committer | George Joseph <gjoseph@digium.com> | 2017-08-09 08:05:42 -0500 |
commit | d91c93c2264d96c0bb6bb6fd60a35d97ef9bebcc (patch) | |
tree | ca289dac565a7f3abac804deba511ed09bc287de /makeopts.in | |
parent | 2c23f8719e5a0b5d0fd5a7fd22e9b613a5bcb98a (diff) |
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
Diffstat (limited to 'makeopts.in')
-rw-r--r-- | makeopts.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/makeopts.in b/makeopts.in index 968682673..913771b13 100644 --- a/makeopts.in +++ b/makeopts.in @@ -29,8 +29,9 @@ FETCH=@FETCH@ DOWNLOAD=@DOWNLOAD@ DOWNLOAD_TO_STDOUT=@DOWNLOAD_TO_STDOUT@ DOWNLOAD_TIMEOUT=@DOWNLOAD_TIMEOUT@ -SOUNDS_CACHE_DIR=@SOUNDS_CACHE_DIR@ -EXTERNALS_CACHE_DIR=@EXTERNALS_CACHE_DIR@ +AST_DOWNLOAD_CACHE=@AST_DOWNLOAD_CACHE@ +SOUNDS_CACHE_DIR=$(or @SOUNDS_CACHE_DIR@,${AST_DOWNLOAD_CACHE}) +EXTERNALS_CACHE_DIR=$(or @EXTERNALS_CACHE_DIR@,${AST_DOWNLOAD_CACHE}) RUBBER=@RUBBER@ CATDVI=@CATDVI@ KPATHSEA=@KPATHSEA@ |