]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Support CONFIG_SITE being a list of entries.
authorRoss Burton <ross.burton@arm.com>
Wed, 11 Nov 2020 16:19:41 +0000 (11:19 -0500)
committerZack Weinberg <zackw@panix.com>
Wed, 11 Nov 2020 16:19:41 +0000 (11:19 -0500)
commit996f608165814d578bdcb0ab2f3382edb8918690
tree8a6a6ab1a0c44a7c97390bc432c348c7f374871e
parentdbd374cff01a32210450faeee20f7d368c85de54
Support CONFIG_SITE being a list of entries.

Instead of treating CONFIG_SITE as a single path, treat it as a
space-separated list of paths and load them in order.

Also remove the special-casing of entries starting with a dash, this is
redundant as they'll be caught by the wildcard case.

Finally add a test case to verify that multiple files are loaded
correctly.

* lib/autoconf/general.m4 (AC_SITE_LOAD): Treat CONFIG_SITE as a
  space-separated list of scripts to be sourced.  Simplify handling
  of default config.site locations using this capability.
* tests/base.at (AC_CACHE_CHECK): Test loading of multiple site files.
* doc/autoconf.texi (Site Defaults): Update documentation of CONFIG_SITE.
doc/autoconf.texi
lib/autoconf/general.m4
tests/base.at