drop old TR1 test

This commit is contained in:
Valient Gough 2016-04-25 21:10:41 -07:00
parent b70d4500bc
commit 4326eed2ec
No known key found for this signature in database
GPG Key ID: B515DCEB95967051
2 changed files with 2 additions and 7 deletions

View File

@ -24,10 +24,10 @@ if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 3.0)
set(CMAKE_CXX_STANDARD_REQUIRED on) set(CMAKE_CXX_STANDARD_REQUIRED on)
else () else ()
if (CMAKE_COMPILER_IS_GNUCXX) 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") list(APPEND CMAKE_CXX_FLAGS "-std=c++11")
else() 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()
endif () endif ()
@ -72,9 +72,6 @@ include (CheckIncludeFileCXX)
check_include_file_cxx (attr/xattr.h HAVE_ATTR_XATTR_H) check_include_file_cxx (attr/xattr.h HAVE_ATTR_XATTR_H)
check_include_file_cxx (sys/xattr.h HAVE_SYS_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. # Check if xattr functions take extra arguments, as they do on OSX.
# Output error is misleading, so do this test quietly. # Output error is misleading, so do this test quietly.
include (CheckCXXSourceCompiles) include (CheckCXXSourceCompiles)

View File

@ -4,8 +4,6 @@
#cmakedefine HAVE_SYS_XATTR_H #cmakedefine HAVE_SYS_XATTR_H
#cmakedefine XATTR_ADD_OPT #cmakedefine XATTR_ADD_OPT
#cmakedefine HAVE_TR1_MEMORY
#cmakedefine HAVE_LCHMOD #cmakedefine HAVE_LCHMOD
/* TODO: add other thread library support. */ /* TODO: add other thread library support. */