summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-10-04 16:16:19 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-10-04 16:16:19 +0000
commit95f4f2cf6102f95abf6948d74907c44c3540eddd (patch)
treef3b6c986dac065190da8a3204a0eaa9b180feabf /configure.ac
parent36a23e86b6ab1265bbf883dd71bc844f7c9183f3 (diff)
downloadguix-95f4f2cf6102f95abf6948d74907c44c3540eddd.tar.gz
* If std::tr1::unordered_set is unavailable, use std::set.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 094e6bd09c..1caa9be5c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,11 +140,18 @@ AC_LANG_POP(C++)
 AC_CHECK_HEADER([err.h], [], [bsddiff_compat_include="-Icompat-include"])
 AC_SUBST([bsddiff_compat_include])
 
+
 # Check whether we have the personality() syscall, which allows us to
 # do i686-linux builds on x86_64-linux machines.
 AC_CHECK_HEADERS([sys/personality.h])
 
 
+# Check for tr1/unordered_set.
+AC_LANG_PUSH(C++)
+AC_CHECK_HEADERS([tr1/unordered_set], [], [], [])
+AC_LANG_POP(C++)
+
+
 AC_DEFUN([NEED_PROG],
 [
 AC_PATH_PROG($1, $2)