aboutsummaryrefslogtreecommitdiff
path: root/config-daemon.ac
diff options
context:
space:
mode:
Diffstat (limited to 'config-daemon.ac')
-rw-r--r--config-daemon.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/config-daemon.ac b/config-daemon.ac
index 28cae23b9d..32520acbf2 100644
--- a/config-daemon.ac
+++ b/config-daemon.ac
@@ -75,6 +75,10 @@ if test "x$guix_build_daemon" = "xyes"; then
AC_CHECK_FUNCS([chroot unshare])
AC_CHECK_HEADERS([sched.h sys/param.h sys/mount.h tr1/unordered_set])
+ if test "x$ac_cv_func_chroot" != "xyes"; then
+ AC_MSG_ERROR(['chroot' function missing, bailing out])
+ fi
+
dnl lutimes and lchown: used when canonicalizing store items.
dnl posix_fallocate: used when extracting archives.
dnl vfork: to speed up spawning of helper programs.