Browse Source

build: Warn about lack of substitutes for non-standard stores.

* configure.ac: Emit a warning when $storedir is not "/gnu/store".
gn-latest-20200428
Ludovic Courtès 5 years ago
parent
commit
d480ed7edb
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 9
      configure.ac

9
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

Loading…
Cancel
Save