From d91cd305634bfe0de200cb0b062a56349249d26e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 27 Oct 2007 16:51:55 +0000 Subject: * Detect whether chroot / bind-mount support is available. --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 350f8791fc1c..5d8a719133da 100644 --- a/configure.ac +++ b/configure.ac @@ -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 AC_LANG_PUSH(C++) AC_CHECK_HEADERS([locale]) -- cgit 1.4.1