Define only least required macros for LFS in config.h.

This commit is contained in:
Tsuda Kageyu
2014-08-05 17:17:06 +09:00
parent a5c56d31ac
commit 2ec7a884c3
9 changed files with 162 additions and 22 deletions

View File

@ -8,6 +8,7 @@ include(CheckCXXCompilerFlag)
include(CheckCXXSourceCompiles)
include(TestBigEndian)
include(TestFloatFormat)
include(TestLargeFiles)
# Determine whether your compiler supports C++0x/C++11 and enable it if possible.
# This check covers GCC, Clang and ICC.
@ -76,6 +77,15 @@ else()
MESSAGE(FATAL_ERROR "TagLib requires that floating point types are IEEE754 compliant.")
endif()
# Determine whether your compiler supports large files.
if(NOT WIN32)
test_large_files(SUPPORT_LARGE_FILES)
if(NOT SUPPORT_LARGE_FILES)
MESSAGE(FATAL_ERROR "TagLib requires large files support.")
endif()
endif()
# Determine which kind of atomic operations your compiler supports.
check_cxx_source_compiles("