aboutsummaryrefslogtreecommitdiff
path: root/config-daemon.ac
diff options
context:
space:
mode:
Diffstat (limited to 'config-daemon.ac')
-rw-r--r--config-daemon.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/config-daemon.ac b/config-daemon.ac
index fb80c754c9..f96cc8f7ac 100644
--- a/config-daemon.ac
+++ b/config-daemon.ac
@@ -5,9 +5,12 @@ AC_MSG_RESULT([$guix_build_daemon])
dnl C++ environment. This macro must be used unconditionnaly.
AC_PROG_CXX
+AC_LANG([C++])
if test "x$guix_build_daemon" = "xyes"; then
+ GUIX_ASSERT_CXX11
+
AC_PROG_RANLIB
AC_CONFIG_HEADER([nix/config.h])
@@ -73,7 +76,7 @@ if test "x$guix_build_daemon" = "xyes"; then
dnl Chroot support.
AC_CHECK_FUNCS([chroot unshare])
- AC_CHECK_HEADERS([sched.h sys/param.h sys/mount.h tr1/unordered_set])
+ AC_CHECK_HEADERS([sched.h sys/param.h sys/mount.h sys/syscall.h])
if test "x$ac_cv_func_chroot" != "xyes"; then
AC_MSG_ERROR(['chroot' function missing, bailing out])