+ check_cxx_symbol_exists(${NAME} ${HEADER} ${HAVE})
+ cmake_pop_check_state()
+endmacro()
+include(CheckIncludeFile)
+macro(check_include HEADER)
+ make_have_identifier(${HEADER} HAVE)
+ configure_define(${HAVE})
+ cmake_push_check_state()
+ if(${ARGC} GREATER 1)
+ string(APPEND CMAKE_REQUIRED_FLAGS " ${ARGN}")
+ endif()
+ check_include_file(${HEADER} ${HAVE})
+ cmake_pop_check_state()
+endmacro()
+include(CheckIncludeFileCXX)
+macro(check_cxx_include HEADER)
+ make_have_identifier(${HEADER} HAVE)
+ configure_define(${HAVE})
+ cmake_push_check_state()
+ if(${ARGC} GREATER 1)
+ string(APPEND CMAKE_REQUIRED_FLAGS " ${ARGN}")
+ endif()
+ check_include_file_cxx(${HEADER} ${HAVE})
+ cmake_pop_check_state()
+endmacro()
+include(CheckTypeSize)
+macro(check_type TYPE)
+ make_have_identifier(${TYPE} HAVE)
+ configure_define(${HAVE})
+ cmake_push_check_state()
+ if(${ARGC} GREATER 1)
+ list(APPEND CMAKE_EXTRA_INCLUDE_FILES ${ARGN})
+ endif()
+ check_type_size(${TYPE} ${HAVE})
+ cmake_pop_check_state()
+endmacro()
+include(CheckCSourceCompiles)
+macro(check_c_source SOURCE HAVE)
+ configure_define(${HAVE})
+ check_c_source_compiles("${SOURCE}" ${HAVE})
+endmacro()
+include(CheckCXXSourceCompiles)
+macro(check_cxx_source SOURCE HAVE)
+ configure_define(${HAVE})
+ check_cxx_source_compiles("${SOURCE}" ${HAVE})
+endmacro()
+
+include(CheckBacktrace)
+include(CheckByteswap)
+include(CheckDependency)
+include(CheckDtrace)
+include(CheckPkgconf)
+include(CheckDebug)
+include(CheckThreads)
+include(CheckVisibility)
+include(InstallPublicHeaders)