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:
parent
dc6f373842
commit
d91cd30563
2 changed files with 26 additions and 4 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue