diff options
author | Ryan S. Arnold <ryan.arnold@linaro.org> | 2014-02-03 13:16:03 -0600 |
---|---|---|
committer | Ryan S. Arnold <ryan.arnold@linaro.org> | 2014-02-03 13:16:03 -0600 |
commit | 38e34452215817577dea1acc7e0e80643fefa429 (patch) | |
tree | c28dfb5bb380584aaae9f872ae6b8213f2662ce4 /configure | |
parent | f536616796a8a5a6db9d1452172c90130ca30049 (diff) |
configure.ac: Add --with-sources-conf option to override sources.conf file.
Change-Id: I8f02e844bf69f5e5fe9aea2ec5601dc18b1de43b
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -674,6 +674,7 @@ with_dbuser with_dbpasswd with_dbhost with_toplevel +with_sources_conf with_sysroot with_local_snapshots with_local_builds @@ -1309,6 +1310,7 @@ Optional Packages: --with-dbpasswd set the user password for the database --with-dbhost set the database hostname --with-toplevel + --with-sources-conf --with-sysroot --with-local-snapshots Where downloaded tarballs are stored --with-local-builds @@ -3598,7 +3600,14 @@ $as_echo "$as_me: WARNING: ${CBUILD_TOP} does not exist so creating directory!" mkdir -p ${CBUILD_TOP} fi -SOURCES_CONF="${srcdir}/config/sources.conf" + +# Check whether --with-sources-conf was given. +if test "${with_sources_conf+set}" = set; then : + withval=$with_sources_conf; SOURCES_CONF=${withval} +else + SOURCES_CONF="${srcdir}/config/sources.conf" +fi + CBUILD_PATH=${srcdir} |