aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-10-27 16:51:55 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-10-27 16:51:55 +0000
commitd91cd305634bfe0de200cb0b062a56349249d26e (patch)
tree475773aea98c84553e914d47f2a7b2bf471def1e /configure.ac
parentdc6f373842ae65d6c407d8169089367d9c0d4e1a (diff)
* Detect whether chroot / bind-mount support is available.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 350f8791f..5d8a71913 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 <locale>
AC_LANG_PUSH(C++)
AC_CHECK_HEADERS([locale])