[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: build: Warn about lack of substitutes for non-standard stores.
From: |
Ludovic Courtès |
Subject: |
02/02: build: Warn about lack of substitutes for non-standard stores. |
Date: |
Tue, 7 Feb 2017 13:54:08 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit d480ed7edb7ad787829fd8220c86220ca34ce8ac
Author: Ludovic Courtès <address@hidden>
Date: Tue Feb 7 14:53:24 2017 +0100
build: Warn about lack of substitutes for non-standard stores.
* configure.ac: Emit a warning when $storedir is not "/gnu/store".
---
configure.ac | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/configure.ac b/configure.ac
index 9079a14..06b0618 100644
--- a/configure.ac
+++ b/configure.ac
@@ -236,6 +236,15 @@ dnl Emacs (optional), for 'etc/indent-package.el'.
AC_PATH_PROG([EMACS], [emacs], [/usr/bin/emacs])
AC_SUBST([EMACS])
+case "$storedir" in
+ /gnu/store)
+ ;;
+ *)
+ AC_MSG_WARN([Using a store directory other than '/gnu/store' will prevent
you])
+ AC_MSG_WARN([from downloading substitutes from gnu.org.])
+ ;;
+esac
+
AC_CONFIG_FILES([Makefile
po/guix/Makefile.in
po/packages/Makefile.in