From 9cc4196f3d8d310130d58203cecd250dbeb82d02 Mon Sep 17 00:00:00 2001 From: Valient Gough Date: Wed, 17 Jun 2015 20:46:46 -0700 Subject: [PATCH] drop checks for tr1 headers that are not used --- CMakeLists.txt | 4 +--- config.h.cmake | 3 --- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c011425..46e13d6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,10 +41,8 @@ include (CheckIncludeFileCXX) check_include_file_cxx (attr/xattr.h HAVE_ATTR_XATTR_H) check_include_file_cxx (sys/xattr.h HAVE_SYS_XATTR_H) +# Look for old pre-C++11 headers. check_include_file_cxx (tr1/memory HAVE_TR1_MEMORY) -check_include_file_cxx (tr1/unordered_map HAVE_TR1_UNORDERED_MAP) -check_include_file_cxx (tr1/unordered_set HAVE_TR1_UNORDERED_SET) -check_include_file_cxx (tr1/tuple HAVE_TR1_TUPLE) # Check if xattr functions take extra arguments, as they do on OSX. # Output error is misleading, so do this test quietly. diff --git a/config.h.cmake b/config.h.cmake index c182452..2cf6227 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -5,9 +5,6 @@ #cmakedefine XATTR_ADD_OPT #cmakedefine HAVE_TR1_MEMORY -#cmakedefine HAVE_TR1_UNORDERED_MAP -#cmakedefine HAVE_TR1_UNORDERED_SET -#cmakedefine HAVE_TR1_TUPLE #cmakedefine HAVE_LCHMOD