From 4326eed2ecc54b536162113385458e55bbf27318 Mon Sep 17 00:00:00 2001 From: Valient Gough Date: Mon, 25 Apr 2016 21:10:41 -0700 Subject: [PATCH] drop old TR1 test --- CMakeLists.txt | 7 ++----- config.h.cmake | 2 -- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b3de4b4..ecffbaa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,10 +24,10 @@ if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 3.0) set(CMAKE_CXX_STANDARD_REQUIRED on) else () if (CMAKE_COMPILER_IS_GNUCXX) - message ("Assuming that GNU CXX uses -std=c++11 flag for C++11 compatibility.") + message ("** Assuming that GNU CXX uses -std=c++11 flag for C++11 compatibility.") list(APPEND CMAKE_CXX_FLAGS "-std=c++11") else() - message ("No CMAKE C++11 check. If the build breaks, you're on your own.") + message ("** No CMAKE C++11 check. If the build breaks, you're on your own.") endif() endif () @@ -72,9 +72,6 @@ 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 if xattr functions take extra arguments, as they do on OSX. # Output error is misleading, so do this test quietly. include (CheckCXXSourceCompiles) diff --git a/config.h.cmake b/config.h.cmake index 2cf6227..2beb78d 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -4,8 +4,6 @@ #cmakedefine HAVE_SYS_XATTR_H #cmakedefine XATTR_ADD_OPT -#cmakedefine HAVE_TR1_MEMORY - #cmakedefine HAVE_LCHMOD /* TODO: add other thread library support. */