1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 14:21:48 +02:00

* Detect whether chroot / bind-mount support is available.

This commit is contained in:
Eelco Dolstra 2007-10-27 16:51:55 +00:00
parent dc6f373842
commit d91cd30563
2 changed files with 26 additions and 4 deletions

View file

@ -99,6 +99,11 @@ static char buf[1024];]],
AC_LANG_POP(C++)
# Check for chroot support (requires chroot() and bind mounts).
AC_CHECK_FUNCS([chroot])
AC_CHECK_HEADERS([sys/mount.h])
# Check for <locale>
AC_LANG_PUSH(C++)
AC_CHECK_HEADERS([locale])