build: Protect against misconfiguration of localstatedir.
authorLudovic Courtès <ludo@gnu.org>
Sat, 19 Mar 2016 13:45:58 +0000 (14:45 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sat, 19 Mar 2016 14:07:46 +0000 (15:07 +0100)
commitef5f5c8659b1ca3999e362dfa33478e0a0150ced
treee2967b666c0434b76e4a16a9346f50fa04067958
parent7c49ab5b1c1aa79a06504456e4decc5112c5b9f9
build: Protect against misconfiguration of localstatedir.

Suggested by Jookia <166291@gmail.com>.

* m4/guix.m4 (GUIX_CURRENT_LOCALSTATEDIR, GUIX_CHECK_LOCALSTATEDIR): New
macros.
* config-daemon.ac: Use 'GUIX_CHECK_LOCALSTATEDIR'.
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Add --localstatedir.
* doc/guix.texi (Requirements): Mention --localstatedir.
(The Store): Mention LOCALSTATEDIR as such.
Makefile.am
config-daemon.ac
doc/guix.texi
m4/guix.m4