mirror of
https://github.com/vgough/encfs.git
synced 2024-11-21 23:43:26 +01:00
drop old TR1 test
This commit is contained in:
parent
b70d4500bc
commit
4326eed2ec
@ -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)
|
||||||
|
@ -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. */
|
||||||
|
Loading…
Reference in New Issue
Block a user